Ubuntu Touch bootloader? - Ubuntu Touch Q&A, Help & Troubleshooting

Is it possible to create a custom bootloader with menu options for Ubuntu and android?

yoyocomeback said:
Is it possible to create a custom bootloader with menu options for Ubuntu and android?
Click to expand...
Click to collapse
As in: select which OS to load?
Yes. MultiRom supports Ubuntu Touch and Firefox OS.
http://www.droidviews.com/how-to-triple-boot-nexus-4-on-android-firefox-os-ubuntu-touch/

RumoredNow said:
As in: select which OS to load?
Yes. MultiRom supports Ubuntu Touch and Firefox OS.
http://www.droidviews.com/how-to-triple-boot-nexus-4-on-android-firefox-os-ubuntu-touch/
Click to expand...
Click to collapse
Can I do that with the bootloader? I don't want to stop using CyanogenMod.

yoyocomeback said:
Can I do that with the bootloader? I don't want to stop using CyanogenMod.
Click to expand...
Click to collapse
After MultiRom is installed you can switch on boot as to which OS you want... Any compatible Android, Ubuntu Touch or FF OS.
Select which one you want as default... When you boot up you get some few seconds (like 8 or ten) to select something besides the default.
So long as your Android install is running a kexec-hardboot patch kernel, then you are good. Check the article I linked above for all details. One of the kernels they link to there should install on CM and then you are golden.

Can I use this on my moto g? The article talks about the nexus 4.

yoyocomeback said:
Can I use this on my moto g? The article talks about the nexus 4.
Click to expand...
Click to collapse
LOL - I guess that is my bad for assuming you have a Nexus.
I can't really comment on Moto. I guess you would compile your own build of Ubuntu Touch for your phone model???

Install multirom and check whether The ubuntu touch is enabled or not. On my nexus he did everything Aline!
Sent from my Nexus 5 using XDA Free mobile app

Related

[MOD][14JAN]MultiROM v19a for HTC One // Unofficial port // FIXED RECOVERY UI //

Introduction
First time,I want to say THANKS !!!! to @Tasssadar because he's the creator and he helped me a lot !!!MultiROM is one-of-a-kind multi-boot mod for HTC One (international). It can boot any Android ROM as well as other systems like Ubuntu Touch, once they are ported to that device. Besides booting from device's internal memory, MultiROM can boot from USB drive connected to the device via OTG cable. The main part of MultiROM is a boot manager, which appears every time your device starts and lets you choose ROM to boot. You can see how it looks on the left image below and in gallery. ROMs are installed and managed via modified TWRP recovery. You can use standard ZIP files to install secondary Android ROMs and MultiROM even has its own installer system, which can be used to ship other Linux-based systems.
Features:
* Multiboot any number of Android ROMs
* Restore nandroid backup as secondary ROM
* Boot from USB drive attached via OTG cable
Click to expand...
Click to collapse
http://www.youtube.com/watch?v=SCYh14Zwl3s You can also watch a video which shows it in action.​
Warning!
It _is_ dangerous. This whole thing is basically one giant hack - none of these systems are made with multibooting in mind. It is no longer messing with data partition or boot sector, but it is possible that something goes wrong and you will have to flash factory images again. Make backups. Always.​
Click to expand...
Click to collapse
Installation
Note 1: Your device must not be encrypted (hint: if you don't know what it is, then it is not encrypted).
MultiROM has 3 parts you need to install:
[*]MultiROM (multirom-YYYYMMDD-vXX-m7ul.zip) - download the ZIP file from second post and flash it in recovery.
[*]Modified recovery (TWRP_multirom_m7ul_YYYYMMDD.img) - download the IMG file from second post and use fastboot or Flashify app to flash it.
[*]Patched kernel - You can use either one of the stock ones in second post or third-party kernels which include the patch, you can see list in the second post. Download the ZIP file and flash it in recovery.
Click to expand...
Click to collapse
You current rom will not be erased by the installation.
Download links are in the second post.
Click to expand...
Click to collapse
FAQ
Click on this link
Adding ROMs
1. Android
Go to recovery, select Advanced -> MultiROM -> Add ROM. Select the ROM's zip file and confirm
Click to expand...
Click to collapse
2. Other Systems
Unfortunately, no other systems are available as of now. But, MultiROM _theoreticaly_ supports them - the principle should be the same as on grouper, we just need the systems. That's why the options in "Add ROM" menu in recovery are there, but do not flash systems for old Nexus 7 (grouper)!
Click to expand...
Click to collapse
Updating/changing ROMs
1. Primary ROM (Internal)
Flash ROM's ZIP file as usual, do factory reset if needed (it won't erase secondary ROMs)
Go to Advanced -> MultiROM in recovery and do Inject curr. boot sector.
Click to expand...
Click to collapse
2. Secondary Android ROMs
If you want to change the ROM, delete it and add new one. To update ROM, follow these steps:
Go to Advanced -> MultiROM -> List ROMs and select the ROM you want to update.
Select "Flash ZIP" and flash ROM's ZIP file.
Click to expand...
Click to collapse
Source code
MultiROM - https://github.com/oblikas/mr_device_m7ul
Modified TWRP - https://github.com/Tasssadar/Team-Win-Recovery-Project (branch master)
Kernel w/ kexec-hardboot patch - https://gist.github.com/Tasssadar/6733940
Click to expand...
Click to collapse
Downloads
1. Main downloads
MultiROM: multirom-20131217-v19a-UNOFFICIAL-m7ul.zip
Modified recovery: TWRP_m7ul_multirom-011414
Kernel w/ kexec-hardboot patch (CM 10.2): kernel_kexec_m7ul_cm102-2.zip
It should work with all ROMs.
Click to expand...
Click to collapse
2. third-party kernels with kexec-hardboot patch
check the FAQ
Click to expand...
Click to collapse
Donations
If you want to donate me,use the "Donate to me" button.
Donate to @Tasssadar. You can use either paypal or Bitcoins, his address is 172RccLB2ffSnJyYwjYbUD3Nx4QX3R8Ris
Thanks to all donors, it is much appreciated ​
Click to expand...
Click to collapse
Thanks @Giblet-dono for the FAQ code
This was such a great mod on my nexus 7. Happy to see it here for my HTC One as well
Sent from my HTC One using xda app-developers app
Hells YESSS !! , have this on my nexus 7 and it's the best thing ever .
---------- Post added at 05:51 PM ---------- Previous post was at 05:31 PM ----------
Wait, this is just for the International HTC One ?.
I've just installed the MultiROM modded recovery, but on my HTC One, the resolution is wrong. The recovery cuts off at the right side, so the back button in TWRP is almost completely off-screen and the second column of icons is more or less right-justified. This is a big problem when naming backups, for example, because the keyboard is also cut off and the rightmost keys are beyond the screen's margin. Currently making a backup, so I'll test the actual MultiROM functionality soon.
mastermind777 said:
I've just installed the MultiROM modded recovery, but on my HTC One, the resolution is wrong. The recovery cuts off at the right side, so the back button in TWRP is almost completely off-screen and the second column of icons is more or less right-justified. This is a big problem when naming backups, for example, because the keyboard is also cut off and the rightmost keys are beyond the screen's margin. Currently making a backup, so I'll test the actual MultiROM functionality soon.
Click to expand...
Click to collapse
You are on T Mobile ? .
It was originally a T-Mobile HTC One, which I modded (S-OFF, SuperCID, etc.)
mastermind777 said:
It was originally a T-Mobile HTC One, which I modded (S-OFF, SuperCID, etc.)
Click to expand...
Click to collapse
So that means i can't flash it on my Developer ATT One ?.
Subscribed
Sounds like a great idea. Not a big fan of Sense and no kernel for the latest GP ROM so gonna keep an eye on the development of this goodie.
Multumim anticipat
jawonder said:
Hells YESSS !! , have this on my nexus 7 and it's the best thing ever .
---------- Post added at 05:51 PM ---------- Previous post was at 05:31 PM ----------
Wait, this is just for the International HTC One ?.
Click to expand...
Click to collapse
I think it works on Super-CID'ed T-Mobile,Sprint,AT&T,Verizon too...
mastermind777 said:
I've just installed the MultiROM modded recovery, but on my HTC One, the resolution is wrong. The recovery cuts off at the right side, so the back button in TWRP is almost completely off-screen and the second column of icons is more or less right-justified. This is a big problem when naming backups, for example, because the keyboard is also cut off and the rightmost keys are beyond the screen's margin. Currently making a backup, so I'll test the actual MultiROM functionality soon.
Click to expand...
Click to collapse
Yeah,the recovery needs some resize.
Can we use only USB devices or can we use a part from internal memory?
Atze001 said:
Can we use only USB devices or can we use a part from internal memory?
Click to expand...
Click to collapse
You can flash ROMs on internal or on USB
oblikas said:
You can flash ROMs on internal or on USB
Click to expand...
Click to collapse
Ah Great!!
---------- Post added at 07:09 AM ---------- Previous post was at 06:11 AM ----------
Musst try again cause first attempt failed. On both Roms my wlan dont work
Atze001 said:
Ah Great!!
---------- Post added at 07:09 AM ---------- Previous post was at 06:11 AM ----------
Musst try again cause first attempt failed. On both Roms my wlan dont work
Click to expand...
Click to collapse
Check "Don't share " in TWRP when you flash a secondary ROM.
Sent from my Nexus 7 using xda app-developers app
oblikas said:
Check "Don't share " in TWRP when you flash a secondary ROM.
Sent from my Nexus 7 using xda app-developers app
Click to expand...
Click to collapse
I try it and dont work. I think it was a kernel issue. Your Kernel dont work with EragonRC4.
My first rom is EragonRC4 (Sense based).
First I install EragonRC4 than I Flash your Recovery than your kernel and your multirom.zip. After that I boot up Eragon and wifi is gone
Atze001 said:
I try it and dont work. I think it was a kernel issue. Your Kernel dont work with EragonRC4.
My first rom is EragonRC4 (Sense based).
First I install EragonRC4 than I Flash your Recovery than your kernel and your multirom.zip. After that I boot up Eragon and wifi is gone
Click to expand...
Click to collapse
Of course it won't work .You can boot only CM/AOSP ROMs .
Sent from my Nexus 7 using xda app-developers app
oblikas said:
Of course it won't work .You can boot only CM/AOSP ROMs .
Sent from my Nexus 7 using xda app-developers app
Click to expand...
Click to collapse
:crying:
oblikas said:
Of course it won't work .You can boot only CM/AOSP ROMs .
Sent from my Nexus 7 using xda app-developers app
Click to expand...
Click to collapse
Can we boot gpe rom + sense rom since they have the same kernel?
leventccc said:
Can we boot gpe rom + sense rom since they have the same kernel?
Click to expand...
Click to collapse
Try and let us know if it worked for you.
Sent from my HTC One using xda app-developers app

[Q] how do i modify my boot.img to remove forced encryption?

hi,
I want to modify my own boot.img to remove the force encryption - how do i do that?
(i'd like to learn something in this process while also being safe by knowing what i edit in the boot.img)
(please dont point me to a thread that says download and flash the hacked one)
thanks.
Are you using some version of linux?
Either way, just need to unpack the boot.img, edit fstab.flounder fstab.flounder64 to change 'force-encrypt' to 'encryptable', then repack everything into a new boot.img.
Exactly. But if you looking for a bit, you'll find a windows version.
di11igaf said:
Are you using some version of linux?
Either way, just need to unpack the boot.img, edit fstab.flounder fstab.flounder64 to change 'force-encrypt' to 'encryptable', then repack everything into a new boot.img.
Click to expand...
Click to collapse
in the amount of time you took to post, you could have done it for us
Sent from my Nexus 7 using Tapatalk
di11igaf said:
Are you using some version of linux?
Either way, just need to unpack the boot.img, edit fstab.flounder fstab.flounder64 to change 'force-encrypt' to 'encryptable', then repack everything into a new boot.img.
Click to expand...
Click to collapse
great. thanks. i have a linux box that i can use for this and i can figure out packing and unpacking the image.
Migamix said:
in the amount of time you took to post, you could have done it for us
Sent from my Nexus 7 using Tapatalk
Click to expand...
Click to collapse
umm.. except that i wanted to do it myself so that really was the correct answer.
Do you guys want the latest kernel
With the root patch
And the none force encrypted patch
USBhost said:
Do you guys want the latest kernel
With the root patch
And the none force encrypted patch
Click to expand...
Click to collapse
Yes. Absolutely!!
here you go
USBhost said:
here you go
Click to expand...
Click to collapse
Flashed file. Works very well so far..
USBhost said:
Do you guys want the latest kernel
With the root patch
And the none force encrypted patch
Click to expand...
Click to collapse
Do I lose root or no force encryption if I flash another kernel on top of your kernel?
Moa1480 said:
Do I lose root or no force encryption if I flash another kernel on top of your kernel?
Click to expand...
Click to collapse
Its up to the kernel your flashing
I know every kernel for the nexus 9 as of now
supports root and no force encryption
except Faux's kernel which does not support no force encryption
USBhost said:
Its up to the kernel your flashing
I know every kernel for the nexus 9 as of now
supports root and no force encryption
except Faux's kernel which does not support no force encryption
Click to expand...
Click to collapse
Thanks man. Hey, did you just use "zhack" for that? ....or did you just use the regular android tools? I was just trying to think of the easiest way for any user that had linux but not a whole box set up? Say, for example, to take El.X and re&re that sucker....
Besides however, once this device takes off a bit and guys like ElementalX start using that Aroma installer, there will be an option there. Maybe 50/50 who want it...
wantowan2 said:
Thanks man. Hey, did you just use "zhack" for that? ....or did you just use the regular android tools? I was just trying to think of the easiest way for any user that had linux but not a whole box set up? Say, for example, to take El.X and re&re that sucker....
Besides however, once this device takes off a bit and guys like ElementalX start using that Aroma installer, there will be an option there. Maybe 50/50 who want it...
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=2073775
USBhost said:
Do you guys want the latest kernel
With the root patch
And the none force encrypted patch
Click to expand...
Click to collapse
Does your kernel work with lollipopalooza rom or flounder pure aosp rom.
Moa1480 said:
Does your kernel work with lollipopalooza rom or flounder pure aosp rom.
Click to expand...
Click to collapse
You mean fire ice
then yes
USBhost said:
You mean fire ice
then yes
Click to expand...
Click to collapse
Sorry no. I meant the kernel that ensures no encryption and root.
Moa1480 said:
Sorry no. I meant the kernel that ensures no encryption and root.
Click to expand...
Click to collapse
Yes

Are multiple OS' possible?

I am wondering if I can install multiple OS' on the Elephone P9000.
For example stock and Cyanogenmod and when I boot I can choose which OS I want to boot.
Is that possible?
Are you talking about multiboot?
Uqbar said:
Are you talking about multiboot?
Click to expand...
Click to collapse
Yes, I think that is the word for it.
It depends on whether the BootManager (or similar tool) has been ported to your phone.
And the multibooted ROM needs to support it.
More details here and here.

Nethunter Nexus 6P

This is Nethunter for Nexus 6P built straight from the script supplied by Offensive Security. All the credit goes to them I just compiled it and sharing with you.
Diretions
Download zip
Flash in recovery
Profit
Go into Nethunter app and Download which ever metapackages that you want
https://mega.nz/#F!g8NgiLqJ!jHQjleUEMFyfy1cetCx5Mw
Thanks Offensive Security for Nethunter!!!
XDA:DevDB Information
Nethunter, Kernel for the Huawei Nexus 6P
Contributors
dude1981, Offensive Securiity
Source Code: https://github.com/offensive-security/kali-nethunter
Kernel Special Features:
Version Information
Status: Stable
Created 2016-08-19
Last Updated 2016-08-19
Added to Nexus 6P index thread:
[INDEX] Huawei Nexus 6P
Interesting
Sent from my Nexus 6P using Tapatalk
Interesting.
Interesting.
---------- Post added at 01:40 AM ---------- Previous post was at 01:39 AM ----------
Jk, what a pleasant surprise! Downloading now!
What exactly function of nethunter ?
ariefabuzaky said:
What exactly function of nethunter ?
Click to expand...
Click to collapse
test the security of your home network. Chances are though if you dont already know what nethunter is you will never have a need for it
This is a ROM?
cimbrum said:
This is a ROM?
Click to expand...
Click to collapse
*deleted
Sent from my Ggle Neus 6P
cimbrum said:
This is a ROM?
Click to expand...
Click to collapse
sharp87 said:
no
Sent from my Ggle Neus 6P
Click to expand...
Click to collapse
Yes, it is.
Has anyone flashed this yet and gotten it to boot? I'm going on 10 minutes at boot screen but nothing yet...
ohlin5 said:
Yes, it is.
Has anyone flashed this yet and gotten it to boot? I'm going on 10 minutes at boot screen but nothing yet...
Click to expand...
Click to collapse
oops my bad...
The Kali NetHunter is an Android ROM overlay that includes a robust Mobile Penetration Testing Platform. The overlay includes a custom kernel, a Kali Linux chroot, and an accompanying Android application, which allows for easier interaction with various security tools and attacks.
Sent from my Ggle Neus 6P
Installed last night, works great with pure nexus, thank you!
Did you get it to going?
sharp87 did you get it going?
sharp87 said:
oops my bad...
The Kali NetHunter is an Android ROM overlay that includes a robust Mobile Penetration Testing Platform. The overlay includes a custom kernel, a Kali Linux chroot, and an accompanying Android application, which allows for easier interaction with various security tools and attacks.
Sent from my Ggle Neus 6P
Click to expand...
Click to collapse
ohlin5 said:
Yes, it is.
Has anyone flashed this yet and gotten it to boot? I'm going on 10 minutes at boot screen but nothing yet...
Click to expand...
Click to collapse
Did you get it going?
dude1981 said:
Did you get it to going?
Click to expand...
Click to collapse
Nope. After about 15 minutes no boot I tried hard rebooting once more, and after another ~5 minutes with still not booting I just reverted to PureNexus.
ohlin5 said:
Nope. After about 15 minutes no boot I tried hard rebooting once more, and after another ~5 minutes with still not booting I just reverted to PureNexus.
Click to expand...
Click to collapse
Ok give me few minutes and I'll upload just the installer and the chroot separately. Flash the installer in recovery and put chroot.tar on the root of sdcard. Go into the Nethunter app and add the full chroot from the sdcard. That should fix u up. It'll be about an hour before I can get home to upload it but I'm sure that way will get you up and running.
Hey guys!
Been looking for this for ages. Greet work.
One thing, I've booted no problem but argh, no nethunter app to be found...not even installed apparently... What have I missed haha.
Thanks.
Sent from my Nexus 6P using XDA-Developers mobile app
Lambetts said:
Hey guys!
Been looking for this for ages. Greet work.
One thing, I've booted no problem but argh, no nethunter app to be found...not even installed apparently... What have I missed haha.
Thanks.
Sent from my Nexus 6P using XDA-Developers mobile app
Click to expand...
Click to collapse
I'm uploading new files now flash the Nethunter installer, put chroot on /sdcard. Then go into Nethunter app and install chroot from sdcard it's the full version. Then add metapackages.
OK the files are now uploaded if anyone has any problems let me know. Just follow the link in the OP.

Kernel for Nexus 9 from Vartom

Create a separate topic to share their experience in the kernel for N9.
Kernel for Nougat.
In stock. Fresh patches from google.
Patches from Nvidia.
Patches of the above kernel version.
Source Code: https://github.com/vartom/android_kernel_flounder
Download
The latest version Vartom_v4-2017-01-14_1443-128c.zip
Kernel with a small bonus.
The tablet is converted to Nvidia Shield K1!
Vartom_v4-2017-01-17_1731.zip
Аvailable applications NVIDIA SHIELD Hub(NVIDIA Games app), geforce now and GameStream games.
You can try how it works.
Worth keeping an eye on the OP drive folder as the kernel is updated quite regularly!!
Vartom said:
Kernel with a small bonus.
The tablet is converted to Nvidia Shield K1!
Vartom_v4-2017-01-17_1731.zip
Аvailable applications NVIDIA SHIELD Hub(NVIDIA Games app), geforce now and GameStream games.
You can try how it works.
Click to expand...
Click to collapse
Works good so far. Play store shows nvidia options. Can you incorporate it into ROM? tnx great work!
hulkvsspawn said:
Works good so far. Play store shows nvidia options. Can you incorporate it into ROM? tnx great work!
Click to expand...
Click to collapse
Latest one dated 29/01/17 doesn't alter the device to make it appear as a Shield I'm glad to say.
lmulli said:
Latest one dated 29/01/17 doesn't alter the device to make it appear as a Shield I'm glad to say.
Click to expand...
Click to collapse
So it should be. This version of Flounder.
Later, I will correct the name of the archive to separate versions.
Was there a separate thread ever created for feedback/user experience? Can't seem to find anything, but would love to read some opinions & actual user experience.
The February patch on board. Also special version without support LTE modem( no_mdm ).
igloohed73 said:
Was there a separate thread ever created for feedback/user experience? Can't seem to find anything, but would love to read some opinions & actual user experience.
Click to expand...
Click to collapse
I think this is the thread you are looking for
Sent from my thingyding straight to your eyeholes using Crapatalk.
Up to Linux 3.10.105.
Number of compilation errors was reduced to 12.
After i install this kernel now my nexus 9 everytime restart always show this message "There's an internal problem with your device. Contact your manufacturer for details"
please help me how to fix it
thanks
willows said:
After i install this kernel now my nexus 9 everytime restart always show this message "There's an internal problem with your device. Contact your manufacturer for details"
please help me how to fix it
thanks
Click to expand...
Click to collapse
i would at least start with flashing the rom you're on without a kernel and seeing if the problem persists....maybe even going back to stock fully.....i've never seen that before and am using the latest kernel myself. what rom are you using btw? any other mods?
tried flashing on nougies rom but all i get is bootloop flashed mdm version since im on lte
do i need to change rom if yes then which one is confirmed to be working
damngood98 said:
i would at least start with flashing the rom you're on without a kernel and seeing if the problem persists....maybe even going back to stock fully.....i've never seen that before and am using the latest kernel myself. what rom are you using btw? any other mods?
Click to expand...
Click to collapse
i was using nexus 9 stock android and flash it with this kernel, and after i got that warning i set factory default my nexus 9, but still the warning show everytime i reboot my nexus. Now i reflash stock nexus 9 rom again and the warning is gone, but i worry to flash this kernel again.
willows said:
After i install this kernel now my nexus 9 everytime restart always show this message "There's an internal problem with your device. Contact your manufacturer for details"
please help me how to fix it
thanks
Click to expand...
Click to collapse
I believe that all those who are flashing custom ROM on the nexus should know about this.
https://forum.xda-developers.com/nexus-9/development/fix-build-prop-variety-fix-aka-contact-t3133347
In this case, my kernel has nothing to do with this problem.
mangomonkey00 said:
tried flashing on nougies rom but all i get is bootloop flashed mdm version since im on lte
do i need to change rom if yes then which one is confirmed to be working
Click to expand...
Click to collapse
I'm using the stock firmware. Compatibility with various custom firmware I do not check.
Vartom said:
I believe that all those who are flashing custom ROM on the nexus should know about this.
https://forum.xda-developers.com/nexus-9/development/fix-build-prop-variety-fix-aka-contact-t3133347
In this case, my kernel has nothing to do with this problem.
Click to expand...
Click to collapse
I'm sorry, I just know that
Sent from my Nexus 9 using Tapatalk
Updating the wifi version.

Categories

Resources