yashsingh1/xdaforums huggingface dataset:
[ZenFone 2 Android Development] raynan:
No problem!

On a different note, I'm going to try my hand at making flashable zips from TWRP backups; one will have the config partition for stock ROMs, the other CM13. I have 2 backups of config file from each and going between the 2 ROMs, restoring that partition works 100% of the time.
[ZenFone 2 Android Development] say99:
yes as I said things get changed in config partition, restoring it works. I will mention it in OP ;)
[ZenFone 2 Android Development] raynan:
Haha, its not that I didn't believe you. Are there any files or logs I can send you that would help? I noticed a lot of things in the config folder have kind of personal info.
[ZenFone 2 Android Development] ShadyGame:
That would be perfect, but too good to be true :)

looking forward to this
[ZenFone 2 Android Development] say99:
yes I know, I will experiment with my phone lol. BTW thanks bro ;)
[ZenFone 2 Android Development] mattwheat:
I've tried several times to get Multiboot to work. Still can't figure out what I'm doing wrong. I follow the directions to a "T" in the original post. Both in apk flashing and flashing via TWRP. the "Utilities" zip gives me an error everytime I flash. No matter whether its been patched or not or whether the ROM I'm flashing it to has been patched or not. I've patched 2 different Roms, and flashed their patched boot.IMG. and nothing. I've rebooted, and done every combination of patching and flashing I can think of since I couldn't get anything to work by way of the O.P. directions. Aroma never comes up, it errors out right after the line of script tries to start/open it. Here's a log.....

https://drive.google.com/file/d/0B2OabWtEBQcpLUgwLUFqODJiSTg/view?usp=docslist_api
[ZenFone 2 Android Development] raynan:
I don't think the utilities has been modified for our device. I get the same error, as well.
[ZenFone 2 Android Development] Grid4:
Probably the problem is with the recovery. Try updated twrp and then inapp flashing. The original OP is still fixing lot of problems based on the recovery.

On the side note,did anybody figure out how to update ramdisk for app sharing in stock as it works perfectly in custom but not in stock.:eek:
[ZenFone 2 Android Development] raynan:
I'm on the newest TWRP. To me, the main purpose of the utilities is to switch ROMs from recovery when it can't boot for whatever reason.
[ZenFone 2 Android Development] Grid4:
Well , i told this for inapp flashing :) .I have never used utilities as it never gets flashed for me in twrp(something bad with supersu binaries) . But i just fastboot flash stock boot whenever i have critical loop. otherwise inapp switching:)
[ZenFone 2 Android Development] Abd121:
Thank you gentlemen, you are truly heroes...
[ZenFone 2 Android Development] mattwheat:
Is there any initial boot screen like with "safestrap" ? Remember the initial boot screen with the skinny alien and you choose to boot to "safestrap" or continue to last used Rom?

And when you're switching roms from with in the APK do you reboot or is it kinda like when you run a Mac and dual boot Windows with the shortcut keys?
[ZenFone 2 Android Development] Tarunim Patel:
Please fix sim 1 related issue early
[ZenFone 2 Android Development] raynan:
Dude...you think they're not trying to?
[ZenFone 2 Android Development] say99:
we do have a workaround for that, if you go a few pages back you might get to know it
[ZenFone 2 Android Development] deathmaker06:
Recently found myself needing to dualboot but to some degree, this sounds too simple it actually scares me lol. I'll give this a go regardless though cause I really do need stock ROM to use a really fancy heart rate monitor that doesn't seem to work in CM13.
[ZenFone 2 Android Development] say99:
make backup of config partition before doing anything
[ZenFone 2 Android Development] 1981sebas:
Can you explain what's the config partition please ?
[ZenFone 2 Android Development] say99:
go to twrp and make a backup of config partition, it creates you personal details like mac and all, after installing another rom via dual boot when you switch back just flash that backup again form twrp and your sim will work back again

Sent from my ASUS_Z00A using IOS ;)
[ZenFone 2 Android Development] 1981sebas:
I dont have this option in twrp backup , i have :system-cache-data-factory-boot-splash. Is it in one of this folder after a backup ?

Thanks
[ZenFone 2 Android Development] 1981sebas:
Can you explain me how exactly you make backup of config partition ? I dont find anything on xda or google explaining it .

Thanks
[ZenFone 2 Android Development] raynan:
It should be a backup option in TWRP for our device. If you don't see it, update your version of TWRP.
[ZenFone 2 Android Development] 1981sebas:
I have latest 3.00 twrp. Its in twrp recovery / backup / config ? After a lost of sim i restore in twrp the config like a normal restore?
[ZenFone 2 Android Development] deathrowz_sri:
While RR 5.6.3, I tried to flash Prism stock on secondary. Repeated attempts gives me symlinks error. Both TWRP and built in flash. Any idea why?
[ZenFone 2 Android Development] say99:
will have to look, if you can provide me a few more info, it will help me better

Sent from my ASUS_Z00A using IOS ;)
[ZenFone 2 Android Development] Suhas_JS:
Off topic, sent from Z00a using IOS? :-/
[ZenFone 2 Android Development] say99:
got bored of cyanogenmod lol, just a joke[emoji14]

Sent from my ASUS_Z00A using IOS ;)
[ZenFone 2 Android Development] 1981sebas:
Can you please explain me where in twrp you can save config . Until I can save config and flash it when I switch , i cant use multiboot. Im on new twrp 3.0.0 and i cant find config anywere.

Thanks
[ZenFone 2 Android Development] deathrowz_sri:
Here are some screenshots. Hope this helps. Thanks..
[ZenFone 2 Android Development] say99:
push the created multiboot.log

Sent from my ASUS_Z00A using IOS ;)
[ZenFone 2 Android Development] deathrowz_sri:
Sorry my bad. Here it is.
[ZenFone 2 Android Development] Okazakee:
why when i install any rom on reboot the phone vibrates 3 times and i have to restore a previus backup?
[ZenFone 2 Android Development] say99:
never faced anything like that :( , if this happens try to pull logs from twrp
[ZenFone 2 Android Development] deathmaker06:
Haven't actually been able to get multiboot to work and have been slowly working on it. But now I'm completely stumped so anyone got any suggestions? These are the logs I get when it fails installing the secondary ROM.
[ZenFone 2 Android Development] brownstyle:
how to do this on asus ze550kl can u provide a step by step tut sir pls.​
[ZenFone 2 Android Development] troy5890:
Not compatible, and please don't quote the whole post
[ZenFone 2 Android Development] alboz83:
Hi, i have stock rom with stock recovery. I tried this app for to have e dual boot with a cm13, but when i flash the rom i get errors. Maybe the system partition is too small? Because in the "Space available" i see only 58,82mb available. Anyway i attach the Multiboot.log
[ZenFone 2 Android Development] say99:
low space,

[W] /system/multiboot/dual/system/app/LatinIME/LatinIME.apk: Failed to copy data: No space left on device

from this line onwards it couldn't find space.

Sent from my ASUS_Z00A using IOS ;)
[ZenFone 2 Android Development] alboz83:
Yes, as I had imagined. So i think that with stock rom is impossible to have dual boot because the stock rom takes up much space. I try to delete some app that i not use
[ZenFone 2 Android Development] say99:
you can try echoe or prism barebone, I left stock a long ago

Sent from my ASUS_Z00A using IOS ;)
[ZenFone 2 Android Development] alboz83:
Yes i always used Prism, but a few days ago i reported my zenfone to stock. Now i try to delete some app and install second rom.
[ZenFone 2 Android Development] nazagan:
You can install roms on your SDCARD or in the internal storage, /system partition has just 2GB.
[ZenFone 2 Android Development] 1981sebas:
My phone is always freezing when i flash echoerom or prism in secondary rom . Anyone facing this ?

Edit:work when i flash as secondary but even with saved config im loosing simcard. For me its only working with cm13 base rom like resurrection and xosp. As anyone been able to use prism or echoerom without loosing simcard ?
[ZenFone 2 Android Development] CriMe22:
I can't flash any ROM i got these error:

View attachment MultiBoot.log

Resolved i patch and flash the rom for data slot and it works
[ZenFone 2 Android Development] djtechno98:
hi, when i try to sharing app the app say me to update the ramdisk...i do that but when i reboot the phone not boot...remain in asus screen loop...how i fix this? reinstall or wipe rom?

edit: multiboot doing automatically a backup of previous boot.img...i just flashed img and all is ok! sorry =)
[ZenFone 2 Android Development] mattwheat:
Thanks for mentioning where you flashed the roms to. That worked for me too. All the other locations would work for some reason. But after I flashed to the "data" partition I could boot to the new ROM and set it up fine. But when I switched back to primary, it wouldn't recognize SIM Card 1. Then of course switching back to the newest ROM now it wouldn't recognize SIM Card 1. Had to wipe and start over by restoring a backup.
[ZenFone 2 Android Development] say99:
already a know issue, please do backup your config before doing anything.

Sent from my ASUS_Z00A using IOS ;)
[ZenFone 2 Android Development] SkylinerzEx:
For me, a workaround for the SIM problem is to turn on Airplane mode then turn it off
[ZenFone 2 Android Development] Russiamen:
[MENTION=7111568]say99[/MENTION]

You don't know how far it is for z008?
[ZenFone 2 Android Development] sirnono:
Hello,

I also have the Sim card problem.

The workaround to flash back the config partition through recovery only works for the primary rom for me.

And it it still a no go for other roms (located in the data partition).

Each time I reboot to another rom I lose the Sim Card and need to switch back to primary rom and flash with twrp the config partition.

Switching to airplane mode did not help

Any help or suggestions ?

thanks in advance

regards
[ZenFone 2 Android Development] tomusa123:
There are 3 files in download section

1)Android: DualBootPatcherAndroid-8.0.0.r2306.g6316ebd-snapshot.apk | MD5 | SHA1 | SHA512 (10.6 MiB)

2)Utilities: DualBootUtilities-8.0.0.r2306.g6316ebd.zip | MD5 | SHA1 | SHA512 (1.1 MiB)

3)Win32: DualBootPatcher-8.0.0.r2306.g6316ebd-win32.zip | MD5 | SHA1 | SHA512 (18.2 MiB)[/SIZE][/SIZE][/SIZE]

what is the use of second file ?
[ZenFone 2 Android Development] ChiDi9901:
You didn't read OP carefully. Basically, it's used for switching Roms.

Gesendet von meinem SGP611 mit Tapatalk
[ZenFone 2 Android Development] NewsTimes:
Hey guys,

Anyones can to fix non-signal when switch rom?

Sent from my Surface Pro 4 using ChromeOS!​
[ZenFone 2 Android Development] say99:
its something related to asus **** :( we are still lurking at it. We will update if we find something
[ZenFone 2 Android Development] 1boy1dr:
Oh the nostalgia, brings be back to when I tried multiboot my nexus 7 with Ubuntu. Now someone needs to port Ubuntu touch, could you imagine Ubuntu touch with convergence on our device? Ubuntu ran pretty crappy on the Nexus 7 (unity and 1gb of RAM do not mix well). But imagine on our ZF2 with 4 times the RAM and a x86 processor!

---------- Post added at 12:26 AM ---------- Previous post was at 12:24 AM ----------

There's work being done that allows Android to be run in chroot on Linux to seamlessly use Android apps, with that I wouldn't even need multiboot, I would ditch Android!
[ZenFone 2 Android Development] domacikolaci:
Would love to see Ubuntu run natively on my phone! XD
[ZenFone 2 Android Development] 1boy1dr:
Maybe I'll try figuring it out once summer begins assuming no one else has done a port. There's instructions for porting Ubuntu touch to unofficial devices, though I have no idea how, or if convergence will work.
[ZenFone 2 Android Development] say99:
inbox me on telegram. Will you?? I have something great ;)

username on telegram : say99
[ZenFone 2 Android Development] 1boy1dr:
Hmm, time for me to make an account on telegram.

---------- Post added at 04:32 AM ---------- Previous post was at 04:07 AM ----------

Messaged you on xda because telegram isn't working for me.
[ZenFone 2 Android Development] say99:
weird, ok :)
[ZenFone 2 Android Development] domacikolaci:
Awsome, please let me know how it goes!
[ZenFone 2 Android Development] Druboo666:
[MENTION=7111568]say99[/MENTION]

How to flash gapps

is it like flashing or any other method??
[ZenFone 2 Android Development] say99:
https://github.com/chenxiaolong/DualBootPatcher/pull/82

made a pull request for Z008 users ;)

as soon as this gets merged, Z008 users wil be able to use this app,

flashing Gapps is just like flashing your ROM, just proceed ;)
[ZenFone 2 Android Development] Russiamen:
Nice news.Thanks
[ZenFone 2 Android Development] Druboo666:
but every time i try to flash the gapps in failed do i need to also patch the the Gapps???
[ZenFone 2 Android Development] say99:
yes, you need to patch all the zips that you want to flash
[ZenFone 2 Android Development] adarshprakash:
Anyway to dual boot your nethunter.. [MENTION=7111568]say99[/MENTION]
[ZenFone 2 Android Development] 1boy1dr:
Why wouldn't there be?
[ZenFone 2 Android Development] adarshprakash:
I was able to dual boot stock as primary and cm13 in data slot. It was working fine

Patched the nethunter zip and flashed it. But I can't go beyond white splash screen while attempting to reboot. Am I doing anything wrong?:confused:
[ZenFone 2 Android Development] say99:
you flashed it where?? nethunter is not a ROM its rootfs, it works on your ROM and currently it works only on android M based ROMs.

you need to flash it just like you flash custom kernels, no wipe, only flash
[ZenFone 2 Android Development] adarshprakash:
I flashed it over cm13. And I have tried both nethunter and multiboot.. Thanks to you..
[ZenFone 2 Android Development] TanHung.Bio:
[MENTION=7111568]say99[/MENTION]

does the issue "lost sim1 when switch rom" fix in newsest version DualBootPatcher?
[ZenFone 2 Android Development] say99:
that's related to our phone, asus has ****ed it up :(
[ZenFone 2 Android Development] TanHung.Bio:
asus locked hardware or intel chipset?
[ZenFone 2 Android Development] say99:
no, actually we really don't know how our config partition gets messed up. This follows even when we jump back to cm 12.1 from cm 13
[ZenFone 2 Android Development] MonQue:
Hello! Can I use CM 13 in primary and stock in data slot?
[ZenFone 2 Android Development] MagicHero):
Yes)
[ZenFone 2 Android Development] MonQue:
I tried, but after I change os to cm, I can't change it back to superzen, bootloop( I installed SuperZen to data-slot
[ZenFone 2 Android Development] TanHung.Bio:
you patched wrong somethings
[ZenFone 2 Android Development] gul55:
My phone is a Z00A but the patcher says the says the device codename is "Z00A_3" and will not work can you add this codename to the patcher?
[ZenFone 2 Android Development] Russiamen:
Manual for treatment errors the device name in Multiboot.

1. First we need to install any Root file Explorer. For example ES File Explorer File Manager

2. Go to root partition, you will need to enable it in the settings of Windows Explorer "Root Explorer" to go into it.

3. Go to the system section.

4. Further, we find there two files - build.ze551.single.1p8GHz and build.ze551.dual.1p8GHz.

5. Open ES editor, and look for a line with the name of the device - Z00A_1. Remove the _1 in both files and save.

6. Restarting the device.

7. Rejoice!

For provided way thank BORETS24.
[ZenFone 2 Android Development] gul55:
Thanks works perfectly now.
[ZenFone 2 Android Development] ThienJerry:
:( how to fix sim slot1 unavailable :( :(
[ZenFone 2 Android Development] say99:
restore your config partition
[ZenFone 2 Android Development] ThienJerry:
Can you guide me to do it ?
[ZenFone 2 Android Development] :
Does this mean I won't be able to use SIM 1 at all in the original ROM?
[ZenFone 2 Android Development] ChiDi9901:
Please read some posts above. The answer is already there.
[ZenFone 2 Android Development] nicopi:
[MENTION=7111568]say99[/MENTION] how to backup config partition?in recovery?
[ZenFone 2 Android Development] say99:
use latest twrp, and you will see the config option in backup.
[ZenFone 2 Android Development] doublespaces:
You can't install win 10 mobile yet because the intel version has not been released, nor is there any information on driver issues.

---------- Post added at 02:48 PM ---------- Previous post was at 02:37 PM ----------

I'd love to have the intel version of win10m right now as well :)
[ZenFone 2 Android Development] Locazoo:
I would like to boot ubuntu-gnome 16.04 desktop which seems to have a very good touch support so far. How did an Asus Nexus 7 (2012) able to boot ubuntu using this same multiboot hack back then? Anyone knows?
[ZenFone 2 Android Development] DIXES:
I try flashing that DualBootUtilities.zip in TWRP and just got an error,

due to aroma installer no x86 support currently?
[ZenFone 2 Android Development] DIXES:
Does it support using a stock firmware as 2nd / 3rd...etc ROM?

If it does, should I modify stock firmware zip first for removing some files?
[ZenFone 2 Android Development] Technical:
I'm having issues trying to patch Gapps from Open Gapps (pico arm version).

I'm getting this error:

Error 64: Wrong architecture to set-up Open Gapps' pre-bundled busybox.
Failed to run real update-binary
Failed to flash zip file.
Destroying chroot environment
[ZenFone 2 Android Development] 1boy1dr:
Use x86 gapps
[ZenFone 2 Android Development] Technical:
Thanks. Worked like a charm.
[ZenFone 2 Android Development] Technical:
Now, new issues arrived (and I have to return to a nandroid...).

1. When I start the second ROM (in data slot) everything goes fine. On next boot, SIM card is not recognized. Returning to main ROM (ZenUI), card is not recognized too. Is it related to ramdisk? It's the only thing I can imagine could affect both ROMs. (I've tested with both enabled app and all app sharing disabled deleting the config file into multirom folder).

2. I cannot run multiboot utilities from TWRP. Maybe it's related to Aroma? I'm getting Error 2 and zip file cannot be flashed.
[ZenFone 2 Android Development] Russiamen:
1.Some useful information for those who are on m, was unable to solve the problem of the blade first SIM. Long suffered with this problem, tried all the instructions, but did not win the blade. Solved the problem as follows,after flashing and installing the second firmware, and in particular article 13 ,it changed the radio module is the same as in the main firmware(I have stock). And lo and behold, after rebooting and switching dumps did not. That's how it is.

1.5So, the method of scientific spear overcame blade has the Sim 1 in the primary system after a reboot of the minor when using the dualboot patcher. When patching files the location of vibiraem-minor, and when installing, select "change location", select "data" and call it. Similarly for the other files. After installation, you boot the second system and then load in the main slot Сим1 does not fall off

2.put dualbootutilities in your SD and update ramdisk
[ZenFone 2 Android Development] Technical:
1. But I am using data as the location. Just that it appends the name of the slot after that (-rr in my case). I'm not following you..., can you, please, rephrase?

2. But I have updated ramdisk and dualbootutilities is in my internal sdcard (I'll test in the root as it was in a subdirectory).

Thanks.
[ZenFone 2 Android Development] hi_blues:
deleted
[ZenFone 2 Android Development] Raj.S:
Why not for Z008???
[ZenFone 2 Android Development] hi_blues:
Check post no #114. detailed solution is there.
[ZenFone 2 Android Development] tito480:
Anyone having problems with dualbootutilities ? Everytime I try to flash this with TWRP i have a aroma error, please help me.
[ZenFone 2 Android Development] Russiamen:
https://www.youtube.com/watch?v=CYbJHMlaGOo

http://4pda.ru/forum/index.php?showtopic=679173&st=60#entry48620094

Sure,if you do not understand,use a translator
[ZenFone 2 Android Development] tito480:
I tried:

http://4pda.ru/forum/index.php?showtopic=679173&view=findpost&p=48431082

Same error on TWRP when i flash DualBootUtilities:

Starting AROMA

Update proccess ended with ERROR: 2
[ZenFone 2 Android Development] Druboo666:
I am trying to install secondary rom on my microsd card my rom install fine but can't install gapps

I patch my gapps with same id as rom as but what i am doing wrong?????
[ZenFone 2 Android Development] Technical:
Issue is on free space of system image on external sdcard.

https://github.com/chenxiaolong/DualBootPatcher/issues/95
[ZenFone 2 Android Development] nig0fl:
Move /raw/data to /raw/extsd

Have some way to move the /raw/data/multiboot to /raw/extsd/multiboot?

I have selected external, but only the system.img go to external sd card, the data still using my internal storage, using 15Gb of my internal data :(

Someone know some how??

Tks
[ZenFone 2 Android Development] Technical:
I'm not being able to use this tool in any way.

Each boot I lost the ability to recognize the SIM card.

The stock Zen ROM cannot recognize it after Resurrection Remix or CM Roms were installed.

And the same, after booting Resurrection Remix or CM again, it's their turn to lost the SIM card recognition.

Restoring a nandroid (system + boot partitions) is the only way to use the machine as a phone again :D
[ZenFone 2 Android Development] Technical:
Update:

1. The pairs Zen (stock) + Resurrection Remix or Zen (stock) + CM lose the SIM card.

2. The pair Resurrection Remix (main) + CM works.

3. The pair RR (as main ROM) + Zen in data slot also lose the SIM card recognition.

My conclusions:

1. Or this is a Lollipop (Zen) and Marshmallow (RR or CM) conflict.

2. Or this is an issue with Zen (stock) ROM.
[ZenFone 2 Android Development] sd3993:
What about DU+non stock and stock?

In the last version DU+DU brought my sim card back?
[ZenFone 2 Android Development] Technical:
DU+DU, same ROM twice?

I did not tested DU yet, but the core is CM isn't it? I think the behavior will be the same.

I'm dual booting RR and CM without problem right now.
[ZenFone 2 Android Development] sd3993:
Yes I was just testing to see what would bring back sim 1. I had the DU zip so i tried it and it worked. Further testing proved that any combination involving the stock(zenui) rom screws up sim 1.
[ZenFone 2 Android Development] Technical:
Yes, with ZenUI (stock) any combination make lose the SIM card recognition :(
[ZenFone 2 Android Development] DIXES:
Actually, there is a solution for using stock and CM13 without SIM issue.

You just need to replace this folder, "system/vendor/firmware/telephony" of CM13 (or any non-stock rom) with stock one.
[ZenFone 2 Android Development] sd3993:
So copy this from zunui to any other rom? i'll test as soon as my exams are over.
[ZenFone 2 Android Development] DIXES:
Yes. I've already used stock rom and CM13 (via Multiboot) a few days without SIM issue after doing that.
[ZenFone 2 Android Development] Technical:
What changes should be done in DualBootUtilities-8.0.0.r2468.gad0b0d3.zip file in order to get it work on TWRP 3.0.2.0?

Updater process ended with ERROR: 2
[ZenFone 2 Android Development] Technical:
Yes, worked like a charm.

I've did a .zip file to be flashed after upgrading the ROM (using https://play.google.com/store/apps/details?id=zip.me).
[ZenFone 2 Android Development] aizen_souske:
when will z008 get dual boot support?:confused:
[ZenFone 2 Android Development] say99:
isn't it supported?? I remember adding Z008 on my own [emoji14]
[ZenFone 2 Android Development] aizen_souske:
i cant find option to patch a rom file for z008...there is option for only Z00A version of zenfone 2....z008 is not there
[ZenFone 2 Android Development] Russiamen:
Z00A for both models(Z00A/Z008)