yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 i9505 Original Android Development] visanciprian:
Hey guys!

Any ideea why I cannot mount /system nor /raw-system as rw on any of the patched ROMs (dual/multi)?

Have su access but partitions remain read-only, and this is getting a bit annoying.

Have a 4.4 TW as main, TWRP recovery (tried with both TWRP and phillz's CWM) and using latest Patcher (Snapshot)
[Galaxy S 4 i9505 Original Android Development] Jsilver73:
Have you patched and flashed SuperSU for each of your patched ROMs? For some reason the inbuilt SuperSU in most ROMs doesn't play nice with dual boot
[Galaxy S 4 i9505 Original Android Development] visanciprian:
well, tried now and it works. flashed latest supersu and works perfect :) don't know why I didn't try that before.

thank you!
[Galaxy S 4 i9505 Original Android Development] Technical:
I'm flashing SuperSu at multi-slot1 with CyanogenMod but it is not really there, the internal superuser is what remains when I reboot the ROM.

Trying to install SuperSu (Pro) and it can't be installed in normal way neither on TWRP/CWM (although I have Philz). I'm rooted, but not with SuperSu at multi-slot1 :crying:

---------- Post added at 10:09 PM ---------- Previous post was at 09:29 PM ----------

An old wish of mine: that the patcher injects the apk as a normal user app.

Right now, we need to install it on each new ROM flashed.
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
Because I've put my patcher under the GPLv3 license, I can't bundle any proprietary apps with it. So, unfortunately, this is not something I can do :)
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
With the latest development version 7.0.0-r132, I'm able to install Fenny's TW 4.4 ROM under multi-slot 1. I'm still on the the old MDL (4.2 pre-KNOX) bootloader.

As for the freezing phone issue... :) The only issue with this initial fix is that it opens a gaping security hole, so I'll have to fix that first before making a release.

EDIT: Fixed in development version 7.0.0.r133.ga7de65d
[Galaxy S 4 i9505 Original Android Development] mitky82:
I just want to set second to primary and primary to secont. Afte that i want to remove second. Because i dont use TW rom who is primary now and i don't have memory :(
[Galaxy S 4 i9505 Original Android Development] Jsilver73:
You can use dual boot utilities to wipe system/cache/data/dalvik primary and not have to worry about primary, I was don't this long time and it's much easier because obviously you can use the backup/restore script in dual and multi slots and also you don't need to faf around when updating primary ;)
[Galaxy S 4 i9505 Original Android Development] mitky82:
And my rom always will be secondary and i need to patch every file... After wipe primary i dont understand other
[Galaxy S 4 i9505 Original Android Development] Jsilver73:
Wipe primary and forget about it, you can't move it to dual or multi ATM. Of you are not using tw there is no problem patching most aosp and he (dandvh anyway) then just patch your ROMs for dual/multi 1 etc and use these and further about primary ;)
[Galaxy S 4 i9505 Original Android Development] `SBR`:
Mine have different issues.. using the latest snapshot version

Primary : Phoenix Rom

Secondary: Mahdi Rom.

everytime i boot secondary and then booted back to Primary my WIfi is not working (unable to Switchon) in Phoenix Rom. I have to flash the Kernel in Primary Rom to make it work again. is it like the Primary Boot.img is not correctly mounted after dual boot?

even i tried KT/Googy TW kernel, all have the Wifi Issues if booted from Dual Rom.

EDIT: Issue fixed, if i use the Stable Dual Boot Pacther 7.0.0 Wifi Works in Dual boot. But Snapshot patcher has issues.
[Galaxy S 4 i9505 Original Android Development] franzyroy:
Interesting for me is the old BL like you (4.2.2), I've always wanted TW secondary or multislot.
[Galaxy S 4 i9505 Original Android Development] _Sofos_:
I confirm it's fixed in the latest version.

Patched Phoenix Rom again with the newest patcher version as secondary and phone (making and receiving calls) is working fine!

Thank you Chen, that was fast ;)
[Galaxy S 4 i9505 Original Android Development] Technical:
Sorry, I've thought both app belongs to you.

---------- Post added at 08:02 AM ---------- Previous post was at 07:59 AM ----------

Me too, but I'm not finding enough space for that. Even slim Goldeneye or Eudemony Superslim are not booting on secondary for me.

Ok, I have tons of apps... :D
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
Ohhhh, my mistake. I thought you were talking about in injecting SuperSU for whatever reason. I must be too tired :)
[Galaxy S 4 i9505 Original Android Development] Technical:
No problems. But, after all, consider injecting your own apk via patcher ;)
[Galaxy S 4 i9505 Original Android Development] franzyroy:
Normally, with an AOSP, it's ok! Except if you talked about of TW in primary and secondary!?
[Galaxy S 4 i9505 Original Android Development] Technical:
1st ROM AOSP (SlimKat)

2nd ROM TW (Goldeneye or Eudemony)

I can't pass the Samsung logo when booting the TW ROMs.

I'm not sure it's a space issue or, most probably, an issue in the patcher.

Note: some weeks ago, with patcher v6, everything was working.
[Galaxy S 4 i9505 Original Android Development] gaww:
Just patched and installed Fenny's ROM (would some similar ROMs now work?) as a multi, booted up, and guess what - the phone works - thanks ! Now can set it up as my "WiFi calling warehouse" and then update my current primary TW (Insane v9) to his international (no WiFi calling) ROM.

I then setup latest duelboot apk and checked share all apps and paid apps. On the latter, most of them showed up.
[Galaxy S 4 i9505 Original Android Development] franzyroy:
Not sure but it's possible. Before, with SHOstock and AOSB, I hadn't need to remove apps, now, with latest versions, I must to do it! :eek:
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
Great, thanks for the confirmation! Any other T-Mobile Touchwiz 4.4 ROMs (or international ROMs, for that matter) should now work properly too.
[Galaxy S 4 i9505 Original Android Development] gaww:
I may try Insane's own version v2, as it is closer to the one I was using as primary.

Note to anyone who may wish to patch and use Insane's Modz5.

It patched and worked (prettied up Fenny's mostly stock ROM), BUT - DO NOT ATTEMPT TO WIPE AND FLASH A KERNEL WITH PATCHED MODZ! The other mods go to the mult-islot, but this seem to go after the primary kernel and messes it up (had to reflash primary kernel to get it to boot up).

Once again - great work.
[Galaxy S 4 i9505 Original Android Development] Technical:
[MENTION=4277844]chenxiaolong[/MENTION], any problem with Goldeneye as dualboot ROM?

I'm not being able to use it anymore. Phone stucks on Samsung logo... No sign of bootanimation nor kernel being loaded.

I'm using the latest DualBootPatcher-7.0.0.r133.ga7de65d-snapshot patcher.
[Galaxy S 4 i9505 Original Android Development] Technical:
In this order? I mean, TW as primary and AOSP as second?
[Galaxy S 4 i9505 Original Android Development] franzyroy:
Yeah!

---------- Post added at 11:49 PM ---------- Previous post was at 11:47 PM ----------

And I'm sure this is a lack of space, I checked with a zip which allows you to check system information that showed the percentage. Once removed some apps, it started successfully.
[Galaxy S 4 i9505 Original Android Development] xk0niR:
If you got time you could try purified rom as secondary.

This and Lightrom (Lightrom has a buggy Aroma Installer though) were the only ones for me who worked as secondary.
[Galaxy S 4 i9505 Original Android Development] remorema:
Can you please care to elaborate whats all this fuss about TW on secondary. Is there something here I'm missing? What advantages may come from using tw on anything other than primary.

Sorry guys but I'm really not getting it. Its so much easy to leave it as primary and patch a much smaller zip to use as secondary or multislot. It only makes sense if somehow you'd want to boot two tw based roms which seems not to be the case.
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
Well, at least it gives me something challenging (and frustrating) to do :laugh:
[Galaxy S 4 i9505 Original Android Development] Jsilver73:
Maybe there are other challenge for you - like updating the utilities script so it's not bright white and burns your eyes out late at night and maybe other options like one click to wipe cache and dalvik together and one click to wipe system/data/cache/dalvik would be useful ;) or even better still if you could incorporate utilities into patcher app so we could do everything from patcher :cowboy: eg: wipe cache/dalvik followed by flash zip(s) like twrp manager except that doesn't work with dual boot.

Not being demanding. Just trying to be helpful setting you new challenges hahaha :laugh:
[Galaxy S 4 i9505 Original Android Development] franzyroy:
It was after this! ;)
[Galaxy S 4 i9505 Original Android Development] Jsilver73:
Chen - another challenge might be a way to patch primary ROMs so we can easily update them as it is still tricky ATM. Maybe this is why people want to install tw as secondary as it is much easier to update :confused:
[Galaxy S 4 i9505 Original Android Development] fatjoez:
Can you please remove the scam software APK from your download link?

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

/../../../download/00131/BWU/003910.apk
[Galaxy S 4 i9505 Original Android Development] gaww:
Using Two TW Roms (one with WiFi calling ONLY available on it) is 100% of my reason currently.
[Galaxy S 4 i9505 Original Android Development] dafonehacker:
What happened to the patcher apk downloads? I can't see them on dev-host
[Galaxy S 4 i9505 Original Android Development] remorema:
Why not stay with the one that actually works. I also tried that stunt once. Didn't work. Move on.

Not wasting my time with that. Just choose a primary tw based with all your needs and keep dual and multislots for GE and aosp.

Tw on anything other than primary doesn't bring nothing good. Just bugs and issues.

Well its OK if you want to spend more time flashing stuff than actually using your phone but I'm past that phase. ;)

Anyway I'm guessing that Chen will fix anything you throw at him with a knife and a glass of water just like macgyver did :)

...Waiting for v8 to put some GE ROM along with my phoenix v9.3
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
Thanks for letting me know about that. I've reported it to the dev-host admins. It seems like it's a bug on their side since I can't access half of my own files: https://dl.dropboxusercontent.com/u/486665/Screenshot from 2014-07-25 12:44:26.png

EDIT: Also changed my password, just in case
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
In light of the Dev-Host issues, I will recompile and reupload everything there. I will edit this post when I finish doing that. If you've downloaded any of the patcher files yesterday or today, please redownload them.

In light of the Dev-Host issues, I will recompile and reupload everything there. I will edit this post when I finish doing that. If you've downloaded any of the patcher files yesterday or today, please redownload them.

EDIT: Done! Here are the correct MD5sums of the new files.

http://d-h.st/users/chenxiaolong

f2d96a86edf9f979e05e28cfc5789a29 DualBoot/FlashableZips/DualBootUtilities-3.1.zip
fbda2d4f6cb80985db32a5bf4927ccf1 DualBoot/FlashableZips/PrimaryRom/SecondaryPermissionsBackup.zip
83a5aa802b9a39689246d9670a86fc72 DualBoot/FlashableZips/PrimaryRom/SecondaryPermissionsRestore.zip
6bb0a18b639944ea8651f923b166a902 DualBoot/PatcherApplication/DualBootPatcher-7.0.0-release.zip
03002eff174f93575be259d37448aa53 DualBoot/PatcherApplication/DualBootPatcher-7.0.0-signed.apk
219ea78cc7d46eea1807953423c5d200 DualBoot/PythonForAndroid/python-install-3.4.1-no-log2.tar.xz
478a2151c1036e27462e324703ad9287 DualBoot/PythonForWindows/PyQt5_QtBase5.2.1_Python3.4.0_win32_msvc2010.7z
ed614494e863fa44138e9f638ac95bfd DualBoot/PythonForWindows/PyQt5_QtBase5.3.1_Python3.4.1_win32_msvc2010.7z
aef8539053e176fa697134eb1ab60a65 FlashableZipsNoobdev/DualBootDisable.zip
5cbdb81b61535db30b903752ebdc2a1e FlashableZipsNoobdev/DualBootEnable.zip
[Galaxy S 4 i9505 Original Android Development] Technical:
My main ROM is SlimRom and I won't change it for any TW ROM that will have only "another" slot in my device.

That's my only one reason for TW as secondary.

Instead, I will have tons of reasons to prefer an AOSP ROM and not a TW ;)
[Galaxy S 4 i9505 Original Android Development] gaww:
I did move on - to a S5 modded TW based on internation ROM - no more WiFi. The Multirom which is not working in a older TMo stock based ROM that came with WiFi. I have previously been through duelbooted CM and a number of GE and AOSP ROMs - Have settled on SaberSlimKat, which is now dulebooted.

AS for challenges for Chen - shared data files and ability to flash/update Primary without wiping duelboot and Multi ROMs - but looks like he is already on this one - lol.

---------- Post added 26th July 2014 at 12:05 AM ---------- Previous post was 25th July 2014 at 11:59 PM ----------

Chen - don't forget about the cache being wiped when current primary ROMs wipe cache as well as system. This knocks off the MultiROMs.
[Galaxy S 4 i9505 Original Android Development] Technical:
Do the files available in OP are newer than the ones here?

https://dl.dropboxusercontent.com/u/486665/Snapshots/DualBootPatcher/index.html

I mean, are the files in OP the latest version?
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
The ones in the OP are the stable releases. The ones in the link are unstable development/testing versions that may not work and may completely break everything :)

At the moment, the version in the OP is older because the development versions have all the new features leading up to 8.0.0.
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
Oops, I did forget... and now it's fixed in 7.0.0.r136.g99dc35b :)
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
Done :)

Done :) (Added wipe everything option)

I'll consider adding those in a future release (though the flashing zips part will be difficult).

Check out version 3.2 of the DualBootUtilities :laugh::highfive:
[Galaxy S 4 i9505 Original Android Development] Jsilver73:
Woop Woop, you rock man :D can't wait to try, thank you Chen (I ran out of thanks already today but as soon as they get refreshed will come back and press the button lots :good::highfive:
[Galaxy S 4 i9505 Original Android Development] Jsilver73:
The new dual boot utilities works good, put my sunglasses back in the draw now lol, thank you. The new wipe all is good, when you have a min please could you see about putting an option for wipe cache/dalvik together as this is probably my most used function, and I suspect others too right?
[Galaxy S 4 i9505 Original Android Development] franzyroy:
You wanted to talk about of the date? There was a bug and chenxiaolong removed all and reloaded them. It's written here.
[Galaxy S 4 i9505 Original Android Development] remorema:
Jesus! you really are working double shifts on this tool. Do I smell a v8 coming soon? ;)

Regarding utilities flashing integration. I had an idea that you can work on or rule out. Lolol

Thing is: when you patch the ROM with dual boot patcher it would add aroma dualboot utilities to the ROM itself. Then we just flash the rom do what we have to do in aroma utilities and at the end just a simple option to continue and flash the ROM or exit to recovery.
[Galaxy S 4 i9505 Original Android Development] Technical:
No, I was talking about the code, features, etc. I'll keep using the snapshots (beta) versions.
[Galaxy S 4 i9505 Original Android Development] gaww:
No only newer, but if you want to patch TW ROMs, use later releases. I used 133 to patch TMo TW Rom and installed it as a multi ROM (it needs a lot of room).

---------- Post added at 02:55 PM ---------- Previous post was at 02:50 PM ----------

I only see up to 133 on the site - have you uploaded it yet (drool, drool........) ?
[Galaxy S 4 i9505 Original Android Development] Jsilver73:
Chen - please could you have a look at this z2 walkman thread here and see if you can add support. Thank you, sorry, don't mean to be so demanding and happy to wait :)
[Galaxy S 4 i9505 Original Android Development] Technical:
Is there a way to share app moved to sdcard?

Right now, if I move an app to sdcard in primary ROM, it appears as "not installed" in others.

This will be very useful to manage free space :D
[Galaxy S 4 i9505 Original Android Development] remorema:
[MENTION=4277844]chenxiaolong[/MENTION] something weird just happened to me.

Running odexed phoenix ROM take almost my entire system partition. I only have about 270MB left in it.

So I tried to install cm11 milestone 8 and pa gapps as multislot-1. All went fine until I switched to art. After switching to art all went wrong and got a ton of fc's on system app.

After that I booted up to recovery and ran dualboot utilities (3.2 looks great BTW) and find out that system partition only had 3MB left.

After wiping all from multi slot 1 system free space went back to normal. So I guess something is not working as supposed because afaik multislots shouldn't take up system space, do they?

Not working. When you move apps to SD card they stay in .androidsecure folder which is encrypted. It would be a pain to share those apps. Your best bet to save space and still share all apps is to have all apks in internal and move obb folder to external with something like folder mount.
[Galaxy S 4 i9505 Original Android Development] Bejda:
It's a standard zip that should get patched fine with default custom settings but apparently it fails?

I don't see why,let's master check this ;)

[MENTION=4277844]chenxiaolong[/MENTION]

http://pastebin.com/whjP5Xwa
[Galaxy S 4 i9505 Original Android Development] franzyroy:
OK. Such you, I only also use the snapshots.
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
Bah, looks like my server crashed lol :) I'll reboot it and it should be uploaded soon.
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
At the moment, that's not possible. Unfortunately, Google thought it would be a good idea to encrypt apps moved to the SD card (just like paid apps) :)
[Galaxy S 4 i9505 Original Android Development] Bejda:
It's possible actually..

_CM based rom use /cache/dalvik-cache location for system apps and framework.jar classes.dex files.

_Multislot rom's cache is under our /system partition.

_On ART dalvik-cache content (classes.dex files then) is bigger.

Btw [MENTION=4277844]chenxiaolong[/MENTION]

Last time i tried a wipe dalvik-cache with DualBootUtilities3.1 on a secondary CM based rom i noticed it only wiped /data/dalvik-cache and not /cache/dalvik-cache
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
The reason it does that is because dalvik-cache for the multi-slots is currently placed on /system. While dalvik's cache is pretty small, Art's cache takes quite a few times more space. If there's some way you could switch back to dalvik, the system apps shouldn't crash anymore :)
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
Thanks for the log! The reason it failed to patch is because the author thought it would be a brilliant idea to put this character in the updater-script: http://www.fileformat.info/info/unicode/char/99/index.htm :) I'll see what I can do to fix it.

EDIT: Fixed in 7.0.0.r139.g2f48b23
[Galaxy S 4 i9505 Original Android Development] remorema:
Tks for the explanation guys!

Now that you said it it makes complete sense.

But with a different angle it makes no sense. If we use multislot is because we ran out of space in system otherwise we would use dual slot.

Any chance to store dalvik on cache partition ?

I would rather have only 3 slots : primary: secondary: one multislot; and have the chance to actually use it. Only thing that makes me want to dual boot is to use GE or CM running art in addition to my primary tw ROM.

And with this amazing tw Roms with all the bells and whistles from the S5 taking all the system partition I have to choose between a Sammy s5'ish and dual boot. :(
[Galaxy S 4 i9505 Original Android Development] Jsilver73:
Or you could repartition your SD, I remember on s2 there was a thread dedicated to doing this, although I never had the need to do it myself, perhaps this is an option also for us.

I must say though, I think it would be a step backwards to only boot 3 ROMs, I am running 5 quite successfully including tw in primary and slim on ART.
[Galaxy S 4 i9505 Original Android Development] remorema:
What's the point of running 5 Roms other than testing purposes?

I like to actually use my phone rather than spending all the time playing with Roms.

I only have one ROM and right now I only have 2gb left on internal and 1gb on external.

Repartitioning SD card works OK to move apps to SD but that's not my problem.

My issue right now is that I have space in cache and data to have an extra rom but I can't do it due to lack of space in system partition. Moving dalvik cache to external is out of the question because I like the ability to remove my SD card every now and then and still have a working phone.
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
Fixed in DualBootUtilities 3.3 :)
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
Let me take a look and see if it's possible to change the dalvik-cache location :)

EDIT: So, just about every single ROM stores it's dalvik-cache in /data, but CM chooses to store it in /cache (which ends up in /system for multi-slots lol). What I can do is force CM to behave like the other ROMs, but this means you'll have to repatch CM.

EDIT2: Fixed in 7.0.0.r142.gd7ae9e9
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
Fixed in 7.0.0.r140.g0c690ea ;)
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
I'd really like to release v8 soon. That's why I'm on a bug fixing rampage right now ;)

For the aroma suggestion, I'll think about adding that. It would be pretty difficult to implement that well, so it'll be a long-term goal :)
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
Sure! Added in DualBootUtilities 3.3 :)
[Galaxy S 4 i9505 Original Android Development] Technical:
Thanks. Google :p Sorry to bother you with this, but if I repartitionate my sdcard, will the app moved to a dedicated partition be encrypted too? Or, in other words, could I use this workaround to get some more free space in the phone?
[Galaxy S 4 i9505 Original Android Development] Jsilver73:
So do I, I also like to play. But all my ROMs are set up the way I like them and I do actually use them all depending on what I'm doing and /or what I feel like. For example, if I'm out with my family I'll use tw because best camera, I love ssk and use that one most of the time and have running on ART for that extra edge, but - I suffer from freezes although they are very rare now but if I am at work for example I'll use GE as it's rock stable, at the moment I'm using miui because I like it and best battery :p you got me on broods aosp - I'm just playing there and waiting for a final release :fingers-crossed: but have it backed up just in case I fancy a try of something else.

My point is that is the way I like to use my phone, and for me, that's what makes the s4 really cool so thank you Chen for giving us this scope to play, after all android is all about choice, right, and if I just wanted a phone that worked I'd buy an iPhone lol :silly:

---------- Post added at 08:25 PM ---------- Previous post was at 08:24 PM ----------

You absolutely rock Chen :) still got no thanks presses left lol.

---------- Post added at 08:26 PM ---------- Previous post was at 08:25 PM ----------

Really really ROCK :good: