yashsingh1/xdaforums huggingface dataset:
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] jeffsga88:
[MENTION=5197535]nima0003[/MENTION] can you do me a favor. If you have root and twrp working and still can not use the app (failed to start error) can you boot into twrp (running stock Android 7.0) and ruin the get logs zip located in OP and post the file here so I can send it to the dev and see if he can update it to work with stock 7 as well. I'm guessing it might have to do with bootloader as I'm on RR 7.1 and can not dual boot stock 7. It will just boot loop and I have to reflash my primary boot.img in twrp. Thank you. (And anyone on stock Android 7.0 with twrp could also get the logs and post them here (h830) if the app isn't working).
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] lordodin912:
Installed app and mbtool started. Whats the difference between having stock vs CM as primary, which is better? Do I need to be on CM first to have it primary? Would like to keep my data on stock etc. Thanks

H830, 20A.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] jeffsga88:
Honestly it doesn't matter either way technically is fine. Although, at least from my testing yesterday, you can not be on cm and boot stock as secondary. No matter how I tried that way it boot looped. I did send dev the logs maybe he can figure out why it's not working that way. Also good to know app is working on stock 7.0 because nima0003 stated it wasn't earlier. If you want to keep stock as primary that's fine just make sure to follow my post about flashing and go ahead and flash cm as a secondary on data slot. Also if you can post if it works or not. I haven't went to stock 7 as I've been on cm since it was released for our device and have dual booted stock add secondary since dual boot was updated for us.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] lordodin912:
Will hopefully test it soon, heres a screen of it on 830.

---------- Post added at 03:50 AM ---------- Previous post was at 02:55 AM ----------

Heres a log trying to flash in app, apparently ro.build.product and ro.product.device are "h1" instead of "h830".

Spoiler content hidden.

---------- Post added at 04:19 AM ---------- Previous post was at 03:50 AM ----------

Changed both to h830 and it started but went null. Heres log

Spoiler content hidden.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] lordodin912:
Update: It worked[emoji779] Flashed in TWRP got 2 unknown command errors after Rom flash but gapps was ok and it booted up. Was also able to go back to stock (primary) np.

Log:HERE

Time for zZzZzzZz
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] kab89:
Hi, I've been trying to install cm14.1 as a secondary rom in the data partition. I've tried a few combinations but it just won't install this is a screenshot.

It also fails when flashing through recovery. Could someone tell me what I'm doing wrong? thanks
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] onestyle007:
Try the apk in the first post, the latest update gives me the same error, so I've downgraded the apk in the first post,also repatch the cm 14.1 zip for data again and it should work,I'm dual booting while writing this
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] kab89:
Nice one! thanks, it's been bugging me all day. Can confirm all is well with r38 and r43 fails
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] jeffsga88:
Sorry just posted the latest apk link earlier. Anyways the r38 version is where in app flashing issues the h830 was having were fixed so that's good that one is working. Also I'm trying to figure out why it will not allow stock N to be flashed as a secondary ROM. So, does it seem everyone on stock 7.0 (mainly h830) able to run dual boot without issues then?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] lordodin912:
^^ Been using r38 and haven't been able to get in app flashing working(h830)....had to use TWRP. Prolly should have said what version of the app earlier.....No other problems to report.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] jeffsga88:
That's odd. On previous versions, in app flashing would work if you didn't update the ramdisk, but as soon as you did you could only flash through twrp. This issue was fixed as of r38 and has been working without issues for me, so not sure why it won't for you. Maybe try going in and updating ramdisk then reboot then try in app flashing. Also, I did some testing and this is what I found out:

This is for h830 (t mobile) as that's what I've tested on:

If you have not upgraded to stock 7.0 and you're running cm based ROM as primary you can run stock 6.0.1 as a secondary rom but you can NOT run stock 7.0 as secondary. Also, if you have upgraded to stock 7.0, you must keep stock as primary if you want to run stock, it will NOT work as secondary rom. I took the plunge and upgraded to stock 7.0 to check it out as well as make sure dual boot was still working on stock 7.0 and spent a few hours testing. Trying to run stock 7.0 as secondary will make your phone hang at primary Roms boot animation, but you can recover. Running cm or cm based Roms as secondary works without any issues.

Also on another note, if you don't like how it hangs for a little bit when you restart your phone at a black screen (when using boot ui) just goto app settings and uninstall boot ui. Make sure you download dual boot utilities though:

https://dbp.noobdev.io/files/9.1.0.r38.g5d5b401/Utilities/DualBootUtilities-9.1.0.r38.g5d5b401.zip

This way, you can just enter twrp when necessary, flash disk boot utilities, and change rom or wipe rom if necessary, no real need for using boot ui and phone starts quicker without it.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] lordodin912:
Alright, so ramdisk said it was already up to date and it wasnt working....then went back in and starting tapping it and "forced" (to my surprise, ha) the ramdisk update....and it works now!

When I went to take a screenshot of the successful in-app flash, it crashed, still flashed and after reopening app the new Rom was selected already. Rebooted into it to make sure. Installed it in data instead of secondary, does it make any difference except where its stored, i.e. performance etc?

That dual boot utilities will come in handy, thanks!
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] jeffsga88:
Yeah personally I always install in data slot. There's sometimes flashing as secondary works and sometimes it doesn't mainly due to a small amount of space in system partition. Glad it works for you now.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] lordodin912:
Ya after it worked I wiped the Rom from data and repatched for secondary and it failed. So, wiped that, then tried the data slot again and it worked[emoji55] .
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] jeffsga88:
Yeah that's why I posted in my original post when h830 first got supported that we need to flash to data slot. I have personally been able to get it to work with secondary sometimes but usually it fails (runs out of space) so I just do data slot and recommend that to anyone else. Just wish I could install stock as a 2nd rom instead of having to keep it as primary but oh well.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] lordodin912:
Easier to upgrade on primary right?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] jeffsga88:
Actually it won't matter, upgrading any rom on dual boot is the same. You patch the update zip for whichever location you need it (I.e. if an update to stock you patch the updated zip for primary if stock is your primary rom or on cm you patch the new cm build zip as whatever you labeled the cm location) and just flash in app. But, if you're on primary rom and want to upgrade it you have to do it through twrp or the other rom. Dual boot doesn't allow you to flash any files to currently running rom. I update cm all the time from dual boot, it works without issue. One thing to think about would be disabling OTA updates on stock though..
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] ItsNewDroid:
I don't know how I could flash without that, thank you!
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] lordodin912:
Tried flashing Tesla Rom but it needs supersu to be flashed after and tried patching the su.zip for data but it didnt work correctly. Hmmm

H830 20a
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] jeffsga88:
I run Tesla as a secondary ROM on h830 20a no issues. I patch all files (ROM, Gapps, and SuperSU) for data slot (just ensure you put exact same name for all 3) and then do in app flashing. Flash ROM, then Gapps and then finally SuperSU at the same time (add zips in that order). Make sure you use latest SuperSU (sr5). You shouldn't have any issues doing it that way. If it still doesn't work post what errors it says. Hope this helps.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] lordodin912:
Must have just been a stupid mistake on my part[emoji13] . Thanks.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] jeffsga88:
No problem. Although I guess it won't matter much with Tesla because he stopped working on it now to focus on cm 14.1... But I'm still run the last released build with dual boot. Always nice to try other things out, why I love dual boot.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] lordodin912:
Also another reason android>apple.

~D4L~ (droid4life) ~ESBD~ (eat, sleep, bleed, droid) [emoji6]
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] nima0003:
If I have CyanogenMOD 14.1 installed, how can I have 7.0 stock as secondary on h830 without a TWRP bootloop?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] onestyle007:
Use stock zip without aroma (since aroma doesn't work well with dualboot) and patch it for data since stock roms are a little bigger. That's all
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] jeffsga88:
Actually if you're trying to have stock 7.0 as secondary (at least with t mobile version) you must have it as primary and them cm your secondary (data slot). With the new bootloader that stock 7 has it won't boot as a secondary ROM. Only stock MM would allow us to boot it as secondary.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] nima0003:
How about dual booting 6.0 as secondary if I already updated to 7.0?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] jeffsga88:
Doesn't appear to work. I tried with stock I zip and it always fails saying laf verification failed. My his is that's due to the boot loader changing when upgrading to stock 7. You could probably do it if you downgraded your boot loader first with the zips from autoprime, but not going to try it myself right now. I think if you're really wanting to run stock, you probably should just go ahead and flash stock 7 as primary and use cm or RR as secondary. Maybe when I get a chance I'll run the getlogs zip for the developer and maybe he can update it for the new boot loader and then we will be able to use stock as secondary maybe. I already let him know about the problem, just haven't had the time to get the logs for him yet.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] serpico84:
I followed this guide but it's completely impossible for me to have a security lockscreen in dualboot. I have stock 20a as primary and Resurrection as secondary. I set security lock in secondary and set the exact security lock on primary but each time I boot on any rom I'm unable to get in. So I have to delete that files over and over again. Maybe I miss something.

Thanks in advance.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] jeffsga88:
Appears to not work anymore. Just have to disable lock screen security. I think it's because using a stock ROM and lineageos based ROM. I think of both are lineageos based then that works or if both are stocked based it works but not if one is stock and one lineageos. Otherwise it's something to do with Android 7 maybe. I know it worked on MM, but I can't do it with 7. Maybe when I have time I'll try with two N lineageos based Roms. But with stock and RR it will have issues :( ...

Edit:

Even with two lineageos based Roms using lock screen security is an issue and you have to delete the files every time. It must be related to Android N as it worked on MM. I guess no seeing lock screen for now or just going into TWRP every time and deleting those files :(
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Lorenzopapi99:
Is possible to use cm 14 and Windows?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Santiagofamo:
I'm new to roms, I can do this with any risk? And how can I remove the secondary ROM if I want to go back or I want to test another ROM?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] onestyle007:
1st question. YES

2nd questions. You just wipe it through the app
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] :
Can you clarify something? Can I run RR N 7.0 as primary and Kali Nethunter M 6.0 as secondary?

LG G5 H850.

Thanks.

Edit:

Is it very risky? And also how to revert when I want to?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] jeffsga88:
The answer will depend on how your phone is set up. If you updated officially to stock N, therefore updating your bootloader then you can not run Android 6 and 7 at same time. If you never updated to stock N and never updated your bootloader you should in theory be able to run Android MM and N with dual boot. I say in theory because it's been a long time since I've run a MM Dom with dual boot, once N got up and running good I switched over completely to running all Android N ROMs. When on MM (before I updated bootloader) I was running stock MM and RR N, Los N and a couple other ROMs too. I recommend using MM as primary and then running RR N as a secondary (use data slot not secondary). If you updated to stock N or updated your bootloader I recommend using stock N as primary and then RR N as secondary. There is an update https://build.nethunter.com/nightly/3.15.4-20170211-0304/ for running Kali nethunter on stock N, which is recommend instead of running MM.

On your other question, no using dual boot is not risky, you just need to make sure you read through the posts as I have described multiple times step by step how to use dual boot and things that do and don't work, like running stock as anything but primary now doesn't work with stock N anymore but did with MM. You can always revert by deleting the multiboot files and flashing the before ramdisk update.img file in the multiboot folder from tarp although personally if I want to get rid of multiboot I'd just back up what you need wipe everything including internal and then do fresh install of whatever rom you want to use, but you can do it without doing all that. Sorry hope this helps, if you have others questions feel free to ask.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] :
Thanks man, appreciate the help. My only problem is, I want to run Kali on my device. Though it's not official, it happens to be a MM - H850 port. And wouldn't mind using it as a daily, but whoever was working on it gave up. And so while the main functions work; sound, and some other key things do not. So you see I can't.

You have an idea for a solution?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] jeffsga88:
It was actually updated to run on N. All it is, is an add-on and kernel that goes over the stock rom. Install stock N and then download the N kernel version here (for h850) and then download the latest Kali version here. Install both of these over your stock N rom and you will have Kali nethunter installed on Android N. As far as the issues with sound and stuff I believe that may have been fixed with the N kernel update but I don't remember. But everything was updated for Android N, the op just was never updated and everything was posted on the last couple pages of that thread.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] :
?. Thanks man. To be honest, wasn't sure about this method. Highly appreciated. I'll try that.

When you say stock N you mean AOSP rom? Would it work on RR OFFICIAL H850? Thanks. YOUR A BOSS.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] jeffsga88:
No, I mean stock rom for your phone as in the official rom. It may also work on fulmics rom since it's stock based. It will not work on RR our other aosp based ROMs as the kernel is for stock or stock based ROMs.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] :
Thanks man​. Is there anyway to use with stock? See that's what I like about Nethunter and MM port (stock). Thanks.

https://xdaforums.com/lg-g5/development/kali-nethunter-lg-g5-t3364545/page7
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] jeffsga88:
That's what I'm talking about, it's the same thread were talking about, I just linked directly to the updated files (he never updated his op which I why I linked it directly). It only runs on stock (I did get it to not on RR back in the day but it had issues, which was expected). Install stock N or fulmics stock based rom and install the above files the kernel and full Kali file right over stock. If you reread this thread it is not an rom, it is only two zips you flash over stock or stock based rom.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] :
I understood thanks. I just linked for your convenience.

How DID you find the updated files? A Google search doesn't do it and can't find it on build.nethunter.com. Thanks.

Should I make a YouTube video helping others to dual boot? Just an idea.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] jeffsga88:
The updated links are posted in the thread you linked by the op, second to last page I think. Not sure why he didn't update op and posted it like that but that's how he did it. As far as YouTube video on using dual boot, I don't think it's necessary but hey if it helps someone then why not.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] :
Just an update for you. Flashed the latest files (you suggested) over RR N G5 H850. Working like a charm.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] einhuman197:
What about restoring a nandroid backup? When I brick my primary I can just restore a nandroid backup, right? And when I brick my 2nd rom and it boots to secondary by standard, what should I do? Sorry for the noob question but this is my first attempt to do dualboot and I have no experience with it. Thanks.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] jeffsga88:
If you do a twrp backup before installing multiboot, you could always go into twrp later and wipe everything and then restore your backup (make sure you disable lockscreen security before doing backup as there have been issues with restoring backup and it thinking the password is not correct). Also when you use dual boot, I highly recommend that you also download the dual boot utilities zip file (go-to the main dual boot patcher thread and download latest patcher all and utilities zip). Dual boot utilities is a zip you can flash in twrp and then you can choose which rom to boot, wipe a rom, etc all from twrp. Also, there is a backup option in dual boot patcher app, can't tell you if it works or not as I never tried it. Hopefully this helps.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Dreigh:
Using h830 device running stock as primary and encountering an error when flashing patched zip for tmobile. It says that my device is h1 and that it can not complete the flashing. It fails in twrp altogether. I tried patching with the h850 variant selected and it fails in twrp but passes in the app. After reboot from application flashing I get stuck in a twrp loop and have to flash the stock image over again to restore my device. Any thoughts?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] jeffsga88:
If you're running stock as primary on h830 you need to patch it for lgg5 h850 and flash it like that. When our bootloader was updated with Android N they changed some device paths and the device codename so now it appears that we have the h850 instead of h830 to the app. I was trying to get Dev to update it for us but he had been really busy with other things so hasn't had a chance. Alternatively, you can go in build.prop and change device name from h1 to h830 and reboot and then it will work. Also, when you're in a rom other than stock you will have to repatch the comes for t-mobile to be able to flash from another rom as it will then detect h830. So maybe just edit build.prop device name from h1 to h830 if you know how otherwise just patch as lgg5 not the t,-mobile h830.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Dreigh:
I changed my build.prop and flashed. The app finished succesfully I rebooted and it began a twrp loop.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Dreigh:
Shows in app but when rebooting into other rom I get a twrp loop.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] jeffsga88:
That's not too do with dual boot but actually lineage os. Read my post https://xdaforums.com/showpost.php?p=71628344&postcount=1980 there on Los thread about TWRP bootloop after installing Los and how to fix it. You'll want to run the first command I posted as the second one wipes for while misc partition which wipes your WiFi Mac address. I would suggest switching to Los then rebooting. Let it boot into TWRP and run that command either from terminal in TWRP or while booted into TWRP run and shell CMD from PC while connected and run that command.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Dreigh:
Ill try it. Thank you for all of the help!
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] jeffsga88:
No problem. I'm going to try and delve into learning how to compile from source and if I can figure it out I'll update our device config in the multiboot app and post a link.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Dreigh:
I tried the command and it did not work. I will try flashing a different rom instead
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] jeffsga88:
Probably due to it being a secondary rom, try installing latest release and see if that helps. I think it showed you were using 3-14 think there's 3-28 now or somewhere around there.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Dreigh:
Will do. Thanks

---------- Post added 2nd April 2017 at 12:13 AM ---------- Previous post was 1st April 2017 at 11:32 PM ----------

New Version did not work (TWRP loop) same with using Remix Rom I don't even know what other ROM's I could use that aren't LOS based or that don't use AROMA installers.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] jeffsga88:
Both work for me. Try editing build.prop back to h1 instead of h830 and then patch rom files for h850 lgg5 instead of t mobile and try that. They was how I was able to do it. Again, think it may be due to path changes from bootloader. Let me know if doing it that way works.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Dreigh:
Are you still using version 38 of the Patcher? And you install the rom under data slot correct?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] jeffsga88:
No. Although that shouldn't matter as nothing device specific in the app has changed for us. You can go to original thread located on first page of this thread and download latest app version though.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Dreigh:
Changed back build.prop patched for h850 I flashed inapp and it completed with no problems. rebooted and got sent to twrp. I Patched LOS 28 and Gapps Nano 7.1. I might record a video to show my exact steps to help people see what I am doing wrong :l very sad as I had been trying to do this for a couple of weeks with no success. I have use both the latest version of the app and r38 neither has worked.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] jeffsga88:
Try one last thing. Patch latest RR as h850 and install and try that. Also just a question what version of stock are you using 20C? and are you using a custom kernel or no and magisk or superSU for root?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Dreigh:
Stock 20C Stock kernel I am using Magisk on stock with MagiskSu