yashsingh1/xdaforums huggingface dataset:
[Nexus 5 Original Android Development] nldxda:
Need help about an endless boot on secondary rom stock 5.0...

I've got 4.4.4. as primary and 5.0 as secondary.

On the secondary rom (5.0), I auto-flashed franco kernel r69 in the franco updater app. This musta been a mistake, I should have manually flashed the kernel for the secondary rom from recovery. Upon rebooting, the phone booted instantly into my primary rom (the boot sector was wiped of the multirom from the kernel flash) and of course the 4.4.4 primary rom was endlessly booting.... I went into recovery and flashed r63 for that rom and rebooted and got the primary working again.

Next, I went back to recovery and injected the multirom boot image and then rebooted again, this time into the secondary rom stock 5.0. Now this rom is endlessly booting! I reflashed franco kernel r68 and r69 from recovery but the secondary rom still won't boot! (yes I flashed the zip for the secondary rom from the correct menu under multirom in recovery)

How can I fix this? Or at least, how can I make the secondary non-booting rom the primary rom so that I can dirty flash (no data wipe mode) the factory image from Nexus Root Toolkit?

thanks :fingers-crossed:
[Nexus 5 Original Android Development] thereal_bigjake:
May need to modify the updater script, worked for me on a CM12 based rom.

Example: http://goo.gl/ToqR4M
[Nexus 5 Original Android Development] nldxda:
UPDATE:

I'm currently stuck w/o a bootable rom..

I used "swap roms" to put the non-booting lollipop 5.0 as primary. I did this to be able to re-flash the rom using NRT. After the reflash, I'm stuck with the stock recovery now! I need the multirom modded recovery! So the current primary still endless boots and I can't boot to my kitkat rom because now the multirom boot image is wiped gone with the reflash.. I need the modded recovery to "inject boot sector" from the multirom option..

How can I install the modded recovery in my circumstance?

EDIT: Where can I download the modded recovery flashable zip??
[Nexus 5 Original Android Development] ast00:
Your phone isn't in the best shape.. I would say start over from fast boot.
[Nexus 5 Original Android Development] nldxda:
All I need is a flashable zip of the multirom modded recovery.. I can use nrt to install it and then inject boot sector and then be able to boot the working kk ROM..
[Nexus 5 Original Android Development] thereal_bigjake:
fastboot flash recovery recovery.img

I don't understand the need for the toolkit or a flashable zip, just use the fastboot command from above.
[Nexus 5 Original Android Development] nldxda:
I've never even used the android SDK, but I'll install it.. Didn't even think of it..

Edit: I currently have the stock recovery installed and cannot boot into the ROM.. Can I use fastboot here?

NRT enables the ability to boot into a temporary 3rd party recovery so that I could flash the modded recovery zip (if I found the zip).. That's what I was planning..
[Nexus 5 Original Android Development] Citizen_Snips:
1. You don't need to install the entire Android SDK, just ADB & Fastboot drivers.

2. You do not need a custom recovery to use Fastboot. Fastboot and recovery are 2 different things. You use ADB from recovery, fastboot from the bootloader.

3. You don't need a toolkit to do that. Just use;

fastboot boot recovery instead of fastboot flash recovery

No offense, but you should really stop using toolkits until you know how to recover your phone without using them. Go to the general section and look through the Roll-up sticky guide by rootSU for more information.

http://xdaforums.com/showthread.php?t=2784527
[Nexus 5 Original Android Development] wahyuwidi:
Hello,. i'm on simple aosp with twrp 2.8.1.0 ,. and i want try sailfish on my secondary rom ,. can i follow the tutorial on the first page? thx
[Nexus 5 Original Android Development] Vihru:
so can i install like 4 roms for this way?

sailfish, firefox, ubuntu and stock rom etc?

thanks. and that multiboot rom take care of all? i just need to download those rom zip files?
[Nexus 5 Original Android Development] :
Is there any way to boot into a secondary ROM directly every time I boot. Mu Primary ROM is stock ROM and I want it to be that. But Now I just want to use the sec ROM as daily driver.
[Nexus 5 Original Android Development] Tylog:
Yes. You can set it in settings.
[Nexus 5 Original Android Development] tusing:
For everyone having the /tmp/mr_update.zip problem.
[Nexus 5 Original Android Development] lets_zock:
Is anybody here able to compile the latest recovery and upload it? The recovery in the app seems quite outdated.
[Nexus 5 Original Android Development] j3r3goss:
What needs modified for this to work with other ROMs than it was intended?
[Nexus 5 Original Android Development] mr.b4rt:
someone tried to backup the secondary rom ( in my case Cataclysm + Franco) and restore it as primary rom (now SlimKat 4.20) ?

regards
[Nexus 5 Original Android Development] Citizen_Snips:
You do know there's actually a swap ROM function, right? No point in doing it manually...
[Nexus 5 Original Android Development] nldxda:
Flashable update.zip plz?
[Nexus 5 Original Android Development] mgianni19:
Hey guys, been using MultiROM for quite some time now, but I wanted to go back to having one OS on my device. How do I go back to just standard TWRP?
[Nexus 5 Original Android Development] Citizen_Snips:
Use flashify or fastboot...

Also you can use the uninstaller in the OP and just leave the recovery you have. The menus don't do anything if you uninstall multirom.
[Nexus 5 Original Android Development] Shiestie:
You can use one OS with Multirom installed, I use CM11 and just use Multirom to test out other ROMs when I feel like it
[Nexus 5 Original Android Development] wishmasterf:
Is there a lrx22c / 5.0.1 stock flaahable zip for hammerhead / nexus 5 ?
[Nexus 5 Original Android Development] XanderMorris:
"update script" help!

I have tried multirom successfully on several lollipop roms as secondary.

Off late I encountered issues with some roms (optipop, liquidsmooth, screw'd android)

I came across a quick fix to change the update script (which I did using 7zip), the rom installed but did not boot-up and mutlrom popped with with an error and a log (attached).

I am not looking for quick fix to install another secondary rom, but rather an explanation (preferably Sheldon Cooper-ish) to understand

a) what is preventing multirom installing some roms as secondary (Vs other roms that install)

b) what is this update script changes, can some share "keywords" around what to search or links for better explanation about this topic

The intention is simply to learn more so thanks in advance for any help or guidance that anyone can provide...
[Nexus 5 Original Android Development] Alfonso87:
Umh can i flash via fastboot the 5.0.1 boot+recovery+system without losing my multirom's secondary roms? O.o Never experienced it before :eek:
[Nexus 5 Original Android Development] doctor_droid:
Recovery flashing will remove modified recovery , hence broken multirom

Boot.img will remove the kexec thing...again broken multirom

I guess answer should be No...
[Nexus 5 Original Android Development] Alfonso87:
[MENTION=4923920]doctor_droid[/MENTION]

Umh maybe i didn't explained well..I mean, can i flash boot recovery and system, and then multirom again, without losing the secondary roms as they are now? :P

Btw it should be possible, but I would like to be sure :p I dunno well what's behind multirom process.. >.<

---------- Post added at 01:05 PM ---------- Previous post was at 12:09 PM ----------

Ok, I just did it.

I flashed via fastboot boot, recovery, system and new radio, then booted up my N5, again shutted it down to gain SU. I let Multirom Manager do its things, and yes, it works! No userdata loss (a part for SU privileges), and no secondary rom loss LoL

All my secondary roms work fine :p :p

Ps.I'm using the 5.0 modified kernel for the primary rom (stock 5.0.1)
[Nexus 5 Original Android Development] mr.b4rt:
yea i know that but i read someone had problems with imei or efs got lost or something, cant find the post anymore.

i tried to restore the backup from my secondary rom as primary one and it works :good: no problems at all

regards
[Nexus 5 Original Android Development] Citizen_Snips:
I never had that problem. However, it is common knowledge to back up your EFS partition first thing. Well, after unlocking the bootloader and installing custom recovery. Always back up your EFS partition after you get your phone. If it gets lost, just restore the backup and you are good to go. Like I said though, I've swapped ROMs dozens of times. Never lost EFS once.
[Nexus 5 Original Android Development] lets_zock:
Hi guys! OP wrote you can't be encrypted otherwise this will now work.

But now with 5.0 even TWRP supports encrypted devices, so is this still a thing?
[Nexus 5 Original Android Development] opssemnik:
TWRP supported ecnrypted devices for months... . the probem is mutirom itself, it loads secondary roms from the sdcard, however the loader hasnt been updated to work with encrypted sdcards yet
[Nexus 5 Original Android Development] lets_zock:
Really? First noticed and saw the updates with Android 5.0.. But thanks! :)
[Nexus 5 Original Android Development] :
I guess MultiROM doesn't work with the latest 5.0.1. Just soft-bricked my N5. This is just for info. Waiting for the proper update.
[Nexus 5 Original Android Development] guyshelpmeplease:
Updated catalysm to. 5.0.1 as secondary rom.
[Nexus 5 Original Android Development] bobby janow:
Updated Cataclysm today as primary.
[Nexus 5 Original Android Development] mgianni19:
Probably an easy solution, but my main ROM is Paranoid Android 4.4.4 and my secondary is Bigxie(so?) Stock 5.0 and I have an OTA pending for 5.0.1 on my secondary ROM.

How do I go about removing MutliROM, going to stock recovery and flashing the OTA? I tried flashify to flash the stock recovery but I keep getting an Android guy with a red "!".

Thank you SO much in advance!!
[Nexus 5 Original Android Development] Citizen_Snips:
That is the stock recovery. Hold power then press volume up and release.
[Nexus 5 Original Android Development] mgianni19:
But when I go in there nothing happens.
[Nexus 5 Original Android Development] Citizen_Snips:
Either hold power and then press volume up and release

Or hold volume up and press power then release. One of the two is the correct combination to enter stock recovery.

If for some reason that still isn't working for you, download the 5.0.1 factory image and extract it. Find recovery.img and use fastboot to flash it this time.

Now try those button combos again. It will work. Check out the roll up sticky guide in general section for more info on adb and fastboot, if you're not already familiar with it.
[Nexus 5 Original Android Development] mgianni19:
I get to that point into the recovery but when I go to install the 5.0.1 OTA nothing happens. There is no choices to install, only to install via ADB.
[Nexus 5 Original Android Development] Citizen_Snips:
So sideload the update..? Again, visit the roll up sticky guide by rootSU in the N5 general section. There you can learn how to manually update your phone. This is now off topic from MultiROM. Discussion doesn't belong here. Check the sticky guide.

---------- Post added at 06:58 AM ---------- Previous post was at 06:57 AM ----------

Here I'll link you.

http://xdaforums.com/showthread.php?t=2784527
[Nexus 5 Original Android Development] spiral777:
lrx22c_hammerhead.zip

lrx22c_hammerhead.zip soft bricks my n5 with flash of primary rom :/

easily reverted with a twrp backup though...

has anyone else had this problem? i prefer to leave tassadars stock rom as primary...if the zip worked...did you do anything differently?

EDIT: wifi also looks to be broken in lrx22c_hammerhead.zip ...even as a secondary rom...tried flashing tassadars 50 w/ kexec too​
[Nexus 5 Original Android Development] ast00:
Any time I try flashing a secondary, it says updater binary failed. I can still flash primaries and yes, I do have a kexec kernel. And this issue is present with zips I flashed previously and worked fine. So... What happened?
[Nexus 5 Original Android Development] AndreIrawan97:
Somehow i didn't have MultiROM option in my TWRP
[Nexus 5 Original Android Development] morphvale:
Yes it works, just installed it, and currently installing Ubuntu from MultiROM Manager. Did you use a modified kernel? I'm currently on stock 5.0.1, rooted and with Franco's kernel r69.
[Nexus 5 Original Android Development] z31s1g:
If you're using a theme, replace it with a multirom compatible version.
[Nexus 5 Original Android Development] Tylog:
Don't know how many times i post it in the last week's. You need to change the update script of the Rom you want flash. I upload the changed one many times in the last days, please search the forum.
[Nexus 5 Original Android Development] beastes:
@Tasssadar help please

i i dont know were to post i thing it the best place. I saw it your server (chanel) provide tu us the ubuntu touch for nexus 5 img but in all img or ver the video player is broken and i really dont know how to fix it .if you can give me a way to fix black screen on video playing (just sound work) i greately apreciate. thank
[Nexus 5 Original Android Development] gravedigger76:
What happened to OP? Haven't seen him around in a while. Hope all is well
[Nexus 5 Original Android Development] ast00:
No. These are roms I could flash without any issues two days ago. I updated nothing since then, it's all the same, except I can't flash them.
[Nexus 5 Original Android Development] reS28raM:
There is a command on recovery to save a log to sdcard...
[Nexus 5 Original Android Development] kamild_:
Does MultiROM recovery work properly after uninstalling MultiROM itself? I'm temporarily stuck with that recovery because of random power outages I'm experiencing for a few hours and I'm afraid that another outage will happen right when flashing a recovery :D
[Nexus 5 Original Android Development] dsr13:
Download the recovery .IMG you want and use flashify
[Nexus 5 Original Android Development] Citizen_Snips:
If you used the MultiROM uninstaller, you're fine. The MR menus will not do anything if it is uninstalled and the rest of the recovery will function 100% normally.
[Nexus 5 Original Android Development] qnc:
To add to this question is there a flashable zip that will not update userdata
[Nexus 5 Original Android Development] SurenSeven:
I'm sorry if this has been answered before but I searched and couldn't find. I'm on Stock 5.0.1 running as primary and flashed Mahdi as Secondary. Wanted to try a different kernel for the secondary but flashing any kernel and booting into secondary causes it to be stuck at Google screen at boot. With codeblue MultiROM patch I am able to boot but no gsm, baseband unknown.
[Nexus 5 Original Android Development] Nebul0us:
So I have a nandroid of my Lollipop 5.0.1. How do I restore that as a secondary?
[Nexus 5 Original Android Development] GialanG:
Add secondary rom from backup

Sent from my NEXU5
[Nexus 5 Original Android Development] wishmasterf:
Is there a Cyanogenmod-12-zip to flash as secondary ROM. I read, it

was

possible to manipulate update-script to flash as secondary ROM. Now it is not a script, it is a binary.
[Nexus 5 Original Android Development] FluffyFox20:
How do you update the Update Script?
[Nexus 5 Original Android Development] mbellot:
I've played with this one.

You do need to mess with the update-script, but other than that it works.

I've also tried myfluxi's CM12 CAF builds, but they refuse to boot as a secondary.
[Nexus 5 Original Android Development] physwizz:
secondaries not booting

Multirom just stopped working on my nexus 5 today.

It will boot into the primary but not the secondaries.

I've reinstalled twrp and multirom using the multirom manager app. And restored a previous backup onto the primary.

Should I do a factory reset?
[Nexus 5 Original Android Development] pietropizzi:
You need a "special" twrp Version and a special kernel. Best thing would be booting into primary and check for errors in the Multirom APP. Then you see whats wrong and if it can be solved easily.
[Nexus 5 Original Android Development] physwizz:
I've been running multirom on my n7 and my n5 ever since I bought them.
[Nexus 5 Original Android Development] Gustave17:
Hi,

I have a bootloop with simpleaosp as secondary rom... :what:

Anyone else or it's on my side ?

I have already Screw'd Android on secondary rom... So I think my primary setup is good with multirom...
[Nexus 5 Original Android Development] Dema1995:
Me too..
[Nexus 5 Original Android Development] pietropizzi:
Thats nice, me too. Have you checket the App on your primary now ? Reflash another kernel with kexec support, as you wrote you restored an old backup to Primary, maybe something went wrong on kernel side.

Even if you tell me now bricked has it - just do it to exclude any possible errors for a successful MR setup.
[Nexus 5 Original Android Development] physwizz:
I have tried all the following:

Reflashed multirom and twrp from the app

Reflashed a previous primary

Reflashed bricked kernel

The app tells me everything is ok

I still get the google screen for about 5 mins and then a boot into recovery when I try to boot into a secondary
[Nexus 5 Original Android Development] bobby janow:
Only thing I didn't see is deleting secondary and reinstalling it fresh.
[Nexus 5 Original Android Development] physwizz:
I have also now tried the following:

Uninstalled multirom and reinstalled

Restored an older primary backup (kk)

No luck.

I then tried to install a secondary from a zip file and got an error message.

It's as though the file system has changed.

---------- Post added at 02:17 AM ---------- Previous post was at 02:10 AM ----------

I have the same issue and the existing secondaries just failed to boot also.

I think I'll wipe it and star over.
[Nexus 5 Original Android Development] pietropizzi:
Look at my post here. I had the same issues with my Nexus 7 LTE and found the solution.

I did exactly whats explained here and that solved my issues with installing a ROM as Secondary. It should apply to N5 as well.
[Nexus 5 Original Android Development] B@RRY78:
There is almost no ROM thats flashable as second rom for now without modification damn
[Nexus 5 Original Android Development] sohail77:
Sorry for the noob question but how to modify[emoji28]
[Nexus 5 Original Android Development] Spectrum75:
In case of SimpleAOSP,

after

first failure to boot,

reflashing

CodeBlue from recovery ( with the appropriate patch ), worked just fine

at least for me, or try next step.

This method works for sure with many ROMs.

Download updater-script from here and

replace your ROM's updater-script. ( Perfect and simple instructions in the linked post ). Boot ---> Profit.

Thanks [MENTION=5047159]Tylog[/MENTION] for mentioning the solution to multiple threads and thanks to [MENTION=5621116]obayda.bd[/MENTION] whose instructional post i found

( although the same solution is mentioned in many ROM threads ).
[Nexus 5 Original Android Development] B@RRY78:
Hello the eassiest way is with app (zarchiver)in playstore and download right updater script and replace with old one
[Nexus 5 Original Android Development] physwizz:
I've finally discovered my problem.

Firstly I got a bad download for to update slimlp.

It flashed over the existing one ok but wouldn't boot the secondary xtrasmooth.

I deleted the secondary and used an older backup of a working primary slimlp and used it to create a new secondary.

What I didn't realise is that slimlp can work as a primary but not as a secondary, even though it comes from restoring a backup.

I might try tylog's updater script
[Nexus 5 Original Android Development] physwizz:
I just tried the updater script and I got an error and had to hard reboot.

The new zip file was slightly larger than the original even though the new updater script is smaller.

Are there any special settings in zarchiver?
[Nexus 5 Original Android Development] Tylog:
If you have a pc / laptop? If yes use 7zip, it takes no longer than 20 seconds time :)

=Download the rom

=extract it with 7zip

=Open meta-inf/com/google/android, you see 2 files =update-binary and updater-script

=Replace the update_script script with the changed one.

=Go back to the main folder

=delete the original rom zip,

=mark all unzipped files, right press mouse - 7zip - create archive...

=Done.

Now you can flash the new created zip as secondary.

Maybe i find in the evening some time to write it again with some screens. I am on the way the whole day.
[Nexus 5 Original Android Development] bobby janow:
That is exactly what I did after the first error about a week ago. I actually did it on the phone itself extracting and then replacing the file with this one I'm attaching. But they need to remove the .txt extension since xda didn't allow me to upload without that. From reading all the never ending posts about this I think you can install as a primary but it's the secondary that gives the error. Not sure I just replaced the file.
[Nexus 5 Original Android Development] physwizz:
Thanks Tylog.

I tried this with slimlp and it flashed ok but when I booted I got a black screen with white text saying that multirom shut down to prevent data corruption and to press power button to reboot.

I'll try a different rom later today.
[Nexus 5 Original Android Development] Tylog:
Hm, never read this , please test this one , i am not back at home and can only send you the one i use .

http://d-h.st/YmM

I use Slim as second and all is fine.
[Nexus 5 Original Android Development] kronflux:
Probably been asked already, but I'm just curious. Can we expect a 2.8.3.0 MultiRom TWRP anytime soon? Very happy about their MTP fixes, but don't want to give up multirom for it.

Not asking for an ETA, just asking if it's in the works already or whether it will be a while.
[Nexus 5 Original Android Development] bonanza123:
Since several days the update sever for Ubuntu touch seems to be down ( or at least it seems to be for me). Is this an issue of the multirom app or really a server issue?
[Nexus 5 Original Android Development] HTCore:
Dev hasn't posted anything since Nov 21th, so don't wonder if anything isn't maintained.
[Nexus 5 Original Android Development] physwizz:
Is that slimkat or slimlp?
[Nexus 5 Original Android Development] HTCore:
Lollipop
[Nexus 5 Original Android Development] pushkardua:
I tried it!!! It Requires to flash a flashable stock zip to install other custom roms??

i was just having error that i don't remember but flashing was filed... only flashing flashable stock lrcc worked for me!
[Nexus 5 Original Android Development] TheLastSidekick:
Stuck on CM12 from like December 12th lol hope the developer is okay though, hopefully he's just taking a much needed break.
[Nexus 5 Original Android Development] stani2103:
Its possible install LPROM as primary and KKROM as secondary ?Thanx

®®®TAPATALKING®®®
[Nexus 5 Original Android Development] Tylog:
Happy new Year [MENTION=3418703]Tasssadar[/MENTION], i hope you are ok. Regards.
[Nexus 5 Original Android Development] thereal_bigjake:
He posted on G+ that he's on vacation and will continue when he returns ?
[Nexus 5 Original Android Development] Tylog:
Good to know, thanks for the information :)
[Nexus 5 Original Android Development] physwizz:
What are you using as your primary?
[Nexus 5 Original Android Development] Gustave17:
It was Terminus...

But now I have Swap roms so SimpleAOSP is my primary and all work flawless...
[Nexus 5 Original Android Development] boyz211:
new user

Hey guys Im a first time user. currently using xtrasmooth with element x kernal..

now installed multirom and installing stock kernal... can I flash any nexus 5 based rom or are their any specified rom with any kernal.. please guide me.. guys.. me a noob:p:p

---------- Post added at 06:14 PM ---------- Previous post was at 06:05 PM ----------

hey guys how do i get elementx kernal with hardboot patch or can i directly flash element x kernal after i install multirom.. guide please:angel: