Thread Closed

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

13th August 2013, 11:20 AM   |  #1  
oblikas's Avatar
OP Senior Member
Flag Bacau
Thanks Meter: 3,290
 
1,387 posts
Join Date:Joined: Sep 2012
Donate to Me
More
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
Last edited by oblikas; 13th August 2013 at 08:15 PM.
The Following 144 Users Say Thank You to oblikas For This Useful Post: [ View ]
13th August 2013, 11:21 AM   |  #2  
oblikas's Avatar
OP Senior Member
Flag Bacau
Thanks Meter: 3,290
 
1,387 posts
Join Date:Joined: Sep 2012
Donate to Me
More
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

Last edited by oblikas; 1st September 2013 at 12:01 AM.
The Following 44 Users Say Thank You to oblikas For This Useful Post: [ View ]
13th August 2013, 11:22 AM   |  #3  
musa47's Avatar
Senior Member
Thanks Meter: 143
 
521 posts
Join Date:Joined: Oct 2012
Wow. Cool!

Sent from my Nexus 4 using Tapatalk 4
13th August 2013, 11:50 AM   |  #4  
Senior Member
Thanks Meter: 308
 
1,782 posts
Join Date:Joined: Nov 2005
More
Man this is unreal.
Thanks for the effort man.
Going to give it a shot
13th August 2013, 11:58 AM   |  #5  
Crenshaw-PCGH's Avatar
Senior Member
Thanks Meter: 156
 
327 posts
Join Date:Joined: Mar 2012
all roms can access the same data like my music stored on the device right?
Can they sync for example sms?
The Following User Says Thank You to Crenshaw-PCGH For This Useful Post: [ View ]
13th August 2013, 11:59 AM   |  #6  
D-m-x's Avatar
Senior Member
Thanks Meter: 152
 
413 posts
Join Date:Joined: Apr 2011
More
Nice work, I will test this if I have time. Seems promising though.

Gesendet von meinem Nexus 7 mit Tapatalk 4
13th August 2013, 12:02 PM   |  #7  
tiru.adi13's Avatar
Senior Member
Flag Bangalore
Thanks Meter: 49
 
376 posts
Join Date:Joined: Mar 2013
More
Amazing dude! Something that's really gonna make everyone's nexus 4 experience even better

Sent from my Nexus 4
13th August 2013, 12:03 PM   |  #8  
oblikas's Avatar
OP Senior Member
Flag Bacau
Thanks Meter: 3,290
 
1,387 posts
Join Date:Joined: Sep 2012
Donate to Me
More
Quote:
Originally Posted by Crenshaw-PCGH

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
13th August 2013, 12:09 PM   |  #9  
tiru.adi13's Avatar
Senior Member
Flag Bangalore
Thanks Meter: 49
 
376 posts
Join Date:Joined: Mar 2013
More
How many Roms can we multi boot? (As in, how many can the storage hold)

Sent from my Nexus 4
13th August 2013, 12:11 PM   |  #10  
Senior Member
Flag Noida
Thanks Meter: 53
 
154 posts
Join Date:Joined: May 2012
More
Quote:
Originally Posted by tiru.adi13

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: [ View ]
Thread Closed Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Top Threads in Nexus 4 Original Android Development by ThreadRank