Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,741,210 Members 48,291 Now Online
XDA Developers Android and Mobile Development Forum

[MOD][13AUG]Multi ROM for Nexus 4 | Multi Boot |

Tip us?
 
oblikas
Old
(Last edited by oblikas; 13th August 2013 at 08:15 PM.)
#1  
oblikas's Avatar
Senior Member - OP
Thanks Meter 3137
Posts: 1,342
Join Date: Sep 2012
Location: Bacau

 
DONATE TO ME
Default [MOD][13AUG]Multi ROM for Nexus 4 | Multi Boot |

Introduction
Quote:
MultiROM is one-of-a-kind multi-boot mod made by @Tasssadar for Nexus 7 and ported to Nexus 4. It can boot any Android ROM as well as other systems like Ubuntu Touch (not yet).Besides booting from device's internal memory, MultiROM can boot from USB drive connected to the device via OTG cable. The main part of MultiROM is a boot manager, which appears every time your device starts and lets you choose ROM to boot. You can see how it looks on the left image below and in gallery. ROMs are installed and managed via modified TWRP recovery. You can use standard ZIP files to install secondary Android ROMs, daily prebuilt image files to install Ubuntu Touch and MultiROM even has its own installer system, which can be used to ship other Linux-based systems.

Features:
* Multiboot any number of Android ROMs
* Restore nandroid backup as secondary ROM
* Boot from USB drive attached via OTG cable


Warning!
Quote:
I don't take any responsability for any bricked phone,unicorn war etc.You take the risk.Everything should work fine.





Installation
Quote:

Warning!
You can't use 4.3 and 4.2 together !
You can't use multiple boot images!

Note 1: Sometimes booting secondary ROMs can take a lil'more time,don't get scared.
Note 1: Your device must not be encrypted (hint: if you don't know what it is, then it is not encrypted).

MultiROM has 2 parts you need to install:
MultiROM (multirom_vXX_n4-signed.zip) - download the ZIP file from second post and flash it in recovery.
Modified recovery (TWRP_multirom_n4_YYYYMMDD.img) - download the IMG file from second post and use fastboot or Flashify app to flash it.
You current rom will not be erased by the installation.
Download links are in the second post.

1.Flash the modified recovery
2.Flash the MultiROM zip
3.Enjoy!




Adding ROMs
Quote:
1.Android
Go to recovery, select Advanced -> MultiROM -> Add ROM. Select the ROM's zip file and confirm. As for the space, clean installation of stock 4.2 after first boot (with dalvik cache generated and connected to google account) takes 676mb of space.





Using the USB Drive
Quote:

NOT TESTED YET !

During installation, recovery lets you select install location. Plug in the USB drive, wait a while and press "refresh" so that it shows partitions on the USB drive. You just select the location (extX, NTFS and FAT32 partitions are supported) and proceed with the installation.
If you wanna use other than default FAT32 partition, just format it in PC. If you don't know how/don't know where to find out how, you probably should not try installing MultiROM.
If you are installing to NTFS or FAT32 partition, recovery asks you to set image size for all the partitions - this cannot be easilly changed afterward, so choose carefully. FAT32 is limited to maximum of 4095MB per image - it is limitation of the filesystem, I can do nothing about that.
Installation to USB drives takes a bit longer, because the flash drive is (usually) slower and it needs to create the images.
Enumerating USB drive can take a while in MultiROM menu, so when you press the "USB" button in MultiROM, wait a while (max. 30-45s) until it searches the USB drive. It does it by itself, no need to press something, just wait.






Updating/changing ROMs

Quote:
1.Primary ROMs

- Flash ROM's ZIP file as usual, you can format cache/system/data & do factory reset before flashing (it won't erase secondary ROMs)
- Flash the MultiROM zip file again.

Quote:
Secondary ROMs
If you want to change the ROM, delete it and add new one. To update ROM, follow these steps:
Go to Advanced -> MultiROM -> List ROMs and select the ROM you want to update.
Select "Flash ZIP" and flash ROM's ZIP file.



Explanation of recovery menus

Quote:
Main menu
- Add ROM - add ROM to boot
- List ROMs - list installed ROMs and manage them
- Inject boot.img file - When you download for example kernel, which is distrubuted as whole boot.img (eg. franco kernel), you have to use this option on it, otherwise you would lose MultiROM.
- Inject curr. boot sector - don't use it !
- Settings - well, settings.

Manage ROM
- Rename, delete - I believe these are obvious
- Flash ZIP (only Android ROMs) - flash ZIP to the ROM, for example gapps
- Add/replace boot.img - replaces boot.img used by this ROM, this is more like developer option.



Source code


Donations&donators
Quote:
Please,help me to buy a good PC ! You can donate here

Also,help @Tasssadar because he is the master ! Here !


https://www.youtube.com/watch?v=eHvm...e_gdata_player



Pics and videos









Credits
@Tasssadar ! Thank you so much for help ! @cpu999 for build server
Any other person who helped me
The Following 143 Users Say Thank You to oblikas For This Useful Post: [ Click to Expand ]
 
oblikas
Old
(Last edited by oblikas; 1st September 2013 at 12:01 AM.)
#2  
oblikas's Avatar
Senior Member - OP
Thanks Meter 3137
Posts: 1,342
Join Date: Sep 2012
Location: Bacau

 
DONATE TO ME
Downloads

Quote:




MultiROM - MultiROM_v1_n4-signed.zip


Modified TWRP 13/08/13 - TWRP_multirom_n4_130813.img

Modified TWRP 01/09/13 - TWRP_multirom_n4_020913.img

The Following 44 Users Say Thank You to oblikas For This Useful Post: [ Click to Expand ]
 
musa47
Old
#3  
musa47's Avatar
Senior Member
Thanks Meter 142
Posts: 506
Join Date: Oct 2012
Wow. Cool!

Sent from my Nexus 4 using Tapatalk 4
 
arifqur
Old
#4  
Senior Member
Thanks Meter 293
Posts: 1,728
Join Date: Nov 2005
Man this is unreal.
Thanks for the effort man.
Going to give it a shot
 
Crenshaw-PCGH
Old
#5  
Crenshaw-PCGH's Avatar
Senior Member
Thanks Meter 156
Posts: 327
Join Date: Mar 2012
all roms can access the same data like my music stored on the device right?
Can they sync for example sms?
FAQ and HOW TO for the Paranoid Android Rom!

http://forum.xda-developers.com/show...postcount=3883
The Following User Says Thank You to Crenshaw-PCGH For This Useful Post: [ Click to Expand ]
 
D-m-x
Old
#6  
D-m-x's Avatar
Senior Member
Thanks Meter 134
Posts: 391
Join Date: Apr 2011
Nice work, I will test this if I have time. Seems promising though.

Gesendet von meinem Nexus 7 mit Tapatalk 4
Main Phone: Google Nexus 5 32GB
ROM: Carbon Rom (Newest Nightly)
Kernel: ElementalX

Tablet: Google Nexus 7 16GB
ROM: SlimKat All-F2FS
Kernel: M-Kernel
 
tiru.adi13
Old
#7  
tiru.adi13's Avatar
Senior Member
Thanks Meter 49
Posts: 375
Join Date: Mar 2013
Location: Bangalore
Amazing dude! Something that's really gonna make everyone's nexus 4 experience even better

Sent from my Nexus 4
Boredom is, much to my consternation, ubiquitous.
My Devices:
Samsung Galaxy Note 3 N9005
Apple Retina Macbook Pro Late 2013, @2.6ghz Haswell and 8GB RAM
 
oblikas
Old
#8  
oblikas's Avatar
Senior Member - OP
Thanks Meter 3137
Posts: 1,342
Join Date: Sep 2012
Location: Bacau

 
DONATE TO ME
Quote:
Originally Posted by Crenshaw-PCGH View Post
all roms can access the same data like my music stored on the device right?
Can they sync for example sms?
Same sdcard partition.Is not like Switch for HTC one to use the same data partition on 2 ROMs.

Sent from my Nexus 4 using xda app-developers app
 
tiru.adi13
Old
#9  
tiru.adi13's Avatar
Senior Member
Thanks Meter 49
Posts: 375
Join Date: Mar 2013
Location: Bangalore
How many Roms can we multi boot? (As in, how many can the storage hold)

Sent from my Nexus 4
Boredom is, much to my consternation, ubiquitous.
My Devices:
Samsung Galaxy Note 3 N9005
Apple Retina Macbook Pro Late 2013, @2.6ghz Haswell and 8GB RAM
 
_Behemoth
Old
#10  
Senior Member
Thanks Meter 52
Posts: 152
Join Date: May 2012
Location: Noida
Quote:
Originally Posted by tiru.adi13 View Post
How many Roms can we multi boot? (As in, how many can the storage hold)

Sent from my Nexus 4
Did you read the 1st feature of the Mod?

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

Advanced Search
Display Modes