yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 i9505 Original Android Development] gaww:
I am running 2 TW ROMs - Primary and Multisot 1.

It is unlikely you could flash either as secondary, as they together they will be too large. In order to fit as a multi, you have to also insure you will have room enough for the smaller one in cache (the largest is the primary).

However - you would possibly have enough room in ExtSD, or possibly in data partition (have not tried that, as my internal SD is petty full).

---------- Post added at 05:12 PM ---------- Previous post was at 05:04 PM ----------

Does your miui use aroma? Take a look at ExtSD space with the utility zip. Hanging up on start screen is often due to running out of space after flashing (but would not expect that in ExtSD).

I would wipe the external, download, and reflash miui again - it might clear up.
[Galaxy S 4 i9505 Original Android Development] steno3131:
Thank you for your reply GAWW, it is enough space on the external sd.

I did not understand what you mean when you say you must use the miui aroma,

Use the TWRP Recovery 2.8.7.0 must also install a module aroma?
[Galaxy S 4 i9505 Original Android Development] JoshDaWhite:
Tested.Working on my sgs4 i9505 international version.Good job!
[Galaxy S 4 i9505 Original Android Development] steno3131:
I did other tests with various miui to S4 all negative stops during boot. In my dual boot patcher Nen is compatible with the ROM MIUI ROM least if the Primary is lollipop.

Too bad because this is a big limit for this program. Multi boot with the miui going well instead had problems with other Roma.

If you have other suggestions feel with some other product for multi-boot Android.

Thanks anyway
[Galaxy S 4 i9505 Original Android Development] justgamer01:
Can we use this patcher for the S3 i9300?

Gesendet von meinem SM-G928F mit Tapatalk
[Galaxy S 4 i9505 Original Android Development] JhoonB51:
[MENTION=6707733]steno3131[/MENTION], it is possible you do not have enough space to build the image for multiboot, when I don't have enough space on internal it tries to make the image on the sd card....but only with some roms. It usually takes about 2.5gb for a tw rom.
[Galaxy S 4 i9505 Original Android Development] yilun:
Better not try

(Or that) [MENTION=2778919]sronweb[/MENTION]
[Galaxy S 4 i9505 Original Android Development] sronweb:
Yes. It's compatible
[Galaxy S 4 i9505 Original Android Development] sronweb:
As we can see from the patcher list this phone has been added in the list, so Chen make it working with this phone. We should consider that memory size is not much anyway.
[Galaxy S 4 i9505 Original Android Development] yilun:
Oh, my name is also Chen, was wondering how the hell you knew my name for a couple seconds lol!
[Galaxy S 4 i9505 Original Android Development] sronweb:
What a coincidence, I don't know you :) It's chenxiaolong, the designer of the patcher. :good:
[Galaxy S 4 i9505 Original Android Development] karkasss:
I have same problem as you mentioned. In case of me, all kitkat roms were not booted under Lollipop primary rom. Do you have any kitkat rom fully working on sub-roms?

[MENTION=4277844]chenxiaolong[/MENTION]

Would you move the flashing button (red circle button)? It‘s hard to click the 3dot menu of sixth rom. Most of times pushed red button instead of 3dot
[Galaxy S 4 i9505 Original Android Development] edyny1:
What is the best patcher app version to use for g920t/925t? While on Sick as hell v7 i was able to boot a secondary rom with no problem, now with newest v9 it bootloops. See picture attached
[Galaxy S 4 i9505 Original Android Development] gaww:
I have TW KK as primary, Lollipop TW on a multislot, and MM on ExtSD. Never had problems flashing and booting with this setup. The only problem I had was trying to flash a GAPPs for the MM that used aroma.
[Galaxy S 4 i9505 Original Android Development] karkasss:
Because you didn't have kitkat rom on multi or ExtSD, did you?
[Galaxy S 4 i9505 Original Android Development] haimann95:
Any way to get support for the tab s 8.4 lte (SM-T705)?

All files needed can be provided by me.
[Galaxy S 4 i9505 Original Android Development] steno3131:
ok to me but still not working. the log attached to my previous post no one can help me?

If I do not solve the problem I try to install the multi-boot so the miui works well
[Galaxy S 4 i9505 Original Android Development] TheDarkKnight:
I wanted to flash a ROM into extsd-slot 1 where there was already a ROM.. So, I thought I would keep the system.img and install the new ROM without creating one. So, I wiped system (thinking that it'll only remove files inside the image), data and caches from the app. And..... I'm now left with system data having some 2.5 GB. I had tried wiping multiboot files from the app and it successfully removes this image but I thought it wouldn't be removed if I only wiped system.

Any ideas how to regain that option?? I don't want to try the command prompt way on a PC.
[Galaxy S 4 i9505 Original Android Development] gc_geforce:
I am trying to backup my diferent ROMs and I am having a problem with running the "mbtool_recovery" cmd, I keep getting "Permission denied" for example I get this running "adb shell MBTOOL_NO_MULTICALL=true /tmp/mbtool_recovery backup --help"

I am able to copy the file to the /tmp and mount system, but I cannot run the mbtool commands... What am I missing?

edit:

I just got it working, I had to go into the shell and run "chmod 755" on the mbtool_recovery to make it be able to execute for me.
[Galaxy S 4 i9505 Original Android Development] gaww:
No
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
Hey everyone, hope you all had a great New Year! :D

The year's off to a good start with the new 8.0.0.r2058.g141474d snapshot. This release brings a bunch of fixes for the core functionality of the patcher. Most importantly, the app now uses Android's Storage Access Framework APIs, so it can write to the external SD without root or any other hacks and modifications. However, due to this change, when you choose a file to patch, you'll also have to choose where to save it (similar to File -> Save As on traditional computer programs). This is a security feature of Android and there's nothing I can do to change it.

The second important change is that I've patched the fuse-exfat driver to work with the changes in Marshmallow. If your SD card is exfat formatted and you are dual booting a CyanogenMod 13-based ROM, just update the ramdisk and the ROM will happily mount your SD card again. Magic! (Behind the scenes, the ROM's buggy fuse-exfat build is overridden by mine).

I've submitted my patch to both the upstream project and to CyanogenMod. If your favorite Android 6.0 ROM is not CM13-based and exFAT is broken, please ask the developers to merge the patch.

Upstream: https://github.com/relan/exfat/pull/18

CyanogenMod: http://review.cyanogenmod.org/#/c/126599

NOTE: If, for whatever reason, you're running a pre-KitKat ROM, do

NOT

upgrade to this release. You will lose the ability to patch files. A fix is coming soon.
[Galaxy S 4 i9505 Original Android Development] Wyzp:
Is it possible to add support for zerolteskt (SM-G925S) ?
[Galaxy S 4 i9505 Original Android Development] gc_geforce:
Hello chenxiaolong,

I love using this dual boot app, the only problem I am running into right now is that I have 2 partitions on my ext SD card, a fat32, and a ext4. I am using the EXT4 partition for app2sd and the fat32 partition for everything else, the problem is that the dual boot patcher app that you run in the ROM for switching and creating slots does not see the FAT32 partition for the extsd slots, it only sees the EXT4, and then when I boot into recovery it only sees the fat32 partition for the extsd slots and not the ext4 partition. So I cannot backup any of my extsd slots in recovery, or switch to those ROM in the extsd slots. Is there a way to have the dual boot patcher app to create and patch files for the FAT32 partition and not the EXT4 so that I can backup and switch to any extsd roms in recovery?

Also for some reason I cannot use the latest version 8.0.0.r2058.g141474d of the dual boot patcher app it keeps FC, I have to go back to the 2037 version.

edit:

I got the lastest app working, but it still puts the extsd roms in the EXT4 were TWRP recovery cannot see it.

Thanks
[Galaxy S 4 i9505 Original Android Development] soparky57:
How do got completely remove dual patcher?
[Galaxy S 4 i9505 Original Android Development] Technical:
Uninstall the apk and flash the zip file removing all ROMs.
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
lol I love the warm weather :D Partly because my bedroom is an absolutely freezing 55°F during the winter haha
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
Thanks! This has been fixed in 8.0.0.r2058.g141474d and newer. It no longer uses ugly hacks for accessing files. As a side effect, this means the app can now write to the external SD on Android 5.0 and newer.
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
See my post here: http://xdaforums.com/showthread.php?p=64143880#post64143880

I don't AROMA is ever going to work properly on Snapdragon 805 devices (Note 4 and Nexus 6) :(
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
LOL, that's a good one!
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
Fixed in 8.0.0.r2075.ge06e12d :) The app will now let you scroll more so the last item is not blocked by the floating button.
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
The problem is this:

01-03 12: 18: 48889 10772 11280 W libmbp: libarchive: Unrecognized archive format

The boot.img file in the ROM is compressed in an uncommon way. Could you send me a copy of that file?
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
Do you know where the FAT32 and ext4 partitions are mounted? The external SD card is detected looking at the following paths (in the order shown):

/raw/extsd

/external_sd

/external_sdcard

/extSdCard

/storage/extSdCard

/storage/sdcard1

The problematic one is probably /raw/extsd, which is created by the patcher. The partition that is mounted there is the last one detected by the kernel, which is usually the last partition on the SD card. I'll probably change the code so that it always uses the first partition. That way, the behavior is more predictable.

EDIT: By the way, what is the partition layout on your SD card?
[Galaxy S 4 i9505 Original Android Development] gc_geforce:
My fat32 partition is located at /storage/extSdCard and my ext4 is located at /raw/extsd.

And the fat32 partition is first and the ext4 is the last partition on my SDcard.

edit:

So if you change it to always use the first partition that would fix this problem! and people can still use apps like app2SD or link2SD and use the second ext4 partition for adding more space for apps.

Thanks for your help!
[Galaxy S 4 i9505 Original Android Development] pvsgh:
I really like this new version :good:, it remembers the last directory when selecting multiples files to patch.
[Galaxy S 4 i9505 Original Android Development] TheDarkKnight:
Thanks :o

Back to business ;).. I tried installing the system.new.dat ROM after editing the kernel line with the one that worked in /system ROM in the updater-script and it seems to have some effect. :D It finishes flashing the ROM within 5 seconds :confused: and doesn't show any errors. It even shows "Install Complete" and that boot partition updated. It seem to have only flashed the kernel. Anyway, I'm attaching the recovery.log but there seems to be some thing weird about it. See for yourself.

Thanks again..
[Galaxy S 4 i9505 Original Android Development] steno3131:
This is the boot image of Rom that I try to install

Do you think you can do something for the roms miui?
[Galaxy S 4 i9505 Original Android Development] steno3131:
This is another link for the latest MIUI7 version 6.1.1

http://en.miui.com/download-110.html
[Galaxy S 4 i9505 Original Android Development] nutpants:
I am having issues trying to get exfat 64gb external sd cards to mount in secondary roms with the dual booter

I'm having issues with various 4.4.4 kk cm based roms on the

S4, note 3, s5 Canadian phones.

On some it mounts read only under raw others nothing at all.

I've checked the cards re formatted, re installed from scratch etc..

The tw primary Rom has no issues even installed as the secondary Rom.

I've updated to the newest build of dualboot, (Which I noticed had some fixes for exfat)

(The s5 900w8 mounts RO at raw now before was nothing)

Should I try to re install everything from scratch again?

Re patch the roms?

Any idea of a fix

I don't mind getting dirty with a text editor and system files.
[Galaxy S 4 i9505 Original Android Development] gc_geforce:
What I did to get around the exfat and some ROMs like CM13 6.0.1, I reformatted my 64GB SDcard to FAT32. And everything started working again until I changed my 64GB to 50GB fat32 and added a 10GB ext4 partition for app2sd, then dualboot app was installing my extsd ROMs to my ext4 partition and not the fat32.
[Galaxy S 4 i9505 Original Android Development] bilbonotry:
Hello,

I still cannot boot ROMs on my 128 GB external SD. I tried again with the exfat change patcher version but still no joy. I tested both a 16 and 128 GB SD formatted in exFAT, no issues with the 16 GB but ROMs do not boot on 128 GB. Here are the logs after a failed boot.
[Galaxy S 4 i9505 Original Android Development] bilbonotry:
I also tried to backup a ROM on a data slot and restore to extsd slot but no difference, still 'Failed to find block device' at boot in kernel.log
[Galaxy S 4 i9505 Original Android Development] 911-Future_Maker:
First Happy New 2016 to all! :victory:

Now Salman, you lost the system.img on your extsd because you wiped the system partition friend. The app will keep it if you only wipe data, cache or dalvik. I don't get it why someone would want to flash a new rom over a previous without wiping system, the only case could be when you're a dirty flashing an update or newer version of the same rom. It's not healthy to dirty flash MIUI over AOSP for example. :laugh:

I'll guess you tried to skip the recreation of the system.img on your extsd right? Yeah, that could be boring and it takes a time even on fast cl.10 cards.

Meanwhile I'm still using the 1778 build, I'm sad I can't try a new fresh builds as I'm using a MTK device and a strange problems appear here and there. These problems are pretty much zero in 1778. So I'm happy anyway. :)

[MENTION=4277844]chenxiaolong[/MENTION] I'm still curious bro, why a quatro multiboot setup would survive a storage swap on primary? I'm interested to know. :silly:
[Galaxy S 4 i9505 Original Android Development] TheDarkKnight:
Yeah, takes a long time.. I'm using the last debug version Chen gave.. Working just fine for me.. No bugs..
[Galaxy S 4 i9505 Original Android Development] gc_geforce:
I was able to backup and restore to different slots 2 of my ROMs, the only thing that would help me make it easier in working with a SDcard that has a fat32/exfat partition and a ext4 partition is to have the dual boot app use the first partition instead of the last partition.

This Dual boot app is the best! thank you chenxiaolong
[Galaxy S 4 i9505 Original Android Development] karkasss:
[MENTION=4277844]chenxiaolong[/MENTION]

Specific rom is not patched by dual patcher since 2058 version.

(~2037 is OK to patching)

Please tell me which more data I provide to you if you investigate?

Thanks.
[Galaxy S 4 i9505 Original Android Development] xX_dArk_bLaZe_Xx:
So I'm in my primary rom and I'm trying to enable the share app data and I keep getting a message saying update ramdisk...?? What do I have to update?
[Galaxy S 4 i9505 Original Android Development] monkteo:
dualboot icon click - rom's click - 3dots primary rom click - scroll down (update ramdisk) click

ready to go !
[Galaxy S 4 i9505 Original Android Development] MBariya:
[MENTION=4277844]chenxiaolong[/MENTION].

Feature request.

1. App updater in built if possible. So reduce time and we can increase update fast.

2. Device checking bypass during zip file flashing.

I am using Note 4 trltexx Device with primary Touchwiz based rom and secondary CM13 based ROM.

now problem is when i flash patched zip from CM13 then it gives error as patch version is for trlte.

But when i am on Touchwiz rom, no device problem.

I know the fix by adding some code to Build.prop, but every time i need to edit build.prop during nightly flash.

which is irritating.

or need to flash from recovery.
[Galaxy S 4 i9505 Original Android Development] xX_dArk_bLaZe_Xx:
Thanks! Got that updated but I just get binary image is not compatible error and but everything works fine when I boot up into the primary ROM (TW).

I got it updated though. But now I went and selected every app I wanted shared data to and still nothing. Like text messages do not appear in my secondary rom. :confused:
[Galaxy S 4 i9505 Original Android Development] Technical:
Is there any way to increase the data partition of the secondary ROMs?

Right now, I got "storage limit" errors very easy while installing/restoring apps.

Are the app installed in the internal storage even when I've patched to external?
[Galaxy S 4 i9505 Original Android Development] TheDarkKnight:
Yes.. Data of all multiboot ROMs are stored in /data/multiboot/.. I don't know if there is any way to change that.

---------- Post added at 06:23 PM ---------- Previous post was at 06:14 PM ----------

Text messages cannot be shared. Nor call logs, contacts, etc due to the complex structure of Android. See this post by Chen: http://xdaforums.com/showpost.php?p=64303250&postcount=7989

Other apps can have their data shared across ROMs. Steps:

Select share data in a ROM.

Reboot to the same ROM. (Important!!)

Install the app in a multiboot ROM

Select share data in this ROM.

Reboot.
[Galaxy S 4 i9505 Original Android Development] gc_geforce:
I am setting up a friends phone which is a Note 2 (t0ltecan) and has KK as primary and I am trying to set it up so I can install a rom in the extsd slots. The problem is after I update the ramdisk this phone goes into a reboot loop, how can I get around this? It looks like version 2018 is the first version to support this phone?
[Galaxy S 4 i9505 Original Android Development] stanguay:
For me the 2037 version work great with my t0ltecan
[Galaxy S 4 i9505 Original Android Development] gc_geforce:
Do you have KK (TW 4.4.4) as your primary? and you had no problem updating the ramdisk?

Thanks
[Galaxy S 4 i9505 Original Android Development] stanguay:
Yes, my primary Rom is DN4 TW.

What I did, I patched the kernel for primary and I flash it, no more problem after that.
[Galaxy S 4 i9505 Original Android Development] joeb690:
Update the primary ROM?

Patch the zip for primary and flash it. The "primary" installation target is designed so that other ROMs won't be affected when you want to flash something for the primary ROM.

Do you mean patch the ROM in dual boot patcher and then flash in twrp recovery, as I am prevent from flashing inapp?

Thanks for your great work.​
[Galaxy S 4 i9505 Original Android Development] Technical:
Thanks.

Hmmm... So it's not really "external card" then... As most of the ROM is kept in the internal storage.

Why can't we mount /data/multiboot in external sdcard?
[Galaxy S 4 i9505 Original Android Development] bilbonotry:
Yeah, for me it should be the number 1 feature to add, with all due respect to Chen
[Galaxy S 4 i9505 Original Android Development] TheDarkKnight:
Well, not really.. But /system is on the SD card. That's the 2.5 GB system.img on /sdcard1/multiboot/extsd-slot*/. That saves some space on the /system/
[Galaxy S 4 i9505 Original Android Development] Technical:
Thanks. But it's not enough... I need more space for app data.
[Galaxy S 4 i9505 Original Android Development] TheDarkKnight:
This is what I said..

As you can see only /system/ is on /raw/extsd/. The others are on their respective folders..

But, it shows:

system is image file: true

cache is image file: false

data is image file: false

So, maybe, there's (or will be ;)) some way to make those image files on external SD card.

I only said I didn't know. I also wish for such a feature.
[Galaxy S 4 i9505 Original Android Development] moisha:
On three different ROMs, rebuilding last week from the git, patching zip on hlte to data-slot, I consistently get :

01-09 08:45:59.098 17314 18353 W libmbp : minizip: Failed to copy raw data:

Previously patch reported OK, but actually failed with "libarchive: Unrecognized archive format" error.
[Galaxy S 4 i9505 Original Android Development] demym:
Release:<br />

<br />

Multi Boot Backup & Restore Utilities V4.0<br />

<br />

Finally I have combined all operations into a single AROMA zip! <br />

<br />

Functions:<br />

<br />

-Backup for Secondary, multi-slot-1, multi-slot-2, multi-slot-3<br />

<br />

-Restore for Secondary, multi-slot-1, multi-slot-2, multi-slot-3<br />

<br />

-Delete backups and delete multiROMs<br />

<br />

PLUS!! <br />

<br />

You can restore a backup from any slot to any other! <br />

<br />

For now you MUST:<br />

<br />

-Patch a suitable kernel before hand corresponding to the desired slot.<br />

<br />

Rename your backup folder to the desired slot. <br />

<br />

Eg.<br />

<br />

'/external_sd/dual-boot-bk/dual'<br />

<br />

to<br />

<br />

'/external_sd/dual-boot-bk/multi-slot-1'<br />

<br />

Then run restore and after flash your patched kernel. Note this will also overwrite whichever secondary kernel you have backed up so you may have to flash and set two kernels. <br />

<br />

I will improve this function in the next version<br />

Enjoy!! <br />

<br />

https://www.dropbox.com/s/pwq2kxxlwjao0kw/MultiROM_backup_restore_V4.0.zip<br />

<br />

<br />

HI, I have a primary (tw), nothing on dual and a RR 6.0.1 on multislot1. I tried to backup multi-1 (from twrp) but it keeps saying that I don't have a suitable multi-1.

What am I missing ? I'm using version 4 of multi backup resto re.

Thanks in advance

Inviato dal mio GT-I9505 utilizzando Tapatalk
[Galaxy S 4 i9505 Original Android Development] bhushan2k:
can someone tell me how to delete rom from rom section of dualbootpatcher app??? i cleared everything from wipe rom ...but the entry doesnt go from rom section...how to do that??i had flashed that on externalsd n now i need to delete that.. n flash new different rom on internal memory..basically i want to delete an entry of rom from the rom list...
[Galaxy S 4 i9505 Original Android Development] Dnorris55:
Exit and restart Dual boot patcher app.
[Galaxy S 4 i9505 Original Android Development] bhushan2k:
omg..worked.. thanks.. where were u?:D
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
Tracking issue here: https://github.com/chenxiaolong/DualBootPatcher/issues/35
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
8.0.0.r2101.gf6c3ae8 fixes a number of file corruption and invalid zip bugs on Android and Windows. Anyone who installed 8.0.0.r2058.g141474d or newer is strongly recommended to upgrade. This affects the apps only, so no need for a ramdisk update; just update the app.

Also, some of you have started reported bugs on GitHub: https://github.com/chenxiaolong/DualBootPatcher/issues I've found that I really like the GitHub issues platform as it makes it very easy for me to sort and classify bugs and respond to them. I'd encourage others to report bugs there as well. Stuff might get fixed quicker :)

EDIT: 8.0.0.r2102.gd35e5db is out now and I strongly recommend anyone running 8.0.0.r2007.gfa298ab or later to upgrade. I just fixed a bug (https://github.com/chenxiaolong/DualBootPatcher/issues/32) where if DualBootPatcher is opened once after reboot, two of the services continually restart every 10 seconds, possibly keeping the device awake.
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
That log was very, very helpful. It confirms that the kernel is indeed detecting the SD card 0.15 seconds after mbtool tries to mount it. I'll need to implement some sort of waiting procedure. I'm tracking the issue here: https://github.com/chenxiaolong/DualBootPatcher/issues/36