yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 i9505 Original Android Development] ewangw:
Any chance of adding the Moto X Pure (2015)? I put in a request with details in the Q&A's but not sure how often it gets looked at.

Thanks in advance :fingers-crossed:
[Galaxy S 4 i9505 Original Android Development] leontheship:
failed to set kernel

after i flash temasek-cm13 ROM , i cannot set kernel. what's the problem? does it suit for MM?
[Galaxy S 4 i9505 Original Android Development] :
I have a problem in selecting the zip file .. I have OOS ROM and the default file manager is set to the stock app which doesn't open zip files or even select them.. and I can't change my default file manager .. I tried uninstalling that stock file manager and I tried installing cm file manager as system app but it did t work .. dualpatcher crashes immediately whenever I click on the plus icon on the patch zip section

edit: I have oneplus2 OOS 2.2.0
[Galaxy S 4 i9505 Original Android Development] tropenfrucht:
I would check if your kitkat rom needs a different firmware for you device than the lollipop / marshmallow rom. that could be the reason why it doesn't boot.

In that case dual boot patcher won't help as you cannot change firmware when you switch rom. You'd need a firmware.zip for flashing in recovery when you switch roms.
[Galaxy S 4 i9505 Original Android Development] monkteo:
it's working perfect but , what was your message ?:confused:

and what phone do you have ?
[Galaxy S 4 i9505 Original Android Development] leontheship:
finally work well

now i have installed 3 ROM in data slot, one plus two oxygen2.1.2+oxygen2.2.0+cm13

but maybe one plus two can only use dual ROM stablelity?

it seems that the third ROM(CM13) can only load by twrp, cannot swith to CM13 in app, cannot swith to other ROM when using CM13 in app

thx for your reply:o
[Galaxy S 4 i9505 Original Android Development] physwizz:
I'm trying to backup a extsd ROM but I get the error message : Permission denied

Any help would be appreciated

edit: I had to use twrp to mount /system because adb gave me an error related to the libc.so

I might reinstall android sdk
[Galaxy S 4 i9505 Original Android Development] JhoonB51:
I'm using SDK 24.4.1 and the backup worked okay.
[Galaxy S 4 i9505 Original Android Development] Casual Gamer:
Hi [MENTION=4277844]chenxiaolong[/MENTION], i have a little problem. I have a gt-I9505 and as a primary rom I have the resurrection remix 5.1.1 lollipop . When I try to install any rom based on kitkat as secondary rom, startup does not recognize me the sim card. Besides that it did not recognize the baseband and IMEI . This issue is the application or something else ?
[Galaxy S 4 i9505 Original Android Development] todivefor:
See post 7908.
[Galaxy S 4 i9505 Original Android Development] excelly2k1:
Pl tell me how you got success finally.

Thanx in advance.
[Galaxy S 4 i9505 Original Android Development] leontheship:
1. do not set temasek cm13 as primary ROM

2. do not flash patched zip in app, do it with twrp

3. switch ROM by flash the image file in sdcard/multiboot/ROM/boot.image with twrp, it always work.

通过我的 ONE A2001 上的 Tapatalk发言
[Galaxy S 4 i9505 Original Android Development] 911-Future_Maker:
Hi guys, I need your help for investigation of my current issue. I'm trying to flash a rom to extsd-slot, it installs fine, but it can't boot - I'm experiencing a 5 fast vibrations when the phone is booting and after that it goes to recovery. I'm attaching a log below and hope that [MENTION=4277844]chenxiaolong[/MENTION] or someone else can help me. The rom I'm having problem with is AICP 5.1 for K3 Note. I'm using the 2147 build.
[Galaxy S 4 i9505 Original Android Development] MLDamazigh:
I have albe95 note 5 rom in my device i9505 and when i want to set kernel it says "impossible to set kernel" any solution?

Envoyé de mon SM-G903F en utilisant Tapatalk
[Galaxy S 4 i9505 Original Android Development] george stamatos:
For primary you have to change build prop to 9505, otherwise want work. As secondary etc, no problem
[Galaxy S 4 i9505 Original Android Development] wind711:
Is it possible to run two roms with different android versions?
[Galaxy S 4 i9505 Original Android Development] physwizz:
I tried the following procedure.

1. chmod 755 mbtool_recovery

2. adb push mbtool_recovery /tmp/

output was: 4402 KB/s (1003876 bytes in 0.222s)

3. adb shell mount /system

output was: CANNOT LINK EXECUTABLE: could not load library "libc.so" needed by "/sbin/sh"; caused by library "libc.so" not found

4. mounted system from twrp

5. adb shell MBTOOL_NO_MULTICALL=true /tmp/mbtool_recovery backup -r extsd-slot-gp -n gpbackup

output was: /data/media/0/MultiBoot/backups/gpbackup: Permission denied

What am I doing wrong?
[Galaxy S 4 i9505 Original Android Development] JhoonB51:
Push mbtool_recovery first, then chmod...
[Galaxy S 4 i9505 Original Android Development] danerrickcuba@gmail.com:
In my case after getting that error, I just manually copied the mbtool_recovery file to /temp/ and then manually set full read and write permission (755) for that file ,i used TWRP file manager to do all that, and only then used adb command line only to create the backup.... mounting and rw were done manually!

---------------------------------------------------------------------

[New World Order (NWO)

Telegram it's better than Whatsapp In every way!]

---------------------------------------------------------------------
[Galaxy S 4 i9505 Original Android Development] panchalgl:
Lenovo K3 Note - RAM Disk update error

Phone: Lenovo K3 Note

ROM: 04_K3_NOTE_5.1_1604_STABLE_ROW_004_CUOCO92

Kenrnel fix successful but in primary ROM While updating ram disk it gave error

log file attached

Please help
[Galaxy S 4 i9505 Original Android Development] 911-Future_Maker:
I have spotted a wierd problem using the latest versions that wasn't there in old builds like 1778 for example. If I switch to any other app when the patcher is working ie. flashing or patching a rom then I can't return back to the patcher because it's not responding. Sometimes crashes too. Anyone with similar experience?
[Galaxy S 4 i9505 Original Android Development] gaww:
Yes - I am running 4.4, 5.0 and 6.0. Primary is TW and 6.0 is ASOP on external to save room.
[Galaxy S 4 i9505 Original Android Development] richyg81:
After installing pattcher app and secondary rom, I had to "update ramdisk" on primary rom. After rebooting, none of my apps "moved to sd card" are visible.

I do still see the app files in the ".android_secure" folder though. How can I fix this please?
[Galaxy S 4 i9505 Original Android Development] physwizz:
Thanks. I still get Permission denied. Perhaps I grabbed the wrong mbtool_recovery.
[Galaxy S 4 i9505 Original Android Development] wind711:
ok so im using a oneplus two. Main rom is oos 5.1.1 and i tried installing h2os 6.0 on data slot. The phone wouldnt boot after restarting and i had to reflash the 5.1.1 boot.img to boot into oos.
[Galaxy S 4 i9505 Original Android Development] physwizz:
No luck!

I might have to wait until Chen builds backups into the app.
[Galaxy S 4 i9505 Original Android Development] leontheship:
h2os uses different twrp, and h2os can only install as primary ROM.

通过我的 ONE A2001 上的 Tapatalk发言
[Galaxy S 4 i9505 Original Android Development] wind711:
ah ok :)
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
Odin image flashing probably coming tomorrow or Tuesday :)
[Galaxy S 4 i9505 Original Android Development] remowrx:
anyone experiencing delayed notifications in whatsapp once the app has been shared? First I thought this is related with the n5 ports I'm using but now facing it in even stock lollipop and kitkat roms. Device HLTE
[Galaxy S 4 i9505 Original Android Development] ioannis8828:
Hello all...Guys i searched but don't find any answer in this question...

In Samsung Galaxy Tab Pro 12.2, 10.1, 8.4 with Primary stock ROM 4.4.4. ,have you any tried put in secondary Custom ROM windows 10 ...??

I want asked if it will work normally or not???

Microsoft have developed a software that convert a Android Phone to Windows phone.....like as Xiaomi Mi4 .....and a windows ROM version for this...

If anyone try it and works normally please send me link for this...
[Galaxy S 4 i9505 Original Android Development] danerrickcuba@gmail.com:
Thanks for the headsUP, just curious! Will this feature also allow installing modem/bootloaders as flashable files too, instead of the PC dependent ODIN methods?

And curious about other features too!

1.Can you PLZ at some point in the far/near future, make the dual boot utilities or any other utility that permits users, when ran from recovery, to install files to which ever slot they desire without having patched the files prior to that?

Ie. Open utility app from recovery, navigate to the desired file, choose install and choose where to install!

Can this be done?

Thank you!

---------------------------------------------------------------------

[New World Order (NWO)

Telegram it's better than Whatsapp In every way!]

---------------------------------------------------------------------
[Galaxy S 4 i9505 Original Android Development] GioBasi:
problem

I have problem removing/wipe Rom from extsd-2 partition formated in ext4. I use dualbiotpatcher to wipe system data cache multiboot . no error just after removing Rom from menu still using space on 2 partition on extsd
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
Sure, I'll add support for it :)

Just wondering, where is the "feature request" section you're referring to? I don't recall getting any email notifications about this.

EDIT: Added in 8.0.0.r2218.ga2bfd86
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
Merged in 8.0.0.r2219.g1a60b49, thanks!
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
From your logs it looks like the size of your system partition is 4140.0 MiB, so it needs to create an image file that big on your SD card. Unfortunately, since your SD card is formatted as FAT32, it is not possible to create any file larger than 4096 MiB. If you format your SD card with exFAT, the installation will probably work.
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
I don't believe that the modem is compatible with both KitKat and Lollipop on the Galaxy S4. If you flash the KitKat modem, the SIM will work in the KitKat ROM and similarly, if you flash the Lollipop modem, the SIM will work in the Lollipop ROM.
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
The 5 quick vibrations is something I've added to let you know that it's the multiboot code that's throwing an error :)

It failing because the fstab file is missing in the boot.img. Without that file, it can't determine where the SD card path is, so it fails to mount multiboot/extsd-slot-sd3/system.img on the SD card. Could you upload the boot.img file for the ROM?
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
Looks like you didn't set the kernel from the app before attempting the ramdisk update.
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
I'm aware of that problem (I'm able to easily reproduce it myself). That issue happened around the time that I added support for patching multiple files. I'll work on fixing that when I get some time. For now, you'll just have to stay in the app until it's finished patching :(
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
It will not allow flashing modems, bootloaders, or any other partition that may cause hard bricks. However, if you need to switch modems when you switch a ROM, simply copy the modem file to "modem.img" under the appropriate directory in /sdcard/MultiBoot :)

AROMA currently does not have this ability. Also, AROMA doesn't have support for any of my devices (it crashes TWRP), so the DualBootUtilities zip has stayed relative unchanged for the past year.
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
Odin image patching is now available in snapshot version 8.0.0.r2217.gaaa08a6 and newer! You'll to patch the ".tar.md5" file (important!), not the zip file provided by http://sammobile.com or http://samsung-updates.com. Otherwise, the zip file will be treated as a regular flashable zip and nothing will happen when you go flash it.
[Galaxy S 4 i9505 Original Android Development] todivefor:
If I flash a stock unrooted odin image to a slot, will it boot unrooted?
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
Looks like you did everything correctly. Could you try again with 8.0.0.r2220.g280e113? Nothing was changed except that I added some better error messages.

EDIT: The error from step 3 is not good. That's an issue with your recovery image (not adb) and could potentially cause issues in the backup process.
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
Yes, it will boot unrooted. This also means that features in the app that require root won't work (in-app flashing & (sometimes) updating the app), though switching ROMs will work.

EDIT: To be clear, the only things from the Odin archive that are flashed are the system image (system.img.ext4), the CSC (from inside cache.img.ext4), and boot.img. The modem, bootloader, and other partitions are left untouched.
[Galaxy S 4 i9505 Original Android Development] ItzShadowz:
Ah, that must have been also why backups weren't properly being created onto my sd card! Thanks!
[Galaxy S 4 i9505 Original Android Development] panchalgl:
I have fixed the kernel first but still it gives error
[Galaxy S 4 i9505 Original Android Development] 911-Future_Maker:
[MENTION=4277844]chenxiaolong[/MENTION] Many thanks for answering man! I attached below the boot.img of the rom I'm having problem with. Hope we can fix this issue. :highfive:
[Galaxy S 4 i9505 Original Android Development] 911-Future_Maker:
[MENTION=4277844]chenxiaolong[/MENTION] Thanks for confirming that this is an existing issue bro! I think it's not only related to patching multiple files, because I also faced that problem even when I was flashing a single zip only. Why not just disable the ability to patch multiple files? I mean yes we can now process multiple files for patching and flashing, but when a several files are being patched at the same time the individual time for every file to proceed is longer compared to when you patch it alone. Because you know the speed on the extsd is a constant. Yeah we'll have to wait a little bit more for the current tasks to finish, but we can use some other app while the patcher is working without worrying that it will freeze or crash. Cheers.
[Galaxy S 4 i9505 Original Android Development] GioBasi:
I have delete ROMs by wipe and check all, from dualbootpatcher. but space in extsd still in use by deleted ROMs. how it works and how I should delete correctly to free up space on extsd?
[Galaxy S 4 i9505 Original Android Development] todivefor:
[MENTION=4277844]chenxiaolong[/MENTION], just tried DualBootPatcher-8.0.0.r2220.g280e113-win32 on Windows 10. I get the unknown publisher message and then it dies. I went back to DualBootPatcher-8.0.0.r2161.gc900a88-win32 and it worked fine. I'll give the apk a try.

---------- Post added at 06:50 AM ---------- Previous post was at 06:26 AM ----------

[MENTION=4277844]chenxiaolong[/MENTION], just tried patching G920PVPU3BOL1_G920PSPT3BOL1_G920PVPU3BOL1_HOME.tar.md5 from the apk and get "Failed (error code 100). Patching on Sprint GS6 flat, latest patcher, and android 5.1.1. Let me know if I can get anything for you.
[Galaxy S 4 i9505 Original Android Development] 911-Future_Maker:
[MENTION=2688336]todivefor[/MENTION] [MENTION=4277844]chenxiaolong[/MENTION] I also can't run the latest 2220 build on Windows 10 x64, but not only that! I tried all the other versions in searching of the latest working build that at least starts on my machine and it turned that this is the 2162 build. There is a chance that something gone wrong in the 2217 build and higher when you introduced big changes and Odin images patching as well. We're here to help you to debug don't worry mate.:good:
[Galaxy S 4 i9505 Original Android Development] TheDarkKnight:
You'll have to delete the FILE0000.CHK in FOUND.000 folder. You will need DiskInternals Linux Reader. Here's a guide by [MENTION=5048731]911-Future_Maker[/MENTION] [MENTION=4277844]chenxiaolong[/MENTION] I too have this issue. Most of the time when I use the app to wipe a ROM. Wiping from recovery works as expected.
[Galaxy S 4 i9505 Original Android Development] GioBasi:
Thank you, I found this post.

But I have to do this every time when I need to wipe rom?

I did clean install, clean media in sdcard. reformated extsd. and after that install rom on extsd by dualbootpatcher and then wipe for test to see, and space is still used by wiped ROM.

I don't know when it started but before this issue was not existed and wipe from dualbootpatcher was enough for deleting ROM files.

This issuse caused by extsd card or dualbootpatcher?
[Galaxy S 4 i9505 Original Android Development] TheDarkKnight:
I don't know. It had seemed to be fixed some versions ago. But I'm also having it. Best solution is wiping in recovery with DualBootUtilities.zip
[Galaxy S 4 i9505 Original Android Development] gc_geforce:
I have been using the dual boot patcher for a while now with no issues, and I had my first issue updating my ROM JDC AOSP 6 today http://xdaforums.com/galaxy-s4/i9505-orig-develop/jdcteam-android-source-project-mra58v-t3251663 , I had this ROM in the multi-slot-1 and after updating it could not see my sim card. So I wiped my primary and multi-slot-1 and move my ROMs around via the ADB backup commands from the OPs first page(love this), and put the JDC AOSP as my primary and my Mokee android 6 as my multi-slot-1 and then did the update again with no issues and it now can see my sim card.

I also attached my logs from when it did not work in the multi-slot-1 from a clean install.

it looks like the new kernel does not support multi rom, as now I cannot see my ROM installed at multi-slot-1.
[Galaxy S 4 i9505 Original Android Development] 911-Future_Maker:
[MENTION=4277844]chenxiaolong[/MENTION] Hey dude, what do you think - is it possible to force the patcher to start creating a dynamic sized system.img files? I mean now no matter what rom you're flashing the system.img is always 2.5GB, but I found that almost always only around 1-1.2GB are actually used. So this space is wasted, it would never be used for something. Is there a possibility for the patcher to gain the ability to analyze how much space the rom will need for /system partition and to create the actual system.img according to this? Alright peeps, I know, I know, I'm almost dreaming here. lol :D I think this is something related more to the entire Android nature and not to the patcher. Because if you install a rom the regular way ie. without any dualboot utilities the system partition is again 2.5GB. I'm just curious is it possible to bypass this not very practical behavior of the OS.:silly:

Below a screen of my current /system partition usage is attached, again only a half full.
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
This is totally possible and it was even implemented at one point :) But (and there's always a "but", isn't there...), I found out there was a kernel bug that severely impacted this feature. Whenever a shrunk image was enlarged to flash additional files (eg. SuperSU, Google Apps, etc.), the ext4 image would be irrecoverably corrupted to the point where it couldn't be mounted anymore. Around a year ago, when I last worked on this feature, I downloaded all of the stock kernel source code and CyanogenMod kernel source code for the 35 or so supported devices to figure out which ones had the bug. It turns out every single kernel had this bug except for CM11 kernels for 7 devices and those had the fix because they were based on Qualcomm's reference code that happened to have the fix. None of the CM12 kernels for those 7 devices had the patch. I guess nobody cares because Android never has to resize images...

Upstream bug fix: http://www.redhat.com/archives/dm-devel/2012-June/msg00029.html

EDIT: Oh and there are some devices that reset the RTC clock back to 1970/01/01 00:00:00 when rebooting, which breaks resize2fs lol
[Galaxy S 4 i9505 Original Android Development] ewangw:
Hi [MENTION=4277844]chenxiaolong[/MENTION],

Would you also be able to add the new Moto X Pure? I had also put in a feature request and an item in the Q&A's, but wasn't sure if you had seen it or not. If you could I would most appreciative.:D

I used to use DBP with my S4 until it died, so now I just get to sit back and jealously watch everyone else using it :crying:

Thanks!!
[Galaxy S 4 i9505 Original Android Development] kingknuts:
I think is time to a weird idea [MENTION=4277844]chenxiaolong[/MENTION]!!:

The TWRP 3.0 has been rolled out...

What about a dual recovery patcher??
[Galaxy S 4 i9505 Original Android Development] physwizz:
I used the mbtool_recovery from the r2320 win32 zip. Still no luck.

I'm using a Mac. I might try my Windows bootcamp.
[Galaxy S 4 i9505 Original Android Development] asgharkhan1:
Finally its working on my i9500 thanks to developer for great development nd also to azhar to guide me to install dual roms nw am using n5 port nd cyanogen 12.1 nd smoothly
[Galaxy S 4 i9505 Original Android Development] JhoonB51:
Guys, just as info I was able to successfully back up my primary tw (Wicked X v10.8) and data-slot (Octos 6.0.1) to external sd, then switch positions on restore, data-slot to primary and primary to data slot. Both are working great with no problems at all. the only problem I ran into was the newer mbtool_recovery did not work for me, I went back to the old r1778 and it worked perfectly.
[Galaxy S 4 i9505 Original Android Development] 911-Future_Maker:
[MENTION=4277844]chenxiaolong[/MENTION] Hi dude, did you take a look at the boot.img I attached in post #8496? I'm patiently waiting.

---------- Post added at 18:14 ---------- Previous post was at 18:11 ----------

I think it's still a beta. And why would you need a dual recovery patcher??
[Galaxy S 4 i9505 Original Android Development] artaniss11k:
[MENTION=4277844]chenxiaolong[/MENTION] thanks for adding support for Galaxy S5 G901F. Youre the man :)
[Galaxy S 4 i9505 Original Android Development] kingknuts:
Easy:

In TWRP 3.0 the AROMA based zips don´t work (At least in LG G3 D855) and the material theme is beautiful.

And in TWRP 2.8 I have the other multiboot solution that i never used and AROMA based zips work
[Galaxy S 4 i9505 Original Android Development] 911-Future_Maker:
I'm in love with the material mod of 2.8.7.0 I heard that 3.0.0.0 won't support the old theming method and the dev of the mod will have to rework all from scratch.
[Galaxy S 4 i9505 Original Android Development] kingknuts:
Well Im gonna try it, thanks!
[Galaxy S 4 i9505 Original Android Development] MBariya:
[MENTION=4277844]chenxiaolong[/MENTION] TWRP 3.0.0 has solves Aroma transparency problem on Note 4 devices.
[Galaxy S 4 i9505 Original Android Development] jp007_uk:
I’m using Albe95 Lollirom 6.0 as my primary and CR Droid 6.0 as my secondary on Extsd slot, on GT-I9505.

Everything on the primary rom works fine but if I use the reboot option in the secondary rom within the dual boot patcher app… the reboot message comes on screen but the phone stops responding (I need to remove the battery to resolve). I can reboot as normal from the phones own menu.

Anyone know how to resolve this?
[Galaxy S 4 i9505 Original Android Development] Andycar:
Dear [MENTION=4277844]chenxiaolong[/MENTION], would it be possible to implement loading also non-hlos.bin together with modem.bin (so-called WiFi fix) in one slot with the chosen ROM?

Thanks!

Отправлено с моего GT-I9505 через Tapatalk
[Galaxy S 4 i9505 Original Android Development] GioBasi:
hi [MENTION=4277844]chenxiaolong[/MENTION]

I have problem while booting in to new installed rom on ext sd , Phone vibrates 4 times and then reboot to recovery, and everytime, any rom.