yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 i9505 Original Android Development] v00d007:
Yes, that fore I already posted bug report in the cm12.1 thread with @ to a dev, but as always there - no reply. The cm dev's could really learn s'thing from guys like you, who really do care 'bout the users...
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
I'm assuming you meant OnePlus 2? :) Could you the GetLogs zip from https://snapshots.noobdev.io/ and send me the file in /sdcard/logs/? I need a bit more info than just the partitions to properly add support for a device. Thanks!
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
It doesn't matter where the ROM's system is located. The filesystem only matters during the step where it mounts system -> /raw/system, cache -> /raw/cache, and userdata -> /raw/data. Since you have F2FS data and cache, your ROM just needs to support F2FS data and cache.
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
Were you trying to patch a file on an SD card? KitKat and Lollipop do not allow 3rd party apps to write to the card, so you'll need to use something like https://play.google.com/store/apps/details?id=nextapp.sdfix&hl=en to fix that.
[Galaxy S 4 i9505 Original Android Development] Zehlek:
It worked thanks
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
DualBootPatcher looks awful on my Tab S2 lol

At least it's not as ridiculous as Google's Hangouts Dialer, so I'm not too disappointed with myself :p
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
Marshmallow support is now complete in 8.0.0.r1774.gdc61fb3, including the new runtime permissions stuff :)

There's just one minor visual bug where if the user hits Deny on the permissions popup and rotates the device, then it will show a progress spinner in the background that never goes away. I'll fix this at a later time.
[Galaxy S 4 i9505 Original Android Development] royredman:
This is the log file for when I tried updating the ramdisk. This is on the nexus 6. When I reboot, it would always take me into TWRP. I will also post the log soon for trying to install the second ROM for this phone soon. Thanks for your help!
[Galaxy S 4 i9505 Original Android Development] royredman:
This the second log when I tried to install a second ROM onto the nexus 6. Like the last log file, this one rebotted straight into twrp recovery and wouldn't load the ROM. Thanks so much for your help and your hard work man.
[Galaxy S 4 i9505 Original Android Development] monkteo:
Thanks [MENTION=4277844]chenxiaolong[/MENTION], :laugh:

but right now it's working perfect. I have 4 rom installed

1. TW EchoeRom

2. MIUI 7

3. Flyme (ext.card)

4. BlissPop CM12.1(ext.card)

Patch 8.0.0.r1757 :good:
[Galaxy S 4 i9505 Original Android Development] karkasss:
Your Miui7 is cm base? Or tw base?

I cannot install miui7(tw base) to my sub rom.

So I have 3 roms currently

1.Miui7 (tw base) (primary)

2.TW lollipop stock rom (data-slot)

3.Flyme (data-slot)

Now is time to consider how I backup my subroms installed to data-slot. I noticed that backup&restore aroma script (linked on OP) was not supported with data-slot. If I backup main rom including data partition through recovery, whole backup size will be 10G at one time.

Thank you chenxiaolong for great work. It's really amazing app.
[Galaxy S 4 i9505 Original Android Development] crazyraiga:
Hi everyone!. I am new to this dual boot. i read the first page and i cannot grasp everything.

I want to dual boot my s5. right now it is in the Latest Android 5.0 stock rom. not official coz it is rooted already.

Can i dual boot using stock rom as primary? and custom rom as secondary like bliss or cm. the thing is i dont know how to patch the primary. and how do i patch the kernel?

what is the easiest way to patch the kernel? i was thinking to patch a gapps and flash it. would that process patch the kernel and the primary? or i need to patch a stock rom and flash it?

tnx.
[Galaxy S 4 i9505 Original Android Development] MatrixDJ96:
Finally dual boot patcher works again with android 4.4.2 stock for hlte

Thanks [MENTION=4277844]chenxiaolong[/MENTION]
[Galaxy S 4 i9505 Original Android Development] gaww:
Since you flashed the same ROM, are you sure it did not boot up to the last one flashed (Ext SD) ? Try withering to Primary to check.

I have not tried flashing to Ext SD yet, so will not be familiar with issues there.
[Galaxy S 4 i9505 Original Android Development] v00d007:
I tested lots of cm12.1 builds and went back to 20150515, all do this annoying boot delay issue. The strange thing is that I'm pretty sure I didn't have this when I tested them when they came out. Hmm - So, I'm thinking the one thing that keeped changing lots of times in the meantime is your patcher... Still no idea, what might be causing this lag from your patcher's side?
[Galaxy S 4 i9505 Original Android Development] hi_blues:
Hi all. I know its wrong forum for note 4 users but I would like to thank the developer of Dual Boot. Its working on Note 4 910F too. Any stock with CM roms. Thanks keep up the good work.
[Galaxy S 4 i9505 Original Android Development] lukas77:
Thanks for answer, yes it's OnePlus 2 :)

logs attached
[Galaxy S 4 i9505 Original Android Development] monkteo:
It's TW

http://xdaforums.com/galaxy-s5/development/rom-miui-v5-g900f-ry09iu-4-8-11-t2946540

this one and I am on MIUI
[Galaxy S 4 i9505 Original Android Development] crazyraiga:
hi i tried to flash nothing happens. did what you told me. it wasnt successful. was it because i did not include the kernel?

btw thanks. i will try again later and i will try to find what is wrong. and will update you if i can pass through.
[Galaxy S 4 i9505 Original Android Development] xdasree:
Can you add support for Galaxy Note 10.1 (2014 edition) Please? I'm waiting on this thread for long time.

Samsung Galaxy Note 10.1 2014 edition ( SM-P600 codenamed lt03wifi )
[Galaxy S 4 i9505 Original Android Development] royredman:
Look at some previous messages that Chen messaged me about in this thread. He will tell you how to send logs to him for him to help fix the issue. Go to the downloads website and download the log reporter tool to send to him
[Galaxy S 4 i9505 Original Android Development] crazyraiga:
thanks. I will try to read back and read some.

I successfully flashed a patched rom and gapps using the Extsd slot. and was able to reboot. this is awesome.

[MENTION=4277844]chenxiaolong[/MENTION] thank you for this great app.
[MENTION=4154390]royredman[/MENTION] thank you for clearing things to me.

one quick question. what are the pros and cons in using Extsd?
[Galaxy S 4 i9505 Original Android Development] JhoonB51:
In my view Extsd is all pro..no lag or other problems.
[Galaxy S 4 i9505 Original Android Development] crazyraiga:
then im all good. thanks. the reason I am using this dual boot. because I want to find what rom fits me best and I want to still use the stock rom because of the fingerprint scanner and camera in s5. I will be in touch if I ever need help again.
[Galaxy S 4 i9505 Original Android Development] bchiu:
No I am sure I did not boot up to the new flashed ROM. Cuz my existing ROM has all the custom setting.

---------- Post added at 09:54 PM ---------- Previous post was at 09:26 PM ----------

Does anyone know if this ROM works with this dual boot software?
[Galaxy S 4 i9505 Original Android Development] -MaD-:
[MENTION=4277844]chenxiaolong[/MENTION] You should really think about changing the title of the thread - its a long time that the dualboot patcher is for a way more devices than the Galaxy S4 variants ;)

Probably you could also ask a moderator to put this great thread in a more visible place like "app development" or something else more general than a Galaxy S4 subforum.

Your app is one of the most usefull inventions for me since xposed for usability on my android devices and should be spread over xda.

Again: this is a milestone for me and I cant thank you enough!

(And sorry for my poor english!)
[Galaxy S 4 i9505 Original Android Development] karkasss:
Is it possible to install xposed framework 5.0 for sub roms? When I try to install through recovery after patching the xposed framework.zip, but failed to flashing.
[Galaxy S 4 i9505 Original Android Development] crazyraiga:
i tried it today. i was successful on flashing xposed framework for lollipop on my 2 roms in the extsd. but i failed on flashing xposed framework on my primary. gotta find what is wrong with it.

edit: i mean i was successful in fhashing but got boot loop on my primary.
[Galaxy S 4 i9505 Original Android Development] royredman:
You might want to try patching the file as a primary update type file. That may be causing the issue.
[Galaxy S 4 i9505 Original Android Development] crazyraiga:
yeah, i did that. but i got boot loop. may be i got the wrong xposed for my primary because i am not sure if it needs to odexed or deodexed. i will read it again. but that is off topic here.
[Galaxy S 4 i9505 Original Android Development] benlm72:
Hi,

I've just tried this tool to install cm12.1 nightlies on my S4. I've patched the cm12.1 et gapps to ext-sd, and installed them from recovery (TWRP modified for multirom). It has created a system.img file on my sd card, but my phone doesn't boot on it (it boots only in recovery) : what did I do wrong and what can I do to fix my pb ?

Many thanks for any help !
[Galaxy S 4 i9505 Original Android Development] royredman:
Then probably try flashing it with no patching on it. Because whenever you flash a rom that isn't patched, its just directed to the primary rom.
[Galaxy S 4 i9505 Original Android Development] crazyraiga:
wow. I didn't realized that. i'll do that in the week.end because I will have more time to back up and restore if anything goes wrong again. tnx,.

---------- Post added at 07:46 AM ---------- Previous post was at 07:40 AM ----------

I don't know what to do when something goes wrong. maybe it is time to clear the cache/dalvik/partion on twrp.

you might wanna flash it using the app. it is way easy than twrp because it is automatic.

after flashing switch to that rom. then restart. set up your rom. install the app again. then set the kernel.

you might want to follow this. this help me understand.
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
Hmm, it looks like your data partition is encrypted, but with the default password (so it doesn't ask on boot). DualBootPatcher currently doesn't support any type of encryption that Android uses.

From the TWRP log:

I:Device is encrypted with the default password, attempting to decrypt.
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
8.0.0.r1775.gccb8192 :)
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
Can you flash the GetLogs zip from https://snapshots.noobdev.io/ and send me the file it creates in /sdcard/logs/? Thanks!
[Galaxy S 4 i9505 Original Android Development] crazyraiga:
[MENTION=4277844]chenxiaolong[/MENTION] or anyone out there reading this.

quick question. what are the remedies to, if there's any, bootloop on the primary room. how can I access the roms? will the utilities fix this? how will I use it?

tnx
[Galaxy S 4 i9505 Original Android Development] monkteo:
The utilities don't fix that, but you can switch to primary (from recovery with dualboot utilities)!
[Galaxy S 4 i9505 Original Android Development] ktetreault14:
Hey [MENTION=4277844]chenxiaolong[/MENTION] any chance we could get support added for Mako? Running M on it now ;)

https://docs.google.com/uc?id=0B1d_Il6yTO73QnBwckd3QU5NRlU&export=download
[Galaxy S 4 i9505 Original Android Development] El massry:
I9500

Does this work on i9500 after update?
[Galaxy S 4 i9505 Original Android Development] bilbonotry:
You can boot into other ROMs using dual boot utilities (but for me it never worked) or by flashing boot.img of your ROM located in /sdcard/Multiboot with twrp
[Galaxy S 4 i9505 Original Android Development] xdasree:
Attached tar file that created in logs folder.

Thank you.
[Galaxy S 4 i9505 Original Android Development] lukas77:
Works like a charm. Thank you sir!
[Galaxy S 4 i9505 Original Android Development] bilbonotry:
[MENTION=4277844]chenxiaolong[/MENTION] : I cannot install bliss pop on my klte ext SD card.

Patching goes well, but flashing in-app patched file from internal sdcard gives the following error in kernel.log :

<6>[ 1.933424] EXT4-fs (mmcblk0p26): mounted filesystem with ordered data mode. Opts: noauto_da_alloc,journal_async_commit,errors=panic
<3>[ 1.933449] mbtool: Successfully mounted /dev/block/platform/msm_sdcc.1/by-name/userdata (ext4) at /raw/data
<7>[ 1.933463] mbtool: 1 fstab entries for the external SD
<3>[ 1.933975] mbtool: Failed to find block device corresponding to /devices/msm_sdcc.3/mmc_host/mmc2*
<3>[ 1.934058] mbtool: Failed to mount /raw/extsd/multiboot/extsd-slot-blissextsd/system.img: No such file or directory
<3>[ 1.934096] mbtool: Failed to mount fstab
<4>[ 1.934106] mbtool: --- EMERGENCY REBOOT FROM MBTOOL ---
<4>[ 1.934257] mbtool: /data is not mounted. Attempting to mount /data
<4>[ 1.934343] mbtool: Mounted /dev/block/platform/msm_sdcc.1/by-name/userdata at /data

Flashing in recovery patched file from ext sdcard does not give error but reboots to recovery.
[Galaxy S 4 i9505 Original Android Development] hami497:
Hello i really like this app but i dont know how to revert back to normal single rom. Can anyone helpe with that?
[Galaxy S 4 i9505 Original Android Development] gaww:
If you first made a nandroid backup first as instructed, just restore it.

Otherwise use the utility zip to wipe all slots that you used (primary - except primary data if you want to dirty flash back, secondary, etc.). Then wipe system and caches with recovery and reflash your ROM
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
Switch to primary and then delete:

/system/multiboot

/cache/multiboot

/data/multiboot

/sdcard/MultiBoot

[External SD]/multiboot

Alternatively, you can just wipe all the ROMs from the app.
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
Could you flash the GetLogs zip from https://snapshots.noobdev.io/ and send me the tar file it creates in /sdcard/logs/? The following line in the log indicates that the hardware probing code wasn't able to find the external SD card reader. I'll need some more details to determine why this might happen.

<3>[ 1.933975] mbtool: Failed to find block device corresponding to /devices/msm_sdcc.3/mmc_host/mmc2*
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
Added in 8.0.0.r1776.g5ca5f5c.

Btw, how many phones do you have? :D I swear you have asked me to add support for at least 4 devices (not that it's a bad thing) ;)
[Galaxy S 4 i9505 Original Android Development] hami497:
By wiping the ROMs from the appwill i lose any data or installedapps from the primary ROM.
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
8.0.0.r1777.g650158b :)
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
No it won't delete anything in your primary ROM as long as you didn't play with the app sharing settings.
[Galaxy S 4 i9505 Original Android Development] xdasree:
Awesome, Thank You!!! Thank You!!! Thank You!!!...

I think build still uploading ....
[Galaxy S 4 i9505 Original Android Development] cookiiee94:
flashed xposed to secondary rom and now i'm stuck on the boot animation

i cant access recovery either to use utilities zip to revert back to my primary rom.

anyone know a solution?

Thanks in advance :)
[Galaxy S 4 i9505 Original Android Development] MatrixDJ96:
[MENTION=4277844]chenxiaolong[/MENTION] here code to add support for i9300

Inviato dal mio SM-N9005 utilizzando Tapatalk
[Galaxy S 4 i9505 Original Android Development] ktetreault14:
Lmao yes!! Thanks a lot Chen and you're right :) I have been through a lot. You're lucky I haven't put recovery on family phones :p

Testing a triple boot scenario on the Nexus 4 with 5.1.1 as cache slot and 6.0 on /data
[Galaxy S 4 i9505 Original Android Development] royredman:
I just got the device unencrypted now. My fault. It runs perfectly now on the Nexus 6. Thanks for all your great work!! :D
[Galaxy S 4 i9505 Original Android Development] physwizz:
Hi,

Has anyone managed to get a tw based lp rom running on ExtSD?

I tried ironrom and candypop. They flashed ok but wouldn't boot.

I've got a tab s and I'm running blisspop as a primary with both slim and liquid smooth on ExtSD.
[Galaxy S 4 i9505 Original Android Development] cookiiee94:
always flash touchwiz roms as primary, it doesnt work well as secondary.
[Galaxy S 4 i9505 Original Android Development] El massry:
Is the new update support i9500 ??
[Galaxy S 4 i9505 Original Android Development] cookiiee94:
is it possible to have 3 different roms?

for example; if i install my primary rom, then a secondary, is it possible also to have a third rom for example in multi-slot 1, 2 or 3?

Thanks in advance :)
[Galaxy S 4 i9505 Original Android Development] gaww:
Yes - you have 2.1 gb there. You also now have external SD to use.
[Galaxy S 4 i9505 Original Android Development] physwizz:
Thanks
[Galaxy S 4 i9505 Original Android Development] Casual Gamer:
Problem with Dual Patcher

I have a samsung s4 (GT-I9505). When I try to patch the rom cm12.1 nightly tells me that the patch is not successful. You can fix this?
[Galaxy S 4 i9505 Original Android Development] bilbonotry:
[MENTION=4277844]chenxiaolong[/MENTION] : Here it is
[Galaxy S 4 i9505 Original Android Development] TimAnd:
1 I have Canadian Note 3, N900W8 or hltecan, and there's "libmbp: Add hltecan to the whitelisted hlte codenames". I guess it means it works?

2 I see that even non-Samsung phones are supported. How about Huawei, in my case Ascend P7-L10 or hwp7?

3 What does it mean to "set the kernel"?
[Galaxy S 4 i9505 Original Android Development] sronweb:
I have the same phone but the patcher is working. I advise you to check the rom integrity or download the rom again, check if you use a recent version of the patcher.
[Galaxy S 4 i9505 Original Android Development] Bigmar75:
Here is get logs for n920p, sprint note 5. Any possibility to add support? Used this on my note 3 and I loved it. Thank you for your time [MENTION=4277844]chenxiaolong[/MENTION]..

https://www.dropbox.com/s/76gnjrfdv2bw0nc/20151010.173940.tar?dl=0
[Galaxy S 4 i9505 Original Android Development] royredman:
Does anyone know how to expand the system size on your phone? I have a nexus 6 and my system size is full after installing 2 ROMs, and I don't have an SD card support, so I cannot use that option either :/
[Galaxy S 4 i9505 Original Android Development] vergilbt:
Does I have to patch rom and gapps before I flash?

Thanks for answer
[Galaxy S 4 i9505 Original Android Development] todivefor:
Yes you have to patch both rom and gapps before flashing a secondary rom or updating your primary rom.
[Galaxy S 4 i9505 Original Android Development] vergilbt:
What's my fault?

After all steps my system boots automatically into twrp

1. Set kernel

2. Patch primary

3. Patch secondary (into data slot because I got oneplus2)

4. Install patched second rom (into patched location)

5. Reboot system
[Galaxy S 4 i9505 Original Android Development] crazyraiga:
1 on primary just set the kernel and nothing else.

2 patch seconday mine works like on extsd(may be it is better there). flash it. don't change location.

3 reboot. it will boot on secondary( if not i dont know whats is wrong). install dualboot patcher on second. set the kernel on second.

done.
[Galaxy S 4 i9505 Original Android Development] Casual Gamer:
Problem with Boot

I have a samsung gt-i9505 s4. When I try to patch the rom cm12.1 nightlies he tells me that the patch has been successfully completed. When I flash in recovery and restart the phone, the screen stays on animation boot without end. Can someone please help me?
[Galaxy S 4 i9505 Original Android Development] v00d007:
1st you should tell us what installation type you tried. As secondary, multi x, data, extsd slot?

2nd, lots of problems come from too less space on sd and/or extsd card because roms with system partition as img file need to unpack it somewhere first. But if there's not enough space the installation script tells "succeeded" but it hasn't and the rom's unbootable.
[Galaxy S 4 i9505 Original Android Development] monkteo:
Try to flash from dualboot app (red buton)

And also you can try a force reboot after 10-15 min

(always work for my in S5 for MIUI rom)
[Galaxy S 4 i9505 Original Android Development] crazyraiga:
what version of MiUI you're using? can you provide me a link? did you use it as primary,dual,data,multi or extsd. tnx
[Galaxy S 4 i9505 Original Android Development] monkteo:
A pictures it's more than a 1000 words !

MIUI 7 (v5.9.25) (attention that link is for S5 phone)

http://xdaforums.com/galaxy-s5/development/rom-miui-v5-g900f-ry09iu-4-8-11-t2946540

PS. this one is for you

http://xdaforums.com/galaxy-s4/i9505-develop/4-4-miui-7-t3184430
[Galaxy S 4 i9505 Original Android Development] crazyraiga:
there is no 5.X on miui yet? we have the same unit S5 SM-900f. I tried the first link earlier but no luck it will bootloop me to the primary rom had to restore boot.img and set kernel on primary. I did it on extsd I will try it on data slot later.

BTW which file did you download on mega folder, because there are many and I am guessing that 900v wont work. I downloaded the full v5.9.25.
[Galaxy S 4 i9505 Original Android Development] monkteo:
Yes that one !
[Galaxy S 4 i9505 Original Android Development] ixtlan007:
Support for Asus New Padfone Infinity A86?

Hi chenxiaolong,

I was just googling for a solution to multi boot my device and I came across your post which among other solutions seemed the most feasible one.

I admire your work. This is really great!

I just had a few question:

Could this patcher and multiboot utility used with the latest Lollipop 5.0.2 rom for Asus New Padfone Infinity A86, which is ver. 12.4.0.5.9 and downloadable from this link? considering the fact that this device consists of the phone and a station which acts as a tablet mode dock? (kernel source here)

Does it need prerequisites such as unlocked bootloader, custom kernel, etc...?

Does it mess with the system, data and other vital partitions, or possibly radio, modem, etc?

Latest TWRP recovery that we could install on this device was 2.7.1.1 which we pushed via terminal emulator to this device. We are not able to unlock the bootloader yet. :(

I just want to know if I could use your solution without hassle and bricking the phone. :confused:
[Galaxy S 4 i9505 Original Android Development] crazyraiga:
follw this and post it here wait for [MENTION=4277844]chenxiaolong[/MENTION] to reply. may be he can add support to your device. I don't know if this will work on your x86 device.
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
I thought the International S3 was not a Qualcomm device? (I noticed you had all the QCOM_* paths in there.)

Could you flash the GetLogs zip from https://snapshots.noobdev.io/ and attach the file it creates in /sdcard/logs/? That way I can see if any other workarounds are needed for your device. Thanks!
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
Hi [MENTION=4766197]ixtlan007[/MENTION], welcome to the thread! :)

DualBootPatcher works by installing a ROM to a subfolder in /system, /cache, /data, or an external SD depending on where you choose to install it. It also automatically modifies the kernel to load the ROM from those subfolders. As such, it needs an unlocked bootloader to boot those modified kernels. A custom recovery (TWRP) that's flashed to the device is optional, but allows you to flash ROMs while booted into Android.

I actually had the ASUS ZenPad S 8.0 (z580c) for a week, but returned it as I was unable to work around the locked bootloader. :( Until there's an exploit or official unlock method, I'm not sure I can add support for the Padfone.
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
Done! 8.0.0.r1778.ga8db742 :)
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
Thanks! This may be a stupid question, but are you sure your external SD card is formatted correctly? The logs are confusing me a bit because it looks like the kernel's not detecting that a card is inserted at all.