[MultiROM] Debian for the Moto G
What is this Multiarch? Multiarch lets you install library packages from multiple architectures on the same machine. This is useful in various ways, but the most common is installing both 64 and bit software on the same machine and having dependencies correctly resolved automatically.
In general you can have libraries of more than one architecture installed together and applications from one architecture or another installed as alternatives. Note that it does not enable multiple architecture versions of applications to be installed simultaneously.
It is built-in to the currently installed dpkg package. So for example, armel and armhf are different architectureseven though they use near enough the same instruction set, because they have different library-calling ABIs.
Packages can now be specified as 'package:architecture' pretty-much anywhere that was previously just 'package', so we have libc:i and libc:amd64, unfortunately the semantics in dpkg and apt are slightly different so you might get different results, but it should always be safe and unambiguous to arch-qualify packages. The bare name 'package' refers to the current machine architecture in apt. There is a 'Multi-Arch' header in the package metadata of any multiarch-aware package.
Existing packages work fine in a multiarch environment, just as before, but to gain the benefits of co-installation or cross-architecture dependencies, many packages need to be made 'multiarch-aware'.
For an unchanged package you can choose which arch version of a package to install e. If a package is marked 'Multi-Arch: foreign', then it can satisfy dependencies of a package of a different architecture e. To enable more than one architecture version of a package to be installed at the same time generally libraries and dev- packages files need to be moved so they don't clash.
These packages are marked 'Multi-Arch: same'. Packages marked 'Multi-Arch: allowed' also exist which can be treated as either :same or :foreign depending on how they are depended-on. Packagers are currently working through the distro, starting with the most useful packages for making multi-arch aware.
See the multiarch spec and implementation howto for details of how it all actually works, and how to update packages to take advantage of the functionality. Availability You need a multiarch-aware dpkg and apt. In Debian dpkg this is present since 1. In Ubuntu this is present since natty v1. This is available from version 0. However there are many multiarch-related improvements and bug-fixes in later apt versions some required by Debian dpkg 1.
Prior to apt 0. Usage Configuring architectures To add an extra architecture in Debian from dpkg 1. Note that you need to remove all packages of that architecture before removing it: apt-get purge ". This is very useful on Ubuntu's split archive.
It is not normally necessary on Debian unless your normal archive does not mirror the extra architectures you are interested in. Don't forget to apt-get update after adding new architectures. This process is ongoing. When it doesn't work you can often get the dependencies installed with a manual apt-get line: e. Installing Android SDK compat libraries Some users using the Android SDK might encounter problems when trying to run build-tools or platform-tools on amd64 bit platform.Contents Using multiarch Converting your package for multiarch Why update your library package for multiarch support?
Issues to be aware of when converting What does the end result look like? For example, if you have an amd64 system that you want to install i libraries onto, do the following: multiarch support is present from dpkg 1.
If you find there are issues not documented here, please update this wiki page, or contact debian-devel lists. Check existing bugs to see if a package has already been fixed, or for examples : bugs tagged multiarch Why update your library package for multiarch support?
Now that multiarch support is available in the package manager dpkg 1. This has several benefits: If your library is currently bundled in ialibsproviding a multiarch package helps with the process of removing ialibs from the archive. If there is any software that uses your library which can only build in bit mode, users will be able to install packages of that software directly on bit systems without having to use dedicated chroots.
Users can use your library package with userspace emulators such as qemu without needing to use a dedicated chroot - making it easier to build environments that emulate only the parts that need emulating. Issues to be aware of when converting You might wonder why, if multiarch is so great, the conversion isn't handled automatically by the package helper tools like debhelper and cdbs.
The answer is that there is no reliable way to automatically convert a package to multiarch. Careful attention is required on the part of the maintainer to ensure the conversion is done correctly. This is not needed from Debian 8 Jessie onwards, and is now deprecated. While any built -dbg packages will have multiarch tuples in their paths, they did not need Pre-Depends declared since their installation does not use the loader.
If your library includes any sort of mechanism for loading modules or plugins from a public directory, care must be taken to ensure backwards-compatibility - either by including both multiarch and non-multiarch directories in a plugin search path, or by declaring an appropriate Breaks: on all pre-multiarch versions of the affected packages.
Test your -dev packages! There are several ways that a -dev package might be broken by a conversion to multiarch even though the runtime package works; pkgconfig. Please check that the reverse-build-depends of your package still work after conversion. If your pkgconfig. It's for reasons like this that Debian Policy If your -dev package contains headers which vary across architectures then it cannot be marked as Multi-Arch: same until a policy decision is made about architecture-dependant headers and the toolchain is updated.
What does the end result look like? Currently, Debian Policy 9. However, most upstream build systems such as autoconf, with --libdir will install shared libraries, support files, and various development files such as static libraries and. See Debian Policy: Shared library support files for advice on dealing with any such executables currently included in your runtime library package.Can you consider mirroring it to androidfilehost??
Is that Ubuntu touch??? Please give us more explanations and screenshots Consider a video too. Where could I find kernel sources? No, I'm just starting Debian instead of Android with my custom init script.
I'm using the Optimus kernel with a few options changed the config. XDA Developers was founded by developers, for developers. It is now a valuable resource for people who want to make the most of their mobile devices, from customizing the look and feel to adding new functionality. Are you a developer? Terms of Service. Hosted by Leaseweb. ColorOS 7. LineageOS Realme 6 Pro Review: A well-rounded affordable smartphone with a few premium features March 29, Bring back the notification ticker with Super Status Bar March 25, Tags This thread has automatically been categorized with the following tags.
Click on any of the topics to find related threads. Thanks Meter : Thread Deleted Email Thread Page 1 of 3 1 2 3. Login to Follow Project. Announcement from dvdkon: Currently most things don't work. I'm looking for anyone able to help! The only way to interface with the ROM while it's running is by connecting the phone to a computer, and then using ssh. Join Date: Joined: Jun Junior Member. Thanks Meter : 1.
Join Date: Joined: Jul Thanks Meter : 3.
How to install Sailfish OS on Nexus 5, The easy way
Join Date: Joined: Oct Join Date: Joined: Sep Thanks you!! Enviado desde mi XT mediante Tapatalk. Thanks Meter : 0. What is this for? It is a PC for mobile Debian?Many of you probably dual-boot your personal computers, be it to run Linux alongside Windows or because you have a Mac and hate OS X.
[MultiROM] Debian for the Moto G
On computers, the process has gotten relatively simpler over time, with Microsoft and Apple typically supporting the notion. On Android, the story is different. But most Android users have unlimited choice within a choice that is, the ROM they are running. And an island next to it might have a lot of things the user wishes to have. That is essentially the problem that Windows and Mac suffer from, but not in such a fierce manner since they are proprietary by nature and not as open as Android.
Linux users get a particularly isomorphic experience due to the similarities of the platforms regarding openness. But dual boot is still very much possible on Android, even if not quite as mainstream.
Luckily, XDA developers and others too have come up with different ways to get your device to run two Android ROMs — or even different operating systems — at once. Dual booting makes sense on a computer, but does it on a phone? Not for the general user, perhaps. Even experienced users might call it an answer without a questionand it does come with some annoyances too.
We covered the installation process in an XDA TV feature, but keep in mind that official support is limited to a handful of devices like the Nexus 4Nexus 5 and both the and Nexus 7 tablets. This piece of software is sadly officially unsupported by Hashcode at this point, which means official development has ceased.
That being said, the lucky ones who can still exploit Safestrap get access to additional ROM slots and a lot of other goodies to boot. You can grab the latest snapshot patcher here but keep in mind that some additional steps might be required for your device.
XDA developers, in particular, have managed to get the functionality through various methods to many certain devices, something we love featuring since way back.
I personally run TouchWiz on my Note 4 for its productivity features which are invaluable when on-the-run or doing research, homework or working. For when I am no longer occupied with tasks, I can boot into my CM If you have additional ROM slots, you can tweak things or try mods without the fear of detrimental consequences throughout the rest of the day. But with the appropriate criteriayou can alter without many concerns. There are negatives to this, however.
Many users complain about the initial setup, as setting up a device is always rather annoying. Depending on your methodduplicate data may become a problem, particularly if you have low internal storage.
Some solutions share data between ROMs, though, unlike the closed off nature of partitioned systems on PC. These are all things you should be aware of, but we think that the positives largely outweigh the negatives. If Android is about openness, dual booting adds a whole dimension to the idea. Dual booting can be beneficial not just to Android on phones, but also Android Wearsomething we discussed as a solution to the Wear openness conundrum and wish to see made a reality someday.
Ultimately, if you are a power user, dual booting might aid you in your hobby and, at the same time, make your UX more rewarding. Do you dual boot on your Android phone?
What do you think of dual booting? Discuss below.Posted by sky Tags: AndroidBuddhaDebianLinuxOpen-SourcePersonalarmhfbluetoothdeathgithackinginstallationinternetresourcetestingwindow managerwireless-network. My nexus 7 is a wifi model Android 6. Recently, its touchscreen begins to malfunction, such that the screen only reacts to touch on its right edge, making the device unusable. Worse still, the touchscreen can suddenly generate a lot of random touches by itself, so that it jumps from one random app to another.
Instead of a premature death, I decide to install Debian on the nexus 7, and to use it with a usb keyboard. For users who want to run native Debian on nexus 7, the easiest way is to download and install Debian jessie multirom by xda user Szybol. The following is a brief account of the different stages I went through, and the many references and resources available on the web that makes this possible.
In general, all commands below are run by root user. And, I use a Linux computer to root, and to run adb and fastboot commands. Download CF-Auto-Root-flo-razor-nexus7. For installing debian kit: see Running Debian Armhf alongside Android. After the upgrade to jessie, systemd and systemd-sysv should probably be installed.
If not, then install both:. It cannot find? The easiest is to move the system partition to use the cache partition, and to move the cache partition to use a smaller partition. And, for nexus 7 wifi model, it happens to have an unused partition, the radio partition. For reference, see Transformer: Booting Android experiment.
When the Android can boot up successfully, then the boot. With the cache partition freed, we can move the system partition to use the cache partition. This will require us to delete files so as to make it fit inside the smaller cache partition. As I remember, I delete most of the larger system apps as long as Android can still boot upbelow is the list of system apps remaining:.
Also, I perform the steps as answered in Remove google app-velvet from android marshmallow. Now, that the original system partition is freed, its original data can be removed and replaced by Debian rootfs.
For reference, see Transformer: Booting Debian experiment. I use the Linux kernel provided in Debian jessie multirom. Reuse the bootimg. Refer to Arch Linux for Nexus Flo for the details in getting console login, Xserver, wifi to work properly.Can you consider mirroring it to androidfilehost?? Is that Ubuntu touch???
Please give us more explanations and screenshots Consider a video too.Xubuntu on Nexus 7 [native, multiROM] - it's actually useful
Where could I find kernel sources? No, I'm just starting Debian instead of Android with my custom init script. I'm using the Optimus kernel with a few options changed the config. XDA Developers was founded by developers, for developers.
It is now a valuable resource for people who want to make the most of their mobile devices, from customizing the look and feel to adding new functionality.
Are you a developer? Terms of Service. Hosted by Leaseweb. OnePlus 8 and 8 Pro announced — Everything you need to know! April 14, Working Remotely? Image Warp helps you transform pictures with manually adjustable grids April 14, Tags This thread has automatically been categorized with the following tags.
Click on any of the topics to find related threads. Thanks Meter : Thread Deleted Email Thread Page 1 of 3 1 2 3. Login to Follow Project.But after I dug into it, I found out that there is one better way to do this.
Linux and Mac users, please let me know if you also want a tutorial. When the download is complete, open your notifications and tap OneClick. Follow the instructions displayed on your Android phone or tablet to continue the installation process. Run the CyanogenMod Installer for Windows and follow the on-screen instructions.
And trust me, this was the easiest way possible, at least from my perspective. Know an easier way?
Hit it in the comment section! A very special thanks to Martin Brook and Carsten Munk for providing the information and helping me along and more importantly, making the whole thing happen in the first place. Please feel free to ask any question you have regarding Sailfish OS on Nexus 5 in the comment section.
Yeah the WiFi issue is a big one that should be fixed soon. But I have 4G and 3G data connection on my nexus when running Sailfish. Just wondering why will all be wiped out when trying this?
New release IS out. Cyangenmod-installer didnt work either cause firmware of my nexus 5 wasnt good enough… why? No this is only for Nexus 5 unfortunately. Great post. I was checking constantly this weblog and I am impressed! I used to be seeking this particular information for a long time.
Thanks and good luck. Dude this is amazing when I figured out that a Persian guy is working on Jolla!! Jolla has a long way to get success, keep going!
Keep this post up to date please! Soon this post will be updated with newer links! I didnt get the screen for installation after I went in to the recovery mode. Can you help? Hey, im using motoG 1st gen. Im planning to buy another phone probably a jolla and also keep motoG, but instead of having android on it, can i completely remove android from the device and install sailfish alone. I have original Android 5. Just installed Sailfish according to above tutorial.
Now what should do to make it work? I have been looking for an answer to that for many months. I would appreciate if someone could explain to me how to do it. Hello, what version of Cyanogen should I install?
Can it be latest, today it is Any idea how we can solve?