yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 i9505 Original Android Development] marcdw:
Yes, thanks. The downloads I know, just bummed out that the compatibility list is no more. Couple months back on github someone posted about that. No responses.

Essential PH-1, /e/OS 0.7-n ROM, microG (NoGapps), XDA Legacy
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
The list of compatible devices can be found in the source repo here: https://github.com/chenxiaolong/DualBootPatcher/tree/master/data/devices

These are the same files used to generate the page that used to be on the website.
[Galaxy S 4 i9505 Original Android Development] marcdw:
Ah, thanks dev. I looked around github but not deep enough. Cool deal. [emoji108][emoji106]

ZTE Axon 7 A2017U, AOKP 7.1.2 ROM, Radioactive v2.4 Kernel, microG (NoGapps), Multiboot, XDA Legacy
[Galaxy S 4 i9505 Original Android Development] lagoausente:
Hello, I think you can give me a first help.

I have a S4 I9505 that I was running stock Lollipop 5.01 till yesterday. On earlier phones I experimented with custom roms, recovery so I´m not total newbie. I bought a pair of bluetooth sensors (sport) that comes with an App, supposed minium requirements are Lollipop but in real life don´t work ok. I checked my wife phone (pie) and worked so I flashed latest LineageOS 16.0 succesfully, then the sensors App worked. But I miss the original camera app, because there is no way to can get slow motion with any other app I tried, and the original seems can´t be installed on custom roms.

Well, since the only reason I upgraded the Android was for that sensors App , I searched and found this dual boot posibility, I guess an Android between 5 and 9 may work for that App., so in short questions:

-I have a S4 I9505, with Dualpatcher app ...whats the latest android version I could install as secondary? (have read pie as secondary don´t boot....) so what one is the last one should work?

- for with device, whats Rom (latest version android) do you recomend as stable no bugs (bluetooth etc)

This is an old thred and old phones so I´m lost because there a lots of roms and I haven´t been up to date on this theme.

Hope one can help me on a first suggestion of whats the latest rom I can get installed.

Thank you in advance.
[Galaxy S 4 i9505 Original Android Development] lagoausente:
I have tried different roms and app is very easy to use and works fine, even allow to make backups.

I only have a problem, if install rom with separate backups, can´t make it work, just follow steps as they are, install rom patched, then gaps patched but then no boots, only boots if install only rom, or one of the rom with included gapps, so I guess that maybe the gapps must be edited because of different folder names? Just guessing.

The problem is that the roms with gapps included I have found a Pie 9, and the S4 seems to be more "ligtht" with the 8.1 version, but don´t find Rom with gapps included, and if install them separately don´t boot... any idea?

Thank you.
[Galaxy S 4 i9505 Original Android Development] jacktenor:
Ive been trying to learn about compiling code and android development using DualBootPatcher on an off for a few months now trying to add my old LG Optimus G Pro (lg e980).

I have cross compiled it, used travis, docker etc, and I've learned a lot. but have yet to successfully dualboot a rom. I feel like I'm 1 error away from accomplishing my goal and its driving me crazy.

I've got what I believe to be a good clean build of the DualBootPatcher apk and can patch roms but flashing at the very end I get error about loki.sh failing and destroyed chroot.

Iv tried adding loki.sh to system/bin I have tried changing the flash script to use loki-tool which is present in /system/bin. If I cut the lines about loki.sh out of the patching script out it will successfully flash and I can update ramdisk and receive the option to select rom during boot but if I select a patched rom it freezes tight as soon as countdown finishes.

I'm completely stuck with no ideas so close after so much effort.

. So I'm hoping someone may see this and be able to help with advice or. maybe add my device to a known working build or something. I'm not sure what.

I'm going to put my logs and device yml up at my GitHub which also has a travis build of the apk if anyone feels like taking a look or maybe trying my apk build with a working device. If anyone does I'd really appreciate it.

GitHub jacktenor/dbp/releases/

GitHub jacktenor/dbp/blob/master/logs.zip
[Galaxy S 4 i9505 Original Android Development] Overload87:
Hy their i want to do an Security Rom with dualboot

I have LineageOs 15.1 rooted, and tryed to Install and Use Dualboot Patcher!

But the Utillitys Zip i cant find anywhere, has anyone a Link for KLTE(Samsung S5 right Download Links please?)

I tryed nur than comes error saying failed comnection to mbtool or ramdisk cannot be Updated !

Any Solution for that ?

Thank you all and for this Great Work !!!

Thanks thanks thanks......

You are all Really Great People Keep on Doing this work. And if anyone need an Homepage Forum or something for your Project i can do some for you !

Write me and we can Talk about it!

I wanna Help and have IDeas for other Things like next Post !

We all together can Change the World and The WorldWideWeb !

Keep Nice and Stay Save,

Thanks for everyone and every Idea or Tutorial what could Help anyway THANKS a lot
[Galaxy S 4 i9505 Original Android Development] Overload87:
I like to do an Security Rom/Workspace maybee with dualboot

Hy their, i would have an Question.

Is it Possible to Install a Minimum (Save Rom/Virtual Space/Security Programm/App/ Workspace) for Working, Paying Things over Internet and other Things.

Like an Programm/Workspace/Virtual Space, wich uses Stock Roms Abillitys and Stuctur). But start with a Empty/Blanc Secured (Virtual-)Workspace/(where Every Outgoing Data can be Blocked ! And bind Apps,Data, other Things from the Stock Rom which are Save.

Or Cut All These Data,Apps or maybee an Virus,Adware or anythink like that!

So that we would have A Secure 2nd System/Workspace where we would have a Firewall and maybee Fake Imei/Mac Address ?

To Keep all The Secrets/Bank Login, Projects,Data and others REALLY SAVE from other People.

So it would be a Safe Place to Store Infos, and a Workspace where its Very Hard or Impossible to Track the Device and get the Real Infos(IMEI,Mac aso.) Instat of Fake Infos we could configure First in this Secure Workspace !

And including maybee Tor Network,VPN or others to Keep Anonymous while we would be in the 2nd Safe-/Anonymous Rom/Virtual Rom/Workspace or are their now Better Ways stay Anonym in the WWW ?

If anyone have an Idea or other Helpfull Infos,Tutorials and other thinks that could Help i thank everyone for them ....!

I just started Using LineageOs with F-Droid and try to Keep Free from Google and MicroG !

Couse Our Privacy must be Save. But Google and other Apps,WebSites,Cookies are Saving Data from Us and its hard to know what They Really Save, Know and Download From Our Device!

I would really Like to Help where I can about Apps,Roms,SECURITY and other Thinks to Keep and Secure our Devices.

Their are some Apps wich Uses VPN to Block /or Allow Outgoing Data,

But than its not Possible to Use a VPN Service that makes you a bit harder to Track the Device !

I was IT-Supporter a few years, but mostly works doing Homepages,Computer Hard & Software and a bit with Networks! But if their is any Way to Help or a Project. Where everyone could See What People with (*)Knowledge will be Searched for ...

To Create/Work on such Projects, this would be Great.

Sorry about my English, im from Germany...

Thanks and plz let me Know if this Idea is Too Crazy, or what will be Needed to Make some Security Project like this. Staying Really Secure from Nearly Everyone!
[Galaxy S 4 i9505 Original Android Development] OmrAmer:
Hello,

I face a problem when I click on roms button the app force close after enabling root maybe my phone is not supported

Can you support my phone please

My phone is Galaxy j7 prime 2 (Sm-G611f) Exynos Ram 3gb and I have root

And thank you for making this app
[Galaxy S 4 i9505 Original Android Development] karkasss:
Resolved
[Galaxy S 4 i9505 Original Android Development] tareqabamawi:
Today 30_9_2020

only Galaxy S4 ?
[Galaxy S 4 i9505 Original Android Development] GoJo ^^:
Hello, i'm totally new to this. I can see in the list of compatible device that i own a few, i'll start with my Galaxy S7 : i have a touchwiz rom installed as primary. I installed DualBootPatcher APK app and patched another rom (Lineage). Then tried to flash it as secondary : within the app it fails. Within TWRP it seem to success however when i reboot i get bootloop..? The primary rom is running Oreo, up to which Android can i go as dualboot, if there is a limit..? I mean, can i have Oreo & Android 10/11/12 as secondary? It was Lineage 17 i tried, which is 10/Q. Am i supposed to flash something else than rom to have it work or..?

Ok so in fact it also fails in TWRP. first it says "patching system image unconditionally" which success, then copying temporary image to system > FAILS. I can join the MultiBoot.log file if you wish (too big to display all as text) but i'm sure it's just i forgot a little thing..?
[Galaxy S 4 i9505 Original Android Development] Simon1511:
Yes, there is a limit. The newest android version you can dual boot is Android 9 since Android 10 uses system-as-root.
[Galaxy S 4 i9505 Original Android Development] karkasss:
Hello, This is what I succeeded on my S7 & S6. As i experienced, you cannot install android 9/10/11 on sub-rom(data-slot), but it'll be working as pimary regardless of AOSP/TW

Btw, I wanted to install stock 8.0 as sub rom, but flashing failed always under Android10(primary). I don't know the reason but finally I succeed like below.

1. Install 8.0 as primary first

2. install patched 8.0 to sub rom under primary rom condition

3. Boot sub rom.

4. remove primary rom through DBP as I attached (you can include multiboot files also to remove)

5. Install primary rom which you want to install through TWRP recovery as usual (You don't need to patch primary rom, but be careful not to remove data partition, otherwise, all installed sub rom will be removed, that's why we need to remove primary using DBP, I'm sure you aware of this)

Good luck!
[Galaxy S 4 i9505 Original Android Development] GoJo ^^:
Could you recommend some custom oreo rom then? It's so old now, not so easy to dig..^^
[Galaxy S 4 i9505 Original Android Development] karkasss:
Blackpearl

https://xdaforums.com/t/blackpearl-s9-s9-stable-smooth-fast-v6-0-e-o-l.3760189/

Superman

https://xdaforums.com/t/eol-rom-sta...930f-fd-k-l-s-w8-superman-rom-v3-0-1.3356197/
[Galaxy S 4 i9505 Original Android Development] danerrickcuba@gmail.com:
Has anyone managed to pick up the project for any device? I remember chenxiaolong did mention it can be done.
[Galaxy S 4 i9505 Original Android Development] Simon1511:
Not as far as I know.
[Galaxy S 4 i9505 Original Android Development] GoJo ^^:
Thanks, well not i'm not aware of much as of now..! Which is why i'll ask a few : 1/ "install patched 8.0 to sub rom under primary rom condition" what do you mean here..? I don't get it, should i install it through the app or twrp? I'd like to do it cleanly for once..

2/ When am i suppose to "update ramdisk"? Apparently it needs to be done quite often, as i read.. Anyway, just cleanly installed DELUXE rom (Oreo), will patch it and try install it to second slot, it should work without any issue once you answer my questions.. Then i'll try to install DELUXE Pie to primary.

And then, if i understand your screenshot correctly, you then installed more dataslots FROM your PIE Floyd 5.1 rom, correct? ^^
[Galaxy S 4 i9505 Original Android Development] karkasss:
1/ If rom has aroma installer, you cannot flash by app, but TWRP. I made my own stock firm.zip from original firmware using this tool

[TOOL] [Windows] [GUI] ClassyKitchen For Android ROMs Development

I don't take responsibility for any damage may happen to your device because of using this tool, USE AT YOUR OWN RISK A new generation of Android ROMs development...The ClassyKitchen About: A new C++ Windows application that based on...

xdaforums.com

So I could flash by app, because there was no aroma option.

2/ To be honest, I don't know what is for "ramdisk update". although I didn't update ramdisk, no issue for me.

3/ Second screenshot was came from S6, not S7, I tried to show 8.0 rom could be installed to sub rom even for S6.

According to my experience with many devices, flashing success is depending on below.

- What version of TWRP was installed, please try to install old one when you have a trouble.

- Sometimes flashing failed via TWRP, but succeeded to flash by app

(That’s why I usually edited downloaded roms to remove aroma script to install by app)

- Sometimes flashing failed by app on primary rom, but succeeded by app on secondary rom (to install third/fourth rom)

- It was not booted correctly after secondary rom installing, I tired to update ramdisk then succeed to boot some cases.

(On the contrary, I also experienced it didn’t boot after ramdisk update, although it booted correctly before ramdisk update)

- If you have an error message when you installing “this device is not supported to install this rom (I cannot remember the exact sentence, but maybe you can understand what I mean), please add this at the end of build.prop, ro.patcher.device=herolte

- Sometimes root app messed up each other between primary & others. To avoid this, I installed Magisk v24.1 on primary, Magisk v20.x on secondary in my case.

Please refer below also for better understanding

https://xdaforums.com/t/dualboot-patcher-full-guide-for-how-to-dualboot-your-note-4-exy-sd.3534056/
[Galaxy S 4 i9505 Original Android Development] GoJo ^^:
Ok so i did insall Deluxe4 to primary, install patched to data slot, then boot it and from there delete primary, then went twrp and installed Deluxe5 (PIE) to primary and booted it. All that worked. HOWEVER when i enter DualBoot app from there, and go to ROM section, it just crash.
[Galaxy S 4 i9505 Original Android Development] karkasss:
Add this line to build.prop, ro.patcher.device=herolte
[Galaxy S 4 i9505 Original Android Development] GoJo ^^:
I'd like to try that, but at the moment i'm stuck : i created a patched superman (nougat) rom zip and flashed it (on a new data slot). When reboot, the device vibrate 5times before rebooting into recovery. From there i tried to delete the new data slot data and switch to primary : it FAILS. Switch to secondary works HOWEVER i still get the 5vibrations and reboot to recovery.. Help please?

EDIT: Tried to reinstall Deluxe5 (on primary) and still same. Then went to DualBootUtilities and what i see? Primary partition's gone, only Deluxe4 data slot remained and.. well same, 5vibrations sickness. So no choice : had to wipe data, etc.. And reinstalled Superman as main. Back to the begining.. Well if it ever ends up booting, it's taking forever! Would like to understand what happened to avoid reproducing..

EDIT2: Well not it won't boot! When i install it, i chose to update modem & bootloader, for the latter it get stuck (in the installer) so i have to force reboot. Then try reinstall it doesn't get stuck but twrp warns me "no system installed", i check system partition and 0MB.. Then retry flash it and again. OVer and over. Same with SUperman Oreo. Going to try to flash another rom, so strange..

PS: Not specifically but i read often that Nougat had better battery than Oreo and perhaps was (and is still?) the best Android for battery life. Is that true?
[Galaxy S 4 i9505 Original Android Development] GoJo ^^:
Ok so i was in the end able to boot Superman Oreo, then i made a patched Superman Nougat for data slot and tried to install in twrp : it fails >>

mount: failed to mount

/dev/block/platform/155a0000.ufs/by-name/HIDDEN at /preload: No such file or director

/dev/block/platform/155a0000.ufs/by-name/HIDDEN at /preload: No such file or director

Then aroma install goes on and end up with "success" which is why i missed that first (it goes down ultra fast)! No clue what all that means.
[Galaxy S 4 i9505 Original Android Development] karkasss:
Same problem for me. Below 7.0 wasn't booted on dataslot although they were flashed correctly. Btw we have been talking about Oreo how to install to dataslot, haven't we?
[Galaxy S 4 i9505 Original Android Development] karkasss:
If I install 7.0 on primary after full data wiping, 7.0.or 6.0 was booted on dataslot.

But they won't be booted anymore as soon as I replaced with 8.0 or 9.0 on primary.
[Galaxy S 4 i9505 Original Android Development] GoJo ^^:
It won't be even as a primary. Even though i installed related bootloader & modem.. I don't know why it works for you then! I'll now try your trick (edit build.prop) to rebuild a dual boot as tried first. By the way, how do you update Gapps? Flashing new ones over old is bad (not just read it but experienced), need to remove old ones first but how? Tools i found don't work, for example "Gapps Trash Remover" = error > "couldn't mount system" weird
[Galaxy S 4 i9505 Original Android Development] karkasss:
I'm confused what you want to do.

Are you still talking how to install 7.0?

1) Are you trying to 7.0 on dataslot?

=> Not possible if primary is 8.0 above.

2) Are you trying to 7.0 on primary?

=> data wiping is required as the attached (internal storage will be erased)
[Galaxy S 4 i9505 Original Android Development] GoJo ^^:
I haven't changed plan. I just felt like trying Nougat. But ok i get you, i won't be able to boot Nougat unless i wipe internal storage, which means basically i have to switch Oreo & something else above as primary OR Nougat and below.. Correct? Well, that's a bad news.
[Galaxy S 4 i9505 Original Android Development] ekix7:
Hi dear, will this work on these models?

- Samsung galaxy Tab S2 (sm-t819)

- Samsung Galaxy S2 (GT-I9100)

- Samsung Galaxy S (GT-I9000)

- Samsung Galaxy A7 2017

- Samsung Galaxy A51

- Huawei Enjoy 5 (Y6 Pro 2015)
[Galaxy S 4 i9505 Original Android Development] gaww:
If you patch the ROM and Kernel OK, I would think so.

I would suggest doing only the ROM first and see if it boots up and runs OK. Then do the kernel. This way if you have an issue - would will know where the issue is.
[Galaxy S 4 i9505 Original Android Development] Bejda:
For now you could just rename the zip like the full pack, it will work that way.
[Galaxy S 4 i9505 Original Android Development] `SBR`:
It's working after I cleared the space on internal memory.

Rom is Miui official
[Galaxy S 4 i9505 Original Android Development] Buddyjohn:
really? i did not know that, thanks.

---------- Post added at 11:21 AM ---------- Previous post was at 11:20 AM ----------

BamROM, kitkat release is not supported.. could you give it a fix please?

goo link: http://goo.im/devs/bam
[Galaxy S 4 i9505 Original Android Development] Bejda:
Not a rule but sometimes it fails or state unsupported just cause there's a mismatch between zip name and the name dual-boot patcher expects (refer to DualBootPatcher.zip/patchinfo/ files).

Same story for Bam rom zip,rename it like this:

BAM-Rom-2.0-20131209-KitKat-jfltexx.zip (or jfltecan of course).
[Galaxy S 4 i9505 Original Android Development] robertogl:
Question: i've read some pages and search but i didn't find a correct answer. How do i patch gapps? Is it sufficient use patch-file.bat on windows?
[Galaxy S 4 i9505 Original Android Development] Bejda:
Same as rom's yes.
[Galaxy S 4 i9505 Original Android Development] `SBR`:
a quick question

If I'm patching via windows it's not asking for dual or multi slot...is there any way to configure as it like in apk.
[Galaxy S 4 i9505 Original Android Development] velayo:
Can't thank you enough, man!! Just what I was looking for.
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
useful/multi-boot.bat :)
[Galaxy S 4 i9505 Original Android Development] gravedigger76:
Hi Guys,

I have KangaBeans running as primary and Goldeneye running as secondary (ATT S4).

Was looking to see how the multislot works. Are there any instructions and descriptions what that does?

How do you get 3rd ROM installed? Any guides etc.. would be greatly appreciated.

thank you
[Galaxy S 4 i9505 Original Android Development] Mussels84:
educated guess, but the multislot would be where you install the other roms.
[Galaxy S 4 i9505 Original Android Development] gravedigger76:
yes, good guess.. but will switcher app have other slots listed?

How about kernel, third rom kernel option? :)
[Galaxy S 4 i9505 Original Android Development] royredman:
Hey. Are we able to boot more than two roms now? If so, how would you switch to the third and fourth ROM in the dual utility zip file?
[Galaxy S 4 i9505 Original Android Development] taxi333:
fyi, patch doesnt work when patching supersu (any version) in both linux, and android. windows works fine.
[Galaxy S 4 i9505 Original Android Development] Bejda:
Still works for me, SuperSu 1.80/DualBootPatcherAndroid-3.2.2-signed.apk

---------- Post added at 08:06 AM ---------- Previous post was at 07:53 AM ----------

Sure,I have 5 rom installed at the moment.

Dual-boot switcher app handles this perfectly, only dual-boot utility zip doesn't for now but if you're a little used to explore your phone with a root file manager it's not very hard to see where all stuffs are installed and handle them manually.

Multislot rom's /system's are installed into our /cache partition.
[Galaxy S 4 i9505 Original Android Development] chavdar:
[MENTION=427477]chenxi[/MENTION]along: I tried using the 04.12 Nightly of your noob dev ROM as a multi slot 1 Rom, patching went well but after the restart upon completion of loading everything FCed. So currently it is useless.

Is this problem known?

Sent from the GT-I9505 Galaxy
[Galaxy S 4 i9505 Original Android Development] daveve:
Where is the zip file storaged after patch on device?
[Galaxy S 4 i9505 Original Android Development] Bejda:
Same location/folder than original zip,same as with pc patcher version.
[Galaxy S 4 i9505 Original Android Development] gaww:
I TT think he has said you can't use it that way, as it is patched for only the secondary. You have to patch a CM for slot 1
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
The rescue tools are now all combined into one zip. It now uses the amazing AROMA installer for a nice GUI :)

http://d-h.st/users/chenxiaolong/?fld_id=24393#files

(it's meant to be flashed in recovery ;))
[Galaxy S 4 i9505 Original Android Development] marcoxx626:
Rescue tools? Not sure what that is lol... :-\

Edit: Ohhh the zip files OK sorry :)
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
Maybe that's not a good name... Anyway, it's a way to properly wipe partitions in a dual boot setup and switch ROMs if one of them won't boot up.
[Galaxy S 4 i9505 Original Android Development] Bejda:
Hi :)

Switch to secondary and save recovery log gave me /tmp/aroma/exec_tmp: line 236 syntax error unexpected end of file (expecting "}")
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
It actually works quite similarly to this patcher. The difference is that a single zip supports both single and dual boot installs. To install my ROM is dual boot mode, a DualBootEnable.zip file needs to be flashed. It basically just creates an empty /system/.secondary file.

When the ROM is being flashed, it sees that /system/.secondary file, and the files will be installed to /system/dual instead of /system. During bootup, the ramdisk will actually do the exact same check. If /system/.secondary exists, it will mount

/raw-system/dual -> /system

/raw-data/dual -> /data

/raw-cache/dual -> /cache

otherwise, it will mount:

/raw-system -> /system

/raw-data -> /data

/raw-cache -> /cache

Hope this helps :)
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
Thanks for testing so quickly! :)

I'll take a look at the issue and try to find out what's wrong.
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
It should be fixed in the newest version (version 1.0.1) :)