yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 i9505 Original Android Development] rlorange:
Ok guys i need testers.

I did a TWRP backup before off course and then backed up the second ROM and restored with 100% success...

Now please do a TWRP BACKUP FIRST testers needed pm me.

Only backup and restore dual ROM implemented atm.

Please try to backup from dual ROM running the app but not obviously restore lol
[Galaxy S 4 i9505 Original Android Development] tropenfrucht:
You're amazing!!!

Everything is working as it should.

In-app flashing went through without problem. And flashing a bumped kernel is also working as well as setting kernel and switching ROM while on LG stock ROM.

Only thing i did not test by now is changing modem.img when switching ROM. Will give feedback when tested.
[Galaxy S 4 i9505 Original Android Development] rlorange:
OK just backup up and restored my dual ROM flawlessly for the second time... Ready for testers
[Galaxy S 4 i9505 Original Android Development] todivefor:
As I am understanding only works for dual ATM? You might want to start a new thread. Sent you a PM. :good::good:
[Galaxy S 4 i9505 Original Android Development] suzook:
Delete....I pm you.
[Galaxy S 4 i9505 Original Android Development] monkteo:
I have in dualboot with 1019 version ;

1 primary - Echoe Rom v45 (TW)

2 multislot1 - Echoe GE Themed (GE)

So I want to update my first rom (Echoe v45 to v47) can some one give my some direction ?

(I like my configuration and I don't want to destroy it)

THX
[Galaxy S 4 i9505 Original Android Development] suzook:
Just flash in reg recovery like normal.
[Galaxy S 4 i9505 Original Android Development] nds850:
Where can I download the latest version for the Note 4? Thanks.
[Galaxy S 4 i9505 Original Android Development] Technical:
For any device, https://snapshots.noobdev.io/.
[Galaxy S 4 i9505 Original Android Development] gaww:
Patch the new ROM and install it as primary in recovery. If desired, you can first wipe /system, caches, and data in primary first with the utility zip.

---------- Post added at 05:08 PM ---------- Previous post was at 05:00 PM ----------

Quote:

Originally Posted by Technical View Post

Hmmm... sorry to quote myself, but can anybody share app with the latest snapshots?

I've got up to v1000 and can't make it work. The button is there but when I click, nothing happens...

Chen - just would like to know if there are recent snapshots that should do global app sharing, and if sharing between 4.x and 5.x ROMs is an issue?
[Galaxy S 4 i9505 Original Android Development] suzook:
I thought no patching was required for main ROM?
[Galaxy S 4 i9505 Original Android Development] sronweb:
I guess that without patch the other rom might be wiped.
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
Patching the primary ROM will prevent it from wiping other ROMs accidentally. (But if your current setup is working well, make a backup first :))
[Galaxy S 4 i9505 Original Android Development] ktetreault14:
Can I repatch a patch file. As I have deleted the source lol ?
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
Not really lol, but what you can do is: (on your PC)

Copy "data/binaries/android/armeabi-v7a/mbtool_recovery" from the Windows patcher to "META-INF/com/google/android/update-binary" in the zip

Update the version number in "multiboot/info.prop" to the version you downloaded

That should be pretty much identical to a freshly patched zip :)
[Galaxy S 4 i9505 Original Android Development] ktetreault14:
im just donwloading slim again. its not too big lol. already done.
[Galaxy S 4 i9505 Original Android Development] aukhan:
Could you please add support for N910C Note 4

Its an EXYNOS Model.

[MENTION=4277844]chenxiaolong[/MENTION]

Edit Found the way to boot.
[Galaxy S 4 i9505 Original Android Development] suzook:
Pm'd you. Would like to test please.
[Galaxy S 4 i9505 Original Android Development] aukhan:
[MENTION=3145598]rlorange[/MENTION] I selected the backup path as Micro SD and its unable to detect see this what I get in return.

Powered by ET !
[Galaxy S 4 i9505 Original Android Development] aukhan:
Can you please explain the process a little bit more in depth.

Am I first doing a TWRP backup the backing up the Dual ROM.from the app ??

Somebody help me understand or tell me steps on how to do this.

Powered by ET !
[Galaxy S 4 i9505 Original Android Development] rlorange:
Please pm only related to this process until i start am official thread
[Galaxy S 4 i9505 Original Android Development] aukhan:
My Bad I don't know I was hijacking others thread sorry I'll PM you.

Powered by ET !
[Galaxy S 4 i9505 Original Android Development] rlorange:
OK I'm going to post my backup and restore test version here for testers. BUT...

Please don't spam this thread with stuff related to it. Pm me instead. I will start a thread when I have a beta.

Deleted until further notice

Dual backup & restore implemented only. Recovery backup first before you attempt to restore
[Galaxy S 4 i9505 Original Android Development] aukhan:
Can 2 TW ROMs be installed or it always has to be TW and a CM12 ¿

Powered by ET !
[Galaxy S 4 i9505 Original Android Development] JhoonB51:
Yes, 2 TW roms can be installed if you have enough room. I had to debloat one of mine to get 2 TW and one CM up and running, worked okay.
[Galaxy S 4 i9505 Original Android Development] todivefor:
[MENTION=4277844]chenxiaolong[/MENTION] i am having problems with r1052. I patched cm-12-20150328-NIGHTLY-jfltespr.zip with the windows patcher to update my rom. It was recognized as CM and patched successfully. I tried the in-app install and it failed, screenshot attached. I tried installing from TWRP and got an error. Didn't pay much attention (sorry), something in updater script. I went into dualboot utilitities and switched rom to the one I was updating. It booted with no changes to rom. Then I realized I had not captured the multiboot.log. No big deal, I'll do it again. I rebooted into TWRP and reinstalled again. This time it worked. I went into dualboot utilities and tried to switch to the rom. It said I would have to reflash a kernel. I did. Tried to select rom in dualboot utilities again. Same thing. I switched to my primary and rebooted. From within primary, I switched to my secondary and it switched, rebooted and now running updated rom.
[Galaxy S 4 i9505 Original Android Development] todivefor:
Here is a MB.log. Looks like a space issue on something.
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
Thanks for the log! Yeah, it's running out of space on /data (internal storage). Because of the way the new Lollipop installers work, I have to temporarily install to /data first and then move the files to /system. If I remember correctly, jfltespr has a ~2.7GB /system partition. Make sure your internal storage has at least that much space before installing :)
[Galaxy S 4 i9505 Original Android Development] aukhan:
Chen does this support 5.1??

Powered by ET!
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
Starting from snapshot 8.0.0.r1059.g5883d5f, the progress bar is based on the number of bytes processed, rather than the number of files processed. It's a small touch, but it prevents the progress bar from being stuck at a certain percentage for an absurd time. *ahem* CM12 *ahem* :)
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
I haven't tried it, but I don't see why not :)
[Galaxy S 4 i9505 Original Android Development] aukhan:
I tried to setup AICP and it ended in a boot loop I doubt if its because of this patching or may be AICP Is not supported.

Powered by ET!
[Galaxy S 4 i9505 Original Android Development] rlorange:
Chen my backup app doesn't work for any testers could I use chroot running in the background from patcher app to initiate some initial commands before my custom busybox takes over??
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
You'll be able to use the chroot only if all the backup and restore code is written in C++. Android's command line tools are so inconsistent from ROM to ROM that I gave up and implemented everything myself (yes, even "cp" is broken in some ROMs!).

If you want, we could talk over PM and I'll see if I can help get your app working ;)
[Galaxy S 4 i9505 Original Android Development] todivefor:
Am I sol with only 678MB of internal memory left? Is this true with both in-app and installing with recovery, as on the second try in recovery it worked. I can't debloat enough to get to 2.7GB.
[Galaxy S 4 i9505 Original Android Development] rlorange:
Ok please try this version of backup and restore...

First uninstall there old version.

Then do a complete TWRP backup in case you lose your dual ROM on restore.

https://www.dropbox.com/s/w389e8ptila3ero/Multboot_Backup_Restore.25_sign.apk?dl=0

This version should not rely on anything except my own custom rlbbox and should set this up properly. You can backup, restore and delete your dual slot rom hopefully..
[Galaxy S 4 i9505 Original Android Development] flexxoo:
How can I clear cache on a note 4 second rom?
[Galaxy S 4 i9505 Original Android Development] ktetreault14:
Check the other thread or go into dual boot patcher and go to roms and click the menu for second rom and wipe. Only click cache
[Galaxy S 4 i9505 Original Android Development] aukhan:
[MENTION=4277844]chenxiaolong[/MENTION] Could you please add support for N910C Note 4

Its an EXYNOS Model.
[Galaxy S 4 i9505 Original Android Development] rlorange:
Argh! I'm calling binaries solely from my custom busybox and is STILL NOT working for any backup and restore app r testers...
[Galaxy S 4 i9505 Original Android Development] Technical:
Does the app sharing come back to work? Since version 1000 it is greyed out or not working...
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
The data partition contains your internal storage, so you'll just have to move some of pictures or other files to the external SD to make some room during flashing :) It only uses that space temporarily.
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
Not yet. I'm still working on that (doing it properly this time). I hope to get it done before the school semester is over.
[Galaxy S 4 i9505 Original Android Development] rlorange:
I'm using tasker to make the necessary dirs in data which seems to work. The reports are that my latest version is running OK installing my busybox setup.

I was running

su;

PATH=$(echo /data/local/rlbbox)

Before my command strings but will try

#!/data/local/rlbbox/sh

Instead

---------- Post added at 03:59 PM ---------- Previous post was at 03:55 PM ----------

Here install see of it works. You will find all the commands it runs of you unzip the apk and look in assets/kid/dara.XML I think

https://www.dropbox.com/s/w389e8ptila3ero/Multboot_Backup_Restore.25_sign.apk?dl=0

What I don't get is why it works for me
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
Please see my updated comment above :)
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
Sure, but I'll need a few pieces of info. First, I'll need a list of partition names and their partition numbers. You can get that from adb:

su -c 'ls -lR /dev/block/platform'

I'll also need a URL to a ROM you're planning on dual booting.

I don't think it should be too hard to support your Note 4, but I've never worked with an Exynos chipset before :)
[Galaxy S 4 i9505 Original Android Development] rlorange:
Aha thanks for the help.

I tarred the entire folder simlinks and all and put it into my app.

I'll Run install busybox instead...

Thanks for the help

---------- Post added at 04:25 PM ---------- Previous post was at 04:18 PM ----------

Edit I see I simlinked to busybox in the wrong bloody folder!!!

I just happened to have busybox there so it worked for me lol thanks so much my friend

---------- Post added at 04:48 PM ---------- Previous post was at 04:25 PM ----------

Chen pmed you a quick fix apk to run
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
Not a problem :D Btw, just replied to your PM.
[Galaxy S 4 i9505 Original Android Development] rlorange:
Great so that was it all along lol!

Good news is my app will rely solely on a custom binary path so should provide consistent results across setups.

I'll polish it up add support for the other slots and release soon
[Galaxy S 4 i9505 Original Android Development] ktetreault14:
I hope exynos doesn't give problems. I won't be getting the S6 Edge if so :D
[Galaxy S 4 i9505 Original Android Development] aukhan:
I am planning if Samsung is not getting SD then I buy HTC or LG.
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
Thanks! That was exactly what I needed. 8.0.0.r1066.gd81404c now contains initial support for the Exynos Note 4. Let me know if something is not working properly :)
[Galaxy S 4 i9505 Original Android Development] aukhan:
superb :)
[Galaxy S 4 i9505 Original Android Development] aukhan:
I had a friend of mine test it and threw an error with updater script not sure why when we flash the file normally it worked and when flashed after patching threw an error we are playing with updater script and shall soon get back to you incase if any help is needed.

Powered by ET!
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
Thanks for the info! If you could have your friend pull /sdcard/MultiBoot.log, I could probably help find out where the error is.
[Galaxy S 4 i9505 Original Android Development] aukhan:
Thanks Chen for such a quick response I'll have him share the logs and send across to you so you can take a look and suggest something I was thinking it is something to do updater script but your the expert :)

Powered by ET!

---------- Post added at 09:23 AM ---------- Previous post was at 08:57 AM ----------

Here is the file that you are looking for Chen I mean the log file

https://mega.co.nz/#!EAJ0UDpS!R6kIa_aSlq1S9BQYZrjfAclg5Ymr_QHEU3FOyTv9RNU

Powered by ET!
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
That file is "forumrunner.v1.3.10.apk" ;) But anyway, I got the log from the other thread.
[Galaxy S 4 i9505 Original Android Development] todivefor:
Chen, I freed up as much space as possible (about 2GB free), the in app flashing fails the same as before. However, installing through recovery works fine. Do both methods instaall to /data first? Why do I get different results?
[Galaxy S 4 i9505 Original Android Development] lukas77:
Hi Chen,

Would you add LG G3 D855 support in later builds?

Here all necessary informations:

Partition list:

https://docs.google.com/file/d/0B0xkWPMHJE-WSWE1MDFiYmpiVjQ/edit?usp=docslist_api

CM12 ROM I'd like to DualBoot:

https://download.cyanogenmod.org/get/jenkins/105424/cm-12-20150401-NIGHTLY-d855.zip

Thank you
[Galaxy S 4 i9505 Original Android Development] aukhan:
Chen for some reason its still patching as trltexx even after selecting the note4 Exynos here is the fresh log.

https://mega.co.nz/#!8Ipz2K7Q!32py_056RCTolJwKdWNb-INHR3_ZznrAq4FMHwRxGJY

Could you please take a look and suggest what to do ??

Powered by ET!
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
Oh man, do I feel like a dumbass.. I wasn't quoting the filename, so spaces in the path were breaking the in-app installation. I'll fix this as soon as my class finishes ;)

EDIT: I can't type
[Galaxy S 4 i9505 Original Android Development] ktetreault14:
He'll prolly fix this too after class :P
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
It looks like he might have flashed the same file as before. I just downloaded the same "N910C_DN_Lollipop_Rom_by_Electron-Team_v0.6.zip" ROM he was using, patched it, and the "multiboot/info.prop" file inside the zip does indeed say "trelte".
[Galaxy S 4 i9505 Original Android Development] aukhan:
I am sure he would do it :P he is very prompt in responses compared other Devs.
[Galaxy S 4 i9505 Original Android Development] ktetreault14:
Extremely, he also made his way into all these other threads and responds there also!
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
Just wondering, did he use rlorange's app? If he did, that's what's causing the issues. It replaces the multiboot/info.prop file with one for the Snapdragon trlte.
[Galaxy S 4 i9505 Original Android Development] ktetreault14:
He should just edit it manually with X-Plore or similar so he doesn't have to unzip.

Open info.prop and go to the bottom of it.

Erase the # before the mb.

Erase everything after the = on the same line.

Input dual or similar depending on where you would like to boot from.
[Galaxy S 4 i9505 Original Android Development] t0pstar:
Hey

Is there any way to restore a twrp or cwm backup to second ROM ?

For note 4
[Galaxy S 4 i9505 Original Android Development] aukhan:
I recommend Zarchiver PRo without unpacking I can make the edits of the files and lest you save at the same time.

---------- Post added at 12:13 AM ---------- Previous post was at 12:11 AM ----------

So you mean to say for Exynos there is no need of using the rlorange apps ? Just patch Via snapshot and its all done ?>
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
I'm not sure. It depends on whether AROMA supports the Exynos Note 4.
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
Done :) 8.0.0.r1070.g1146e56 is coming down the pipes soon.
[Galaxy S 4 i9505 Original Android Development] flexxoo:
I think it should be a good idea to move this thread to android development,because is not just galaxy S 4 app anymore!! Thanks in advance
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
I'm planning on doing that once I have a stable release :)
[Galaxy S 4 i9505 Original Android Development] g4nj4b4by:
any help?

have this running on my note 3, darklord note 4 port & cm12...every time i install on touchwhiz system i loose gapps on cm 12....i delete all the bloat on system....ideas??
[Galaxy S 4 i9505 Original Android Development] gaww:
You had it working fairly good when I tried DualBootPatcher-9.0.0Alpha6-win32_RELEASE on a slim 5.0.1 along with a 4.4.4 primary ROM. There were some minor issues, but it was still worth using as it saved a lot of space.
[Galaxy S 4 i9505 Original Android Development] lukas77:
Thank you, you're star!

Edit:

1. Patching ROM CM12 works OK

2. Flashing ROM in recovery OK

3. Setting up the primary kernel in DualBoot app doesn't work, I had to restore kernel in recovery to boot primary ROM

Error message:

Could not determine the boot partition because this device codename 'g3' is not recognised
[Galaxy S 4 i9505 Original Android Development] tropenfrucht:
The app checks in the build.prop for ro.product.device=d855 as can be seen here (https://github.com/chenxiaolong/DualBootPatcher/blob/master/libmbp/patcherconfig.cpp#L515) but on the G3 the value there is g3.

So just change your build.prop and you can set kernel.

I had the same problem on my G2 until chenxiaolong added more codenames to that line.
[Galaxy S 4 i9505 Original Android Development] lukas77:
Thanks man, after build.prop change it works perfectly.
[Galaxy S 4 i9505 Original Android Development] xperia modder:
[MENTION=4277844]chenxiaolong[/MENTION]

I really want to dual boot touchwiz and cm12

I am using note 3 hlte (the international version)

first i tried patching by the apk 8.0.0 at first it patched two roms but in twrp or in cwm it says binary error and the rom couldnt be installed and then i tried liquid smoth as you said its supported it said unsupported in the apk and the windows gui

but after the first 2 times the when i press patch in android the app crashes

so if i amdoing something wrong tell me i really want to dual boot cm and touchwiz and by the way even the windows gui dual zip also didnt install
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
8.0.0.r1074.gf6e7050 is on its way :) Don't need to repatch anything, just update the app.
[Galaxy S 4 i9505 Original Android Development] peppe130:
Hi [MENTION=4277844]chenxiaolong[/MENTION] :) Currently I'm using r914.. Is there a new stable release? :)
[Galaxy S 4 i9505 Original Android Development] ktetreault14:
Hella yes. Hold on I'll link you up

https://snapshots.noobdev.io/DualBootPatcherAndroid-8.0.0.r1074.gf6e7050-snapshot.apk
[Galaxy S 4 i9505 Original Android Development] v00d007:
I tried to install the new cm12.1 lp5.1 rom (by antares/alucard24) to multi-slot1 from within the patcher 1072. Patching and all flash ops do succeed but i can't boot that new one. :/
[Galaxy S 4 i9505 Original Android Development] JhoonB51:
It works sometimes with cm12 lp5.1 Antares...other times i need to flash the Alucard24 kernel....so if you don't get boot...flash the kernel and it will.
[Galaxy S 4 i9505 Original Android Development] v00d007:
i already tried flashing a kernel afterwards, but as there is no official lp5.1 kernel from alucard out by now, i built a custom zip with the boot.img from the rom. But it still gets stuck in the 1st screen and although the blue led lights up nothing happens anymore (tested 10min at least).

EDIT: when flashing the alucard 1.1a lp5.0 kernel it boots but then crashes at lockscreen with the message "nfc stopped working", then soft-reboots and again, again, again...
[Galaxy S 4 i9505 Original Android Development] todivefor:
I have a couple issues wtih R1074. Galaxy S4 Sprint variant. I patched an updater script created by Titanium Backup (update-cm12.zip) with the windows patcher. I tried in-app flashing and get message need to patch with some beyond 1063. I then patched with app. I then get the same error I get when flashing roms. I think this has to do with the non-quoted path with a space in it. I thought it was fixed. Let me know if I can provide any other doc.
[Galaxy S 4 i9505 Original Android Development] lukas77:
[MENTION=4277844]chenxiaolong[/MENTION] I started thread in LG G3 General section. I hope you won't mind. Buut if you do, let me know and I will close/delete it.

Thread is located here:

http://xdaforums.com/lg-g3/general/patcher-dual-boot-rom-lg-g3-t3071546/post59866724#post59866724
[Galaxy S 4 i9505 Original Android Development] flexxoo:
[MENTION=4277844]chenxiaolong[/MENTION] is it possible to have dual boot at power on boot ?

Because every time I switch rom I lost my data signal and I have to put it in airplane mode and switch it back
[Galaxy S 4 i9505 Original Android Development] todivefor:
Sorry can't help you with your problem, but when using in-app flashing where do you find the log?
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
Sorry, I haven't had a chance to fix it earlier. It should fixed now in 8.0.0.r1075 :)
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
I've subscribed to the thread and will help out if any way I can :)
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
Thanks for the log! It looks like it's failing due to the lack of space:

From the log:

Symlinking........ing 4096 bytes from zip file from 0xbe83840c: No space left on device
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
The should should always be in /sdcard/MultiBoot.log if I haven't screwed up anything.
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
This might have failed for a different reason than the other zip. I'll update this post if I find anything.

EDIT: Fixed in 8.0.0.r1077.g5e6e0f9, though your friend still may have troubles installing if there is not enough space.
[Galaxy S 4 i9505 Original Android Development] ktetreault14:
Hey [MENTION=4277844]chenxiaolong[/MENTION] I meant to let you know that when I newly patched last night and tried to install 5.1 on my note 4 via in-app nothing happened. Edited it and it flashed fine in recovery. No log also
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
Strange... Which 5.1 ROM were you using? I'll give it a try on my Note 4.
[Galaxy S 4 i9505 Original Android Development] ktetreault14:
It is a test of CMRemix. You need the link?
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
Sure, that would be great! I'll test it out tonight.
[Galaxy S 4 i9505 Original Android Development] ktetreault14:
Tada http://xdaforums.com/showthread.php?p=59855670