yashsingh1/xdaforums huggingface dataset:
[Nexus 6P Android Development] eightmillions:
How to install VIPER4Android on each ROM (Works both on Enforcing and Permissive):

First, you need two files from http://xdaforums.com/nexus-6/themes-apps/viper4android-t2952137

"ViPER4Android 2.4.0.1 Light Material Switcher.zip" - The latest version of UI, no need the one from Google store, uninstall google store version if you have it.

"ViPERAudio 5.4 Stock.zip" - Driver, you can choose any driver you like from the long list, i use the stock one.

1. Install Busybox, uninstall it first if you have it, and reinstall it, it causes some problems if you have a dirty busybox sometimes.

2. Reset phone and go to recovery mode, choose MultiROM, then choose the ROM you want to install VP4 , flash those two files by using Flash Zip in the menu (one each time, order doesn't matter).

3. Reboot to that ROM.

4. Go to apps drawer, start "VIPER4Android FX" , it will not ask you to install the driver, you've flashed it.

How to verify it's working:

1. For testing purpose, checking up Enable box in first row of all devices, i.e. Headset, Phone Speaker, BT, USB/Dock.

2. Click "Driver Status" from drop menu by clicking on 3 dots from top right corner, you should see all status Yes or Enabled except "Processing" says No.

3. Play a song and keep it playing, go back to VP4 menu, click "Driver Status" again, if all status shows Yes and Enabled then the job is done.

This procedure works on sigle ROM as well.
[Nexus 6P Android Development] Lord. Tech:
takes away first 15 sec of bootanimation after the "boot now" screen, and main prob is it is probably actually playing, but for 15 secs i only have black screen, and then suddenly animation shows up, in later stage
[Nexus 6P Android Development] jawonder:
Having problems flashing Gapps to secondary roms, none of the latest Gapps won't flash, keeps getting install error.
[Nexus 6P Android Development] Tylog:
Hm, Works fine for me, open gapps , banks, no issues with flashing on secondary.
[Nexus 6P Android Development] jawonder:
The older Banks works but the others are a no go .

Could you link me to one of the newer GApps that's works for you with secondary roms ?. I'm trying to install CM13 but none of the GApps i tried worked . The older Bank flashed ok but after booting up it's missing the Playstore . Strange i installed ResurrectionRemix and Banks installed ok .
[Nexus 6P Android Development] Tylog:
This one https://www.androidfilehost.com/?fid=24499762635997726 :)

Open Gapps i use Nano , works fine .http://opengapps.org/

But i see it works now for you :)
[Nexus 6P Android Development] jawonder:
Thanks will try it .

Edit : Thaks Tylog, that one works great .
[Nexus 6P Android Development] buckmarble:
[MENTION=5848265]npjohnson[/MENTION] you can add my kernel to the kexec capable kernel list. Thread is here. http://xdaforums.com/showthread.php?t=3347511
[Nexus 6P Android Development] npjohnson:
BANKS GApps seem to work great. PN GApps gave me trouble for the first time yesterday. They've worked under MR Secondaries before... I'll look into it soon.

Thanks for the thread management/Q&A while I'm busy. Really helps me out.

Tested (great work on the kernel!) and added.
[Nexus 6P Android Development] shizonic:
still no twrp 3.0.2-0 source available? :(
[Nexus 6P Android Development] Lord. Tech:
Nobody else has this problem? At all?! Does it boot right after the countdown for u guys? It's really a big deal to me as i reboot alot for xposed etc n all these few seconds add up into hours for me :( plz, any advice is appreciated..
[Nexus 6P Android Development] Maxr1998:
I have the same issue, but looking at the logs, the device already boots, only the bootanimation is cut.
[Nexus 6P Android Development] yung40oz84:
what difference between viperAudio 5.4 stock and 4.7.1 stock?
[Nexus 6P Android Development] Lord. Tech:
recovery just wont install... tried through app then downloaded .img file to fastboot flash it n still in the app it says ''modified recovery recquired'' n i cant flash roms cuz twrp is still stock i feel :( what am i doing wrong?
[Nexus 6P Android Development] shizonic:
1. Download https://multirom-nexus6p.github.io/mr-twrp-recovery-04012016-STABLE5.img

2. Download https://multirom-nexus6p.github.io/multirom-20160401-v33-UNOFFICIAL-angler-STABLE5.zip

3. Download https://multirom-nexus6p.github.io/kernel-hardboot-stock-angler-6.0.1-20160401.zip (if you are on stock rom)

4. Copy multirom-20160401-v33-UNOFFICIAL-angler-STABLE5.zip and kernel-hardboot-stock-angler-6.0.1-20160401.zip to sdcard

5. Reboot into bootloader

6. fastboot flash recovery mr-twrp-recovery-04012016-STABLE5.img

7. fastboot reboot-bootloader

8. Navigate using volume buttons to boot into recovery

9. Flash multirom-20160401-v33-UNOFFICIAL-angler-STABLE5.zip

10. Flash kernel-hardboot-stock-angler-6.0.1-20160401.zip (if you are on stock rom, if not use a kernel which has kexec enabled such as ElementalX)

11. Reboot System
[Nexus 6P Android Development] elevatorguy:
They use different audio driver's. I believe the general consensus is 4.7.1 has the better sound. Head over to this thread http://xdaforums.com/showthread.php?t=2952137 you'll get all the help you need to get it working. The dev is great and will do about anything to get you up and running. Sorry for ot op
[Nexus 6P Android Development] sgtkwol:
I installed an N preview .zip as a secondary ROM. Now I cannot boot primary and cannot get Multirom TWRP to boot. Primary ROM goes to black screen with no response, TWRP just hangs at the splash screen. I did not root the N preview prior to all of this, so I'm locked out of the /data partition, as well.
[Nexus 6P Android Development] jawonder:
Yeah that's a no no flashing N preview as secondary. Is you computer seeing your SD while you are stuck on TWRP screen?, if so transfer you filed to your computer because you might have to install stock, wipe and start fresh . Also try fastboot TWRP 3.0.2-0 and see if that boot up . If that doesn't work then you might have to do the ultimate .

When you are installing N you have to do it as Primary because you have to format data and format cache

You might have to grab some files from here http://www.droidorigin.com/install-android-n-developer-preview/

or here http://www.droid-life.com/2016/04/1...eviews/?utm_source=dlvr.it&utm_medium=twitter

Also follow here http://www.droidorigin.com/decrypt-nexus-6p/
[Nexus 6P Android Development] DJBhardwaj:
N Preview didn't do well with Secondary, at least in my case. So I installed N to the primary, and Pure Nexus (or any other MM ROM) to the secondary.

Now, before you boot, you have to make sure that you flash the corresponding vendor.img. In practical, if you want to boot N, reboot into TWRP and flash the vendor.img. Same goes if you're going to boot MM ROM, you need to flash the vendor. Basically you do this every time you want to switch between N and MM.

For the ease, I picked up the two vendor files, and renamed them to vendor_n.img and vendor_mm.img, and placed them in the storage. So before the boot, I would just go to TWRP, flash the required vendor and boot.

About TWRP, all you need to do is, download Flashify app from the Play Store, and use it to flash TWRP 3.0.2-0 (.img) file. It will boot then.

EDIT:

Since you have N on secondary, boot it with the proper vendor.img. If it still doesn't work, switch N to primary and your other ROM to secondary.
[Nexus 6P Android Development] jawonder:
I think he said he can't get to his files and he's stuck on TWRP splash screen .
[Nexus 6P Android Development] DJBhardwaj:
TWRP is having issues with N. Try flashing v3.0.0-0, and see if it boots into TWRP.

Thanks for pointing. :good:
[Nexus 6P Android Development] matt4321:
Is this not 3.0.2-0 source here?

https://github.com/omnirom/android_bootable_recovery/commits/android-6.0

TWRP is the official recovery of OmniROM and all commits seem up to date.

Are people checking TWRP github here?

https://github.com/TeamWin/Team-Win-Recovery-Project/commits/android-6.0

Maybe they forgot to update that too?
[Nexus 6P Android Development] nathanchance:
[MENTION=5848265]npjohnson[/MENTION] (for the ping)
[Nexus 6P Android Development] zar marco:
Hi guys, I have two questions for you. I have nexus 6p with multirom. Currently purenexus is my first Rom and resurrectionremix is the second. I would change the two roms, put multirom as first. How can I do? Second question, with multirom can I install prewiew of N?

Inviato dal mio Nexus 6P utilizzando Tapatalk
[Nexus 6P Android Development] npjohnson:
Yup. Always remember to @ me with valid stuff.

Your right. Why they didn't push to the TeamWin repo is beyond me. I'll get this built soon.
[Nexus 6P Android Development] matt4321:
Ah my bad. At least it's the correct and up to date source. No idea why TWRP didn't update theirs.
[Nexus 6P Android Development] jawonder:
Just backup both and then you can restore the backup of the one you want as you internal rom and you can also restore the one you want for your secondary rom.

N preview can be used for your internal rom but not in secondary . Note you have to do a clean install of N so your internal storage would be wiped . So make sure you backup stuff to your PC.

Also when you are using N as your internal you have to flash the vendor.img for the secondary whenever you want to boot into them and when booting N you have to flash the vendor.img for that first because N and the MM roms use different vendor images .

You also need to use a Kernel with N that works with MultiRom . When i was using it i used EX Kernel .

Edit : zar marco, just realized i didn't quote you .
[Nexus 6P Android Development] Lord. Tech:
Adding ROMs

1. Android

Go to recovery, select MultiROM -> Add ROM. Select the ROM's zip file and confirm.

where in twrp will it say MultiRom???
[Nexus 6P Android Development] Fastrite:
Sixth item down on the menu recovery boots into...

You have to have mr recovery installed

#whiteuimustdie
[Nexus 6P Android Development] Lord. Tech:
my twrp logo says multirom 3.0.1 n has blue logo of both at start, but in twrp inside evrything is stock, there is no such option for multirom anywhere :( i even changed roms n started fresh and reinstalled everything
[Nexus 6P Android Development] sgtkwol:
Thanks to those who tried to help. I think I'm semi-screwed. I can at least boot into N and transfer everything via SMB and ES File Explorer, but not the full /data. TWRP 3.0.0-0 had that password/decrypt thing pop up. Tried "default_password" but it didn't work. Dev options in N keeps crashing. I'm letting my SDCard dump run, so it's not a total loss, then using N as primary, installing Multirom and going from there.

Should have backed up.
[Nexus 6P Android Development] npjohnson:
All,

STABLE 6 MR Recovery (Based on the new TWRP 3.0-2.0) is out.

As well as a new Stock Hardboot Enabled kernel based on the April Security Patches.

Cheers.
[Nexus 6P Android Development] x.0ni.x:
Thanks for this. ??
[Nexus 6P Android Development] :
It's a goood morning
[Nexus 6P Android Development] fLipz:
link please for the Kernel.

EDIT:

it's OK now, i just put .zip at the end of the link.

Thanks for the update sir.
[Nexus 6P Android Development] jawonder:
Thank you for update Sir. Getting 404 error with Kernel patch link.
[Nexus 6P Android Development] Tylog:
Thanks for the new recovery update, works fine.
[Nexus 6P Android Development] npjohnson:
Fixed it.
[Nexus 6P Android Development] TheUndertaker21:
I can't seem to get the boot up menu

it just kept booting the primary rom :(
[Nexus 6P Android Development] Tylog:
Make sure you use a kernel with kexec patch with you primary Rom
[Nexus 6P Android Development] TheUndertaker21:
ah i did but still doesn't work lol

i'll figure it out eventually
[Nexus 6P Android Development] Fastrite:
Have you injected current boot sector (in recovery)?

/MultiRom/ menu - inject MultiRom

#whiteuimustdie
[Nexus 6P Android Development] TheUndertaker21:
Issue fixed just flashed everything over again.

Thanks
[Nexus 6P Android Development] Lord. Tech:
MR twrp 3.0.2-0 (dual logo)

1. install

2. wipe

3. backup

4. restore

5. mount

6. settings

7. advanced

8. reboot

thats ALL my twrp says, there is NO MULTI ROM OPTION anywhere! :(
[Nexus 6P Android Development] squabbi:
Could it be inside the advanced menu? Have you flashed multirom itself already?
[Nexus 6P Android Development] z31s1g:
If you are coming from stock twrp and had a theme applied, remove the theme.
[Nexus 6P Android Development] Lord. Tech:
its not there, n well i havent flashed multirom itself yet, i did once but that just caused bootanimation delay on the boot screen and since i couldnt flash roms i uninstalled it till i could get the recovery working:cowboy:

wow lol, i cant believe this was the issue all along! thank u! :good: andddd i feel kinda stupid now.. :p

---------- Post added at 03:32 PM ---------- Previous post was at 03:29 PM ----------

how did u even guess it was the theme haha.... the help this community has to offer amazes me at times :) thank u so much guys
[Nexus 6P Android Development] z31s1g:
Because I make twrp themes and the "missing" multirom menu is the most common pitfall for theme users that switch to multirom. MR twrp requires MR-compatible themes that have the additional MR stuff included.
[Nexus 6P Android Development] Lord. Tech:
*fingers crossed* so, any chance u have that themed MR-twrp lying around in a zip file? :p :laugh:
[Nexus 6P Android Development] z31s1g:
Nope. Until twrp 3 was released I also provided MR compatible versions of my theme. But currently MR development seems cluttered, multiple devs with different release schedules are providing MR for different devices. Earlier, only one dev provided MR for all Nexus devices, now 6p and 5x have different devs. The guys that ported MR for HTC devices have made changes to their version that affect the ui.

So currently it's impossible to provide one theme that works with all versions of MR on all devices. Until that changes again (and all devs use the same base) I won't bother with compatible theme versions, too much work trying to cater for device specific needs.
[Nexus 6P Android Development] Lord. Tech:
ohh, alright. thanks for the patient explanation :) i guess ill just have to wait then :cowboy:
[Nexus 6P Android Development] 500 Internal Server Error:
I believe the 6P MultiROM recovery syncs changes from Jollaman's 5X MultiROM recovery and vise versa: https://github.com/multirom-nexus6p/Team-Win-Recovery-Project/pulls?q=is:pr+is:closed shows many commits and pull requests from Jollaman. So I would expect 6P MultiROM TWRP themes to work on 5X and vise versa.
[Nexus 6P Android Development] jawonder:
I've been having this problem where if i flash a new rom in primary the secondary roms won't boot , i have to flash the secondary roms all over again for them to boot .

If i restore a backup of the primary rom i had before flashing the new one it still won't boot .

I can backup a restore the same rom with no problems but as soon as i flash a new one then i can't boot into secondaries without flashing them from scratch .
[Nexus 6P Android Development] DJBhardwaj:
Are you multibooting N and MM?

---------- Post added at 10:16 PM ---------- Previous post was at 10:15 PM ----------

Good to see a comment from you :)
[Nexus 6P Android Development] jawonder:
I'm using MM roms .
[Nexus 6P Android Development] DJBhardwaj:
Did you try injecting boot from the MultiROM menu in TWRP?
[Nexus 6P Android Development] jawonder:
Yep did that and still no go, must be some bug with my phone .
[Nexus 6P Android Development] DJBhardwaj:
It is weird. Have you tried the basics like re-flashing multirom installer?

I am running MultiROM with N on primary, and PureNexus as secondary, which is also a restored backup. But all of this works fine for me.
[Nexus 6P Android Development] jawonder:
Weired indeed, today i was running Purenexus as my primary and i backed that up and flashed a stock rom boot up and flashed Ex Kernel from Ex app, injected boot sector and choose a secondary rom to boot into . It just went to the Google screen then warning screen and back to Recovery . I couldn't boot into any of my 4 secondary roms . I had to reinstall my secondary roms .

The same thing happened when i restore Purenexus after wiping the stock rom i was on, i had to reinstall all my secondaries from scratch .

This has been happening to me for a while now even after uninstalling MultiRom and reinstalling it .
[Nexus 6P Android Development] DJBhardwaj:
Have you tried it with the stock kernel that comes with the custom ROM, instead of EX? Just a wild guess, and may be worth trying. EX is supposed to work, but experimenting won't harm, right?
[Nexus 6P Android Development] jawonder:
Next time i will try that with the patch, for right i'm running great. Thanks much
[Nexus 6P Android Development] DJBhardwaj:
Good to know. If you succeed with that idea, do let me know. :good:
[Nexus 6P Android Development] jawonder:
I just tried stock with patch and it's the same problem . My phone is giving me a headache, gonna wipe it clean and install N for a change .

Does Xposed work with the latest N preview ?.
[Nexus 6P Android Development] jawonder:
So in order to fix my problem i had to uninstall MultiRom completely, install regular TWRP and the reinstall MultiRom . Now i can change my main roms with any problems booting my secondaries.
[Nexus 6P Android Development] atefi:
How about Nexus 5x support for multirom?
[Nexus 6P Android Development] jorim.tielemans:
For Nexus 5X you should go to the 5X thread, not here: http://xdaforums.com/nexus-5x/development/wip-unoffical-multirom-bullhead-anglar-t3315266
[Nexus 6P Android Development] SlimSnoopOS:
It's actually been in active development in this thread by [MENTION=5996255]jollaman999[/MENTION]

http://xdaforums.com/showthread.php?t=3271530
[Nexus 6P Android Development] jawonder:
Having the same problem again where secondary roms won't boot if i flash a new primary rom .
[Nexus 6P Android Development] Tylog:
Never had the problem and I flash almost daily. All Works fine, primary, secondary, third or whatever.
[Nexus 6P Android Development] npjohnson:
All,

STABLE6 is up for both MultiROM and MR-TWRP.

Check the changelog.

Virtual 'vendor' support may be coming this weekend.
[Nexus 6P Android Development] jawonder:
Thanks for the update great job. Maybe i'm not seeing right but the latest changelog i see is for the 04/17/2016.
[Nexus 6P Android Development] npjohnson:
Fixed.
[Nexus 6P Android Development] ayysir:
has anyone tried v33 with android N?
[Nexus 6P Android Development] jawonder:
Works fine with N as long as N is internal.
[Nexus 6P Android Development] defrt:
I installed multirom app and via app i installed multirom recover and multirom but when device start i can't choose installed roms, it doesn't show multirom window. Aicp internal, franko kernel, broken os second rom
[Nexus 6P Android Development] Ragnar1349:
Same for me. Uninstalled multirom and flashed everything manually, but it just doesn't show up.

Also when selecting secondary rom to boot in the app it boots primary.

I'm on Cataclysm primarily and wanted to try out Pure Nexus as secondary.
[Nexus 6P Android Development] Tylog:
Go to Advanced -> MultiROM in recovery and do Inject curr. boot sector.

Make sure the kernel you use on primary has the kexec patch.

If both are the case, everything works smoothly. I've never had problems, no matter what Rom.

And remember, the App is in test stage and not full compatible, i recommend to do all things manually, not with the application.
[Nexus 6P Android Development] SuperJuDicousCat:
did all you said but can't boot to sencondary rom any way ```roms:du exous benzo and others kernel:fk ex ak . tried different ways i can but still

---------- Post added at 06:40 AM ---------- Previous post was at 06:14 AM ----------

tried several ways but can not boot to secondary

---------- Post added at 07:23 AM ---------- Previous post was at 06:40 AM ----------

it is needed to encrypted for using multirom？i can't boot to secondary roms after all steps..
[Nexus 6P Android Development] DJBhardwaj:
If you're going to multiboot N with MM, you would want to decrypt the complete storage. Encrypted N already has its issues with TWRP.
[Nexus 6P Android Development] SuperJuDicousCat:
thx for your reply.i used DU for the primary and EXOUS or BENZO and other for secondary.

i flashed the twrp first and flashed the EX(FK AK) secondly，then i flashed the MR，finally flashed the secondary rom and inject boot.

i can see all my roms in MR but can't boot to any roms except primary.it boot directly.,

i tried to flash factory system img and the issue casue still

sorry about my poor English··
[Nexus 6P Android Development] DJBhardwaj:
What exactly happens when you boot into secondary ROMs? Does your primary and secondary ROMs support different vendors?
[Nexus 6P Android Development] SuperJuDicousCat:
the same vendor..nothing happened when boot.it just boot to primary directly
[Nexus 6P Android Development] DJBhardwaj:
Seems like the MR installer isn't sticking, or having issues. Encrypted data partition could be the cause here. You could decrypt and try again.
[Nexus 6P Android Development] SuperJuDicousCat:
thx i'll try flashing fatory img and decrypt it again later..
[Nexus 6P Android Development] DJBhardwaj:
Kindly let us know about the results. :good:

Good luck.
[Nexus 6P Android Development] SuperJuDicousCat:
thx alot. i'll tell you the results several hours later.i have to do a backup now..to many files in my n6p- =
[Nexus 6P Android Development] SuperJuDicousCat:
thank you very much ,i flashed factory img and decrypt it ,finally it works great!
[Nexus 6P Android Development] DJBhardwaj:
You're welcome. It's good to know :)
[Nexus 6P Android Development] jamiejames:
I apologize in advance. Total noob. Is there any way to flash separate vendor. img.? Trying to run n as primary,with different mm roms. 3 different vendor. img. Honestly I'm tired of looking for the answer. So if I missed it please forgive me, lol.
[Nexus 6P Android Development] Eru Ilúvatar:
Nope, not right now at least.

Actually, your ROMs must share the same vendor :)
[Nexus 6P Android Development] jamiejames:
OK cool. I really appreciate your response. Have a good one. [emoji41]
[Nexus 6P Android Development] jawonder:
The only way is to flash the vendor for the secondary before you boot into it and the when going back to N flash the N vendor first.
[Nexus 6P Android Development] npjohnson:
I built in the wrong order, and due to that, encryption support wasn't built. I just updated STABLE6 to include encryption support.

Sorry about that.

Note to all who build MR MR-TWRP, build MR-TWRP first, then MR, otherwise libstdc++.so won't get built and included, which prevents the device from decrypting, causing the menu not to show and the device to boot straight to primary.
[Nexus 6P Android Development] DJBhardwaj:
That would have went unnoticed, if it was not for your alertness. Thanks for the update :highfive::victory:
[Nexus 6P Android Development] jawonder:
Thanks, this update is available in the MultiRom app ?.
[Nexus 6P Android Development] jawonder:
So i downloaded and installed from MultiRom and tried doing a backup, i'm getting this error "createTarFork() process ended with ERROR : 255"

Anyone have the MultiRom TWRP stable 6 img and MultiRom zip that was available before the one today and can post the files ? . I want to replace what i have now till it is fix.

Edit: Well just discovered my problem might not be MultiRom, i'm getting the same error with the regular TWRP.

Edit 2 : I think i found the problem, it was Xopsed that was causing it . I restored a backup of PureNexus with Xopsed and after a few days today i tried backing up to save changes i made and i kept getting the error i stated above . I just wiped cache and flash PureNexus again which removed Xopsed and now i can backup without any problems.
[Nexus 6P Android Development] Doodle210:
Zip download is not working, anyone have mirrors?
[Nexus 6P Android Development] SuperJuDicousCat:
it seems that EX and TWRP3.0.2.0 not working on Npc91k?

i flashed the N system.img and N vendor.img and EX kernel multirom mrtwrp3.0.2.0. it got wrong.

and [MENTION=3998397]DJBhardwaj[/MENTION]