FORUMS

[MOD] [APP][KERNEL][Manta] RomSwitcher | Dualboot | Stable

2,798 posts
Thanks Meter: 10,522
 
Post Reply Email Thread




proudly presents


Dualboot for Nexus 10

I DO NOT OWN THIS DEVICE
thanks to @add12364 for testing

This is a Mod which allows you to switching between any Rom and any AOSP based rom.

Code:
System.out.println("

	Your warranty is now void

	I am not responsible for bricked devices, dead SD cards
	thermonuclear war, or you getting fired because the alarm app failed. Please
	do some research if you have any concerns about features included in this ROM
	before flashing it! YOU are choosing to make these modifications, and if
	you point the finger at me for messing up your device, I will laugh at you

	Submitting bug reports on nightly builds is the leading
	cause of male impotence.

");
Before you install this, please read the whole post!
Your first rom can be any Rom and second rom is any AOSP rom.
The second rom is installed on the /cache partition.
/data and /cache folder are in /data/media/.secondrom

This Mod switchs between two kernels.
The App will grab the kernel from your first rom, AOSP will use my ramdisk modified Kernel.

The RomSwitcher App will download the all needed files for you.
They will be in /sdcard/romswitcher

Sources:
https://github.com/RomSwitchers/RomSwitcher-manta
https://github.com/RomSwitchers/RomSwitcher

How to install?
You can use every AOSP rom as second rom
Download any AOSP rom. Extract it and open META-INF/com/google/android/updater-script
Look for this line (some roms have two of them)

Code:
mount("ext4", "EMMC", "/dev/block/platform/dw_mmc.0/by-name/system", "/system");
and replace it with

Code:
mount("ext4", "EMMC", "/dev/block/platform/dw_mmc.0/by-name/cache", "/system");
then delete these lines

Code:
format("ext4", "EMMC", "/dev/block/platform/dw_mmc.0/by-name/system", "0", "/system");
and

Code:
package_extract_file("boot.img", "/dev/block/platform/dw_mmc.0/by-name/boot");
You will need Gapps
Get it here http://goo.im/gapps/

Extract it and open updater-script
and replace

Code:
run_program("/sbin/busybox", "mount", "/system");
with

Code:
mount("ext4", "EMMC", "/dev/block/platform/dw_mmc.0/by-name/cache", "/system");
Zip your rom and gapps.

If you have troubles with editing the updater script, you can use my modified Paranoid Android Rom
http://devhost.xda-developers.com/qjO

Flash both in recovery. (first rom then gapps)
DO NOT WIPE ANYTHING

Reboot your phone and if you did all correct. You should boot into your current rom.

Now download and install my app
https://github.com/RomSwitchers/Down...omSwitcher.apk

Open RomSwitcher and follow the instructions. (You need Root and BusyBox to use the App)




XDA:DevDB Information
RomSwitcher Manta, a Kernel for the Google Nexus 10

Contributors
Grarak
Kernel Special Features:

Version Information
Status: Testing

Created 2013-09-14
Last Updated 2013-10-05
The Following 11 Users Say Thank You to Grarak For This Useful Post: [ View ]
29th August 2013, 05:38 PM |#2  
Grarak's Avatar
OP Recognized Developer
Flag Vienna
Thanks Meter: 10,522
 
Donate to Me
More

Wipe data/cache on AOSP rom
Wipe data:
Delete /data/media/.secondrom/data
Wipe cache:
Delete /data/media/.secondrom/cache

Install new AOSP rom
Wipe cache in recovery and delete /data/media/.secondrom
then flash your new rom

Remove AOSP rom
Wipe cache in recovery and delete /data/media/.secondrom

Do you want support me?
You can buy me a beer via PayPal
Press Thanks
Press "Tip us?" above the OP
Rate this Thread with 5 Stars
Report bugs

FAQ

I forget my password for RomSwitcher! help?!!
delete /sdcard/romswitcher-tmp/pass

I can't switch back to firstrom! why?
Check root access, check busybox, use SuperSu

Why the app keeps force closing?
Not my problem. I've written the app that this shouldn't happen

I want to remove 2nd rom. How???!!
Wipe options in the app

Error in recovery when I install 2nd rom!
don't use editor, wordpad, .. (all windows programms)
The Following 3 Users Say Thank You to Grarak For This Useful Post: [ View ]
29th August 2013, 05:39 PM |#3  
Grarak's Avatar
OP Recognized Developer
Flag Vienna
Thanks Meter: 10,522
 
Donate to Me
More

Credits

CyanogenMod (for kernel)
Jijonhyuni (using the same dualboot method as he does on Galaxy Nexus)
Gokhanmoral (using some scripts of his Siyah Kernel)
add12364 (for testing and support)
[email protected] (GraSwitcher Banner)
Paul O'Brian (for concept)

Changelog
05 Oct
RomSwitcher App:
Rework on the App:
new features:
Setup Menu
enable App/Data Sharing
Wipe options for 2nd rom
OTA updates
Password

RomSwitcher Kernel:
use /data/media/.secondrom as folder for data and cache for 2nd rom
new scripts for App/Data Sharing

15 Sept
RomSwitcher Kernel:
Enable App/Data Sharing (Experimental)

29 Aug
Inital Release

The Following User Says Thank You to Grarak For This Useful Post: [ View ]
29th August 2013, 07:20 PM |#4  
abdel12345's Avatar
Senior Member
Thanks Meter: 1,537
 
More
Awesome I'd like to try this but I'll wait till I know more about my nexus 10

Sent from my Nexus 10 using xda app-developers app
29th August 2013, 11:07 PM |#5  
tb01110100's Avatar
Member
Flag Hoosierland
Thanks Meter: 16
 
More
This is awesome. Congrats on your hard work, and look forward to trying this out soon!

-------------------------------------------------------------------------------------
Sent from my Nexus 10
Devices:
Nexus 10 - Paranoid Android 3.98 - Der Kernel 3X
Nook Tablet - CM 10.2 - NOF Showtime Kernel
29th August 2013, 11:42 PM |#6  
add12364's Avatar
Senior Member
Flag New Hope, Pennsylvania
Thanks Meter: 34
 
More
Talking
Nice Post! Is there a way I could do this on Windows cause I need to get GAPPs and I want to try CM dual boot. Thanks!

add12364
29th August 2013, 11:50 PM |#7  
Grarak's Avatar
OP Recognized Developer
Flag Vienna
Thanks Meter: 10,522
 
Donate to Me
More
Quote:
Originally Posted by add12364

Nice Post! Is there a way I could do this on Windows cause I need to get GAPPs and I want to try CM dual boot. Thanks!

add12364

Another guy will take over thread because he will maintain this
So be patient he will provide you the gapps

Sent from my GT-I9500 using xda app-developers app
The Following User Says Thank You to Grarak For This Useful Post: [ View ]
30th August 2013, 11:01 AM |#8  
Grarak's Avatar
OP Recognized Developer
Flag Vienna
Thanks Meter: 10,522
 
Donate to Me
More
Good news for Xperia Z users

Mithun successful ported it

App sharing is on the way. Nexus devices will get it first
3rd September 2013, 03:18 AM |#9  
add12364's Avatar
Senior Member
Flag New Hope, Pennsylvania
Thanks Meter: 34
 
More
Quote:
Originally Posted by Grarak

Good news for Xperia Z users

Mithun successful ported it

App sharing is on the way. Nexus devices will get it first

There's a bit of instability. I was wondering how I could uninstall the second ROM for now. I will come back to dual booting but my tablet is running out of space and I want to wipe the second ROM to get space.
3rd September 2013, 05:23 AM |#10  
Grarak's Avatar
OP Recognized Developer
Flag Vienna
Thanks Meter: 10,522
 
Donate to Me
More
Quote:
Originally Posted by add12364

There's a bit of instability. I was wondering how I could uninstall the second ROM for now. I will come back to dual booting but my tablet is running out of space and I want to wipe the second ROM to get space.

Second post

Sent from my GT-I9500 using xda app-developers app
The Following User Says Thank You to Grarak For This Useful Post: [ View ]
3rd September 2013, 05:25 AM |#11  
add12364's Avatar
Senior Member
Flag New Hope, Pennsylvania
Thanks Meter: 34
 
More
Quote:
Originally Posted by Grarak

Second post

Sent from my GT-I9500 using xda app-developers app

If you ever need N10 testing just send me a message! This MOD is my favorite.
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes