yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
Yes, everything should (fingers crossed) work after that.

EDIT: Everything meaning any type of slot, regardless if it's secondary, multi-slot, etc.
[Galaxy S 4 i9505 Original Android Development] rkrohan:
Okay. Thanks a lot
[Galaxy S 4 i9505 Original Android Development] TheDarkKnight:
I've attached the log. Thanks for looking into the issue.

I still have the back button issue. But I can live with it. :)
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
I missed your post with the logs from before. Support as been added in 8.0.0.r2612.gcdc522e.
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
Thanks! Can you post /sdcard/MultiBoot/daemon.log too? For some reason, the connection between the app and mbtool is failing. Everything else in the app, like switching ROMs, still works right?
[Galaxy S 4 i9505 Original Android Development] vitaly51370:
:victory: Great thanks! I and many other users of this phone, communicating on the famous site 4pda, very grateful for their support and hard work! Thank you! :highfive:
[Galaxy S 4 i9505 Original Android Development] niufy:
Hi there. Thanks for all your good work...you really awesome!!;) I have a problem. I have a Samsung Galaxy s7 edge (g935f) . I try to dual booting with dbpatcher but nothing. Didnt work. Please need your help.
[Galaxy S 4 i9505 Original Android Development] Technical:
Sorry, I do mean DBUtilities.

Although, it is not working for me, maybe due to aromafm errors.

Until now, I cannot manage to install Aroma File Manager in TWRP 3.0.2.0 in Asus Zenfone 2.
[Galaxy S 4 i9505 Original Android Development] ktetreault14:
Hey [MENTION=4277844]chenxiaolong[/MENTION] its almost that time. Root confirmed working in T-Mobile s7 edge and att also. Is it possible to get this running without recovery

T-Mobile S7 Edge

Latest Update PD8

Eng Boot - System Custom

Knox 0x0
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
Holy ****.

Now we just need an exploit for the bootloader and we'll be able to dual boot this darn thing!
[Galaxy S 4 i9505 Original Android Development] ktetreault14:
Ahhh I knew it couldn't be just that easy. Give it some time though
[Galaxy S 4 i9505 Original Android Development] monkteo:
post #9457

(read-read-read)
[Galaxy S 4 i9505 Original Android Development] vykintazo:
Is there a way to make system.img bigger than 2.4gb? Because I can't flash gapps, even smallest package. It fails due insufficient space.
[Galaxy S 4 i9505 Original Android Development] JoshDaWhite:
Hey.I have a samsung s4 i9505.I have installed a s6 port.In order to make it boot up,the Dev modified build.prop,now DBP recognises my device aa being a Samsung s6.That means I cannot dualboot,I cannot install boot ui.if I modify build prop to stock,the phone will be struck on lockscreen.So I was thinking if DPB could add some lines to build.prop like:

real.device.codename :jflte

real.xxxxxx.yyyyy:Samsung s4

real.ggggggg.uuuu:yy

Do youvunderstand?thank you for your help.
[Galaxy S 4 i9505 Original Android Development] fishersfish:
Relevant to dualboot patcher?

LOL and pass by...
[Galaxy S 4 i9505 Original Android Development] TheDarkKnight:
Attached the log. Yes everything else still works.

Thanks for looking into the issue.

EDIT: I tried to install Boot UI from a different ROM (a MM ROM) and it worked!!:o

Attaching the log as it maybe be of any help. But it sadly doesn't work. Yes, I updated the ramdisk of every ROM. Is it because of LP primary ROM?
[Galaxy S 4 i9505 Original Android Development] vykintazo:
Yes, because dual boot patcher makes too small image to flash to it more than one zip.
[Galaxy S 4 i9505 Original Android Development] KevinX8:
It's impossible m8 without re partitioning the storage which is extremely dangerous if you mess up also it's pointless as you will lose space on your data partition
[Galaxy S 4 i9505 Original Android Development] fishersfish:
OK, Maybe I misunderstood your situation. On OnePlus 2 , DBP doesn't creat tmp image file when I flash GAPPs.
[Galaxy S 4 i9505 Original Android Development] vykintazo:
OK, so why i cant flash zip due to low free memory?
[Galaxy S 4 i9505 Original Android Development] KevinX8:
Flash it on your data partition not system and make sure you have enough space or use an sd card
[Galaxy S 4 i9505 Original Android Development] vykintazo:
I think I didn't explained this correctly. So there's the thing. I created ext-sd partition. And file "system.img" in extsdcard\multiboot\extsd-slot-1\ was created. That image is 2.4gb size and I think it is like virtual dual boot system where everything is being flashed. But after successful flashing ROM it refuses to flash gapps because of low free space...

btw my Sd card has 9gb free
[Galaxy S 4 i9505 Original Android Development] KevinX8:
Oh that system.img must be a replica of your real system partition so it should be able to hold whatever your real one can. Hoe large is the rom you are using and is it fresh install?
[Galaxy S 4 i9505 Original Android Development] TheDarkKnight:
Yes, [MENTION=5168296]Xmaster24[/MENTION] is right. Chen explained it once. The DBP create an image file for system having the same size of the real system partition. So, 2.4 GB should be the size of your device's original system partition. Changing that size (increasing or decreasing) will have lot of issues and is not feasible which is why there's no option to set a size.

BTW, what uses 2.4 GB of space? :confused: I and somebody else asked this question to reduce the size of system.img as it is too large (for AOSP/CM ROMs).
[Galaxy S 4 i9505 Original Android Development] vykintazo:
I'm using resurrection remix mm. It's about 340mb. I'll try to do everything again.
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
For those who appear to have space issues, what [MENTION=5168296]Xmaster24[/MENTION] said here is correct. The system image has the exact same size as the actual system partition. ROMs or Google Apps packages that fail to install are due caused by their installers detecting the free space incorrectly.
[Galaxy S 4 i9505 Original Android Development] Dnorris55:
I have RR mm on my T800, on the ext SD. It's about 284 MB.
[Galaxy S 4 i9505 Original Android Development] vykintazo:
My phone is S5, maybe builds for different devices varying by size... Mine is 332mb to be precise.

---------- Post added at 09:01 PM ---------- Previous post was at 08:54 PM ----------

Is it possible to get flashing log?
[Galaxy S 4 i9505 Original Android Development] Andycar:
Ķnown problem. Solution exists already for us using ports ROMs.

Just add this line to your build.prop:

ro.patcher.device=jfltexx

Cheers[emoji4]

Отправлено с моего SM-A710F через Tapatalk
[Galaxy S 4 i9505 Original Android Development] Nightflyer1975:
Hey all,

Is it already possible to dual boot with MM roms?

Thanks in advance for your answer.
[Galaxy S 4 i9505 Original Android Development] TheDarkKnight:
Yes, it is.
[Galaxy S 4 i9505 Original Android Development] yfriday14:
Vmware player (Windows) is able to create virtual disks, which takes are growing as needed. Doesn't create the full virtual disk.

Could be possible to use such virtual disks under Android, which are growing when new file is added?

https://en.m.wikipedia.org/wiki/Sparse_file

http://www.2net.co.uk/tutorial/android-sparse-image-format

Sent from Samsung Galaxy S4 i9505 using Tapatalk
[Galaxy S 4 i9505 Original Android Development] dave7802:
Alot of talk about the S7.

Has anyone got it working? Tried this a few months ago on the S7 with no luck.

is it worth revisiting yet?
[Galaxy S 4 i9505 Original Android Development] JoshDaWhite:
Thanks,I didn't know that!I only wish Chen adds a option to select wich device we own ,in the settings menu.
[Galaxy S 4 i9505 Original Android Development] kingknuts:
Previous Post

Hi chen!!

Did you make any progress with the BootUI G3 D855??
[Galaxy S 4 i9505 Original Android Development] Ranomez:
[MENTION=4277844]chenxiaolong[/MENTION] a few months ago (when you were busy) I sent some logs of the SD card not mounting on boot issue on Redmi Note 2, did you happen to have time to have a look over them or should I send new ones?

I also have notices that the dualboot utils zip reports my device's "Board name" as "msm8960", is that not snapdragon something and thus wrong?

On an other note I saw the Boot UI thing and want to ask: is a link to the thread here on XDA really needed since I can not find an actual thread talking about the official version of TWRP (neither did I know there was one until now when I just checked) but on the teamw.in page there is also a link to the device tree?

Here is the link: http://teamw.in/devices/xiaomiredminote2.html
[Galaxy S 4 i9505 Original Android Development] Antidote03:
Little Help

Chenxiaolong,

Definitely appreciating all the good things you're doing with DBP

i was running DBP Fine before 1 or 2 month ( old version ), i liked to try new version in case maybe fix my problem ( ramdisk update failed )

but when i installed the new one (8.0.0.r2616) every time i try to switch to the Secondary rom showing error Failed to Swtich Rom

1 - My Primary Fulmics

+ Gabriel Kernel

2 - Secondary ReserructionRemix 5.7.0

Even with primary stock kernel same error " Failed to switch roms " any help it will be appreciated

thanks in advance
[Galaxy S 4 i9505 Original Android Development] smartman_ru:
Pls add bootui on oneplus one. Thank you
[Galaxy S 4 i9505 Original Android Development] gc_geforce:
iS THIS rom/KERNEL support that I am using on my 900W8, http://xdaforums.com/showthread.php?t=2741302 ?
[Galaxy S 4 i9505 Original Android Development] cruor.am:
Hi [MENTION=4277844]chenxiaolong[/MENTION]! Nice to see you back here! May I ask you to support Boot UI for Samsung Note 3 N9005 (international version)?

Here the links you ask for:

TWRP official thread

TWRP source code

If needed, I'll test it! :D

Thank you!
[Galaxy S 4 i9505 Original Android Development] Nightflyer1975:
Hey all,

Hope anyone can help me?

I searched in this forum but couldn't find it yet.

Do i need different roms with same bootloaders and modems to let it work or? Cuz everything worked without any problems (like patch, update ramdisk and patch) except when i want to boot up the secondary rom it boots till Sams logo then it boots again into recovery. Primary rom has BOK2 bl. Secondary rom has CPE bl.

Hope anyone can help me.

Thanks in advance!
[Galaxy S 4 i9505 Original Android Development] kykint:
Yes, you definitely need ROMs with same bootloaders.
[Galaxy S 4 i9505 Original Android Development] Nightflyer1975:
Thanks for your answer kykint!
[Galaxy S 4 i9505 Original Android Development] spty:
Hello, can u add support for lg g2 mini(g2mds and g2m, they are same:D)
[Galaxy S 4 i9505 Original Android Development] PycmShoma:
Hi, chenxiaolong!

Add in your project device Xiaomi Mi4 (cancro) Qualcomm.

Thanks in advance.
[Galaxy S 4 i9505 Original Android Development] xsaxsaxsa:
Hello, I patched Resurrection Remix 5.7.0 for Note 4 N910C as a data slot and I flashed it but it is not booting. Just bootloops on bootlogo screen. What should I do to make it work?
[Galaxy S 4 i9505 Original Android Development] JanZwqe:
work with ks01lte , S4 with Snapdragon800 SoC
[Galaxy S 4 i9505 Original Android Development] DIXES:
I'm using 32G exFAT mircoSD card with my Asus ZenFone 2 (Z00A) and stock firmware (it has texfat module) as Multiboot ROM, it will not boot and will auto restart into TWRP when SD card inserted.

But I found a solution recently.

Steps:

1. Before patching stock firmware ROM zip, modify fstab files in boot.img for removing that microSD line.

2. Place a script in "/su/su.d" (so I have to root this ROM installed in data-slot).

3. I wrote command to copy un-modified fstab files into / in this script.

4. Now stock firmware will boot in normally, and I can use exFAT microSD card.

Edited:

1. Just modify this file, fstab, the others no need.

2. No need script.
[Galaxy S 4 i9505 Original Android Development] YoYoStevo:
Hey, I have a i9295 Galaxy S4 Active and it seems like it's not compatible with your tool? I found this thread through another thread that said my phone is supported but in the program I can only find jactivelteskt (my version is jactivelte without the skt on the end.) If it was supported in the past and removed can you point me to a download or could you please add it to the compatibility list, it would be much appreciated. :)
[Galaxy S 4 i9505 Original Android Development] Harjito:
[MENTION=4277844]chenxiaolong[/MENTION]

please add samsung galaxy A5 SM-A510FD in order to use dual boot patcher . thank you
[Galaxy S 4 i9505 Original Android Development] tdssmarty16:
guys i am on ozcan rom 4.4.2 right now Nd i wanna try the new gear cm 13

can it be done using this tool for i9500 ?

n i am cnfused about where the rom should be installed in data partition or slots or extsd ?
[Galaxy S 4 i9505 Original Android Development] bhovoi:
[IMG="error n9005 note 3"]http://prntscr.com/btlg7i[/IMG]

Http://prntscr.com/btlg7i

How can i fix this error? I already tried many rom but i cant dual boot. Always upto this error only. Help.
[Galaxy S 4 i9505 Original Android Development] carandcar:
Can someone recommend a messaging app that works well with dual boot? I've had success with Hangouts in the past but it's not working as of late. Thanks in advance.
[Galaxy S 4 i9505 Original Android Development] yfriday14:
Hangouts works well with Dual Boot,I use it every day.

Otherwise installed apps has nothing to do with Dual Boot, they don't conflict with Dual Boot in any way (if you don't use app sharing)...
[Galaxy S 4 i9505 Original Android Development] carandcar:
Thank you for your response. :)

I apologize but I forgot to mention that my search was for a messaging app that works with app sharing. :)

I happen to try Google Messenger last night and it seems to be working well with app sharing so I'll keep using it to see how it goes up.
[Galaxy S 4 i9505 Original Android Development] XDA-00:
Will apk from here work for LG L7II? I came here from - http://xdaforums.com/optimus-l3-l5-...guide-dualboot-custom-roms-l3ii-soon-t3276178

Should I download apk from here?

EDIT - nvm, I figured it out.
[Galaxy S 4 i9505 Original Android Development] tomaasz:
Hi,

I have not enough free space on my Internal Memory. so I installed CM13 on extsd-slot-1.

But I think that all apps installed on extsd-slot-1 CM13 are located in internal memory, isn't it ?

Is it any well method for move apps from extsd-slot-1 do externalSD card ?
[Galaxy S 4 i9505 Original Android Development] TheDarkKnight:
Yes, they're stored in internal. You can use the device app moving (5.1 and older) or use Apps2SD/Link2SD
[Galaxy S 4 i9505 Original Android Development] XDA-00:
Help me, I have a L7 II and I want to dual boot Liquidsmooth 4.4.4 and CM13. So which one should be primary? Also on which mode should I install? (secondary, external sdcard, etc)
[Galaxy S 4 i9505 Original Android Development] rkrohan:
How can I add boot ui support for op3 [MENTION=4277844]chenxiaolong[/MENTION]? What do I have to do?
[Galaxy S 4 i9505 Original Android Development] pvsgh:
add support for Tab S2 Wifi T813 version(gts210vewifi)

@chenxiaolong Can you please add support for Tab S2 Wifi T813 version(gts210vewifi), attached are the logs.
[Galaxy S 4 i9505 Original Android Development] GiantJack:
thanks much for this nice app, got dual boot working on my note 4 (5.1.1 primary and 6.0.1 secondary)

btw is there any easy way of increase the size of /system partition? first i tried to install a TW ROM as secondary but stopped with error... i checked the logs and /system was no space left...

second try was CM ROM which is much smaller and it worked fine
[Galaxy S 4 i9505 Original Android Development] ~N.A.W.Y~:
I can switch from aosp rom to touchwiz but i can't do the opposite on Patcher app. Is this a known issue or am i missing out something? I can switch to TW rom only with using Recovery.

On TW rom:

On Aosp rom:
[Galaxy S 4 i9505 Original Android Development] lucius100:
what happen if I factory reset one of the rom ?
[Galaxy S 4 i9505 Original Android Development] FPSUsername:
I can not flash a 2nd rom. I tried on secondary slot and multi slot 1. http://cloud.tapatalk.com/s/57945cf48b894/MultiBoot.log.zip
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
I'm back again! My job has been making it rather difficult to put aside time for XDA recently, but it's getting better :) More updates on DualBootPatcher progress:

tl;dr: Wasted efforts on supporting encryption

---

Long story:

Around a month ago, I started on working adding support for encryption to DualBootPatcher. My main goal was to be able to support any encryption scheme on any device. The implementation would do this by creating a temporary environment where the Android "vold" daemon (and its 100+ library dependencies...) can run and decrypt the partition. With a setup like this, the primary ROM's code would handle the complexities of hardware encryption, password encoding, and so on.

This initially worked very well on my S4 with TouchWiz 4.4 as the primary ROM. When the device turned on, the encryption environment would be set up, Boot UI would start and ask for the encryption password, and then the boot process would continue as normal. The issues started appearing when I tried dual booting an AOSP-based ROM. TouchWiz's encryption scheme uses a Samsung-specific system named Secure Storage to communicate with the TEE. The Secure Storage daemon handles various undocumented things related to hardware encryption and storage of passwords. The problem is that the Secure Storage daemon cannot run on any non-TouchWiz ROM (or many custom TouchWiz kernels for that matter). Now, you have a complicated and error-prone encryption implementation and it only works with a single TouchWiz ROM. Sure, Secure Storage can be disabled on the S4 (ro.securestorage.support=false in build.prop), but the problem still exists on any newer Samsung device where Secure Storage cannot be disabled.

On top of the TouchWiz issues, it is difficult to add support for encryption for a device. For example, this script, specific to jflte, is what's needed to get TouchWiz encryption working: https://github.com/chenxiaolong/Dua...9a2e3de952/data/scripts/jflte/crypto-setup.sh It needs to manually mount 3 partitions, loads quite a few trustlets in the TEE, and run the necessary Qualcomm daemons and Secure Storage daemon. This would need to be done for every device, basically by trial-and-error.

Needless to say, this approach is completely infeasible and was a waste of time and effort. I will be switching to the TWRP crypto implementation, which will vastly simplify the implementation, but will only work with devices initially encrypted by an AOSP ROM. Not that TouchWiz encryption was ever really working anyway....

Mote details at: https://github.com/chenxiaolong/DualBootPatcher/issues/126
[Galaxy S 4 i9505 Original Android Development] gc_geforce:
Does anyone know if this kernel is supported for S5?

http://xdaforums.com/galaxy-s5/orig-development/kernel-boeffla-kernel-1-0-beta1-23-03-t3062073
[Galaxy S 4 i9505 Original Android Development] FPSUsername:
Wrong thread buddy
[Galaxy S 4 i9505 Original Android Development] gc_geforce:
I was hoping to use the dual boot on my S5, and was wondering if anyone has used this kernel and dual boot.
[Galaxy S 4 i9505 Original Android Development] FPSUsername:
Well, it looks like this app supports various S5 devices, so I guess you can dualboot it.
[Galaxy S 4 i9505 Original Android Development] A08M31:
Hi Man,

First of all I wanted to thank you for the awesome tool i really enjoyed dualbooting cm and touchwiz on my G900H and for sometime i had 4 Roms on it!:silly:

But right now i have switched to Marshmallow and i am using AJ rom and the green apple kernel (permissive) when i go to roms section to set kernel the app shows : failed to set kernel

I read about it in a note 3 forume and they had a fix for that how can i fix that?:)

Also it appears that the app is not installing mbtools :(

Thx in advance:svetius:
[Galaxy S 4 i9505 Original Android Development] wojtus2k:
I have a serious problem. On my i9505 I want to multi-boot TouchWiz KitKat and other ROMs (CM 11, Liquidsmooth). I can set kernel for every of those ROMs, I can also boot them as I wish. But after ramdisk update of TW my phone get stuck in boot logo and I can no more boot Primary TW. How to fix it? :confused: I tried Adam and stock kernels. In order to enable app sharing feature I have to update ramdisk... :(

Edit: Lollipop TouchWiz updates ramdisk and boots normally, so the problem is KitKat. I have just tried ktoonsez kernel, but still not working.
[Galaxy S 4 i9505 Original Android Development] ScreenWriter:
how should i do ???
[Galaxy S 4 i9505 Original Android Development] monkteo:
If you translate in English, maybe somebody will answer !
[Galaxy S 4 i9505 Original Android Development] DarkHeart Z:
[MENTION=4277844]chenxiaolong[/MENTION] Bro I need to preserve the data partition space . So i tried installing xosp for sprout4 in my sd card . But it doesn't install . I have attached the log . I don't understand that it has feature of installing rom in external sd card but it doesn't install . Why ?
[Galaxy S 4 i9505 Original Android Development] Luka6445:
I flashed with twrp supersu to gain root.

can i keep this as my first "rom" ?

sm-g900f qualcomm android 6.0.1

my second rom will be cm13

will i lose my data ?

Edit: I updated something with r.... (in the app) cant remember.

It said i have to reboot.

I did and get:

Kernel is not seandroid enforcing

and something yellow what i had before from root.

i flashed the original firmware and i have rooted my device against
[Galaxy S 4 i9505 Original Android Development] sokolataki:
hi i have jiayu s3 with 5.1.1 lollipop rom (jiayu.de rc5)

i patch aicp11 and gapps for aicp11 with windows pc (multiboot app crash when i try to patch with phone)

after that try to install it in data slot but failed can you help mt to solve it
[Galaxy S 4 i9505 Original Android Development] hankching:
Pls confirm the path is correct as follows:

mnt/shell/emulated/legacy/aicp_s3_h560_mm-11.0-UNOFFICIAL-20160725_data-slot-cm.zip: Failed to open archive: Failed to open '/mnt/shell/emulated/legacy/aicp_s3_h560_mm-11.0-UNOFFICIAL-20160725_data-slot-cm.zip'

The file cannot find, so you cannot flash it.

You can boot into recovery and flash it.

I try it that is OK, but gapps should not use because it will be error for booting to the system. It is only worked with nano version when I tried all versions. Good Luck:)

PS: When you face DualBootPatcher crashed, try to verify the file's sha1/md5.
[Galaxy S 4 i9505 Original Android Development] sokolataki:
Try from recovery failed again can not understand why
[Galaxy S 4 i9505 Original Android Development] hankching:
Try needrom golden version (TWRP 3.0.2.3)

Check zip file corrupt or not?
[Galaxy S 4 i9505 Original Android Development] sokolataki:
File is fine also my recovery work fine
[Galaxy S 4 i9505 Original Android Development] hankching:
Try this file.

You need to add system.new.dat file back into below file.

I test it, even without system.new.dat. It still works but without system only.
[Galaxy S 4 i9505 Original Android Development] sokolataki:
that is no rom what i will flash?

---------- Post added at 09:02 AM ---------- Previous post was at 08:57 AM ----------
[Galaxy S 4 i9505 Original Android Development] hankching:
You can extract system.new.dat from your downloaded file and add it back to my file, after flash it.

You can test your system when you flash my file without ROM data because it will finish without error. If you got any errors that means your system has changed that you don't know. If it happens (ie error came), you may need SP flash your system first to eliminate system unstable/unprecedented errors.

---------- Post added at 09:15 AM ---------- Previous post was at 09:10 AM ----------

Your recovery is TWRP 3.0.2.2 by IceMan which is not compatible with AICP11.

Download TWRP 3.0.2.3 golden version which it works.