Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,729,908 Members 53,613 Now Online
XDA Developers Android and Mobile Development Forum

[APP/KERNEL] DUAL BOOT S PLUS

Tip us?
 
educk
Old
#1  
educk's Avatar
Recognized Developer - OP
Thanks Meter 6658
Posts: 1,210
Join Date: Oct 2012

 
DONATE TO ME
Default [APP/KERNEL] DUAL BOOT S PLUS



Hello everyone!

Together with @h0rn3t we bring you Dual Boot Support for our beloved GT-I9001.

Let's get started :)

Requirements:
Root
Busybox
CM or other AOSP like ROM based on 2.3.6+
Minimum ~350MB internal storage free space
External SD (min 4GB, the higher class, the better)


Description:

The process is fairly simple. The application will format your external-sd (we recommend to back up your personal data), then create 3 partitions as follows:
  • /dev/block/mmcblk1p1 -> storage (formatted VFAT)
  • /dev/block/mmcblk1p2 -> /system (formatted EXT4)
  • /dev/block/mmcblk1p3 -> /data (formatted EXT4)

After that you'll be given the possibility to flash a secondary ROM on your EXT-SD (currently only 4.1.2+ ROM's are supported as secondary and 2.3.6+ as primary).
At last, you'll be able to switch between ROM's within the app.



Process:

WARNING: Partitioning and flashing operations could take up to 5 minutes each to complete !
  1. Download the app and kernel pack from the Downloads section
  2. If you want the app to be automatically installed on the secondary ROM, push the app to /system/app and give proper permissions (rw-r-r or 644). Otherwise, just install it normally.
  3. Backup your personal data from the external sd card.
  4. Run the app and partition your external-sd.
  5. In app, choose flashing then choose your preferred secondary ROM from your internal SD card (must be 4.1.2 or higher).
  6. Your phone will reboot into recovery and automatically flash the secondary ROM. (in CWM, if you get "Signature Verification Failed", continue flashing, it is normal)
  7. After the flashing process is done, you'll be redirected to your primary ROM.
  8. On your internal SD-Card, you'll have a folder called DualBootSplus, open it up.
  9. Copy the kernels from the kernels pack into their appropriate subfolder. (eg CM-10 kernel (boot2.img) goes into 4.1.2 subfolder -> you'll have to create the subfolder if it doesn't exit)
  10. Now you can switch between ROM's or flash secondary gapps within the app.

Additional details:
  • The kernel pack contains 2 kernel types for each ROM, Stock and OPT. OPT means that is has all the features from Phenom Kernel.
  • You must put only 1 boot2.img type (stock or OPT) in the DualBootSplus subfolders.
  • The app has integrated the 4.2.2 OPT kernel so you only need to put the stock boot2.img on your 4.2.2 subfolder. (if you want stock kernel).
  • The kernel will determinate which ROM will be booted. So, if you have a primary and secondary ROM, you can quickly switch between them within the app (make sure you have the kernels in the SD-Card subfolders), or manually by flashing the correspondent kernel.
  • The boot2.img can be flashed separately in ADB.

Special thanks goes to @Christopher83 for his kernel sources.

XDA:DevDB Information
[GT-I9001] Dual Boot S Plus, a Tool/Utility for the Samsung Galaxy S I9000

Contributors
educk, h0rn3t

Version Information
Status: Stable
Current Stable Version: 1.5.1
Stable Release Date: 2013-10-27

Created 2013-09-29
Last Updated 2014-04-13
Attached Thumbnails
Click image for larger version

Name:	Screenshot_2013-09-29-12-33-10.jpg
Views:	8777
Size:	28.2 KB
ID:	2290549   Click image for larger version

Name:	Screenshot_2013-09-29-15-05-29.jpg
Views:	9260
Size:	17.1 KB
ID:	2290550   Click image for larger version

Name:	Screenshot_2013-09-29-15-05-34.jpg
Views:	8747
Size:	17.1 KB
ID:	2290551   Click image for larger version

Name:	Screenshot_2013-09-29-15-05-42.jpg
Views:	8211
Size:	16.9 KB
ID:	2290552   Click image for larger version

Name:	screen.jpg
Views:	7941
Size:	24.7 KB
ID:	2290572  

The Following 97 Users Say Thank You to educk For This Useful Post: [ Click to Expand ]
 
educk
Old
(Last edited by educk; 10th November 2013 at 06:53 PM.)
#2  
educk's Avatar
Recognized Developer - OP
Thanks Meter 6658
Posts: 1,210
Join Date: Oct 2012

 
DONATE TO ME
Default Reserved

WARNING! Make sure you have a flashable ZIP with your current kernel before switching to the secondary ROM so you can restore everything, just in case you did something wrong !

Changelog:
Code:
v1.6 [10.11.2013]
*Added new feature: Backup/Restore secondary ROM
*UI change: added Tools section with following functions: Prepare flashable zip, Backup Secondary ROM, Restore Secondary ROM, Reboot Recovery
*In Prepare flashable zip section, use menu to choose between ROM and other types
*Backup can be done from both roms.
*Restore can be done only from primary rom. To delete a backup from list longpress on it.
*Updated kernels (4.2.2, 4.3.1 and ION 4.2.2)

v1.5
*Changed partitions size limitation like this:

storage partition >= 512MB
system partition >= 512MB
data partition >= 1024MB
storage partition + system partition + storage partition <= sdcard size

v1.4 [14.10.2013]
*Changed the way ZIP's are handled (More details here)

v1.3
*Added GB Compatibility for Primary ROM (app works on GB too)

v1.2 [04.10.2013]
*Minor UI Changes

v1.1 [30.09.2013]
*Fixed problems with SD-Cards with +10GB capacity (16 GB SD-Cards work now)
*Added the option to revert back to original ext-sd partition (VFAT)
*Fixed the problems with: E: unknown volume for path [/mnt/sdcard/DualBootSplus/tmp.zip] and E: can't mount /mnt/sdcard/DualBootSplus/tmp.zip
The Following 12 Users Say Thank You to educk For This Useful Post: [ Click to Expand ]
 
TheTechnolgyhelper
Old
#3  
TheTechnolgyhelper's Avatar
Senior Member
Thanks Meter 333
Posts: 426
Join Date: Nov 2012
Location: Remscheid
First Wow great work educk



Remember , I'am a 15 year old teen




Dedicated Ubuntu / Windows user


Device : Sony Xperia Z ( Yuga )
Root : No
ROM : Stock Rom


Hit the thanks button , If i helped you
The Following 4 Users Say Thank You to TheTechnolgyhelper For This Useful Post: [ Click to Expand ]
 
Mudu kai
Old
(Last edited by Mudu kai; 29th September 2013 at 12:57 PM.)
#4  
Mudu kai's Avatar
Member
Thanks Meter 37
Posts: 65
Join Date: Mar 2013
Location: Calicut
Android 4.2.... 4.3....ION ROM in development..
& now we have Dual boot too...
Could we thank enough to the developers??..
Hats off to you, sir...
Quote:
ROM: CM11 R5 by ADC
KERNEL:k^kernel V 1.9 370 MB
GOV & I/O : smartassV2+sio
The Following 13 Users Say Thank You to Mudu kai For This Useful Post: [ Click to Expand ]
 
darsh11192
Old
#5  
darsh11192's Avatar
Senior Member
Thanks Meter 76
Posts: 345
Join Date: Jul 2012
I dont know wats the benefit of this dual boot... Can anyone tell me wats benefit of dual boot ???

Sent from my GT-I9001 using xda app-developers app
 
educk
Old
#6  
educk's Avatar
Recognized Developer - OP
Thanks Meter 6658
Posts: 1,210
Join Date: Oct 2012

 
DONATE TO ME
Quote:
Originally Posted by darsh11192 View Post
I dont know wats the benefit of this dual boot... Can anyone tell me wats benefit of dual boot ???

Sent from my GT-I9001 using xda app-developers app
You have 2 different ROM's on your device and you can switch between them whenever you like.

EDIT: Added screenshots


Google Nexus 5 | Android L (Developer Preview)
@ 422 - 2265 MHz; Interactive + Deadline


SAMSUNG GALAXY S PLUS | Paranoid Android 4+ (AOSPA) | K^Kernel | Performance Control | TWRP 2.7.1.0 by ADC Team
@ 245 - 1401 MHz; Ondemand + BFQ



GitHub




The Following User Says Thank You to educk For This Useful Post: [ Click to Expand ]
 
h0rn3t
Old
#7  
h0rn3t's Avatar
Recognized Developer
Thanks Meter 1242
Posts: 582
Join Date: Jun 2012

 
DONATE TO ME
Quote:
Originally Posted by darsh11192 View Post
I dont know wats the benefit of this dual boot... Can anyone tell me wats benefit of dual boot ???

Sent from my GT-I9001 using xda app-developers app
In fact is just a toy.


DualBootSplus | Performance Control | Performance Profile

Thanks to all who made ​​donations
The Following 7 Users Say Thank You to h0rn3t For This Useful Post: [ Click to Expand ]
 
tabnnaj
Old
#8  
tabnnaj's Avatar
Senior Member
Thanks Meter 22
Posts: 126
Join Date: Oct 2012
He he he

Nice to hear that our device support dual boot
Thanks for the great efforts ...

Sent from my GT-I9001 using xda app-developers app
 
android_smiley
Old
#9  
Senior Member
Thanks Meter 15
Posts: 126
Join Date: Nov 2012
Location: Frankfurt
Amazing! There's just on question left: Can I, after formatting and a conpleted setup as described, put all my music on my extSD?

Sent from my GT-I9001 using xda app-developers app
 
h0rn3t
Old
#10  
h0rn3t's Avatar
Recognized Developer
Thanks Meter 1242
Posts: 582
Join Date: Jun 2012

 
DONATE TO ME
Quote:
Originally Posted by android_smiley View Post
Amazing! There's just on question left: Can I, after formatting and a conpleted setup as described, put all my music on my extSD?

Sent from my GT-I9001 using xda app-developers app
yes. but the size will be smaller. storage=sdcard-system-data


DualBootSplus | Performance Control | Performance Profile

Thanks to all who made ​​donations

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

Advanced Search
Display Modes