Tuesday, June 20, 2017

Dual Boot: Alternative ROMs for Android Smartphone & Tablet - how it works

An alternative ROM besides Android as operating system on your device is possible with dual boot. In this article, we will show you how to do this.


Alternative kernel flash


There are better, faster, and more economical kernels than the original. Replace this with an optimized alternative. On a device, two systems can be operated as well.


Flashing using the recovery system


As is the case in the world of computers, the kernel is also the core of the operating system under Android. In simple terms, this is the central building block of the system, which acts as a link between software and hardware components Of running processes.


Flashing using Odin


The standard kernel, which is used on Android tablets and smartphones, is trimmed by the manufacturers for maximum compatibility because the component must run stably and error-free on millions of devices with different configurations. Criteria such as performance and power consumption play only a subordinate role. This is the place where you can find the right talent.


Flashing using ADB


They decompile the standard kernel, find and eliminate the weak points and integrate their own solutions. At the end of the development is a robust alternative kernel, which is superior to the standard components in many respects: a higher speed, less battery consumption, longer running time or special functions. Some kernels even support the use of two operating systems in dual boot mode. Numerous kernels can be used under the manufacturer's existing Android (Stock-ROM).


If you are looking for an alternative kernel, you must consider two important prerequisites. Unlike universal custom ROMs such as CyanogenMod and MIUI, kernels can usually only be used on one device. So, if you own a Samsung Galaxy SIII, you must choose an alternative kernel that has been designed and compiled for this device. Apropos Samsung: By far the largest selection of alternative kernels are available for models of the Korean manufacturer. Good is the supply with modified kernels but also for smartphones and tablets from the Nexus series.


The second criterion, which plays an important role in the selection of the appropriate kernel, is the Android version. If the galaxy is equipped with the stock ROM, the Boeffla kernel is not usable because this alternative kernel supports only CyanogenMod ROMs.


The best starting point for alternative kernels is the forum of XDA-Developers. Here you can also find out whether the development of a kernel has been discontinued, which is always the case. For example, Gökhan Moral, developer of SiyahKernel, has chosen one of the most popular kernel alternatives for Samsung Galaxy SII and SIII to work on his project in March 2013.


The two last versions of SiyahKernel (SiyahKernel s3-v1.9.1 and SiyahKernel S2-v6.0beta5) are still available for download on their homepage and provide owners of one of the two Galaxy smartphones, which are still Android 4.1.2 , But the developers of the popular kernel Perseus, Custom G2 and Deviant have also set their work.


The flashing of a kernel is not complicated if the Android device is already rooted. The further steps are device-specific and depend on the form in which the developer makes his kernel available. If a ZIP file, the flashing is performed in recovery mode under ClockworkMod recovery. If there is no recovery system on your device, we advise you to make sure that you have a complete system image before you can flash the kernel and restore your device if problems occur.



If, on the other hand, the kernel is available as a TAR archive, for example the Siyah kernel, users of a Samsung device must use the proven Odin tool for flashing. The third option: The kernel is offered as an image file, for example boot.img. In this case, you can do the flashing using Android Debug Bridge (ADB), a component of Google's Android Software Development Kit. But before you start flashing, download the desired alternative kernel from the developer website or from the XDA-Developers.com forum and save the file to your computer



To flash the kernel in recovery mode, you must transfer the downloaded ZIP file to the device. How you proceed, and whether you place the kernel in the internal phone memory or on an external SD card, does not matter. Turn off the device and restart it in recovery mode. Which key combinations you must press depends on the device you are using.


If it is a Samsung smartphone, press and hold the Lauter + Home + On / Off keys for a few seconds. For LG and HTC models, use the Quiet + On / Off key combination to enter recovery mode. In Recovery mode, in the example ClockworkMod Recovery is used, first select install zip from sdcard. In the following step, you decide for zip zip from sdcard, if you have copied the zip file into the internal phone memory.


Dual boot with the Googy Max Kernel


Otherwise, choose choose zip from external sdcard. In either case, change to the directory where the ZIP file is stored and select the entry. Confirm the selection and start flashing with Yes - Install. Then go back to the CWM main menu via Go Back and restart the device with reboot system now. The fact that everything has worked out can usually be seen during the start-up process at the logo of the new kernel. If the kernel that you have flown does not have a splash screen, take a look at the device information in the settings.


Only for Samsung devices is this method using the Flashing classic Odin (bit.ly/1nFMSef) is used. Turn off the device and start it in download mode by pressing and holding down + Home + On / Off until the warning message appears. Press the Volume Up button to activate the download mode. Connect the Samsung device via USB cable to the PC and start Odin. Once the tool has detected the device, click the PDA button, select the downloaded TAR file and confirm with Open


Android and Cyanogenmod parallel


Click the Start button to start flashing the alternative kernel. The whole process takes only a few seconds. If everything has worked, the device will automatically shut down and then restart. You can now close the Odin flashing tool again. In the settings, select Device Info and take a look at the kernel version. Here is the name of the just flown kernel.


The third way to flash a kernel is via the Android DebugBridge (ADB), a component of the Android SDK. This variant is used when the kernel is offered as an IMG file, which is especially the case with HTC devices. Connect the device to the computer using a USB cable, then shut it down and restart it by pressing and holding the corresponding buttons in the HBOOT mode. On HTC devices, this is the Volume Down + On / Off.


Alternative kernel tun


Also interesting is


Use the volume buttons to select FASTBOOT and confirm with the power button. On the PC, open an input prompt, change to the folder where the Android SDK is installed, and open the platform-tools directory. To make the work easier, you should store the alternative kernel in the same directory.


Type the fastboot flash boot file.img command, replacing filename.img with the actual filename. If you confirm with the Enter key, the kernel is flashed, which takes only a few seconds. Then, you delete all the caches by typing the fastboot erase cache command and confirming with the Enter key. Reboot the device by selecting REBOOT and confirming with On / Off.


The king's discipline of some alternative kernels is, without a doubt, the dual-boot option. What has always been possible on PCs also works with Android smartphones: the parallel use of two operating systems. This makes it easy to use a stick together with a custom-ROM on your smartphone or to use two alternative Android systems (professional-private).


But also for the testing of different custom ROMs, such a configuration is perfectly suitable, because the secondary Android OS in turn turn around and can be replaced by another Custom ROM - the primary ROM is preserved. The selection of the operating system to be started is the same as for the PC after switching on the device.


In this example, we use OS OS 4.1.2 as the primary operating system, we install CyanogenMod 10.2 on a Samsung Galaxy SIII. First download the Googy Max Kernel from the XDA-Developers.com forum. The custom ROM and the appropriate Google Apps are available at cyanogenmod.org. Copy the three files to the external memory card of the smartphone. Then play the alternative kernel, boot the device, and start the app STweaks, which was installed automatically during the flashing. Go to the DUALBOOT tab, and then tap Reboot into 2ndROM Utils.


The device now starts without any further demand in a special recovery mode. Use the volume or screen buttons to highlight dual boot options and confirm with the power button. Then select Format 2ndROM system and confirm the request. Use the two commands Wipe 2ndROM data / cache and Wipe 2ndROM dalvik-cache to delete the two caches. Confirm the deletion with Yes.


Select install zip to 2nd ROM from external SD, confirm the request, and run the custom ROM CyanogenMod 10.2 on the smartphone. After you install the custom ROM, which will be used as a second ROM in the dual boot system, you are still using the Google Apps package. Finally, restart the device via reboot system now. During the power-up, you have three seconds to press the Quieter or Home keys to load the second ROM you just installed.


Otherwise the primary operating system, ie Android 4.1.2. If you boot into the secondary ROM for the first time, the basic setup is on the program. In the special recovery mode, however, there are other useful functions to choose from. Among other things, you can delete the second ROM, exchange primary and secondary ROM, and create Nandroid backups. And the STweaks app also gives you all the features you need to increase performance, extend battery life, and activate special tweaks.

No comments:

Post a Comment