yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 i9505 Original Android Development] nds850:
Tried with ES but it didn't work either. Installed File Explorer, https://play.google.com/store/apps/details?id=nextapp.fx and then I was finally able to remove all the folders. Really strange, I have never had any problem like that before.
[Galaxy S 4 i9505 Original Android Development] todivefor:
Is this with the stable patcher? With r914, I don't see raw, but raw-cache, data, system.
[Galaxy S 4 i9505 Original Android Development] ktetreault14:
I'm sure [MENTION=3145598]rlorange[/MENTION] can whip up an app from tasker wipe that stuff without killing my secondary ROM and sdcard :D ??
[Galaxy S 4 i9505 Original Android Development] mike13ftw:
Can I install a third romantic on note 4 ? I currently have a touchwiz rom and cm12 and I want to install another cm12 based rom
[Galaxy S 4 i9505 Original Android Development] carandcar:
Unfortunately there's not enough space left on the system partition for three.
[Galaxy S 4 i9505 Original Android Development] mike13ftw:
What is this ? I want to update echo ROM on my note 4 and this show up
[Galaxy S 4 i9505 Original Android Development] royredman:
Hi. Thanks for this dual boot! I use it regularly. One question I have had for a long time has popped up in my head today.

How do I update the ram disk? Every time I try it fails on me. Why would it fail? I just want to use the sharing apps feature

(I currently am on echo 29.1 and cm12)
[Galaxy S 4 i9505 Original Android Development] xda23:
If I was to flash both of these zips through recovery on my tmobile note 4 is that all I need to do to get dual boot on my device? Thanks ;)
[Galaxy S 4 i9505 Original Android Development] danon.brown:
you need to patch the rom and gapps you're flashing. if you are on t-mobile you also will need to change a line in the info.prop or the install will freeze. I just did this and booted fine after multiple attempts freezing on the install. it works for t-mobile note 4.

http://www.linuxmolecule.com/how-to-dual-boot-roms-on-the-galaxy-note-4/
[Galaxy S 4 i9505 Original Android Development] t0pstar:
Try to edit the ROM name , remove ” _ "
[Galaxy S 4 i9505 Original Android Development] mike13ftw:
It didn't work
[Galaxy S 4 i9505 Original Android Development] xda23:
Why when I download these 2 files they download with no problem but once they go to es file explorer it's says bad zip file. Thanks In advance!!!
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
Another feature people have asked me to include for a long time is now here! Starting with snapshot build 8.0.0.r1015, you can now wipe ROMs directly from the app :)

Note that, like in-app flashing, this is still an experimental feature. If you want to test this feature, I recommend making a copy of your important data and backups to the external SD.

[youtube]UrPWic7ZtrA[/youtube]
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
^^^^^^ :D :laugh:
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
Is the ramdisk update failing for CM12 or Echoe 29.1? Also, is it failing in primary or secondary? I'll see if I can get a similar setup to yours so I can figure out what's causing the issue :)
[Galaxy S 4 i9505 Original Android Development] ktetreault14:
I thank you hella bunches
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
Hey [MENTION=4491606]ktetreault14[/MENTION]! You mentioned that the LG G2 needed different modems for some ROMs right? I made some changes to mbtool yesterday that allows me to implement something that flashes a modem when the ROM is switched. Could you give me the path to the LG G2's modem partition, so I could implement this? (I need both the /dev/block/platform/msm_sdcc.1/by-name/* path and the /dev/block/mmcblk0p* path)

Thanks!
[Galaxy S 4 i9505 Original Android Development] ktetreault14:
Oh no my G2 is bricked right now :( I'll get those modem paths if someone else doesn't before me :D
[Galaxy S 4 i9505 Original Android Development] sronweb:
Hello' Chenxiaolong,

do I missed something or with latest snapshots the "app sharing" feature should be working?

In the past I have used the individual app sharing, it should be nice to have it working again. Thanks
[Galaxy S 4 i9505 Original Android Development] royredman:
Thanks for the quick response. I tried updating it in both primary and the secondary ROM. Neither of them work. Echoe ROM is a pretty old ROM for Verizon, so I wasn't sure if that was the culprit or not. But cm11 nor cm12 wanted to accept the update.I am on snapshot 8.0.0r 1007 snapshot so you know.

Do you think you would be able to maybe make that part of the program explain why it failed in some of your future updates?

Overall, I'm very happy with your work. Even if I can't get this to work for me, I love the dualboot opportunities. Thanks!
[Galaxy S 4 i9505 Original Android Development] Technical:
Does anybody has experience with dualboot and Link2SD (or any other send-to-SD app)?

I know that files in the 2nd partition in the external sdcard are encrypted (avoiding piracy I suppose), but can I share app among ROMs in this situation?
[Galaxy S 4 i9505 Original Android Development] jpeps:
Can I patch without a computer
[Galaxy S 4 i9505 Original Android Development] gaww:
Yes - use the Android app patcher rather then the PC zip. Working OK on TW and other 5.0 ROMs.

---------- Post added at 07:52 PM ---------- Previous post was at 07:49 PM ----------

I don't know if the folder setup for the Note4 is different then the S4, otherwise you have 2.1 GB of a cache folder to flash Multi slot ROMs 3-5. I have a 2 GB TW 5.0 in slot1
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
I want the bloated TouchWiz back... :p But seriously, the Note 4 cache partition on the US variants is 484.3MB. The international version has an extra "hidden" partition which reduces the cache partition size down to ~200MB.
[Galaxy S 4 i9505 Original Android Development] Technical:
Is the app sharing disable right now? I can't select the option in the secondary (not all/not single apps sharing).

When trying to share paid app, the Adapter app crashes itself.
[Galaxy S 4 i9505 Original Android Development] ktetreault14:
I know.. It sucks. I'm getting a new 32gb Samsung extreme sd card for it. Any chance I could boot from that ;)
[Galaxy S 4 i9505 Original Android Development] rebel1699:
This is exactly what I was hoping for as well. Being able to install to sdcard is time consuming on install, but well worth it, space wise. I would buy a 64GB card if that became an option.
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
It seems like the system partition ran out of space, causing the install to fail. The ROMs might be too big to dual boot without debloating them
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
I'll have to do a lot of planning to figure out how best to implement this. Right now, the SD card is mounted by Android pretty late in the boot process and if you're using exFAT, the SD card might not be mounted until the OS is completely booted.

There's a chance I might be able to mount the SD card using mbtool and trick Android into skipping its own mount process. I have no idea if I can pull this off, but I'm being optimistic ;)
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
Unfortunately, It's still broken right now. The Lollipop changes annoyed me and I stopped working on it for a while, but I'm back to working on getting it fixed now :)
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
Ahh, okay. If you're on the Verizon model, I'm pretty sure I messed something up in the Loki process. The ROM shouldn't be the culprit if switching ROMs and setting the kernel are both working properly.

I'll do some testing to see if I can get this fixed, but it might take me a day or two because I don't have one of the S4 variants with a locked bootloader.
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
I'm pretty sure apps on the SD card can't be shared because the encryption keys are different for each ROM (though I'm not quite sure how they're generated). The only way I could see this working is if somebody made an Xposed module that makes Android encrypt the apps with the same key.
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
Hmm, I'll take a look at that tomorrow. Individual app sharing is guaranteed to not work, but global app sharing should be working.
[Galaxy S 4 i9505 Original Android Development] rebel1699:
If it would help, examining MultiRom might give some good ideas for sd mounting. I've been booting my Nexus 7 and S4 from exthdd and sdcard for a while. But, I wanted to try this as well.
[Galaxy S 4 i9505 Original Android Development] tropenfrucht:
Attached is a Screenshot with mmcblk0p partition number.

by-name path is by-name/modem (tested with dd command)

Could it be possible that the errors with setting kernel and switching ROM on LG stock ROM is related with a check of ro.product.model and / or ro.product.device?

On this ROM i have

Ro.product.model=LG-D802

Ro.product.device=g2

and cannot set kernel or switch ROM with the app.

EDIT

Just answered my own question by testing ;)

changed ro.product.device=d802 and setting kernel works.
[Galaxy S 4 i9505 Original Android Development] Technical:
Great. I'll test later, but it would be fantastic that the secondary could access the same moved app to external sdcard.
[Galaxy S 4 i9505 Original Android Development] Technical:
Tested again. Can't click on app share.
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
Yeah, you're right, it checks ro.product.device against this list https://github.com/chenxiaolong/Dua...b7dea1d9bf50380/libmbp/patcherconfig.cpp#L467 to determine the boot partition.

I've added "g2" to the list now and also a proper error message instead of just failing ;)
[Galaxy S 4 i9505 Original Android Development] tropenfrucht:
Setting kernel works now. Thank you very much.

In-app flashing fails. Seems also to be due to a device check. See attached screenshot.
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
Starting from 8.0.0.r1026, you can copy the modem image to (depending on your ROM):

/sdcard/MultiBoot/primary/modem.img

/sdcard/MultiBoot/dual/modem.img

/sdcard/MultiBoot/multi-slot-1/modem.img

/sdcard/MultiBoot/multi-slot-2/modem.img

/sdcard/MultiBoot/multi-slot-3/modem.img

The app will pick that up and flash it when you switch the ROM (if I didn't miss some stupid bugs) :)
[Galaxy S 4 i9505 Original Android Development] Nick0703:
Check your PM.
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
That's because the unpackbootimg and mkbootimg binaries are x86 and x64 systems. They aren't compiled for ARM processors.

Could you post the output of "uname -a" from within Debian? I'll try compiling binaries that will work. Thanks!
[Galaxy S 4 i9505 Original Android Development] serverless:
Hi chenxiaolong,

could you add support for [ROM][03/09][MH1 V1.5] WanamLite Fast | Clean & Rock Stable as secondary ROM?

Thank you in advance!
[Galaxy S 4 i9505 Original Android Development] mkhattat:
Yes you are right, here is the output:

Linux android-d02ed78e2aabde70 3.4.0-Adam-1.6+ #1 SMP PREEMPT Tue Sep 3 11:25:12 WET 2013 armv7l GNU/Linux

That would be great if you could compile it for armv. Then we can easily patch our roms without needing a computer. (Its so easy to install a Debian on an Android phone)

Thanks
[Galaxy S 4 i9505 Original Android Development] popab:
CM OTA Update

Hello

Is it okay if i am going to update over the air the CyanogenMod, as the secondary rom?Thanks.
[Galaxy S 4 i9505 Original Android Development] marcoxx626:
No that won't work. Has to be patched first!
[Galaxy S 4 i9505 Original Android Development] Bejda:
+ an official IceColdJelly build:

http://xdaforums.com/showthread.php?t=2483786

;)

Btw not to rush you in any way [MENTION=4277844]chenxiaolong[/MENTION] but if you need testers for tri-boot,shared apps/data's implementation or whatever I'd be glad to try to help also :)
[Galaxy S 4 i9505 Original Android Development] Sushibagel:
Hey Chen, can you take a look at the latest PAC-man nightlies. The 4.3.1 nightlies don't seem to work anymore with the dual boot, they just bootloop. I wiped and installed without dual boot to confirm it does boot without the dual boot mod. Thanks for all your work.

http://xdaforums.com/showthread.php?t=2295673
[Galaxy S 4 i9505 Original Android Development] HearMeWhisper:
I've been noticing the same thing. I think the last one to work is the 9th

Sent from my dual boot PAC'd/touchwiz S4
[Galaxy S 4 i9505 Original Android Development] `SBR`:
use the task aokp (meta-inf folder & dualboot.sh) + KT kernel (patched)... official ice cold works here....:)
[Galaxy S 4 i9505 Original Android Development] GyTe:
@ Sushibagel & HearMeWhisper - Same here... I've tried yesterday and seems there's a problem (PacMan Rom Black Power Edition 2013_10_13). Mine S4 stuck on PacMan rom boot animation. At that point is the same problem of Nick0703.
[Galaxy S 4 i9505 Original Android Development] Bejda:
guess the reason why PAC doesn't work anymore is discussed on latest pages of its thread..

http://xdaforums.com/showpost.php?p=46482853&postcount=3339

http://xdaforums.com/showpost.php?p=46458035&postcount=3324

Could be?
[Galaxy S 4 i9505 Original Android Development] GyTe:
I'm not a developer but at that point could be due to the fact the "structure" seems to be changed (actually splitted)

In any case I'm downloading the nightly of the 09th October 2013. After the patch I'll let you know if works or not (thanks HearMeWhisper for the heads up) ;)
[Galaxy S 4 i9505 Original Android Development] serverless:
Guys, I have MIUI as primary Rom and Foxhound as secondary. The reason is that MIUI is updated every week and it's easier for me to flash it without patches. But I have a problem: after installing the secondary rom, MIUI becomes unstable, loose wifi and after a couple of minutes reboots itself. Anyone had the same experience? Any advice on how to resolve this issue?

Miui's kernel is the one that comes with the Rom, Foxhound 's is Ausdim kernel v19

Inviato dal mio GT-I9505 con Tapatalk
[Galaxy S 4 i9505 Original Android Development] GyTe:
Tested and confirmed that works fine with the release of the 09 October 2013.

The exact release I've used is this one --> pac_jfltexx-Black-Power-Edition_20131009 :good:
[Galaxy S 4 i9505 Original Android Development] HearMeWhisper:
When I get home in going to try manually patching the latest nightly, perhaps I'll have better luck lol

Sent from my dual boot PAC'd/touchwiz S4
[Galaxy S 4 i9505 Original Android Development] Nick0703:
[MENTION=4277844]chenxiaolong[/MENTION], you'll need to update your ramdisk and add this to the init.rc http://review.pac-rom.com/#/c/2915/2/rootdir/init.rc This contains the right installation methods for the PAC frameworks (we split them into 2 parts). If done correctly, dualboot should work again on PAC roms.
[Galaxy S 4 i9505 Original Android Development] Hecatrice™:
1Boot into your primary ROM and install the Dual Boot Switcher app

2Open the app and set the current kernel as the primary kernel (screenshot)

3If the primary ROM is TouchWiz, you will need to remove some bloatware. Otherwise, two ROMs won't be able to fit on the /system partition. You can also convert some system apps to user apps with this tool: https://play.google.com/store/apps/details?id=de.j4velin.systemappmover&hl=en

4Patch the ROM (see the "How to use the patcher" section)

5Reboot into recovery

6Flash the patched zip files.

7Reboot

8Install the Dual Boot Switcher app again in the secondary ROM. If you have a locked bootloader, set the kernel for the secondary ROM (just in case).

9Enjoy!

guys i I did not understand steps 3 4 6 .. who explains them to me?
[Galaxy S 4 i9505 Original Android Development] gaww:
There is additional info here http://xdaforums.com/showthread.php?t=2383143

Read the OP's carefully - it is all there and fairly easy.
[Galaxy S 4 i9505 Original Android Development] Hecatrice™:
i didn t understand the same...:(

edit. i have understand
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
Could you attach /sdcard/MultiBoot.log, so I can see the details of what's going wrong? Thanks!

EDIT: Could you also attach the build.prop file for the ROM you're running In-app flashing from?
[Galaxy S 4 i9505 Original Android Development] ktetreault14:
Love the new features can't wait to get g2 working. Question, does wiping data on primary ROM wipe /media also? And does wiping multiboot files wipe secondary ROM?
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
Nope and nope (well, assuming there are no bugs :p)

The only time it will wipe /data/media is if that folder is already empty. The MultiBoot Files option just deletes the /sdcard/MultiBoot/[rom id] folder (ie. kernel, thumbnail icon, ROM name, and app sharing settings).
[Galaxy S 4 i9505 Original Android Development] ktetreault14:
Thanks!

Also just spoke with some friends from the g2 forum and they are having some bump problems. Would it be possible to implement a bump solution in the in-app area like Loki? Bump is required for the new bootloader that no longer support Loki. Old bootloaders support Loki and bump. :D there is a thread I have saw that does a bump recovery from recovery. Thanks either way for the amazing app
[Galaxy S 4 i9505 Original Android Development] gaww:
I had some issues earlier with app sharing between 4.x.x ROMs and 5.x ROMs - will this be checked out on the newer snapshots? Would save a good deal of space in the data partition if it worked OK, although there were also issues between Google apps like Play Services and Play store. They were installed separately because they were not user apps, but somehow they interfered with each other when ROM switching - one installed on Slot1 would knock off the one that was on the primary and when fixed, it would knock off the one in Multi 1..
[Galaxy S 4 i9505 Original Android Development] rlorange:
Chen this is what I figured out to backup the multiroms:

cd /;

tar -cf - -C /raw/system/multiboot/dual/system . | /data/local/pigz > /storage/sdcard1/multibackup/dual/dual_sysbak.tar.gz;

cd /;

tar -cf - --exclude='./media/0/*' --exclude='./media/obb/*' --exclude='./dalvik-cache/*' -C /raw/data/multiboot/dual/data . | /data/local/pigz > /storage/sdcard1/multibackup/dual/dual_databak.tar.gz;

cd /sdcard/MultiBoot/dual;

cp -f boot.img /storage/sdcard1/multibackup/dual/dual_boot.img;

cp -f config.json /storage/sdcard1/multibackup/dual/config.json;

The 'pigz' binary is optional but rockets fast man

And to restore:

cd /;

tar -xzf /storage/sdcard1/multibackup/dual/dual_sysbak.tar.gz -C /raw/system/multiboot/dual/system;

cd /;

cd /sdcard/MultiBoot/dual;

cp -f boot.img /storage/sdcard1/multibackup/dual/dual_boot.img;

cp -f config.json /storage/sdcard1/multibackup/dual/config.json

cd /;

tar -xzf /storage/sdcard1/multibackup/dual/dual_databak.tar.gz -C /raw/data/multiboot/dual/data

Pigz binary download:

https://www.dropbox.com/s/op4dop7qpndumt0/pigz?dl=0

Maybe you could incorporate it into the patcher app? Making my own but not enough time

---------- Post added at 03:06 PM ---------- Previous post was at 03:05 PM ----------

For anyone else wait till my alpha release soon. I'll need testers
[Galaxy S 4 i9505 Original Android Development] jigsawcrank:
I got this with the r1026 snapshot when I want to switch rom
[Galaxy S 4 i9505 Original Android Development] tropenfrucht:
Thank you for your hard work!

Attached you'll find the log and build.prop. the ROM is a LG stock ROM ported from G3, maybe there's still a G3 hidden in there that i didn't find.
[Galaxy S 4 i9505 Original Android Development] ktetreault14:
Great work [MENTION=3145598]rlorange[/MENTION]! That's what I was waiting for
[Galaxy S 4 i9505 Original Android Development] rlorange:
OK nearly have the new backup and restore app completed
[Galaxy S 4 i9505 Original Android Development] Technical:
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...
[Galaxy S 4 i9505 Original Android Development] todivefor:
:good::good::good::good:
[Galaxy S 4 i9505 Original Android Development] gaww:
I have latest (1026), and everything is greyed out. Anyone used an earlier version where it worked ?
[Galaxy S 4 i9505 Original Android Development] aukhan:
[MENTION=3145598]rlorange[/MENTION]

[MENTION=4277844]chenxiaolong[/MENTION]

I have been getting Error with Note 4 N910G which is trltedt device. Could you please provide assistance what needs to be done, It works great on N910F where as both of them are SD variant but it failed with an updater script saying It is a trltedt device. If any more information is needs I can share somebody help here.
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
Implemented Bump support in 8.0.0.r1042.gee117db :D Also fixed some Loki issues.
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
Thanks! I've added hltexx to the valid codenames in 8.0.0.r1044 (should be built within 20 mins).
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
I've added trltedt to the valid codenames in 8.0.0.r1046.g6129ef0 (should be built within 15 mins) :)
[Galaxy S 4 i9505 Original Android Development] ktetreault14:
This guy is a god!
[Galaxy S 4 i9505 Original Android Development] aukhan:
Amazing waiting let me know once this is done :)
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
Done! :)
[Galaxy S 4 i9505 Original Android Development] aukhan:
Is it on this Build ?

DualBootPatcherAndroid-8.0.0.r1046.g6129ef0-snapshot.apk
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
Yes
[Galaxy S 4 i9505 Original Android Development] aukhan:
Found it Thanks a Ton :)

Ill test and Post it soon.

libmbp: Add trltedt to valid trlte codenames

---------- Post added at 03:42 AM ---------- Previous post was at 03:28 AM ----------

[MENTION=4277844]chenxiaolong[/MENTION] when I try to Patch Gapps from Dual Boot Multi patcher it shows %Dual2 is this normal ?

BTW when Flashing my recovery Froze at creating CH ROOT i will try to remove the # symbol and try again.
[Galaxy S 4 i9505 Original Android Development] Rulesless:
Could you tell me where are the files of second rom, please?

A failed installation fully occupied all my internal memory!
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
Thanks for the files! It doesn't seem like the build.prop file is an issue because near the top of the log, it correctly detects:

[D] ro.product.device = g2
[D] ro.build.product = g2
[D] Target device = lgg2

but once the ROM's update-binary runs, it can't detect the device anymore. I'm thinking it might have to do with legacy properties, so I implemented the same workaround TWRP uses. Could you try patching with 8.0.0.r1051 to see if it makes a difference?
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
Yeah, flashing from recovery is not possible on the Note 4 unless you edit "multiboot/info.prop" in the patched zip to set an installation location. There are some issues with the Adreno 420 GPU that prevent a menu from showing up, which is what causes the recovery to hang. So for now, you have to flash from the app.

Could you take a screenshot of where "%Dual2" shows up so I can see what's going on?

Thanks!
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
If you're using an unstable snapshot version, the files are in:

/system/multiboot

/cache/multiboot

/data/multiboot

/sdcard/MultiBoot
[Galaxy S 4 i9505 Original Android Development] aukhan:
Chen here is the SS

Powered by ET !
[Galaxy S 4 i9505 Original Android Development] ktetreault14:
Need any testers?
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
Ahh, you'll have to ask [MENTION=3145598]rlorange[/MENTION]. I didn't write that app :)
[Galaxy S 4 i9505 Original Android Development] t0pstar:
You don't need this app any more

Try with snapshot and install from the app works great

I am on your Rom and cmremix without issue