yashsingh1/xdaforums huggingface dataset:
[Nexus 5 Original Android Development] Thatoo:
Hello, have you heard of a kernel_kexec_hammerhead for Lineage OS 14.1?

Hopefully [MENTION=3418703]Tasssadar[/MENTION] could answer that question...

Thank you,
[Nexus 5 Original Android Development] morfances:
All kernels : blue Spark,EX ...

Inviato dal mio Nexus 5 utilizzando Tapatalk
[Nexus 5 Original Android Development] Thatoo:
Kernel_kexec is needed to use LineageOS as a primary rom and be able to use firefox OS and Ubuntu Touch in secondary rom.

blue Spark,EX are Kexec?
[Nexus 5 Original Android Development] lulli1:
They had a buildin kexec. But i don't know if the 7.x.x versions as well...

Did you try to use the recovery kexec check mark?
[Nexus 5 Original Android Development] Thatoo:
I don't understand. What is the recovery kexec check mark?
[Nexus 5 Original Android Development] kmem:
I was unable to swap my lineageOS (CAF) secondary with my kexec modded 6.01 primary ROM. I tried all options for the kexec workaround but no joy. It simply refused to boot.

I found it odd because the truesight kernel is supposed to have the kexec patch embedded.
[Nexus 5 Original Android Development] lulli1:
Take this stuff and you will succeed

https://xdaforums.com/showthread.php?p=71155463
[Nexus 5 Original Android Development] kmem:
Thanks Lulli. I am fairly certain that those are the versions I am using but will check to make sure.

I attempted this using the latest multirom TWRP which was kindly provided by Captain_Throwback.

I may try again since the goal was to pass safetynet on the lineageOS​ ROM.
[Nexus 5 Original Android Development] BreckZeBoulay:
Someone for Nexus 5 ? :D

https://www.xda-developers.com/xda-...ithout-kexec-hardbooting-ported-to-oneplus-2/
[Nexus 5 Original Android Development] Syaani:
Isn't there already?
[Nexus 5 Original Android Development] BreckZeBoulay:
I don't think so, or I missed an update (it's not impossible)
[Nexus 5 Original Android Development] Syaani:
I think there is unofficial one.. ?
[Nexus 5 Original Android Development] Lughnasadh:
Here ya go:

https://xdaforums.com/showpost.php?p=71428618&postcount=3651
[Nexus 5 Original Android Development] BreckZeBoulay:
[MENTION=6530865]Lughnasadh[/MENTION] and [MENTION=6474041]Syaani[/MENTION] : Thanks to you to make me open my eyes :D

I use the modded TWRP since the begin but I never realized that there is an option to enable the no-kexec workaround :eek:
[Nexus 5 Original Android Development] Lughnasadh:
No problem :cool::good:
[Nexus 5 Original Android Development] spiral777:
Hammerhead

Worked great thank you
[Nexus 5 Original Android Development] 3dg4r Fr13ndly:
I tried Kali Nethunter as second ROM (beside LineageOS 14.1) but stuck at "mount sdcard (40%)".

(Marshmallow zip 3.0 offensive-securitydotcom/kali-linux-nethunter-download/)

Likewise PwnieExpress as third one. Said it need bootloader HHZ20h and I have HHZ12h instead. This ROM was the only one I could find.

(wiki.pwnieexpressdotcom/index.php/Device_hammerhead)

My phone: Hammerhead D821 (H)32GB rev.11 M8974A

How to fix the attempt to mount an sdcard for Kali? Is there an other, correct, ROM of PwnieExpress instead of that I used?
[Nexus 5 Original Android Development] lulli1:
Flash TWRP 3.0.2.0 from multirom TWRP. Reboot to recovery and flash a ROM of your choice. If you want to use multirom and nougat based ROMs on it, take that stuff:

https://xdaforums.com/showthread.php?p=71155463

(Und da du im deutschen Forum auch nachgefragt hast aber English sprichst, verlinke ich dich dort hierher).
[Nexus 5 Original Android Development] 3dg4r Fr13ndly:
NetHunter is an ROM based UI and seems not to work with MultiROM. I tried to compile it for myself, but github is much confusing for me. There seems to be a lot of forks and dead links/cross references.

Anyone who got it to work from LineageOS 14.1? I also read about an upcoming Nethunter ROM for the future....

(Danke lulli1! Aber tatsächlich ist Deutsch meine Muttersprache ;) )
[Nexus 5 Original Android Development] walek75:
Hi

Your's TWRP 3.1.0-0_multirom_hammerhead_20170314-03 work like a charm, but unfortunately multirom-20170314-v33a-UNOFFICIAL-hammerhead doesn't perfect :(.

SailFish Os doesn't boot (stuck on google logo). I tried many versions of SailFish Os with many versions of cm - without success.

SailFish Os boot OK (working great too) on official multirom v33.

Is any chance to You fix it ?
[Nexus 5 Original Android Development] walek75:
It is a pity.

Anyway thanks for your's great work (your's TWRP is awesome).
[Nexus 5 Original Android Development] ScottDB:
Since you don't have a Nexus 5, I'm guessing you are no longer maintaining MultiROM and TWRP with MR support for hammerhead. I'd like to try to start maintaining TWRP and MultiROM for the Nexus 5. Can you send me the links for your existing device files for hammerhead please so I can clone the the git repository? Thanks.
[Nexus 5 Original Android Development] Captain_Throwback:
Everything is here:

https://github.com/multirom-dev
[Nexus 5 Original Android Development] BIade:
Hello, just wanted to thank you again. Everything runs buttersmooth, luv it...
[Nexus 5 Original Android Development] aureliomilitao:
Is possible install in my pendrive and srarts with my nexus 5 otg cable?

My nexus 5 have emmc dead.
[Nexus 5 Original Android Development] BIade:
Yes

Then no... (at least I didnt get it to work, because TWRP is not sticking..., you can fastboot boot twrp.img but in my case I could not flash anything)
[Nexus 5 Original Android Development] abkdmn:
Can you add an android kernel patch for installing android 7.x.x in secondary partition?:o:o
[Nexus 5 Original Android Development] BreckZeBoulay:
Does somebody build a new version of MultiRom based on TWRP 3.1.1.0 ? :fingers-crossed:

Or mister [MENTION=1162986]Captain_Throwback[/MENTION] may be........ :D

(even if you don't have the N5)
[Nexus 5 Original Android Development] xdadevelopersrocks:
I get "Failed to find entry META-INF" when I try to flash an updated Android image from developers.google.com/android/images to a secondary ROM. What am I doing wrong?
[Nexus 5 Original Android Development] Captain_Throwback:
I'm no longer building for devices I don't have. I posted a link to the source a few pages back, and someone indicated they would be building for it, I believe. That's who you should be asking.
[Nexus 5 Original Android Development] ScottDB:
I am going to *try* to update TWRP with MulltiROM support for hammerhead (Nexus 5). I mostly work on TWRP themes, but I will give it a try soon.
[Nexus 5 Original Android Development] xdadevelopersrocks:
I have Cyanogenmod-13 as my primary ROM, how can I update it to LineageOS?
[Nexus 5 Original Android Development] minhajlk:
Do a clean flash, that is: wipe system, data and cache, then flash LOS ROM.
[Nexus 5 Original Android Development] xdadevelopersrocks:
If I'm going to wipe the data I realized I should just add a new ROM instead and install LOS that way but when I try to do that I get:

E:unknown command [log]

Updater process ended with ERROR: 7

Failed to install ZIP!

I have 5 other ROMS on here that have all installed fine.
[Nexus 5 Original Android Development] xdadevelopersrocks:
Also how can I flash regular Android via TWRP MultiROM? Where should I get the ROM?
[Nexus 5 Original Android Development] xdadevelopersrocks:
I'm trying to get back into this after playing with MultiROM a couple of years ago. I remember it being so easy before but I'm struggling now. Flashing a stock Android ROM doesn't work and flashing a Lineage OS ROM doesn't work with the errors I've posted above. Should those work?
[Nexus 5 Original Android Development] wangdaning:
I believe, been a long time since I messed with it, that it is an issue with the updater script of the roms. Try searching the thread for the answers.
[Nexus 5 Original Android Development] JRG22:
Nexus 5x android 7.1.2 Mutirom todo OK

Nexus 5x android 7.1.2 Mutirom todo OK tengo instaladas 3 Rom ytodo OK quiero instalar ubuntu touch y Plasma Mobile saludos
[Nexus 5 Original Android Development] kmem:
Captain_throwback was nice enough to create a test build for us which seems to work for me: it is buried in this thread. At this point though, I would advise looking hard at EFIdroid instead as support for this project appears to be gone. As soon as a significant change happens it is likely multiROM will cease to function.
[Nexus 5 Original Android Development] loziogiulio:
ERROR: 7

I everyone. Just try to install Dark Rom 7 on the latest MultiROM v33 and Recovery 2016-02-10 (0) (down&install via PlayStore), but i got this issue:

E1001: Failed to update system image

Updater process ended with ERROR: 7

I read in this thread a post that suggests to try remove a string in the updater-script, i try follow the "instruction" in the post (without pc, i do everything on smartphone), but i got this issue:

Failed to find entry /META-INF/com/google/android/updater-script in ZIP file /sdcard/rom/bla bla bla

Need help, thanks in advice :fingers-crossed:

EDIT: i'm quite a noob, please be patience ;)
[Nexus 5 Original Android Development] lulli1:
Take this...

It's here.

https://xdaforums.com/google-nexus-5/orig-development/mod-multirom-v24-t2571011/post71155463
[Nexus 5 Original Android Development] ajeesh vijayan:
can we install paranoid android 7.1 as primary...? read that it's based on caf (but normal twrp works, third party kernel not supported).. does secondary works if do so..

thanks..
[Nexus 5 Original Android Development] xdadyood:
MultiROM on Nexus 5 - scenario & few questions

Some of this may sound outdated but bear with me. I've got a new NEXUS 5 and I am hoping to make the most of it.

Objective: Use MultiROM to setup at least THREE different "environments" - Main, Secure, Sandbox.

ROM #1 - Main:

- OS: Android Marshmallow 6.0.1 STOCK

- Default boot ROM

- Rooted to run root apps (Tasker, AdAway, various linux/Android hacks etc.)

- Regular apps (Firefox, Signal, DroidWall, Orbot etc.)

ROM #2 - Secure:

- OS: Android Marshmallow 6.0.1 STOCK or CopperheadOS (if I can get the ROM for Nexus 5)

- Un-Rooted

- Bank apps

- Android Pay

- any other secure apps that require Un-Rooted

ROM#3 - Sandbox:

- OS: Android Marshmallow 6.0.1 STOCK

- try out any new apps

- Rooted or Un-Rooted. Depends on what apps I want to try out

- plan to re-flash stock ROM after try-outs

Questions:

1. Can I use MultiROM to make this happen? i.e. where ROM#1 & ROM#3 are rooted and ROM#2 is not rooted. All ROMs will be installed with *nothing* shared.

2. I want to encrypt my phone (full disk encryption), and I plan to do so after flashing ROM#1/Main but BEFORE installing MultiROM. I read that FDE should be done only in the primary ROM and *not* in any other ROM. Is this how it should be done? Are there any gotchas?

3. I plan to setup MultiROM by installing the app. Is that OK? Or should I manually apply the kernel patch, modified TWRP and MultiROM?

4. If my ROM#2 is Un-Rooted, would there be any issues in getting Android Pay to work? Has anybody got Android Pay to work in a non-primary ROM, although it is un-rooted?

5. On the xda-developers thread, there are several "versions" of MultiROM for NEXUS 5. Earliest is from "Tasssadar" on 15th Dec, 2013 and latest is from "lulli1" on 18th July, 2017. I don't crave on using the latest & greatest (my current adventure with NEXUS 5 is strong evidence) and as long as it is functional, I am OK. Having said that, would the MultiROM app or individual files for manual install from "Tasssadar" be sufficient for my purposes?

Thanks for your answers/suggestions in advance.
[Nexus 5 Original Android Development] BIade:
Yes :)

Sorry never used FDE

I always used the manual way, but since you are using 6.0.1 STOCK, you should be able to use the app for the right kernel.

Never the less I would recommend using the following:

MultiROM-TWRP

MultiROM.zip

Multirom.apk

Never used android pay, but i read that if you are rooted with magisk, you can use the "hide" function to pass safetynet etc.

Hope it helps :)

Cheers

Blade
[Nexus 5 Original Android Development] nkk71:
No it wont (at least on a secondary), that will come later ;)
[Nexus 5 Original Android Development] xdadyood:
Hey Blade, thanks for taking the time to respond. Much appreciated.

I do have some follow-up question & comment. This is not directed to Blade specifically. Would appreciate anybody who can clarify.

contd. #1...

After reading up further on rooting, I get the impression that rooting is not really recommended or significantly beneficial if I plan on using latest stock Android 6.0.1 for Nexus 5. Tasker app doesn't seem to need a rooted device. Use of AdAway and fiddling with hosts file to block Ads seem to be the only upside. If anybody has suggestions on this, I would welcome them. Also, does rooting provide any ways to prevent Google monitoring/snooping on the device (blocking play services or any other feedback). Maybe, use of a smartphone implies this is a given...only choice being monitored by Apple or Google. Bigly SAD!

contd. #2...

I would really like to encrypt my phone (full disk encryption/FDE) for obvious reasons. However, I have tried to read & re-read Tasssadar's initial notes about this, but I don't seem to quite understand.

If someone has experience with this, please help clarify

. Here is Tasssadar's notes on "Device Encryption" from the initial posting:

contd. #4

After further reading, I don't think Android Pay is an option with MultiROM. I am providing this info just in case someone else has a similar questions. Here are Android Pay's device requirements from one of their support pages (can't provide URLs in post yet!)
[Nexus 5 Original Android Development] mbellot:
The main reason I root every android device I own is to install AFWall. It gives me near total control over network access (both WiFi and cellular) each application can obtain.

It's not perfect, but it's better than running stock and giving everything away...
[Nexus 5 Original Android Development] losl1946:
My Nexus 5 was flashed with "[LOS14.1][7.1.2_r29] DARK ROM [OMS][Pixel features][Delta updates][08/27] by Dark_Eyes_"and now i want to install MultiRom and flash Miui 8 (6.0.1) as secondary rom. Dose the "[FEB 10] MultiROM v33 " MultiRom support dark rom ? Which Kernel patch should i use?

Please help, thank you.

Regards !

SLo

---------- Post added at 10:20 PM ---------- Previous post was at 09:45 PM ----------

Should i download the "TWRP_3.0.2-6_multirom_pme_20160920-04.img" from "https://xdaforums.com/htc-10/development/mod-multirom-33a-twrp3-0-2-t3463838" and follow the instruction? dose this work on nexus 5?

Thank you !

SLo
[Nexus 5 Original Android Development] minhajlk:
Hi,

Do not flash the above TWRP, this is for HTC 10 devices, there is a link by @Captain_Throwback buried somewhere in this thread use that TWRP, this recovery is specifically built for N5 devices. I think Dark ROM's kernel is already kexec patched, if not you can try blu-spark or ElementalX kernels.
[Nexus 5 Original Android Development] Lughnasadh:
I believe this is the latest Multirom and TWRP-Multirom for Hammerhead... https://www.androidfilehost.com/?w=files&flid=102780
[Nexus 5 Original Android Development] kmem:
Might want to note that safetynet will only pass on the primary rom.
[Nexus 5 Original Android Development] fehhner:
I have a problem with Multirom on my Nexus 5. Can't swap primary and secondary ROMs :(

I had simple TWRP recovery & Installed latest LinageOS (w/o kexec-hardbootl patch)

Flashed Multirom TWRP version

Installed Multirom Manager app & Updated Multirom TWRP

Flashed patched kernel in TWRP & Rebooted. In Manager app everything became OK.

Flashed Sailfish (w CM 13.1 base) as secondary ROM.

Everything is installed in internal storage now. When I try to boot, I can choose Linage or Sailfish in boot menu and everything works. I've succesfully renamed menu items in Multirom Manager. But there is no inbuilt ability to swap roms in app. And when I boot into recovery and choose Multirom -> Swap ROMs, I see the empty list "Select Secondary ROM to swap with:" and Linage primary rom name under the list. If i Choose Multirom -> List ROMs, I can see only Sailfish secondary ROM in "Tap ROM to manage it" list in v2.8.7. When I've updated to latest v.3.0.0 Multirom TWRP app via the app I still have no success. I press Manage Roms, can see only the secondary rom in the list (Sailfish). If I click on it, I event can't flash ZIP (it was possible flash in 2.8.7). If I press swap, thereis Linage name and empty "Secondary ROM to swap with" menu.

I wan't to normally automatically boot to Sailfish and have Android (Linage) as emergency backup. Is there any possibility to do this, or at least disable automatic boot timer (5s) in the boot menu?
[Nexus 5 Original Android Development] cyprien T:
Hello . I can install nougat roms but impossible to start under ROMs oreo help month please
[Nexus 5 Original Android Development] lulli1:
I'm not able to install the new Aosp 8.1 legacy rom as a secondary. Tried with multirom TWRP 3.0.3.0 (solid version for all other 8.1 ROMs) and the newest 3.1.0.0, but always the same "Error 7". Device verification can't be passed but also can't be disabled anyhow.

Has anybody an idea how to get it working as a secondary? Has anybody got it installed? [MENTION=268386]blade[/MENTION]?

:confused:
[Nexus 5 Original Android Development] lulli1:
Here is a screenshot
[Nexus 5 Original Android Development] minhajlk:
I think unlegacy is not possible with multirom but AOSiP and LOS15 is possible.
[Nexus 5 Original Android Development] lulli1:
No, it has definitively to do with the twrp version.

We need a multirom twrp version later than 3.2.0.0

https://xdaforums.com/google-nexus-...nlegacy-android-project-t3593425/post75066496

Edit: I modified the flashing script and deleted the device check. Now it flashing correctly, but doesn't boot as a secondary. Hangs at Google logo.

When you flash it without multirom and with latest TWRP, it works as it should.:confused:
[Nexus 5 Original Android Development] BIade:
I tried to resolve all merge conflicts between latest mulirom-twrp and the official twrp.

Sadly Im to noob for that...

If anyone with more knowledge is willing to try:

MultiROM-TWRP: https://github.com/Tasssadar/Team-Win-Recovery-Project

Official TWRP: https://github.com/TeamWin/Team-Win-Recovery-Project/tree/android-8.1

libbootimg: https://github.com/Tasssadar/libbootimg

MultiROM: https://github.com/Tasssadar/multirom

Porting Guide if needed: https://github.com/Tasssadar/multirom/wiki/Porting-MultiROM

My attempt was to merge the first two links (branches), but while creating the pull request I came across merge-conflicts, I cant resolve on my own :(

Hopefully we gonna find someone who can :D

Cheers

Blade
[Nexus 5 Original Android Development] lakija:
Can anyone help me. Why can I download Ubuntu touch?

View attachment 4402874
[Nexus 5 Original Android Development] BIade:
I think the repo changed. Which (exact) version/apk are you using?

You should try Captain Throwback's files. They are posted some posts/pages before - here in this thread.
[Nexus 5 Original Android Development] drmuruga:
Extract rom and go to updater script delete from assert to ui print , the updater script start from ui print now compress and flash in twrp.
[Nexus 5 Original Android Development] kmem:
Is there any hope for multiROM going forward? Very few ROMs work these days with the old version of TWRP that captain throwback so graciously provided. I am not sure if the no kexec workaround functions properly in TWRP.

I briefly tested efiDroid but had some issues. Will try again soon. As of now, both multiboot programs are loaded at boot which gives the best of both worlds, as long as I don't do something silly.
[Nexus 5 Original Android Development] physwizz:
I might try this with Lineage Oreo.
[Nexus 5 Original Android Development] physwizz:
Try using zarchiver on the android
[Nexus 5 Original Android Development] losl1946:
My Nexus5 (hammerhead) was flashed with Multirom:

Primart rom:

Darkrom (darkrom-15.1-20180416-NIGHTLY-hammerhead.zip" (from a link in "https://xdaforums.com/sho...postcount=6431)

Multirom/TWRP:

multirom-20170314-v33a-UNOFFICIAL-hammerhead.zip/TWRP_3.1.0.0_multirom_hammerhead_20170314-03.img both from CaptainThrowback.

Since i could not find the suitable patched kernel or the kexec-hardboot patch i enabled the "No Kexec Workaround" in TWRP.

The primary rom works perfectly OK. Then i flashed "lineage-14.1-20180531-nightly-hammerhead-signed.zip " (from https://download.lineageos.org/hammerhead) as the secondary rom.The initial boot and setup was no problem at all on the secondary rom. Then I rebooted the primary it also works fine. After that i booted the system back the secondary, problem occurred. The secondary failed to boot, it stuck at the boot animation forever and did nothing. I searched all the keywords but found nothing for Nexus 5. If you have any suggestions please help. Thank you.

SLo
[Nexus 5 Original Android Development] kmem:
In my experience, the workaround is a bit buggy, not to mention it reflashes your nand every time you boot which can't be good for longevity. I suggest you try a patched kernel for your primary. Both common nougat kernels (elementalx and bluspark) are patched. Another issue is that since multirom support is dead and the recovery so generously provided by captain throwback is pretty outdated, many secondary ROMs fail to install or boot.

There is an alternative to multirom which doesn't require patching called efidroid which shows a lot of promise but its development appears to be stalled as well. One should note that efidroid's interface is not touch based and requires the use of the hammerhead's aging physical buttons to function.

Hope this helps.
[Nexus 5 Original Android Development] losl1946:
Thank you very much.

In my previous multirom setup. My primary rom was Darkrom 14.1 android 7.1.2 (darkrom-14.1-20171102-NIGHTLY-hammerhead.zip) with blu_spark Kernel (blu_sparkKernel_Kernel_r140_hammerhead_ce06f36.zip). It worked without any problem for months. Now i upgrade to Android 8.1 (Darkrom 15.1) and the blu-spark kernel stopped working and I could not find kernels good for Nexus5/ Android 8.1 /Multirom/Darkrom 8.1. So i opted for "No-Kexec workaround". It seems that i have to abandon Multirom on Nexus 5.

Any further advice is welcome, thank you.

Have a nice day.

SLo
[Nexus 5 Original Android Development] kmem:
I too used darkROM Nougat for a long time with multiROM. You need an Oreo kernel to work with 15.x. I dont think Bluspark has an Oreo kernel but I could be mistaken. You could try ElementalX 9.02. It has the kexec patch. I don't know if it works with darkROM Oreo but it seems to work fine with AEX Oreo as a primary. Getting other Oreo ROMs to work as secondaries won't be easy though!

For what it's worth I am still using multiROM but it seems kind of silly since so few new ROMs work with it.
[Nexus 5 Original Android Development] physwizz:
Just flashed ElementalX kernel onto LineageOS 15.1 (8.1.0) and multirom seems to be working again with multirom TWRP 3.0.0

Still can't get Oreo ROMs to work as secondaries (only primary)
[Nexus 5 Original Android Development] driton.talinoci:
hello i have a serious question, so if i have 2 roms, and root and also flash xposed on my primary does that mean that my second rom will automatically have xposed aswell or is it up to me to decide whether i want to have it on secondary aswell, because i want to have my primary one with root and xposed but my secondary i want without root or xposed, so is that possible please?
[Nexus 5 Original Android Development] Lughnasadh:
Your secondary rom will only have what you put on it, so yes, you decide.
[Nexus 5 Original Android Development] yeeson:
Ubuntu Touch wifi no working！

The basic all don't work！
[Nexus 5 Original Android Development] DoesntPostAThing:
Wifi works for me. So does camera. Some apps don't launch, but that's to be expected as this is still in early development. That's why you can always boot up another ROM, right?
[Nexus 5 Original Android Development] weihan1102:
do i need a ubuntu to do this?

i am in the Google logo and adb working but i don't know what to do now