yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
Here is the fifth alpha for 9.0.0 :)

Changes from Alpha4

Syncdaemon's crashing should (hopefully) be fixed! There shouldn't be random vibrations anymore. If it's still broken, then, well, I have some more hair to pull out ;)

Updated busybox to commit ceebc1793569343ea3145a93517a3a1bbe513025

Known bugs:

Still doesn't work on XP

The window still resizes randomly

File extensions still aren't checked
[Galaxy S 4 i9505 Original Android Development] Jsilver73:
Thanks Chen, errm, don't mean to come across all demanding or what not, but would it be possible to have a a snapshot apk to test please, when you have time :fingers-crossed:
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
Actually, I'm still working on coding that :) A testing apk would work for everything except for patching right now (I'd be happy to make that if that's what you what).
[Galaxy S 4 i9505 Original Android Development] lpdavidgc:
And what about note 3 support? :(
[Galaxy S 4 i9505 Original Android Development] MohamedN:
Dan ge on dual, patched using alpha 5

No vibrations for now, but patcher force closes when choosing rom settings (tried different versions)

So app sharing is not working
[Galaxy S 4 i9505 Original Android Development] djmik21:
Hey guys sorry for asking but what does the syncdaemon thing do? It will fix the sharing of apps like viber and whatsapp? Sorry for my noobness. I used the beta 4 patcher and the only problem i had is i have to reverify all my messaging apps and there were some google sync problems though i don't know if it had anything to do with dual booting. I used the option in titanium backup to restore my play store id (or whatever that's called so that paid apps will work in second rom) . Thanks for the help.
[Galaxy S 4 i9505 Original Android Development] gaww:
Am traveling and cannot patch anything with any patcher apk. Also cannot find xxx.151 on my device and no access to PC.
[Galaxy S 4 i9505 Original Android Development] franzyroy:
I used it today, it works fine, only, I've always the contacts who aren't displaying by theirs names in SMS app and dialer app, but I wonder if it's really due to the patcher.
[Galaxy S 4 i9505 Original Android Development] MohamedN:
Does app sharing work?

If so which version did you use to share app
[Galaxy S 4 i9505 Original Android Development] franzyroy:
Yes with the latest snapshot.
[Galaxy S 4 i9505 Original Android Development] davy4475:
Hi, im on carhd v31 as my primary. Whats the best to replace it with v30?
[Galaxy S 4 i9505 Original Android Development] Technical:
Any news about sharing data?

Will the next version injects the app when a new ROM is flashed? Right now I seem we have to install the apk in each new ROM (first) installation.
[Galaxy S 4 i9505 Original Android Development] franzyroy:
You can use the alpha5 on PC or the latest snapshot, I don't see any difference.
[Galaxy S 4 i9505 Original Android Development] davy4475:
I new to dualboot and have only got it to work last week. Whats the easiest way lol
[Galaxy S 4 i9505 Original Android Development] franzyroy:
If you have a PC, you take this:

This of that link

On phone or PC, for the snapshot, you take:

On phone: APK

On PC: ZIP

In the patcher, you choose there where you want to install it, primary,dual, multislot1, multislot2 or multislot3 and you patch the rom, gapps and kernel, what you've to patch. On phone you put directly the zip to patch on the SD card, on PC, you put the zip which will be patched.
[Galaxy S 4 i9505 Original Android Development] MohamedN:
Whenever I press rom settings i get fc
[Galaxy S 4 i9505 Original Android Development] Jsilver73:
Try a different snap shot or stable release 8 from the op.
[Galaxy S 4 i9505 Original Android Development] djmik21:
Guys i have the FCs with the snapshot too. WHich for some reason installed along with the stable apk and now both force close when i try to go to rom settings. I uninstalled them both and reinstalled the stable v8 but it still fc's. THank you to the dev this is really nice work.
[Galaxy S 4 i9505 Original Android Development] Jsilver73:
Are you using xposed?
[Galaxy S 4 i9505 Original Android Development] djmik21:
No. I use art.
[Galaxy S 4 i9505 Original Android Development] franzyroy:
Try to delete its datas before to uninstall it.
[Galaxy S 4 i9505 Original Android Development] djmik21:
I did that and it still FC's. On the other hand i booted in my primary rom and the app works.
[Galaxy S 4 i9505 Original Android Development] franzyroy:
Is it shared?
[Galaxy S 4 i9505 Original Android Development] djmik21:
Should i have it shared or not?
[Galaxy S 4 i9505 Original Android Development] franzyroy:
No, but when it's shared, it arrives to have this issue. Normally, to set that, just uninstall/ reinstall is enough.
[Galaxy S 4 i9505 Original Android Development] gaww:
8.99 patcher says successful but does not actually create a file ?
[Galaxy S 4 i9505 Original Android Development] Technical:
Wait a little. The process takes some time after marking 100% done to create the file.

No issues with the .99 version here.
[Galaxy S 4 i9505 Original Android Development] MohamedN:
Different versions nothing worked, app is not shared

Uninstall reinstall with data and cach clear didn't work

Formatted cache and dalvic cache then repeated no difference

I found a workaround though to share app for ge, booted into primary.. Shared individual app from there to my secondary ge rom, this way i don't have to deal with rom settings in ge

Btw patching a custom kernel with latest snapshot solves the fc issue but also brings back the random vibrations
[Galaxy S 4 i9505 Original Android Development] franzyroy:
Me too, no issues with it!
[Galaxy S 4 i9505 Original Android Development] franzyroy:
I've the same problem, I just installed multislot2 rom, and it makes me the same thing. :eek:

---------- Post added at 07:01 PM ---------- Previous post was at 06:58 PM ----------

@djmik21

With what DualBoot Patcher have you patched your rom? Me I used it the Alpha5.
[Galaxy S 4 i9505 Original Android Development] djmik21:
Me too.
[Galaxy S 4 i9505 Original Android Development] franzyroy:
Maybe the problem! I don't know.

---------- Post added at 07:18 PM ---------- Previous post was at 07:16 PM ----------

This is my fourth Rom and I never got this problem before.
[Galaxy S 4 i9505 Original Android Development] djmik21:
The same setup with a previous version of my secondary rom that i patched on pc with beta 4 and using the stable apk it worked fine. After i updated the rom, which i patched with beta 5, and the preview apk the FC's.
[Galaxy S 4 i9505 Original Android Development] franzyroy:
So maybe the cause!
[Galaxy S 4 i9505 Original Android Development] davy4475:
Thanks for the help but I have one more problem. I wanted to install my zip in primary because the second rom doesnt get touched so I patched and then put it into recovery mode but it wont flash. Just says bad installation. Ive downloaded it a few times
[Galaxy S 4 i9505 Original Android Development] franzyroy:
How many roms have you? 2, if you say the second doesn't work, maybe, you can install the primary without to patch it and after, patch a second like dual or multislot1, 2 or 3!
[Galaxy S 4 i9505 Original Android Development] davy4475:
Yeah 2 roms. Thanks again I will give a go
[Galaxy S 4 i9505 Original Android Development] MohamedN:
Fc in rom settings are definitely from alpha 5 patched roms..
[Galaxy S 4 i9505 Original Android Development] S2_fa_007:
What do you suggest? To use v8?
[Galaxy S 4 i9505 Original Android Development] gaww:
Waited a lot - no file created even though it indicates it has. Never had this happen with windows version.
[Galaxy S 4 i9505 Original Android Development] MohamedN:
I never had a problem with it except when it comes to patching ge roms, so yea use it unless you need ge.. If so use the workaround I posted few hours ago
[Galaxy S 4 i9505 Original Android Development] djmik21:
Hello guys i have another problem except the patcher apk fcs in my secodary rom(rom gapps and kernel patched with beta 5) i cant install supersu. I already pqtched the 2.01 zip with beta 5 and 4(tried separate zips) and flashed it but i still don't have root access with supersu. I have the standard su app but it doesn't work that well. Neither can i install better battery stats. If anyone can help i would be thankful.
[Galaxy S 4 i9505 Original Android Development] MohamedN:
Few pages back someone posted that he could overcome this by trying to install supersu in normal mode.. It will fail restart and try again 4 to 5 times.. It worked for him
[Galaxy S 4 i9505 Original Android Development] Jsilver73:
Use the

BetterBatteryStats_SystemApp_xdaedition_CWM_1.1.1.0.zip

After you install BBS, flash that, you will find the zip in the op of BBS :good:
[Galaxy S 4 i9505 Original Android Development] remorema:
hey guys. just stopped bye to say goodbye. switched to LG G2 D802.

best of luck chenxialong ;)
[Galaxy S 4 i9505 Original Android Development] franzyroy:
Good luck on your new model! ;) And at a next on another model .
[Galaxy S 4 i9505 Original Android Development] Chahk:
Is anyone running multiple ROMs on I9505G (GS4 Google Play Edition)? The /system partition is much smaller on this variant, don't know if that's relevant.
[Galaxy S 4 i9505 Original Android Development] franzyroy:
Strangely, today, by flashing my multislot1 rom update with the latest snapshot (8.0.0 r99), I've re found the displaying of names of my contacts in the SMS app, those of my multislot2 rom. I think I had lost them when I patched the rom with the DualBoot patcher Alpha x on PC.
[Galaxy S 4 i9505 Original Android Development] gaww:
Well I got 8.0#99 apk to patch finally. Trouble is that it was on HP touchpad and cannot it moved over to S4. I tried it there because I thought there might be a memory issue on the S4.

Even though the ROM to be zipped was on external with plenty of room, it just would not create the zip. The internal space was only slightly more than the size of the ROM, so the patcher may need more space to work.
[Galaxy S 4 i9505 Original Android Development] Waltee:
Will there ever be a way to install a custom ROM onto an SD card?

I only ask as I really want to dual boot my S4 Mini (I9195) with Touchwiz and Liquid Smooth, but even if I fully debloat Touchwiz my system folder still isn't big enough for two ROMs.

Or failing that, is there any way to modify partition sizes? As I wouldn't mind losing some internal storage space if it meant I could dual boot that way instead.
[Galaxy S 4 i9505 Original Android Development] MohamedN:
1- Don't think it will ever be possible.

2- There's a way, seen it somewhere (Google is your friend) just remember messing with partitions is a very very risky business
[Galaxy S 4 i9505 Original Android Development] Waltee:
Ah, that's a shame. Saw on one of the other multi-boot threads (unfortunately not for my phone) that they were going to look into it as they had managed to install them to USB via OTG, but it is done differently to this way so wasn't sure if it could be implemented.

I have been looking into it but unfortunately it seems phone specific from what I can tell. It's been done on the Galaxy SII so I'm hoping someone over there will be able to help me figure it out.

Cheers for getting back to me anyway.
[Galaxy S 4 i9505 Original Android Development] Technical:
Maybe you should take a look on http://xdaforums.com/galaxy-s4/i9505-orig-develop/mod-multirom-v28-t2864469
[Galaxy S 4 i9505 Original Android Development] franzyroy:
I was also thinking, but it would be pretty stupid to discard any a system that really works to go on another one that can be as good but shall oblige total reset and redo the complete parameterization of all Roms . Of course, if DualBoot Patcher were to stop, we would not really have a choice. Not still the case for the moment, no? Yet that he, his problem is quite different, as it is limited by its phone model. Maybe this solution is possible for him, if really no alternative. However, I don't know if a system would be stable over a SD even if it's really good.
[Galaxy S 4 i9505 Original Android Development] lukas77:
Hi mate,

One guy on S5 forum claim that this Dual Boot working on International SGS5 device, he started a thread about it. Some people want to try it and my concern is they can brick devices. Another thing is that you may don't want to anyone start a thread about you work. Just letting you know.

Do you think your Dual Boot may work on S5?

Anyway, link to the thread:

http://xdaforums.com/galaxy-s5/general/dual-boot-t2841957
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
Thanks for the info regarding the vibrations! The rom settings crash is to be expected and most likely won't be fixed until the Android patcher code is finished.
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
Enjoy your new device! :)

(Btw, the patcher supports D802 too, though I've only added support for Slimroms so far)
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
Thanks for letting me know! I replied in that thread.
[Galaxy S 4 i9505 Original Android Development] remorema:
glad t know it supports d802 but not having sdcard means having all thoose large games files in internal memory wich is short for one even rom. sould have bought the 32gb instead.

maybe Ill give it a go when it supports official CM and app data share ;)
[Galaxy S 4 i9505 Original Android Development] MohamedN:
No THANK YOU for all the amazing and hard work
[Galaxy S 4 i9505 Original Android Development] Jared20098:
How do I change the secondary ROM? I want it to go to Imperium from CyanogenMod.

EDIT: Oh, BTW, the error I get when I try flashing it says "Can't install this package on top of incompatible data. Please try another package or run a factory reset."
[Galaxy S 4 i9505 Original Android Development] MohamedN:
Through recovery (dual boot utilities)

Secondary rom->Wipe all

Then you are good to go
[Galaxy S 4 i9505 Original Android Development] franzyroy:
IF you've not DualBoot Utilities, it's there!
[Galaxy S 4 i9505 Original Android Development] Jared20098:
Thanks guys, I have it now.
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
Here is the sixth alpha for 9.0.0 :)

Changes from Alpha5

Initial support for the Galaxy Note 3 and Galaxy S 5 (I don't have either device, so I have no idea whether it works or not)

Consolidated modem and apnhlos partition mounting methods across various ROMs and Samsung devices. Please let me know if any ROM is getting the "unknown baseband" issue in the About Phone settings screen.

Known bugs:

Still doesn't work on XP

The window still resizes randomly

File extensions still aren't checked

EDIT: Whoops forgot to attach the file. Wait a sec...

EDIT2: Attached!
[Galaxy S 4 i9505 Original Android Development] AntaresOne:
Always remember that your primary ROM boots from the eMMC, the same used by MultiROM just with no dedicated partitions. The internal ROM (primary) isn't touched by MultiROM. eMMC and SD card (this last with slower installation and slower boot hightly depending on card's class) can be used for secondary ROMs that are completely stable as if they are primary, just choose the ROM to install and flash its ZIP file through the modified TWRP recovery available in the thread, no messing with patching ZIP of kernels, ROMs, Google apps.You can have an unlimited number of ROMs (until you finish memory). ROMs are showed in a boot menu rightly after the power on, and you can even choose to show the boot menu only by pressing a volume button rightly when you see the GT-I9505 bootlogo. Also XDA wrote a news on the portal: http://www.xda-developers.com/android/multirom-galaxy-s4/

Inviato dal mio GT-I9505
[Galaxy S 4 i9505 Original Android Development] franzyroy:
I don't doubt to MultiROM, I was talking about in the sense that we already have a super stable multiboot, it would be a shame to remove it to go to another that seems to work just as well. Except if we haven't the choice (like the GS4 mini user) or we are a inveterate flasholic, not my case. I've 4 roms and it's enough for me. I don't want to put the possible max just to say that I've a multitude of roms. My phone is primarily a phone that I need every day.

I therefore agree that your concept is really great.
[Galaxy S 4 i9505 Original Android Development] jigsawcrank:
Huge thanks for the Note 3 support, I will try it out.

EDIT: It works(X-Note(touchwiz) primary and Slimkat as secondary) on my N9005.

How you install Xposed Framework on secondary rom? Do I have to patch it or can I just simply install the installer apk?
[Galaxy S 4 i9505 Original Android Development] MohamedN:
Install apk as normal, if it failed try to patch it and flash
[Galaxy S 4 i9505 Original Android Development] AntaresOne:
I was talking about the faster method, no messing with patching zips and the possibility to choose the ROM you want to boot (ubuntu touch, sailfish and firefox are supported once ported to this device) at device power on like computers without loading Android>open a app>choose to reboot to another ROM. You wanna test the XYZ ROM? Flash the zip and load ROM, nothing else, no doubt that it's way faster, and you can even choose how many ROMs you want. It's not a case that everywhere bloggers, Android sites etc. say that MultiROM it's the ultimate multiboot solution

Inviato dal mio GT-I9505
[Galaxy S 4 i9505 Original Android Development] davy4475:
How can I add more storage to my second rom. I dont even have enough to flash gapps
[Galaxy S 4 i9505 Original Android Development] franzyroy:
I believe you, not doubt. I wanted that too, can start as a PC. With DualBoot patcher, you have to patch the rom, it's true, I'm agree. But the app to change the rom couldn't be necessary, already we can do it via the recovery with DualBoot utilities. I'm sure if a recovery will be customized to do it, it'll also work fine, maybe even an idea to inspirate to [MENTION=4277844]chenxiaolong[/MENTION] .

What I also like in the chenxiaolong's mod, it's the sharing of apps. Is it possible in your mod?

How does it work to about it?

Is it a virtual mounting? Like a Live CD.

Can we install applications in the systems differents?

Why don't work with chenxiaolong? It'll be a good idea to merge your knowledge.

Could you make him a custom recovery that would replace DualBoot Utilities? I will be enough interested to just have to choose at startup on what rom going... I admit! :good:
[Galaxy S 4 i9505 Original Android Development] AntaresOne:
To answer the first question, all ROMs are separate except for /sdcard and /external_sd which is shared between all Android ROMs. It's possible to share apps and app data between ROMs using Foldermount-like app, you can even sacrifice some GBs of you external SD (a class 10/UHS-1 is highly suggested to have the maximum speed) by creating an ext4 partition and install there Android apps. For example a 32GB card is about 29.27GB, you create a 9GB ext4 for apps and their data to be used and shared (individually or totally) with any Android ROM and other 20GB a FAT32/exFAT partition for your files. The virtual mount itself it's based on FUSE, even the original /sdcard (/data/media/0) it's vfat, a virtual mount point starting from ext4 /data partition in any ROM with or without MultiROM. Since this way, you can share apps and their data or install apps into the ROM individually (share some apps+install some others it's possible too). MultiROM it's based on one giant hack called kexec-hardboot patch, lets the system keep first 256MB of RAM undeleted after a reboot, so the primary kernel can call and boot another kernel that in turn boots another system (Android, Kali NetHunter, Ubuntu Touch, Sailfish OS, Firefox OS, a VNCed Linux distro set as autoboot on top of Android...), the boot manager is integrated along with the Trampoline in the primary boot.img. And how? Just flash kexec-hardboot patched kernel (Alucard), then flash MultiROM zip (modifies the boot.img itself) and modified TWRP (base TWRP+MultiROM things) to manage ROMs, kernel and MultiROM options/settings. This project and MultiROM came from a totally different nature, where they can't be merged, totally different the way how them works

Inviato dal mio GT-I9505
[Galaxy S 4 i9505 Original Android Development] franzyroy:
OK

But a recovery to choose where booted, it will be possible, no? With help to DualBoot Utilities.
[Galaxy S 4 i9505 Original Android Development] AntaresOne:
The way where you boot in recovery and choose the ROM you want? Yes, should be possible

Inviato dal mio GT-I9505
[Galaxy S 4 i9505 Original Android Development] franzyroy:
So, you could make this for chenxiaolong! ;) A little work in common.
[Galaxy S 4 i9505 Original Android Development] AntaresOne:
Maybe the OP should work on this, and only if asks for a help I'd help him without problems. It's his project, not mine...

Inviato dal mio GT-I9505
[Galaxy S 4 i9505 Original Android Development] franzyroy:
No problem, I understand ! ;)
[Galaxy S 4 i9505 Original Android Development] DeuXGod:
How did you managed to make it work on the note 3? I patched CM and Slim Kat with v9 alpha patcher but when I try to flash it in recovery it gives me some sim links errors and doesn't work. I have stock rooted rom on slot 1.

Sent from my SM-N9005
[Galaxy S 4 i9505 Original Android Development] jigsawcrank:
like you I pathced slimkat rom with v9 alpha6 , then slim-gapps with the "gapps/slim preset" and simply flashed both in my TWRP recovery.

I'm running X-Note v20 with AEL v7.9 custom kernel as primary rom. Maybe you forgot to set your primary kernel in the in the Dual Boot Patcher app?
[Galaxy S 4 i9505 Original Android Development] DeuXGod:
I tried again slimkat but instead of using it on Dual Boot I patched as multi slot 1 and it flashed successfully. But if i patch it as Dual boot it fails to flash with symlink errors. Maybe I'm out of space or something.

And no, I didn't forgot to set kernel. I'll keep experimenting :D
[Galaxy S 4 i9505 Original Android Development] Technical:
If it helps, I have SlimKat in Dualboot (secondary) without problems.
[Galaxy S 4 i9505 Original Android Development] jigsawcrank:
Me too, before flashing slimkat, I had about 800mb freespace in my system partition.
[Galaxy S 4 i9505 Original Android Development] DeuXGod:
Seems I need to free up some space on system. But I can't flash CM be it on Dual boot or multi slot. When you guys used the latest patcher did you select note 3 or GS4? If I select note 3 it asks me to setup allot of stuff. If I select GS4 it automatically recognizes the rom. Weird thing though is when o tried Slimkat on multi slot 1 it booted fine but my baseband and imei were unknown so I couldn't get signal :/

Sent from my SM-N9005
[Galaxy S 4 i9505 Original Android Development] jigsawcrank:
I chose note 3 and left the settings as they are and clicked on patch
[Galaxy S 4 i9505 Original Android Development] franzyroy:
I will say a lack of space.
[Galaxy S 4 i9505 Original Android Development] DeuXGod:
I will try again tomorrow with some more time. Make some debloat and see how it goes. Thanks for sharing your ideas :)

Sent from my SM-N9005
[Galaxy S 4 i9505 Original Android Development] gaww:
With your current situation, what does duelboot utility show as the space available in system (or space in the patcher app)? If zero, it is not enough space.
[Galaxy S 4 i9505 Original Android Development] Kifel Jatt:
I'm trying to patch this ROM http://xdaforums.com/showthread.php?t=2544474 but I get ”failed to patch file name 'OS' is not defined. I'm trying to patch it for multi boot slot 1. What does it mean?

Sent from my GT-I9505
[Galaxy S 4 i9505 Original Android Development] mistere372002:
How about making Sickness ROM Insane Kit Kat 4.4.4 V4 compatible with this.
[Galaxy S 4 i9505 Original Android Development] gaww:
It already patches - running it as multi 3.
[Galaxy S 4 i9505 Original Android Development] siriom:
Hi

Im trying to find a way to boot a custom kernel with Selinux in permissive without triggering knox to 0x1.

Does this app work for SM n9005 without triggering knox ? Will it do what i require ?

Thanks.