yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 i9505 Original Android Development] Yumiko87:
what my issues might not be same. i faced bootloop when i want to switch the rom from dbp. But after take out battery and its able reboot to the rom.

same goes when i want to flashing the patch zip to the rom with recovery. its always give me bootloop and i can solved it by above method.

is it might be a common issues on using multirom? just curious if somebody are in my situation.
[Galaxy S 4 i9505 Original Android Development] Eleo:
In my previous attempt to link apps to sd (instead of moving them) I had some problems. I used link2sd plus app. I linked about 40 apps (attachment 1) into sd (just to check) and it filled 2.5GB of ext4 partition (checked afterwards by minitool wizard in PC). But the problem is that in first reboot after linking, apps gone missing and when I tried to recreate mount scripts it showed the message in attachment 2. I rebooted again and it asked whether to recreate mount scripts or quick reboot. Then I chose quick reboot, after which I was able to get apps that wew linked to sd (then I took the first attachment just in case I lose apps again). But then they disappeared (I notices the icons changing back to stock). And after that whatever I try and whatever I do link2sd couldnt recreate mount scripts (and I coukdnt get the window for asking about quick reboot again) and I couldnt get those apps back. I took microsd and attached to PC and viewed in minitool wizard where I saw the 2.5GB space used in ext4 partition. What could be the reason for this behavior? I firstly thought maybe it was repartitioned by some app/zip (but ext4 partition was still present wheb viewing from minitool afterwards) or that the link2sd couldnt get into sd due to changes after lollipop (but it brought back the apps once, so it cannot be it). What have I possibly done wrong? I clean flashed and restored apps from titanium and now ready to do the linking part again.

Is it because I used link2sd app? I used it because I have been using that app for long time for freezing and uninstalling apps and got used to its interface. Should I use app2sd instead of link2sd? Or maybe I just moved too much apps?

Thanks in advance :)

EDIT: Is what I'm looking for here: http://www.apps2sd.info/kedb.html ?
[Galaxy S 4 i9505 Original Android Development] pehoko:
[MENTION=4277844]chenxiaolong[/MENTION] I have tried your last release for my hydrogen to flash miui on data slot, but again there is some error with miui_update maybe.
[Galaxy S 4 i9505 Original Android Development] 911-Future_Maker:
Leave the Link2sd alone, it's still unstable on any Android version >5.1. The MM update was long awaited, but problems are still present. I faced myself that error in Link2sd , but since I moved to Apps2sd no problems at all. If I'm not mistaken Link2sd is very picky to the init.d support while Appd2sd works on every phone. As you discovered it's much more than a simple app for linking other apps to the extsd. It's All in One tool.
[Galaxy S 4 i9505 Original Android Development] Eleo:
I thought so too. I did a sample link with angry birds game by app2sd. In faq it was told that sometimes it is better to not link the libs to sd. I linked the app without libs and cache. Rebooted and voila. App is missing. I recreated mounts in ext4 it said it was not present. Then it asked for soft reboot. Result-nothing. Tried to install app from google play store knowing that if it is somewhere in phone it will give -506 error. It gave that error. I then firstly cleaned and then wiped second partition. Rebooted. Went to play store, still -506 error. Remounted 2nd partition, recreated then rebooted, app still is missing. Play store still gives -506 error when trying to install... I'm cornered. Ran out of steps to perform :(
[Galaxy S 4 i9505 Original Android Development] JhoonB51:
HTC 10 Support

I have been using DBP for a long time successfully on my galaxy S4. This question may seem silly but here goes....throughout the hundreds of pages I have read I have not seen anyone request support for HTC 10, is there a specific reason for this? If not, [MENTION=4277844]chenxiaolong[/MENTION] attached is the GetLogs file for this device.View attachment 20161202.092336.tar.gz
[Galaxy S 4 i9505 Original Android Development] mbr007:
Still can't install zip patch in dbp with latest version 9.0.36.
[Galaxy S 4 i9505 Original Android Development] Eleo:
That is not latest version. Please update and check
[Galaxy S 4 i9505 Original Android Development] 911-Future_Maker:
Oh, I remember those times! Missing apps, broken apps, etc..after linking. :( I currently don't have any issues with the app, don't know why it's not working on you, it's probably because your rom I think. How did you created the script, you know normal, init.d and so on... I'll tell you one magic how to reinstall the app when it's refusing to be reinstalled by any way. :D

Go to data/data/app-xx and search for the desired app with a part of it's name and delete all the files. Then go to /data/app/app-xx, search again, delete the found files and then it should work. In your case you must search with rovio to find any angry birds leftovers. Usually the problematic file blocking the app installation is in data/data/app-xx and as I'm using X-Plore FM it displays the file/folder and tells me that it links to /sdext2. The size is null, doesn't show anything, even not 0B.
[Galaxy S 4 i9505 Original Android Development] Eleo:
I have supersu v2.78 or so, so it is higher than v2.2. Thus I used that last way with supersu. I already enabled su during boot and disabled mount namespace separation (I checked app2sd FAQ and read the in-app notices from app2sd). Actually everthing seems ok. Every possible check is done. And it doesnt have any errors or issues till next boot. After that I get the mount script error message from app2sd and it asks me fro quick reboot.

There is also a recovery script with .sh extension in that script creation window. Should I do that? I unchecked that while choosing supersu for script creation and it said script was created successfully. I can do everything step by step from start and attach screenshots showing that none of them have issues and they are done as expected. I surely miss a step but just dont know which...

What do you think should I create mount script by recovery too? Or if it says the mount was successful without checking recovery script that is enough?

P.S. I didnt activate android's standard fuse file system for my sd from app2sd app. Because previous time I did I had two roms in extsd and after reboot I had no roms... maybe I should do that too?

That would be good. I may after that restore the app and continue on checking up how can I link app to sd with no problem :good:
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
Please give the following test build a try. Thanks! https://github.com/chenxiaolong/DualBootPatcher/pull/324
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
Great! I've merged the changes. It will be available in 9.1.0.r36.gfea13fe and newer. I'm not sure how it resolves VoLTE with T-Mobile, but I'll take it :)
[Galaxy S 4 i9505 Original Android Development] gaww:
And again - use the Android app.
[Galaxy S 4 i9505 Original Android Development] coolnessQ:
Works on stock 4.3 MJ7?? Have root and philz recovery.

And can i dualboot a 4.4 rom with it and flash the gapps ??
[Galaxy S 4 i9505 Original Android Development] gaww:
You can use anything as the primary - no patching needed. Follow OP instructions carefully.

I have CM11 ( modded as noobdev 4.4) as secondary with patched Gapps (used PA 1114 - could not patch latter one). I had also patched and flashed Gummy 4.4 as secondary.
[Galaxy S 4 i9505 Original Android Development] Bejda:
Oh btw just as rlorange did for us previously:

https://app.box.com/s/kj04mxe5d4ymcp7enbvy

For 19/11 PA gapps (full ones that i'm using but should be ok with others packs i guess dunno),dualboot.sh to the zip root and replace updater-script.
[Galaxy S 4 i9505 Original Android Development] gaww:
Tried the above but it errored on flashing - so I probably missed something.
[Galaxy S 4 i9505 Original Android Development] rlorange:
Yep you need to unzip it and your gapps zip. Copy the contents overwriting the updater zip and rezip. It's only a patch not a complete zip
[Galaxy S 4 i9505 Original Android Development] wingg:
You can patch any gapps with Dualbootpatcher.apk 3.0 with a little trick:

just copy into any gapps.zip kernel file-boot.img then run Dualbotpatcher.....

..After patching remove boot.img from gapps.zip.

Personally tested on pa_gapps-modular-mini-4.4-20131118 .

Regards

//->>
[Galaxy S 4 i9505 Original Android Development] gaww:
Did that, but what about the duelboot.sh ?

---------- Post added at 11:31 PM ---------- Previous post was at 11:25 PM ----------

"gapps.zip kernel file-boot.img" ?
[Galaxy S 4 i9505 Original Android Development] wingg:
Just generalised "gapps.zip" = any gapps you wish, kernel file - any boot.img extracted from Cwm file- > it's no matter,

(I've used pa-gapps minimal as I wrote in my post & boot.img from CM11 rom )

//->>
[Galaxy S 4 i9505 Original Android Development] Bejda:
Nice to see you 'round here [MENTION=3538923]wingg[/MENTION] :)

Well for me,especially with gapps where it's about two lines to edit,it's really fast to do it manually even on phone using Xplore file manager.

No need to extract zip/just push dualboot.sh in it,copy updater-script to second panel/edit/copy it back to opened zip..Takes me about 1 minute if i'm not typing fast lol.

[MENTION=3019752]gaww[/MENTION],

Two ways to help you then:

You replace PA gapps updater-script with the one from my link (or the whole META-INF folder, doesn't matter) and push dualboot.sh to PA gapps zip root,mean not in a folder,mean..this:

Close the zip and flash.

Or as wingg said you only put any boot.img in PA gapps zip (at root again),close zip and patch it.

No updater-script change or dualboot.sh for now as patcher will handle this,just a boot.img:

Close zip,patch it,flash it.
[Galaxy S 4 i9505 Original Android Development] XxmentxX:
I have installed CM11 to secondary rom all works :) but i don't have internet mobile data... Samebody can help me ? I have MJ7 modem

Inviato dal mio SGH-M919 utilizzando Tapatalk
[Galaxy S 4 i9505 Original Android Development] nicholi2789:
So I'm kinda having a weird problem. I'm running dual boot with Hyperdrive 10.2 and Pro-bam v4.5 as my secondary. Everything has ran fine up til now. I run KT kernel in my main ROM and wanted to run it in my secondary as well. So i downloaded the latest aosp 4.3 version of KT747 (11-14-13) patched it w/the v3 beta patcher app. I went to recover and flashed it. Then flashed loki-doki after. Now whenever I try to switch to or from the secondary rom I get the "system software not authorized by Verizon" message and there will be red writing in the top right that says "secure kernel failed" and it turns off. I have to boot into recovery and use the utilities to switch to primary. And even then sometimes it won't boot.

I've been using dual boot with these same two roms for over a month now and never had this happen.

Can anyone offer any advice? Obviously it has something to do with KT kernel and Loki but like I said I flashed loki-doki. Should I just do it again? Now it's not letting me get into Pro-bam at all. Strange.
[Galaxy S 4 i9505 Original Android Development] wingg:
[MENTION=3648432]Bejda[/MENTION] nice to see you too here :).

Any path guiding to aim is good..1 min edit with xplore or 3 min patching..;)

Regards

//->>
[Galaxy S 4 i9505 Original Android Development] J-Wall:
Was wondering if anyone else has lost all sound when CM or AOKP are patched as secondary ROM? It seems to be triggered when the phone is plugged in over night and then has to be rebooted to fix it. I know that it use to be a bug but when AOKP is primary ROM the sound never stops working.

Edit: AT&T S4
[Galaxy S 4 i9505 Original Android Development] blondbond:
Just wanted to say I have dual booted (my previous, single aosp rom was pacman) Wicked V8 1st and PAC 2nd with no issues at all.

I have also been able to restore my apps/themes/settings etc on my 2nd rom with the nandroid backup I made when it was a single boot by simply using Titanium.

Id love for the roms to share this app data as whatsapp need verifying on every rom change.

No biggy but just fyi.

Thank you thank you for your total awesomeness in this project I shall totally be donating [MENTION=4277844]chenxiaolong[/MENTION] you are amazing
[Galaxy S 4 i9505 Original Android Development] gaww:
I did what I see in your screen shot, but it failed.

Note - I could not move the files into the zip as-is , I had to unzip them and rezip - maybe that caused the failure.

In any case, may try the boot.img route. My question on it was due to the sentence structure in the original post - it was not clear.
[Galaxy S 4 i9505 Original Android Development] lukemo:
Sorry, just to understand what's working on 3.0 beta (android) and what's not:

1) is gummy 4.4 compatible? Or jamal 4.4 build? I would like to try as a secondary ROM but I get always "failed to patch zip", I can't understand how others say that it works... Are there some tricks to use android patcher? Specific dirs?

2) what gapps file for 4.4. is directly patchable with 3.0? I always get "failed to extract boot image" or again "failed to patch zip".

Thanks a lot to everybody for the help. I've read the previous pages but I didn't understand really what's working and what's not. I was able to use dualboot with no problem on 4.3.

Windows version is also not working with 4.4, but I've read the problems in previous posts.
[Galaxy S 4 i9505 Original Android Development] omnifarious:
I made a slim version for personal use. You can make one too. Just extract the zip with winrar/7zip/winzip, delete the unwanted files from the system folder, then rezip. I run it through the patcher first so I get the right updater script.

I recommend ROM Cleaner with my personal user.txt. I'm always left with about 1.6-1.8GB free in system if using a TW rom.
[Galaxy S 4 i9505 Original Android Development] SilentEYE:
Meanwhile I tried foxhound and during setup you are able to install a very clean version of it. It easily fit as a secondary rom.

Somehow I couldn't find out how to access on the apps which are installed on the primary rom.
[Galaxy S 4 i9505 Original Android Development] omnifarious:
You're supposed to unzip, then rezip. You can move files into a zip before extracting it.

---------- Post added at 04:18 AM ---------- Previous post was at 04:16 AM ----------

You need to use either a script, like with init.d, or use foldermount. Many users have confirmed working methods in the thread. All you have to do is search. If you're in app, you can switch to web view and search thread.

I have not personally gotten it to work, but then again I haven't really tried.

[MENTION=4277844]chenxiaolong[/MENTION], can you include ROM cleaner in your next update? I'd love a nice clean rom flash and I've gotten my script just how I like it. =]
[Galaxy S 4 i9505 Original Android Development] rifle007:
Still can't boot to secondary . Here the log
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
Thanks for the files! The issue has been resolved in 9.1.0.r38.g5d5b401.

For people who were encountering issues installing the Boot UI due to /cache not being mounted, the new version also fixes that issue.
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
Yep, it's done exactly the same way. Note that TouchWiz 6.0+ ROMs booted from the external SD may not behave correctly. It will show the card is corrupted (when it's not) and prevent you from accessing the files. AOSP-based ROMs, if available for your device, will work fine.
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
Here it is! (Excuse my horrid photoshopping :p)

I haven't experienced this at all so far. Can you give me a ROM + SuperSU combination that causes the issue? (Preferably a more popular ROM so I can test on my S4)
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
Did you repatch the file using the new version? The log indicates that an older version was used to patch the zip.
[Galaxy S 4 i9505 Original Android Development] Yumiko87:
You are right after I format the sd card to file system ext4 and give a backup on the rom it's give me error sd card corrupted after I restart several times. Is that any workaround on it?
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
I don't remember anyone ever asking me to support any HTC device. Looks like those people don't like visiting the Samsung area of XDA :)

I've added support for the HTC 10 in the following test build. Would you mind giving it a try? https://github.com/chenxiaolong/DualBootPatcher/pull/326

Thanks!
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
There's no need to format as ext4. Many ROMs won't be able to mount it. I'd recommend exFAT or FAT32.

The patcher works by installing to an ext4 image file in multiboot/<ROM ID>/system.img on your SD card, so it doesn't matter what your card's filesystem is.
[Galaxy S 4 i9505 Original Android Development] Yumiko87:
lets say i have a condition where i accidently wipe everthing on my internal storage. i cant to have the multiboot/<ROM ID>/system.img . i want to restore back from recovery to get the rom run into my device.

how i am suppose to have it ? i only have the backup which contain system data bootimage where i i did it during the dualbootpatcher. is it possible to do so ?

And 1 more thing the installation rom that i patched into sd card is slower than internal storage. is that normal?
[Galaxy S 4 i9505 Original Android Development] 911-Future_Maker:
Lol, that's we talking about. :D I'm happy now, cheers buddy. :p

Unfortunately the roms are stock Android 6.0 for Oukitel K6000 Pro, I think you won't be able to run them on your devices. Next time this happens I'll grab a log. Seems like a small issue with the supersu itself.
[Galaxy S 4 i9505 Original Android Development] majee12:
Good news I went back to the patcher app and I was able to get everything working normal but the app sharing thing get me confused a little because after sharing I lost all app data on the primary OS. Then my su start delaying in given the appropriate privileges. I patch the su flash zip with the app and flash it with twrp. Immediately the app sharing got disabled and the old data of all apps was back again. Am doing something wrong and will get back it soona. and my first post about the thing standing still was because I didn't wait long enough.
[Galaxy S 4 i9505 Original Android Development] Mike0505:
Yeess :D . It works now :good:. Miui patching also works now from in app flashing. Verifying zips work in blink of eye ;) . For now all good :angel:

Thank you , thank you, thank you ! _/][\_
[Galaxy S 4 i9505 Original Android Development] pehoko:
[MENTION=4277844]chenxiaolong[/MENTION] I have tried new version, but it crashes when patching zip, there was always two roms in queue. So I was using it only for flashing rom.
[Galaxy S 4 i9505 Original Android Development] Araltd:
I'm trying to use dual patcher on a note 4 (910t) Tmobile USA version. When I try to set kernel (first step) nothing happens... So I didn't go any further assuming it wouldn't work. Can anyone confirm this does work on a note 4 910T?

Sent from my Note 6
[Galaxy S 4 i9505 Original Android Development] Eleo:
Unfortunately that didnt help. I cleared every rovio folder/file in /system, /data and sdcard. Only ones present are three files in external sd from my titanium backup. Whatever I try it makes a rovio file in dalvik cache folder after each reboot. I even tried clearing data of playstore and reboot. But no luck. I think I will leave the whole ext4 partition thing. Whenever I clean/wipe the 2nd partition and then recreate and fix permissions on 2nd partition it says ok and success. But after rebooting it says 2nd partition was not mounted and that it requires to do a quick reboot, after which it gets stuck in boot and I have to reboot by long pressing power button.

Nevermind. I have around 10GB used of 26GB total, from which only 8GB is system data. If I have one more 8GB in data slot I will still be able to use the phone and two ROMs in sdcard (no external this time).

Thanks anyways for your help :highfive:
[Galaxy S 4 i9505 Original Android Development] 911-Future_Maker:
[MENTION=4598795]Eleo[/MENTION], Are you using a file manager which can you show the hidden files? Don't give up so easily. Search the sdext2 partition too. But given that your rom doesn't seem to like the script apps2sd creates over and over, may be the best thing is to move on and use your phone as it is without multi partitioned extsd. I haven't faced the missing/broken apps after linking since Android 4.4.
[Galaxy S 4 i9505 Original Android Development] Eleo:
Yes, es file explorer. Has root priveleves and show hidden files option is enabled. Will try xplore file manager too, but I dont think it will be different.
[Galaxy S 4 i9505 Original Android Development] 911-Future_Maker:
[MENTION=4598795]Eleo[/MENTION] Search (even manually) the data/data for com.rovio.angrybirdsfriends
[Galaxy S 4 i9505 Original Android Development] Eleo:
Nothing with rovio. "com.android.rovio" "com.rovio" or just "rovio".

Will try formatting sdcard on pc again. I dont trust apps2sd app. Here is the whole screenshot of /data/data (not sure it will be visible because dimensions are 540x22975 pixels and 4.75MB natively, it will be compressed when uploaded into xda forum)
[Galaxy S 4 i9505 Original Android Development] draymond1987:
H811 Support

I can't seem to upload files on here, so I uploaded it to my Drive. Whenever I try flashing a ROM on ext-sd, I get an error that it's the wrong device. It thinks I have an h815. The flashing of the patched zip will just hang at "patching system unconditionally". I was able to make a secondary ROM on the /data partition. Primary is an LG based ROM and secondary is CM based. I tried the opposite, but I still can't get it to flash a ROM onto the extsd. Probably because it thinks its an H815, as stated. Sorry, I'm really new to multibooting, so I hope I got the right files for you. In-app= hanging at system. Flashing in recovery results in "this is an h811, not h815" error. I've tried both ways. Thanks!

https://drive.google.com/file/d/0BztXnxaH5yHheVJVQUpIN1Q4ejg/view?usp=sharing
[Galaxy S 4 i9505 Original Android Development] jthrasher47:
[MENTION=4277844]chenxiaolong[/MENTION] anyway to add support for LG V20?
[Galaxy S 4 i9505 Original Android Development] RaySCLA:
Yeah, it works on my t-mobile note 4. The only issue I'm having at the moment is that the app patches the roms fine but I can't install them through the app itself. I'll install the patched zips through twrp and everything works fine. Also any roms created for the ext sd card will show that the sd card is corrupted. Roms created for data slots show ext sd card fine.
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
There's no easy way to restore the backups from recovery right now. However, I just made a simple zip (attached to this post) that lets you restore a backup. You'll have to edit config.sh inside the zip to match your backup settings and then flash it.

Yes. Regardless of what device you have, the SD card is always slower than the internal storage.
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
I do not recommend using the app sharing feature. It is very buggy and will be removed in a future release.
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
I've merged the changes. They will be included in 9.1.0.r40.g458400f and newer :)
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
Can you link to the files you were trying to patch and also upload /sdcard/MultiBoot/logs/crash.log?