FORUMS
Remove All Ads from XDA

[ROM][SGT7-UT][20130515] Ubuntu Touch [DEV][RETIRED]

1,297 posts
Thanks Meter: 1,938
 
By alroger, Senior Member on 14th May 2013, 03:12 AM
Post Reply Email Thread
Code:
*** Disclaimer by cdesai

#include 
/*
 * Your warranty is now void.
 *
 * I am not responsible for bricked devices, dead SD cards,
 * thermonuclear war, or you getting fired because the alarm app failed. Please
 * do some research if you have any concerns about features included in this ROM
 * before flashing it! YOU are choosing to make these modifications, and if
 * you point the finger at me for messing up your device, I will laugh at you.
 */
Introduction
Quote:

I'm starting this thread to see if DEVs and collaborators get motivated and help. I'm not really a DEV but...
Ubuntu Touch is still a WiP itself, and this is a Work-in-Progress of getting it to our SGT7 Tabs - P1000, P1000N/L/R/T/CDMA/etc

Features
Quote:

Works: touch, wireless, camera...
Doesn't: audio, brightness, sensors, 3G/Mobile...

Installation instructions
Quote:

Regular flash through CwM Recovery:

  1. Wipe/Factory Reset
  2. Flash cm-10.1-YYYYMMDD-UNOFFICIAL-p1.zip or cm-10.1-YYYYMMDD-UNOFFICIAL-p1c.zip
  3. Flash quantal*.zip
  4. Flash hdpi_overlay.zip

Changelog
Quote:

UT ROM based on CM10.1 with humberos' kernel, p1 and p1-common. OS image directly from Ubuntu downloads.

Code:
Current changelog: 2013-05-15
[note] My second UT boot
[new] p1c build!
[changed] screen resolution and proportions (new hdpi_overlay.zip)
[fixed] screen and touch rotation, manual brightness.

2013-05-10
[note] My first UT boot.
[new] Thread created.
[changed] built and booted
[fixed] Now it boots!
Downloads
Base ROMUbuntu Touch Quantal from the MWC Demo:
Ubuntu Touch Saucy:
Screen configs - changes screen resolution and proportions
Sources
Mods/Addons/Themes/User Art
FAQ
Quote:

The FAQ section in a thread is bound to grow over time... check for updates.

Q: How do I flash?
A: Learn that before coming here.
Q: How do I restore my {fill in here} ROM?
A: Learn that before coming here.
Q: How do I use ODIN?
A: Learn that before coming here.
Q: How do I use Heimdall?
A: Learn that before coming here.

Links and References
Thanks To/Credits
Code:
* humberos, the latin kernel king.
* cdesai
...
Attached Thumbnails
Click image for larger version

Name:	screenshot0.jpg
Views:	5299
Size:	15.3 KB
ID:	1965055   Click image for larger version

Name:	screenshot0a.jpg
Views:	4739
Size:	18.3 KB
ID:	1965056   Click image for larger version

Name:	screenshot.jpg
Views:	4502
Size:	47.1 KB
ID:	1965057   Click image for larger version

Name:	screenshot2.jpg
Views:	4219
Size:	39.5 KB
ID:	1965058   Click image for larger version

Name:	screenshot3.jpg
Views:	3969
Size:	14.8 KB
ID:	1965060   Click image for larger version

Name:	screenshot4.jpg
Views:	4110
Size:	32.5 KB
ID:	1965061   Click image for larger version

Name:	screenshot5.jpg
Views:	3669
Size:	32.2 KB
ID:	1965062   Click image for larger version

Name:	screenshot6.jpg
Views:	3499
Size:	42.4 KB
ID:	1965063   Click image for larger version

Name:	screenshot7.jpg
Views:	3326
Size:	39.0 KB
ID:	1965064   Click image for larger version

Name:	screenshot8.jpg
Views:	3262
Size:	27.4 KB
ID:	1965065   Click image for larger version

Name:	screenshot9.jpg
Views:	3200
Size:	30.9 KB
ID:	1965066   Click image for larger version

Name:	screenshot10.jpg
Views:	3408
Size:	21.7 KB
ID:	1965067   Click image for larger version

Name:	screenshot11.jpg
Views:	3082
Size:	33.8 KB
ID:	1965068   Click image for larger version

Name:	screenshot12.jpg
Views:	2984
Size:	24.6 KB
ID:	1965225  
The Following 33 Users Say Thank You to alroger For This Useful Post: [ View ] Gift alroger Ad-Free
 
 
14th May 2013, 03:12 AM |#2  
alroger's Avatar
OP Senior Member
Flag Deerfield Beach
Thanks Meter: 1,938
 
More
Prompt Building Ubuntu Touch
First of all have your CM10.1 build up to date.. if you can't build CM10.1 then you shouldn't even try this.

[UPDATE 20130515]
Successful build for p1 and p1c!

Basically follow the Porting guide. Initialize the repo as instructed, using phablet-dev-bootstrap.

My draft for building... soon we will have the sgt7-ut repo that will do most of it for us.
Not necessarily in order.. you might have to start compiling untill you get the error and come back and check the steps again.
Code:
## our manifest
copy the roomservice.xml to .repo/local_manifests/

## clean
rm -rf out kernel
make installclean
make clean

* edit as porting guide:
kernel/samsung/aries/fs/proc/array.c

* add extra lines from the porting guide to the end of:
kernel/samsung/aries/arch/arm/configs/cyanogenmod_p1_defconfig 
kernel/samsung/aries/arch/arm/configs/cyanogenmod_p1ln_defconfig
kernel/samsung/aries/arch/arm/configs/cyanogenmod_p1c_defconfig
* also change the following config in each of the 3 kernel configs:
CONFIG_TOUCHSCREEN_QT602240_ROT90=n

## prepare stuff
source build/envsetup.sh
breakfast p1
breakfast p1c

./get prebuilts in vendor/cm/

comment P1Parts, tvouthack and Torch from device/samsung/p1-common/device_base.mk
copy from your cm10.1 build - out/target/product/p1/obj/SHARED_LIBRARIES/libandroid_runtime_intermediates
copy from your cm10.1 build - out/target/product/p1c/obj/SHARED_LIBRARIES/libandroid_runtime_intermediates

?? cp out/target/product/p1/obj/UTILITY_EXECUTABLES/utility_make_ext4fs_intermediates/LINKED/make_ext4fs out/target/product/p1/obj/EXECUTABLES/make_ext4fs_intermediates/
?? cp out/target/product/p1c/obj/UTILITY_EXECUTABLES/utility_make_ext4fs_intermediates/LINKED/make_ext4fs out/target/product/p1c/obj/EXECUTABLES/make_ext4fs_intermediates/

Add chmod line in device/samsung/p1-common/init.p1-common.rc, like this:
    # System server can control backlight brightness
    chown system system /sys/class/backlight/s5p_bl/brightness
    chmod 0666 /sys/class/backlight/panel/brightness

## Now build!
source build/envsetup.sh
breakfast p1
time make -j3 bacon  # use -j1 to check for errors in their right order
breakfast p1c
time make -j3 bacon
.repo/local_manifests/roomservice.xml
Code:
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
  <project name="humberos/proprietary_vendor_samsung" path="vendor/samsung" remote="github" revision="cm-10.1" />
  <project name="humberos/android_kernel_samsung_aries" path="kernel/samsung/aries" remote="github" revision="cm-10.1-dev" />
  <project name="humberos/android_device_samsung_p1" path="device/samsung/p1" remote="github" revision="cm-10.1" />
  <project name="humberos/android_device_samsung_p1c" path="device/samsung/p1c" remote="github" revision="cm-10.1" />
  <project name="humberos/android_device_samsung_p1-common" path="device/samsung/p1-common" remote="github" revision="cm-10.1" />
  <project name="CyanogenMod/android_hardware_samsung" path="hardware/samsung" remote="github" revision="cm-10.1" />
  <project name="CyanogenMod/android_packages_apps_SamsungServiceMode" path="packages/apps/SamsungServiceMode" remote="github" revision="cm-10.1" />
</manifest>
Change ro.sf.hwrotation to 0 in build.prop!
The Following 5 Users Say Thank You to alroger For This Useful Post: [ View ] Gift alroger Ad-Free
14th May 2013, 03:13 AM |#3  
alroger's Avatar
OP Senior Member
Flag Deerfield Beach
Thanks Meter: 1,938
 
More
Exclamation reserved 3
reserved 3
The Following 3 Users Say Thank You to alroger For This Useful Post: [ View ] Gift alroger Ad-Free
14th May 2013, 04:58 AM |#4  
AKA_noodle's Avatar
Senior Member
Flag Astana
Thanks Meter: 170
 
More
Wow, thnx! I'm downloading!:beer:

send from my Nexus
14th May 2013, 07:15 AM |#5  
Senior Member
Thanks Meter: 42
 
More
:beer::thumbup:

Sent from my GT-P1000 using xda app-developers app
14th May 2013, 08:47 AM |#6  
adi6262's Avatar
Senior Member
Thanks Meter: 162
 
More
That is one of the ubuntu, unless my eyes are cheated by some spell
14th May 2013, 03:09 PM |#7  
Member
Thanks Meter: 9
 
More
Nice Ubuntu Logo in CWM
Hi,

first test. Don't get nervous, while unpacking ubuntu file lasts (4.5 minutes)
Also be patient during boot, first time i thought the Tab went off.

ubuntu boots, i can activate the start menu, but no further actions.

Thank you for your great work, alroger and humberos!

cinq
14th May 2013, 04:59 PM |#8  
Senior Member
Flag Fort Worth, TX
Thanks Meter: 528
 
Donate to Me
More
So, I sort of flashed this and nothing happened. It's just a fresh CM installation. Am I supposed to build something on device?

Edit: had a brain fart, got it generally working.

Sent from my SCH-I510 using xda premium
14th May 2013, 05:08 PM |#9  
cdesai's Avatar
Inactive Recognized Developer
Flag IN YOUR HEAD
Thanks Meter: 4,122
 
Donate to Me
More
alroger, try setting ro.sf.hwrotation to 0 (it's set from device/samsung/p1-common)

It should change the default orientation to landscape, and so you'll need to do a few other changes as well (we did them during initial 4.2 bringup, then reverted them for a better solution), so you revert the revert for the rest. (sensors and camera)
The Following 4 Users Say Thank You to cdesai For This Useful Post: [ View ] Gift cdesai Ad-Free
15th May 2013, 01:27 PM |#10  
alroger's Avatar
OP Senior Member
Flag Deerfield Beach
Thanks Meter: 1,938
 
More
Quote:
Originally Posted by cdesai

alroger, try setting ro.sf.hwrotation to 0 (it's set from device/samsung/p1-common)

It should change the default orientation to landscape, and so you'll need to do a few other changes as well (we did them during initial 4.2 bringup, then reverted them for a better solution), so you revert the revert for the rest. (sensors and camera)

Yeah, if I set to 0, it's left-handed landscape. 180 makes it correct, but touch won't follow those rotations.
Could you point me in the right direction?
15th May 2013, 03:20 PM |#11  
cdesai's Avatar
Inactive Recognized Developer
Flag IN YOUR HEAD
Thanks Meter: 4,122
 
Donate to Me
More
Quote:
Originally Posted by alroger

Yeah, if I set to 0, it's left-handed landscape. 180 makes it correct, but touch won't follow those rotations.
Could you point me in the right direction?

Keep it 0.
Next, in the kernel config, set CONFIG_TOUCHSCREEN_QT602240_ROT90 to n, it's set to y currently.

That should fix touchscreen.
The Following 3 Users Say Thank You to cdesai For This Useful Post: [ View ] Gift cdesai Ad-Free
Post Reply Subscribe to Thread

Tags
p1000, sgt7, ubuntu touch

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes