Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
urko95
Old
#11  
urko95's Avatar
Senior Member - OP
Thanks Meter 194
Posts: 346
Join Date: May 2010
Location: Durango

 
DONATE TO ME
Quote:
Originally Posted by beidl View Post
There is a script + binary in the Ubuntu package which basically set up the the Ubuntu environment inside of a working Android installation.
The Ubuntu folder structure can be found in /data/ubuntu/.
Booting up is just like on every Android ROM, except the mentioned script gets started and the Ubuntu environment is getting started up.

The first proof of concept would be:
Backup every Ubuntu Touch specific file that got installed to /system to the PC, like the chroot scripts and other stuff
Flash CM back to the device
Copy specific files back to /system
By flashing either the boot.img of CM or Ubuntu Touch the desired system should boot up.
I will give it a try later!

Thanks for your help!
Regards,

Urko Pineda

 
CouttsPhotog
Old
#12  
Member
Thanks Meter 25
Posts: 49
Join Date: Feb 2011
Location: Mt. Pleasant

 
DONATE TO ME
couldn't modifying the bootloader be considered distributing a derivative work under the dmca?
 
anarkia1976
Old
#13  
anarkia1976's Avatar
Recognized Contributor
Thanks Meter 21257
Posts: 5,242
Join Date: Feb 2011
Location: Ak Land Valley

 
DONATE TO ME
In my opinion to have a dual booting you will need:
- A ramdisk that will prepare the partitions according to the choice of which OS
- A kernel that supports two versions of OS
- Two separate SD with the respective folders drivers etc. ... (This Is not possible on GNEX)

For the rest I do not know ubuntu for phone, it would take some expert.



AK KERNEL

Twitter: @anarkia1976
Droid-Hive: Ak Kernel
Xda: Ak Kernel

AK TEAM
Mbq, Cr88, Sk8, Nephilim, Khizar, Lioux, Szucsgf, Samersh, Musash.ed, Tex99, Hetalk, BigBro1984, Wisefreakz

DONATE
for double Malt RED beer

The Following User Says Thank You to anarkia1976 For This Useful Post: [ Click to Expand ]
 
urko95
Old
#14  
urko95's Avatar
Senior Member - OP
Thanks Meter 194
Posts: 346
Join Date: May 2010
Location: Durango

 
DONATE TO ME
Quote:
Originally Posted by anarkia1976 View Post
In my opinion to have a dual booting you will need:
- A ramdisk that will prepare the partitions according to the choice of which OS
- A kernel that supports two versions of OS
- Two separate SD with the respective folders drivers etc. ... (This Is not possible on GNEX)

For the rest I do not know ubuntu for phone, it would take some expert.
Anarkia, What do you think about beidl's method?

NOTE: Thread organized and updated
Regards,

Urko Pineda

 
urko95
Old
(Last edited by urko95; 23rd February 2013 at 11:34 AM.)
#15  
urko95's Avatar
Senior Member - OP
Thanks Meter 194
Posts: 346
Join Date: May 2010
Location: Durango

 
DONATE TO ME
A edited phablet file, I have deleted all sample photos, videos and messages. To download it, go to the 3rd post!
Regards,

Urko Pineda

The Following User Says Thank You to urko95 For This Useful Post: [ Click to Expand ]
 
LucaZPF
Old
#16  
Member
Thanks Meter 0
Posts: 33
Join Date: Oct 2007
Excuse me,
can i flash these flies with CWM recovery?

Quote:
Originally Posted by urko95 View Post
How to install Ubuntu Phone OS

NOTE: This files doesn't include the option to make a dual boot yet

-I'm not responable of any damage could have your GNex after flashing Ubuntu Phone OS this way-

Steps:
  1. Download files quantal-preinstalled-armel+maguro.zip (4,6 MB) and quantal-preinstalled-phablet-armhf.zip (481 MB), and copy them to your GNex.

    NOTE: You can use a modified file without all sample photos, videos and messages modified by me. Donwload it here: edited-quantal-preinstalled-phablet-armhf-v1.zip

  2. Make a Nandroid Backup (to be able to restore Android later)
  3. Make a Factory Reset
  4. Flash them (1-.quantal-preinstalled-armel+maguro.zip and 2-.quantal-preinstalled-phablet-armhf.zip)
  5. Reboot (In a few seconds Ubuntu will boot up)
  6. If you want to restore Android, make a backup of Ubuntu first if you want to install Ubuntu again
*This guide was originally posted by eng.stk*

NOTE: Second file (quantal-preinstalled-phablet-armhf.zip) will take few minutes to flash so don't panic and relax until it's flashed but, if you use the file that it has been modified by me, it will be faster. This method doesn't wipe your internal storage (/sdcard)

This way you could have both system only restoring backups of both OS. It's a good to have both system while dual boot it's being developed.
Google Galaxy Nexus
ROM: ICS 4.0.3 AOKP Milestone 4
Kernel: 3.0.18-franco.kernel-milestone-1
Radio: I9250XXKK6
Nova launcher + Tablet mode
 
urko95
Old
#17  
urko95's Avatar
Senior Member - OP
Thanks Meter 194
Posts: 346
Join Date: May 2010
Location: Durango

 
DONATE TO ME
Quote:
Originally Posted by LucaZPF View Post
Excuse me,
can i flash these flies with CWM recovery?
Yes, you can, with TWRP or CWM, you choose.
Regards,

Urko Pineda

The Following User Says Thank You to urko95 For This Useful Post: [ Click to Expand ]
 
beidl
Old
#18  
beidl's Avatar
Senior Member
Thanks Meter 62
Posts: 432
Join Date: Apr 2009
Location: Purbach

 
DONATE TO ME
Reporting semi-success
So i diffed the system directories of CM 10.1 and Ubuntu Touch and found the new files.

Quote:
/system/bin/modelid_cfg.sh
/system/bin/ubuntuappmanager
/system/bin/ubuntu_chroot
/system/bin/uchroot
/system/usr/idc/autopilot-finger.idc
/system/quantal-ubuntu_stamp
I pushed those files to my working CM 10.1 installation on the GNex.
Since I did not wipe my GNex when I went back from Ubuntu Touch to CM 10.1, the folder structure
of Ubuntu stayed at /data/ubuntu/.

Then, I rebooted into the bootloader and flashed the boot.img of Ubuntu Touch to the GNex.
After rebooting, the device was stuck at the Google boot logo but the kernel did actually boot, so I was able to adb shell into the device.
dmesg returned:

Code:
<6>[   15.739807] PVR_K:(Error): BridgedDispatchKM: Initialisation failed.  Driver unusable. [4783, /home/ubuntu/jenkins/workspace/phablet-image/kernel/samsung/tuna/drivers/gpu/pvr/bridged_pvr_bridge.c]
That means Canonical still uses the kernel from before a week, this kernel doesn't play nicely with the new proprietary GPU driver.
I'll try pushing the old GPU blobs now...
LK Android Bootloader on Nokia Lumia devices:
Every help is needed!! Let's make our Lumias the next HD2's
Currently working: USB (fastboot)
Next step: Display (please contact me if you have an idea)
https://github.com/beidl/lk_umia

Developer of Install Manager - Available on the Play Store.

Twitter:
Move your mouse pointer on top of this text and put slight pressure onto your left mouse button...
Just in case you're clicking it wrong.
The Following User Says Thank You to beidl For This Useful Post: [ Click to Expand ]
 
urko95
Old
#19  
urko95's Avatar
Senior Member - OP
Thanks Meter 194
Posts: 346
Join Date: May 2010
Location: Durango

 
DONATE TO ME
Quote:
Originally Posted by beidl View Post
Reporting semi-success
So i diffed the system directories of CM 10.1 and Ubuntu Touch and found the new files.


I pushed those files to my working CM 10.1 installation on the GNex.
Since I did not wipe my GNex when I went back from Ubuntu Touch to CM 10.1, the folder structure
of Ubuntu stayed at /data/ubuntu/.

Then, I rebooted into the bootloader and flashed the boot.img of Ubuntu Touch to the GNex.
After rebooting, the device was stuck at the Google boot logo but the kernel did actually boot, so I was able to adb shell into the device.
dmesg returned:

Code:
<6>[   15.739807] PVR_K:(Error): BridgedDispatchKM: Initialisation failed.  Driver unusable. [4783, /home/ubuntu/jenkins/workspace/phablet-image/kernel/samsung/tuna/drivers/gpu/pvr/bridged_pvr_bridge.c]
That means Canonical still uses the kernel from before a week, this kernel doesn't play nicely with the new proprietary GPU driver.
I'll try pushing the old GPU blobs now...
Waiting to your results, great job beidl!
Regards,

Urko Pineda

 
capychimp
Old
(Last edited by capychimp; 23rd February 2013 at 09:23 PM.)
#20  
capychimp's Avatar
Recognized Developer
Thanks Meter 7481
Posts: 8,659
Join Date: Sep 2009
Location: At home

 
DONATE TO ME
Default Sv: [DEV] Dual Booting Project [Android - Ubuntu Phone OS] (HELP NEEDED)

First zip to flash is linked wrong it links to the IMG
Ubuntu phone os is nice but laggy buggy power eating just tried it. Maybe we should focus on it running good before dual boot
Did anyone try using it ? Gsm and all that did not work on my gnex. Did you guys have luck?
Sent from my Galaxy Nexus using xda premium
RCTeam/CK GIT Twitter:capy You like my work, send a shot

 
Post Reply+
Tags
galaxy, nexus, phone, ubuntu
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...