yashsingh1/xdaforums huggingface dataset:
[G3 Themes and Apps] chenxiaolong:
Should be fixed in 8.0.0.r1091.g92d55dd (will be built and uploaded soon). The patcher was trying to read the whole system image "DeneRom.V1.img" into RAM, which is why the app crashed.

---------- Post added at 04:51 PM ---------- Previous post was at 04:45 PM ----------

Will do :) Are you sure F400(K,S,L) is what ro.product.device is set to in build.prop? Just wondering because I've never seen a device where the codename is the same as the model number.
[G3 Themes and Apps] KingOfDope:
Here is a screenshot of my build.prop:

[IMG="screenshot"]http://i.imgur.com/y5laDid.png[/IMG]

when I try to flash in twrp I get a error.

' This device is "F400" '

So I tried to change the device support myself. I forked your github. You must know I'm compleetly new to github and android programming. I added "f400" and "f400k" to /libmbp/patcherconfig.cpp with success but I don't know how to compile lol. I'm on mac so if you want to help that will be great. I have Android studio and eclipse installed.

here is my fork link (I think it's already outdated): https://github.com/Flexxkii/DualBootPatcher
[G3 Themes and Apps] chenxiaolong:
Ahh, I see what was confusing me. The OS has ro.product.device=g3, but I downloaded and extracted TWRP for f400 and that has ro.product.device=f400. I've added both f400 and f400k to the list in 8.0.0.r1112 :)

As for building the app, I've only done it in Linux so I have no idea if it builds on a Mac. The majority of it is in C++, so you'll need to install CMake and the Android NDK (which is a massive 3.4GB :p). The build commands should probably be identical to the Linux ones: https://github.com/chenxiaolong/DualBootPatcher/blob/master/docs/BUILD-Android.md
[G3 Themes and Apps] KingOfDope:
Thanks, I'll flashing it now! :D

damn, I think I'll need to watch more youtube tutorials and stuff. Don't worry I won't bother you with that :P but thanks I'll note it!

---------- Post added at 09:36 PM ---------- Previous post was at 09:19 PM ----------

@chenxiaolong flash was successful! 1 problem :/ I can't share apps. I can't provide you with log now, sorry. I pm you the log tomorrow.

but everything else works :D
[G3 Themes and Apps] chenxiaolong:
I haven't finished reimplementing app sharing yet, so it shouldn't be working :D
[G3 Themes and Apps] KingOfDope:
Whoops, I clicked on update ramdisk or something and now my phone goes into a bootloop. No worries I made a backup :P
[G3 Themes and Apps] chenxiaolong:
Thanks! I'll take a look. This will be about the 1001th time I broke this :p
[G3 Themes and Apps] _N3XU5_:
Does Cloudy work yet? I tried it on the newest snapshot and the aroma installer for cloudy works but it doesn't reboot into Cloudy it goes into the primary rom and in the dual boot app it shows up in the ROM list but when I click it won't switch.It says fail.
[G3 Themes and Apps] Quote100:
I'm about to try this in a second so can someone sum up how this works on the d850 with stock and resurrection remix?
[G3 Themes and Apps] Quote100:
Wow this is great but I can't use my secondary as my daily thing until app sharing is done being developed but this is really great and I like resurrection remix

---------- Post added at 04:34 PM ---------- Previous post was at 04:02 PM ----------

I turned on app sharing and rebooted and my kernel crashed and I couldn't boot so I'm glad I took a backup
[G3 Themes and Apps] Quote100:
I think my kernel crashed because I had the config in s4 mode because that's the default

Edit: nope I have no idea why it crashed but I can provide a picture of the screen it was on when it did later
[G3 Themes and Apps] Quote100:
Here are the pictures of the screen it was on when my kernel crashed there's so many because they're all low quality and you might see different parts better in one picture
[G3 Themes and Apps] cultof1:
finally, a way to multiboot on my d850! thank you so much. just one quick question. is there a way to make secondary rom my primary? sorry if this had already been asked and I missed it.
[G3 Themes and Apps] Edde3d:
Edit... Nevermind
[G3 Themes and Apps] chuyennho184:
[MENTION=5389211]KingOfDope[/MENTION]: Can you give me a app link to test? Because I'm using F400S. Thanks!
[G3 Themes and Apps] KingOfDope:
Here is the direct download link to the latest (19 april)

But you can find the newest here:

https://snapshots.noobdev.io/
[G3 Themes and Apps] EiNESTEiNi:
Resurrection Remix and CloudyG3 working with this Dual Boot method?

Hi,

I was wondering whether or not it's possible to get CloudyG3 (2.2) and Resurrection Remix (newest) working together with this method? Are there any special operations involved in order to get that Duo running?
[G3 Themes and Apps] lukas77:
I'd say, if you successfully patch resurrection rom with this patcher it will work. Just follow the guide in op.
[G3 Themes and Apps] EiNESTEiNi:
CloudyG3 v.2.2 + Resurrection Remix 5.4.2 working.

Hello,

I can

very gladly

confirm that dual booting CloudyG3 2.2 and Resurrection Remix 5.4.2 is working in tandem with this method. :) There are some questions that have come to bug me though.

Firstly, Whatsapp application is in need of confirming the device every single time I'm changing the ROM in use. I was wondering if there was a way for Whatsapp not to ask for the confirmation each time the ROM in use is being switched? :confused: It get's really annoying after a few "switches" from ROM to another... :(

The second question is about Custom Kernels. There are some very good custom kernels for example to Resurrection Remix ROM. I'm aware that the chef(s) of the ROMs do not often support other kernels but say I wanted to flash a custom Kernel. How should I proceed doing it in the TWRP Recovery? I couldn't just go ahead flashing it could I? Maybe it would mess everything up and be used in the CloudyG3 ROM... :eek:

I have Resurrection Remix ROM installed in cache partition.

Third question is here: Is it possible to make a FULL backup of the whole Dual Boot setup? I quess the cache partition should be included in the backup since the Resurrection thingy is being contained in that partition. Am I on the right track here? :silly:
[G3 Themes and Apps] lukas77:
1. In future release chen will add app sharing support, it may fix the problem.

2. To use custom kernel just patch it with zip patcher and flash as MultiBoot slot 1 (if you use cache partition).

3. For now you can't backup whole 2nd ROM configuration, if you nandroid /cache you'll backup 2nd ROM, if you'll backup /data you'll get 1st and 2nd ROM data backup.
[G3 Themes and Apps] motoralbi:
A simple question: is possible to dual boot a LP ROM with a KK ROM?
[G3 Themes and Apps] Quote100:
I wouldn't see why not
[G3 Themes and Apps] motoralbi:
Thanks. But what about user apps?

Will they work correctly if i switch from LP to KK?
[G3 Themes and Apps] motoralbi:
Another question,does this dual boot method work with lollipop 5.1 roms like the latest blisspop?
[G3 Themes and Apps] whoppe862005:
Yes it does. Been using with a stock rom, Bliss, and Euphoria.
[G3 Themes and Apps] kotkot:
Hi

it says "make a nandroid backup " but i dont see any TWRP/CW available for LG D855 (32gb/3gb RAM).

Also i patched a CM ( cm-12-20150423-NIGHTLY-d855.zip ) and i see on my storage the file cm-12-20150423-NIGHTLY-d855_patched.zip but i dont see it as selectable on the ROM page.

Any help ? Thanks
[G3 Themes and Apps] Quote100:
App sharing isn't supported yet I'm eagerly waiting on that and not booting into my secondary until this happens
[G3 Themes and Apps] Edde3d:
Yes. I am doing that right now.
[G3 Themes and Apps] motoralbi:
Guys what happens if i install a rom in /cache and then in twrp i wipe /cache and dalvik? Will it be deleted?

Another thing. I installed CloudyG3 and it uses 2.12 Gb of ROM,so i have only 488 Mb of free ROM. Is there a way to increase the system partition size? Or do i have only the possibility to debloat the current ROM?
[G3 Themes and Apps] lukas77:
Only debloating can increase the space, I suggest to delete all google apps which could be downloaded from play store (eg. Gmail, hangouts, video, books, drive, maps, youtube, search). I also deleted all LG apps I don't use but google apps should be enough.

Yes, if you wipe cache you'll lose your ROM too. You can use wipe option in DualBoot to wipe cache and dalvik on primary ROM which won't affect your secondary ROM.

Also, if you want to upgrade your primary ROM, you can patch it with patcher and install using "Upgrade primary ROM" in aroma.
[G3 Themes and Apps] rossonero82:
I'm trying to patch the latest nightly of CM12 but it says "Failed to patch file. Failed to open archive for writing." Anybody know how to solve this?

EDIT: Just saw that it says: "The file you have selected is not supported." when I choose the CM12 file. Hmm....

EDIT2: The same thing happens with the BlissPop zip.
[G3 Themes and Apps] chenxiaolong:
This was probably caused by my new zip handling code. For now, you can use 8.0.0.r1124.g22dc2c6 (last build before the change). Which exact nightly did you download? I'll download the same one to do some debugging.

Thanks!

EDIT: Can't reproduce with BlissPop-v3.2-d855-OFFICIAL-20150422-2200.zip (patcher version:

8.0.0.r1153.g273f075):

[youtube]YwF57HyHVq4[/youtube]
[G3 Themes and Apps] rossonero82:
Hmm weird, I tried it with the newest BlissPop and with yesterday's and the day before's CM12. I'll have to try it later, I got a bootloop after pressing the Update ramdisk-option :eek:
[G3 Themes and Apps] rossonero82:
[MENTION=4277844]chenxiaolong[/MENTION], after the bootloop I managed to reach TWRP and flashed CM12. And now the patching works as it should, so it seems like it was something wrong with the previous ROM that I had which was an old ChucaChups ROM.

Well anyway, it works now! :D
[G3 Themes and Apps] EiNESTEiNi:
Everything Golden Except for One Gimmick

Can the App Sharing function between the two ROMs be implemented already somehow or is there any kind of ETA when that feature will be working? :confused:

Otherwise I'm thrilled with this method but that's the only feature I

really

need. :good:
[G3 Themes and Apps] chenxiaolong:
After my finals at school, but don't quote me on that because I usually take twice as long as the ETA I give :laugh:
[G3 Themes and Apps] GFXi0N:
Hi!

I'm on Stock rooted and have like 512 mb of free space on system , cache has 606 mb though.

My intention is to flash cyanogenmod12.1+gapps+m9 camera port (which is around 100 Mb)

From /system, I'd have to clear up like a hundred MB of bloatware not breaking anything... which kind of scares me.

/cache seems way too small.

I guess external sdcard is just out of the picture, isn't it?

How to decide which apps to remove in order to debloat the rom?

I know it's a bit offtopic, but I guess I'm not the only one here with this problem:

Thanks
[G3 Themes and Apps] lukas77:
You can also flash minimal gapps without the google stuff that can be downloaded from play store, you'll save about 100MB
[G3 Themes and Apps] GFXi0N:
And install it on /cache?

Another question. I guess, in case of a screwup, just flashing a stock rom from twrp should do the trick, am I right?
[G3 Themes and Apps] fahadsaleem:
lg g3 at&t d850

after flashing secondary rom .restated to secondary rom

and a black screen came up with the message ''kernel panic-not syncing: VFS: unable to mount root fs on

unknown block(0,0)''

any idea why??
[G3 Themes and Apps] diogo.sena:
Tried today, works great!

The only thing missing is a way to choose roms at bootup..

edit:

the first time it worked, booted to secondary rom, but after switch to primary once, secondary rom doesn't work anymore.. any help?

(wiping /data/multiboot/dual/data makes the secondary rom bootable again)
[G3 Themes and Apps] marpipro:
Hi, first thanks for your great patcher.

I flashed a second rom in /system on d855. works great. my newbie question is: twpr recovery function like wipe dalvick and fix permission are working only on primary rom?

sorry for my english.

thanks
[G3 Themes and Apps] MoBluey:
Got boot loop when I tried to boot back to ROM #1 running ANHD HG, and cm12.1 as secondary
[G3 Themes and Apps] rammy1991:
dual booting cant be as easy as this one, thanks devs/OP :D:D

i can confirm its working smoothly with Chupa Chups 4.2 and cm12.1 :good::good:

i cant able to patch from phone app, its always throw error(unsupported file), so i patched from windows version of this app ;)

now waiting for app sharing, thanks again :good::good:
[G3 Themes and Apps] LupusGrande:
The patcher works great, but when I switch back to the primary rom then go back to the secondary rom I get constant messages saying com.android has stopped. This has happened with every secondary rom I have tried (Euphoria, CM 12.1, and AICP). If someone could help me with this that would be great. My primary rom is Validus 8.0 and I have a VS985.
[G3 Themes and Apps] joshw0000:
This is working great on my Verizon G3. Euphoria runs flawless as the secondary ROM. I'm trying to install xposed but when I patch the zip and flash it, it fails. Anyone have luck with it?

---------- Post added at 03:25 PM ---------- Previous post was at 03:03 PM ----------

I'm running Sky Dragon and Euphoria on my VS985. I've toggled back and forth multiple times without issues. How did you flash the secondary ROM?
[G3 Themes and Apps] joshw0000:
OK, it looks like Xposed uses SDK 21 but the patcher updates it to SDK 22?

Here's the error I see when flashing:

"Wrong SDK version: 22, expected 21 - 21"

Anybody know of a work around?

EDIT - Disregard. I found the Arm 22 Xposed for 5.1 Lollipop.
[G3 Themes and Apps] LupusGrande:
I just patched it with the app and flashed it. Tried with multiple roms at this point; same error every time:confused:
[G3 Themes and Apps] jurington:
I just installed the latest snapshot today and I haven't had any errors going back and forth. And I have a vs985 running kit Kat skydragon as primary and the latest Oct os 5.1 as secondary.
[G3 Themes and Apps] RL77LUC:
Same problem here... CM12.1 as primary ROM, which is working great. Flashed AOSPA-L with this as secondary (on /system), it boot fines until I go back to first ROM (bootloop after that). If I wipe the folder mentioned above, it works again (but this is a pretty big issue...).

Also, could it be possible to use external SD as destination for ROMs ? That would be awesome !

EDIT : Also tried MIUI, it does not work at all. After flashed patched version (as secondary on /system), it reboots, shows LG boot screen for a pretty long time (more than usual), then reboot again to LG boot screen and that times it goes to recovery. Wiped /system, deleted /data/multirom and reflashed primary ROM fixed the issue but that scared me a little.
[G3 Themes and Apps] lukas77:
I don't have any issues with switching Roms back and forth and I install, update and play with different roms often. Can't help as I'm not a developer of this app.

MIUI is too big to install it as secondary or multi, our cache partition is approx 600mb and even if you hardly debloat /system MIUI is still too big.
[G3 Themes and Apps] RL77LUC:
Too bad, I really wished that I could use both of these roms...

I've ~1.5GB left for second system, so it shouldn't be the problem with MIUI, and it just installed fine.
[G3 Themes and Apps] lukas77:
1.5gb should be enough. I don't know what's the problem then. You can patch and install but it's not boot miui?
[G3 Themes and Apps] RL77LUC:
That's it : When I reboot right after recovery, it does the bug that I've described above.

However, this is not the biggest issue : If we can't keep the data because of that bug, it doesn't really interrest me :/.

EDIT : I forgot to tell, but my /data partition si formatted in F2FS, not EXT4. Maybe there is a problem with that.
[G3 Themes and Apps] lukas77:
I think that could be the problem. I installed MIUI as second and all working.
[G3 Themes and Apps] chenxiaolong:
Those who have issues with the secondary ROM crashing likely have an AOSP-based ROM as the primary ROM. This is caused by the following line in the kernel's ramdisk:

restorecon_recursive /data

which (incorrectly) changes the SELinux contexts of the data files for the secondary ROM. There are 3 options for fixing this:

Patch and flash primary ROM

(Or) Patch and flash a compatible kernel for the primary ROM

(Or) Boot into the primary, go to ROM Settings in the app, and tap Update Ramdisk. Be sure to make a backup first if you use this method since some people have had issues with this in the past

Once that's done, the primary ROM should no longer mess with the SELinux contexts of the other ROMs.
[G3 Themes and Apps] callmeshulah:
d851 stock rom primary and pacrom secondary so far both working great. thank you for this.
[G3 Themes and Apps] pikachukaki:
Nice app but i flash flexos as 2n rom and it hungs all the time...the screen isn't responsive...its the rom or its the apps fault??
[G3 Themes and Apps] joshw0000:
Are you setting the kernel per the instructions?
[G3 Themes and Apps] rossonero82:
Hmm, maybe this is a stupid question. But I got CM12 on my phone now, is it possible to make it the secondary rom and install a stock rom as the primary?
[G3 Themes and Apps] diogo.sena:
I'm in another setup right now and can't test..

but i was not using an AOSP rom as primary, and had the issue.
[G3 Themes and Apps] nikomedes:
where to install

I need some explanations;

I am on stock rom (rooted+twrp installed), do i need to install any other apk, patch, kernel other than Dualboot patcher apk.

I have installed dualboot apk, downloaded resurrection rom zip, gaaps zip and patched them by dualboot patcher.

Then what should I do? direcly flash resurrection zip and gaaps zip via twrp? I do not want to touch stock rom and it should stay as primary, so i should install second rom in /cache, but twrp do not ask me where to install.

what should I do?
[G3 Themes and Apps] jurington:
When you're in the Rom section of the dual boot app there is a button down in the bottom right. Tap that and that will let you flash the patched Rom and gapps, and if I remember right it will ask you where you want to flash it at. And after it's flashed you tap the secondary Rom and it will say successfully switched and then go to the menu in the app and hit reboot and it'll reboot into the Rom you just flashed. Then when you're in your new Rom install dual boot apk, and then when you want to go back to your other Rom just tap it and when it tells you it changed just hit the reboot option in the app again. I hope this clears things up for you.

And make a backup first just in case something happens.

Sent from my VS985 4G
[G3 Themes and Apps] nikomedes:
Thank you for explanation, it is done :D
[G3 Themes and Apps] tayyab_94:
For some reason this is a hit and miss for me.

I have a D855/32GB. Primary is blisspop 3.2 5.1.1 and minimal edition gapps 5.1.x

I've had success with RR bit didn't use it for more than a day. Decided to switch over to cloudy G3 as secondary. Downloaded the 1.5GB zip file, patched it, flashed it but phone won't boot into cloudy. Am I correct in assuming no GApps package is required with the cloudy zip file?

After that I decided to try fusion 6.0. Running the latest Nightly build. First two times I flashed it, play store didn't show up? Then the dual boot app started FC. Updated it to the latest snapshot and fixed that problem. 3rd time it worked. Been using it since yesterday, switched back and for multiple times without an issue.

However after about 24 hours of use, I can't seem to switch back to blisspop? Says successfully switched ROM but everytime I boot, it boots back into fusion.

All flashes were made in the secondary slot.

Any help appreciated.

Edit: Tried reflashing fusion to secondary in attempt to overwrite any problems. Still can't switch even though it says switched successfully.

Then I tried flashing resurrection remix again to secondary to overwrite fusion. Got bootloop. Now flashed back fusion and still can't switch back to blisspop.

Is my only option to simply restore nandroid? Any ideas what caused this?

Edit: Managed to get back into blisspop by repatching the zip file and flashing as primary ROM upgrade. Haven't tried to switch since. Still, if anyone could clear some things up as to why all this might have happened?
[G3 Themes and Apps] ideal_josh:
Does it support the same app Data

please, would this mod use the same App Data, been looking for dual boot that supports this. like continuing my whatsapp chat, or games on either of the two roms, please a reply would be appreciated
[G3 Themes and Apps] tayyab_94:
I've used titanium backup to restore apps and data without too much trouble. You couod try that.Although I've read some places that restoring app data across ROMs can cause FC for some apps and other various issues. Some ROMs even specifically state not to restore using titanium backup. Not sure why though.
[G3 Themes and Apps] ideal_josh:
Thank you for replying, i do know about Titanium Backup, im guessing u dont really get my question. Dont u think it would be awesome to have two roms and continue what your doing on either rom, i used Whatsapp as an example because when i switch roms, the chats make little or no sense because part of the chat is somewhere else (the other Rom). Also i used games because after going so far in a game, having to do it again on the other Rom is discouraging.

Thats what i want to find out, if it uses the same App Data folder, so both roms NON SYSTEM folder can be consistent. Thanks anyways. :good:
[G3 Themes and Apps] Quote100:
App sharing is still in development but will come soon as said by [MENTION=4277844]chenxiaolong[/MENTION] once you have app sharing what you just asked about will be possible
[G3 Themes and Apps] Scrine:
I have a problem with the installation . I made a patch CM12.1 and Gapps rebooted in recovery , but I can set the CM but can not install Gapps why it gives an error . What to do?:confused: ROM is loaded without Gapps
[G3 Themes and Apps] jurington:
I'm pretty sure app sharing is a go right now
[G3 Themes and Apps] Quote100:
The app sharing build is finally up! But I want to confirm it working so does anyone have a d850 and have you updated the ramdisk to use app sharing?

Edit: Never mind I tried to update it and it failed
[G3 Themes and Apps] jurington:
Yeah I tried it too and threw me into a bootloop and and to restore a backup and I'm on a vs985
[G3 Themes and Apps] Quote100:
Yep I had to restore a backup before too. Can't wait for that to be fixed
[G3 Themes and Apps] jurington:
Yeah it's gonna be awesome when the app sharing is in working order
[G3 Themes and Apps] jurington:
When I update the ramdisk with the latest snapshot it asks me to reboot, and then after its done rebooting I come back to having pretty much every app gone. I don't have a browser or titanium backup, and I can't get to my internal or external sd cards. So I have to restore a nandroid to get back to square one. What can I do to pull a log or help diagnose the problem? Any help would be great.

Sent from my VS985 4G
[G3 Themes and Apps] Quote100:
consult [MENTION=4277844]chenxiaolong[/MENTION] i think he has some sort of flashable that catches logs
[G3 Themes and Apps] J M P:
Interesting one
[G3 Themes and Apps] staxtopoutsa:
followed every step , cm12 booted, installed dual boot apk and tried swiching back to primary rom but got stuck on the LG logo.. any fix for that? d850
[G3 Themes and Apps] Quote100:
Do you have a backup? If so flash the system and boot partitions from it
[G3 Themes and Apps] eNkodex:
Works as well! Stock LG G3 (D851) Lollipop (Primary) w/ CyanogenMod 12.1 (Secondary in System) both Rooted! :good:

Using the version: DualBoot Patcher 8.0.0.r1278 Apk.
[G3 Themes and Apps] sabresfan:
Latest update is awesome. I have Aupoprimes stock LP as primary. Paczilla as dual and Blisspop in the data spot. Considering adding another in a second data slot.
[G3 Themes and Apps] joshw0000:
Wow, I didn't realize how many updates behind I was until I saw your version #. Updated now. :)
[G3 Themes and Apps] diogo.sena:
app sharing still not working?
[G3 Themes and Apps] Quote100:
trying to update my ramdisk in the latet build sent my lg g3 into a fastboot loop fixed by flashing a backup i had