5,604,122 Members 49,593 Now Online
XDA Developers Android and Mobile Development Forum

[DEV] Dual Booting Project [Android - Ubuntu Phone OS] (HELP NEEDED)

Tip us?
 
urko95
Old
#11  
urko95's Avatar
Senior Member - OP
Thanks Meter 200
Posts: 362
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: 50
Join Date: Feb 2011
couldn't modifying the bootloader be considered distributing a derivative work under the dmca?
 
ak
Old
#13  
ak's Avatar
Recognized Contributor
Thanks Meter 36148
Posts: 8,461
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
Website: link

Github: link
Twitter: link
Xda N4: link
Xda N7: link
Google+: link
Dirty_v GN: link
Nephilim: link

I do NOT answer technical questions via PM.
Post your question in the correct thread if you want a response.
by morfic:
Just flash over.
Only thing we wipe here is our butts!


The Following User Says Thank You to ak For This Useful Post: [ Click to Expand ]
 
urko95
Old
#14  
urko95's Avatar
Senior Member - OP
Thanks Meter 200
Posts: 362
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 200
Posts: 362
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  
LucaZPF's Avatar
Member
Thanks Meter 5
Posts: 89
Join Date: Oct 2007
Location: Brescia
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.
luca.sh - Samsung Galaxy Note II + SanDisk 64GB SDXC +[MI6] MVDroid 1.0
 
urko95
Old
#17  
urko95's Avatar
Senior Member - OP
Thanks Meter 200
Posts: 362
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 63
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 200
Posts: 362
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 7497
Posts: 8,693
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

Tags
galaxy, nexus, phone, ubuntu
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes