Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,737,563 Members 45,033 Now Online
XDA Developers Android and Mobile Development Forum
Announcement from Paul_Kolanjian: Will be updated in a regular basis!

DualBoot Kernels for Ancora

Tip us?
 
Paul_Kolanjian
Old
#1  
Member - OP
Thanks Meter 109
Posts: 68
Join Date: Dec 2012
Location: Zahlah
Default DualBoot Kernels for Ancora

Hello everyone! Thanks to @educk and @h0rn3t for their awesome dualboot project for ancora, and @theloneseeker for his amazing tutorials, I've managed to make ION kernels compatible for dualboot in secondary ROMs, in other words, you're primary ROM can be ION or non-ION, but the secondary ROM had to be non-ION build to work, but now, I've managed to make ION builds dualboot compatible. Therefore, CyanogenMod 10.1 beta 3, CyanogenMod 10.2 alpha 5, CyanogenMod 11 20140323 build (the final 20140413 seems to be unstable for some) and Dark CyanogenMod beta 3 can be installed as secondary ROMs. The procedure on how to dualboot is mentioned in this thread http://forum.xda-developers.com/showthread.php?t=2469803, but I will still provide you with a similar guide in order to avoid errors.



**Installation Guide**:
1- Download the Dualboot1.8.apk from the mentioned thread above in the downloads section.
2- Install busybox and the Dualboot1.8.apk and grant the app root access.
3- Tap on Partitions and set the partition table according to your preference (I have a 4Gb external SD card so there are no exact values for everyone). This step takes most time so be patient.
4- Once done, tap on Tools and then Prepare flashable zip, and direct it to the ROM.zip you want to have as your secondary ROM (ION builds are now working)
5- Choose to wipe data and cache, then choose to Flash now. In recovery, tap on flash untrusted zip and after flashing is done, reboot.
6- Using a file explorer, you will see on your internal SD card that a Dualboot folder exists, and according to your secondary ROM, create a 4.2.2 (for CM 10.1) or 4.4.2 (for CM 11) and place the corresponding boot2.img that I provided. So, you should have something like Dualboot/4.4.2/boot2.img for example.
7- Go back to the Dualboot app and tap on Switch

Viola! Now, you will have ION build secondary ROM! You can have two 4.4.2 ROMs as well, or any other combination
NOTE: The kernels I made are 100% tested by me and are working with no issues whatsoever.

Credits:
-CyanogenMod Team
-Mr. Arne (arco68) for all his work. :D
-Mr. Radu (arsradu) for his kernel collection and bringing CM 10.2 for our device. :)
-Osama (Madridii) for his kernels and all his wonderful work and D CM 11 :highfive:
-Daniel (theloneseeker) for his amazing tutorials :)
-educk and h0rn3t for bringing dualboot feature to the i8150! :victory:
-Roderick (Tazerick) for motivating me ;)
-lafactorial for his powerful Khan Kernel!!
-hurtsky for the rock solid HurtSky kernel!
-sir mordred for bringing TRIM to the ol' i8150 :) (perfectly working with dualboot)

P.S. If any user wants to have his custom kernel work with dualboot, please give the name of the kernel, the kernel version, the linux version and a link to download the kernel, and post what ROM the kernel works with (e.g. xxx kernel version x.xx.xx working with CyanogenMod X.X) and I will do my best in making the kernel work with dualboot.

I AM responsible for any damage that may happen to your device. I do not own any of the kernels or ROMs or apps that have been used to make this project possible. If any user encounters an issue, kindly report the issue and post exactly what your steps are. The guide posted here is the same as educk mentioned but maybe more simplified. I do not deserve any credit, I only made the kernels dualboot compatible but I didn't build these kernels. The kernels posted are the default kernels of the ROMs (simply extracted the boot.img only). Good luck to everyone :)


Download links:
- https://drive.google.com/file/d/0BxQ...it?usp=sharing
- https://drive.google.com/file/d/0BxQ...it?usp=sharing
- https://drive.google.com/file/d/0BxQ...it?usp=sharing
- https://drive.google.com/file/d/0BxQ...it?usp=sharing

If any link doesn't work, I will add mirrors

XDA:DevDB Information
Ancora DualBoot, Kernel for the Samsung Galaxy W I8150

Contributors
Paul_Kolanjian, arco68, educk, h0rn3t, arsradu, Madridii, theloneseeker, lafactorial, hurtsky
Kernel Special Features:

Version Information
Status: Testing

Created 2014-04-23
Last Updated 2014-06-05
The Following 13 Users Say Thank You to Paul_Kolanjian For This Useful Post: [ Click to Expand ]
 
Paul_Kolanjian
Old
(Last edited by Paul_Kolanjian; 5th June 2014 at 06:56 AM.) Reason: Clarification
#2  
Member - OP
Thanks Meter 109
Posts: 68
Join Date: Dec 2012
Location: Zahlah
Default More kernels support

Added CyanogenMod 10.2 and 11 ION kernels linux 3.4.86 dualboot from Mr. Radu's kernel collection
Added KhaN Kernel 3.4.87 [362 MB] dualboot. Big thanks to the one and only lafactorial!!
Added HurtSky Kernel v1.3. A warm thank you for the senior member hurtsky for his kernel
Added CyanogenMod 10.1 Beta 4 Linux kernel 3.4.89.
Added CyanogenMod 10.2 Linux kernel 3.4.89.
Added CyanogenMod 11 Linux kernel 3.4.91 which is for latest CyanogenMod 11 built by Mr. Arne on 21st of May.
Added HurtSky kernel v1.5 Linux kernel 3.4.90 and HurtSKy kernel v1.5.1 Linux kernel 3.4.91.
Added CyanogenMod 11 kernel based on 25th of May build by Mr. Arne.
Added KhaN Kernel Linux 3.4.91 [360 MB] with TRIM support. Thank you sir mordred for all your wonderful effort and lafactorial for updating your kernel with a blazing update!

Download links:
- CM 10.2 Linux 3.4.86 https://drive.google.com/file/d/0BxQ...it?usp=sharing
- CM 11 Linux 3.4.86 https://drive.google.com/file/d/0BxQ...it?usp=sharing
- CM 11 KhaN Kernel Linux 3.4.87 https://drive.google.com/file/d/0BxQ...it?usp=sharing
- HurtSky Kernel Linux 3.4.83 https://drive.google.com/file/d/0BxQ...it?usp=sharing
- CM 10.1 Beta 4 https://drive.google.com/file/d/0BxQ...it?usp=sharing
- CM 10.2 Alpha 7 https://drive.google.com/file/d/0BxQ...it?usp=sharing
- CM 11 21st of May https://drive.google.com/file/d/0BxQ...it?usp=sharing
- Hurtsky kernel v1.5.1 https://drive.google.com/file/d/0BxQ...it?usp=sharing
- Hurtsky kernel v1.5 https://drive.google.com/file/d/0BxQ...it?usp=sharing
- CM 11 25th of May https://drive.google.com/file/d/0BxQ...it?usp=sharing
- CM 11 TRIM Kernel (based on KhaN Kernel) https://drive.google.com/file/d/0BxQ...it?usp=sharing
***UPDATE***: Thanks to @theloneseeker for pointing it out, the new kernels are compiled with the extra lib files included inside. Install them using the same procedure above, happy dualbooting!!
The Following 5 Users Say Thank You to Paul_Kolanjian For This Useful Post: [ Click to Expand ]
 
Tazerick
Old
#3  
Tazerick's Avatar
Senior Member
Thanks Meter 338
Posts: 191
Join Date: Mar 2013
Location: Ústí nad Labem

 
DONATE TO ME
yaay I'm in credits Great job man!
FEEL FREE TO DONATE
PAYPAL : viralzhq@seznam.cz

The Following User Says Thank You to Tazerick For This Useful Post: [ Click to Expand ]
 
theloneseeker
Old
#4  
theloneseeker's Avatar
Senior Member
Thanks Meter 457
Posts: 306
Join Date: Jul 2013
Location: Thrissur
Quote:
Originally Posted by Paul_Kolanjian View Post
Added CyanogenMod 10.2 and 11 ION kernels linux 3.4.86 dualboot from Mr. Radu's kernel collection
Added KhaN Kernel 3.4.87 [362 MB] dualboot. Big thanks to the one and only lafactorial!!
Download links:
- https://drive.google.com/file/d/0BxQ...it?usp=sharing
- https://drive.google.com/file/d/0BxQ...it?usp=sharing
- https://drive.google.com/file/d/0BxQ...it?usp=sharing
The new kernels require lib files in addition to the boot2.img, so I included the files with them. All you have to do is put all the files together in the sub-folder of your kernel for example Dualboot/4.3.1/**put boot2.img and all other .ko files here**
Awesome thread and great work buddy..
The Following User Says Thank You to theloneseeker For This Useful Post: [ Click to Expand ]
 
theonepharaoh
Old
#5  
Member
Thanks Meter 191
Posts: 82
Join Date: Feb 2014
Thumbs up nice work

thanks for this awesome work you saved me a lot of work, time & trouble

by the way I'm creating a dualboot super thread with all info about dual booting
a tutorial created by me and links to all threads about it

the ion problem was a major bummer but now we are good to go

Anyone interested in porting My roms or can help the development can PM me



SamRoms V2.0.X are HERE with Full S5 features
 
micnicmic
Old
(Last edited by micnicmic; 26th April 2014 at 10:40 AM.)
#6  
micnicmic's Avatar
Senior Member
Thanks Meter 29
Posts: 112
Join Date: Feb 2013
Location: Gorle
Thanks man! a question: can i use a ICS ROM as primary ROM, like it was with the dualboot by educk?

Edit: and the dualboot can affect performances/battery life?

Inviato dal mio GT-I8150 utilizzando Tapatalk
 
Paul_Kolanjian
Old
#7  
Member - OP
Thanks Meter 109
Posts: 68
Join Date: Dec 2012
Location: Zahlah
Exclamation Very Important Note for 4.4.2 dualbooters

Quote:
Originally Posted by micnicmic View Post
Thanks man! a question: can i use a ICS ROM as primary ROM, like it was with the dualboot by educk?

Edit: and the dualboot can affect performances/battery life?

Inviato dal mio GT-I8150 utilizzando Tapatalk
Sure you can my friend, the primary ROM can be any Android ROM even Gingerbread, but the secondary ROM must be Jellybean and upward (tried making Gingerbread kernel dualboot compatible but it soft-bricked my phone). I repeat, this is the same procedure as educk and h0rn3t posted and all I did is add kernels to make ION kernels compatible to feed my dualboot hunger and the others as well
As for the performance and battery life, dualboot has nothing to do with it, instead, the ROM and kernel you use (on the primary and secondary partitions) are what determines the performance, e.g. if you use CM9 with hurtsky kernel on primary ROM and CM11 with stock kernel on secondary ROM, it's the same as saying you are 100% using CM9 on primary and similarly for CM11 and dualboot has no effect whatsoever on your combination, in other simplified words, dualboot for ancora by educk and h0rn3t is amazing (better than the one I have on i9100) since it creates two phones in one, so performance is based on what you are using.

***IMPORTANT NOTE*** After some testing, I realized that two custom kernels on primary and secondary Kitkat ROMs breaks the secondary ROM's WiFi and GPS, so if you are using CM11 with Khan Kernel on primary, and any other 4.4.2 ROM with hurtsky or khan kernel as well on secondary ROM for example, you will not be able to use WiFi and GPS whereas primary ROM remains unaffected, and the battery life and performance on secondary ROM are unaffected and the same as using it as primary ROM. The same happens if you use the same custom kernel on primary and secondary ROMs. So if anyone dualboots two 4.4.2 ROMs like me, use custom kernel on primary ROM and stock ROM kernel of the ROM you're using (download links are in first post). This has been tested on Android Kitkat so I don't know the consequences of two custom kernels on Jellybean. Just wanted to add this as a "Heads-up" so no one spams the threads of CM11 or any other thread accidentally. Good luck to all fellow dualbooters!!!
The Following 2 Users Say Thank You to Paul_Kolanjian For This Useful Post: [ Click to Expand ]
 
micnicmic
Old
#8  
micnicmic's Avatar
Senior Member
Thanks Meter 29
Posts: 112
Join Date: Feb 2013
Location: Gorle
Will you make new cm11 kernel ready for dual boot?

Inviato dal mio GT-I8150 utilizzando Tapatalk
 
Paul_Kolanjian
Old
#9  
Member - OP
Thanks Meter 109
Posts: 68
Join Date: Dec 2012
Location: Zahlah
Quote:
Originally Posted by micnicmic View Post
Will you make new cm11 kernel ready for dual boot?

Inviato dal mio GT-I8150 utilizzando Tapatalk
Of course I will my dear brother , all you have to do is ask and I'll supply you with a big number of kernels! I honestly stopped updating the thread since I believe that adding kernels just it would not interest users, but it's about time I release updated kernels. Feel free to post any kernel you want for any ROM, and I'll add it for you and everyone once it's done. By the time you read this post, I'll be adding new kernels in the second post, and I come with excellent news about the KitKat dualboot issue mentioned up there in the sixth post.

In order to fix the issue that persists upon dualbooting two KitKat 4.4.2 ROMs (in which using a custom kernel instead of the original ROM's kernel on the secondary ROM is breaking the secondary ROM's WiFi and GPS), the solution is quite simple. As I previously said, the primary ROM, no matter what kernel you use, is not affected. So, here it goes. Let's assume you want to install the latest CyanogenMod 11 build by Mr. Arne which was built on the 21st of May, and you decided to install the ROM on the secondary partition, but you want to install the latest HurtSky kernel with the build, yet, you know that custom kernels are breaking some essential components on the secondary ROM (In fact, this happens with any ROM other than KitKat if you use a custom kernel, and the fix works for any Android version). All you have to do is download the latest HurtSky kernel .zip file, extract the "system" file included with the kernel (there is META-INF folder, system folder, and boot.img, but we only need the system folder). Open the CyanogenMod-11.zip you want to install using WinRAR or WinZip or 7zip (basically any archiver should work), you will also see the same folders, but you need to navigate to /system/lib/modules and you will see some .so files (about 6), so delete them all. Replace these files with the .so files we extracted from the HurtSky kernel we downloaded (remember the extracted "system" folder from HurtSky's kernel) and once all the files are in place, your CM 11 ROM is ready for dualboot BUT ONLY to be used with the HurtSky custom kernel. IF you want to use another kernel, or maybe the default one, do the same steps as above and WiFi won't be affected anymore. Here is a listed summary:

1- Download the ROM.zip you want, open it and navigate to system/lib/modules.
2- Delete all the .so files found in the /system/lib/modules folder (only the files that look the same in the kernel's /system's folder)
3- Download any custom kernel you like to use in the secondary ROM, open it, and extract the "system" folder.
4- Add the .so files in the extracted 'system" folder from the kernel to your ROM.zip in /system/lib/modules.
5- You now have a dualboot-ready ROM to be used with the specific custom kernel you chose. (always make a NAndorid Backup just in case)

If anyone faces any issue or wants to have a new kernel, I am more than happy to help, give solutions, and add up some more kernels. As I said, I will be always testing dualboot to find any issues and reproduce them in order to be fixed. I always dualboot two 4.4.2 ROMs (currently on Paranoid Android by my brother Osama, and the latest CyanogenMod 11 build by Mr. Arne). Have any request? Need some help? Don't be shy to ask! Good luck to everyone!
The Following User Says Thank You to Paul_Kolanjian For This Useful Post: [ Click to Expand ]
 
micnicmic
Old
#10  
micnicmic's Avatar
Senior Member
Thanks Meter 29
Posts: 112
Join Date: Feb 2013
Location: Gorle
really thanks for all your work, I really appreciate this dual boot feature

Inviato dal mio GT-I8150 utilizzando Tapatalk

The Following User Says Thank You to micnicmic For This Useful Post: [ Click to Expand ]
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes