yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
I went back and read though the previous posts while I was gone and it looks like these ROMs/files are currently not working. If I'm missing something, please let me know. I'll update this post as I fix the issues.

Echoe (Feb 21) [Fixed in r908]

Xposed Lollipop installer [Working for me on r904 with official CM12]

Reset2DefaultTheme.zip (http://xdaforums.com/showpost.php?p=58832093&postcount=4997) [Not dual boot issue. The bundled sqlite3 binary is not compatible with some ROMs' ICU library causing errors, such as "cannot locate symbol "__stpcpy_chk" referenced by "libicuuc.so"..."]

GoldenEye TouchWiz

CM12 AntaresOne [Working for me on r904]

Broken DualBootUtilities [what's broken?]
[Galaxy S 4 i9505 Original Android Development] sronweb:
[MENTION=4277844]chenxiaolong[/MENTION],

I'd like to test latest patcher with official CM12 as seconday rom. I have patched both primary and secondary with r709 if I remember correctly. Last working version as patcher is r710 but I cannot use post r710 due to missing root message I get opening the rom selection option. With today's release I noticed that I have no crash of the app opening the app sharing option, but I didn't try to patch a rom with it. Do you know if I can use it for testing? How to avoid root error if I have generally no problems with root with the other apps (Titanium etc). Thanks
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
That error message was actually incorrect (I recently changed it to a more appropriate one). The way the patcher works now is there's an mbtool daemon that runs at boot which handles everything (mounting partitions, switching ROMs, app sharing, etc.). The app just connects to this daemon and tells it what to do. From r710 to r819, I disabled mbtool from starting because it had no security measures built-in. Any malicious app could switch the ROM or do some other bad things. This is why the "no root" message appeared.

With the latest snapshot (r904) and up, things should be working again. In fact, root is not even needed anymore.

If you want, I can test your setup with the latest snapshot and let you know if things are working :) You said you wanted to install CM12 as secondary. What is your primary ROM?
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
Another idiotic mistake fixed :) This should no longer happen in r907 (for those who are testing the snapshot builds).

https://github.com/chenxiaolong/DualBootPatcher/commit/9f2fe15fc380801af368c77201d73ea5008b567d

https://github.com/chenxiaolong/DualBootPatcher/commit/993a49d29cf897ea19ff3bd710b7f8a507e2f96f
[Galaxy S 4 i9505 Original Android Development] sronweb:
Hello' Chen,

my primary rom is Shostock 8.0 and I have CM12 as multislot1, not secondary. Thank you for your help!
[Galaxy S 4 i9505 Original Android Development] monkteo:
with what version of patcher ?

PS sorry for asking , it's working on Note 4? I want to change my phone but this dualboot keep my here !

THX
[Galaxy S 4 i9505 Original Android Development] sronweb:
No problem. I have patched the primary on Win7 pc (because of the size I cannot patch on the phone) and the multislot always on the phone. I have used r709 or r710 from the snapshot link. Switching between rom is working fine. App sharing is not implemented but it's fine for me as it might generate more problems when switching from rom based on android 4.4.x and 5.0.2 versions.
[Galaxy S 4 i9505 Original Android Development] franzyroy:
Thanks!;)

For Reset2DefaultTheme, anyway, it's useless now, already because Sqlite Editor makes very well the work, in more, since that, Theme Engine has been fixed.

Anyway, still thanks for your hard work!;)

Edit

:

For Echoe, I hope that the new of march 02 works! :silly: No reason.
[Galaxy S 4 i9505 Original Android Development] monkteo:
but way did you patch the first rom (primary) ?
[Galaxy S 4 i9505 Original Android Development] sronweb:
Why? If you patch it with the new snapshots during the installation you can select where to install it as primary rom update. In general, if I remember correctly there is no need to patch the primary rom, but if you don't patch and you like to reinstall for some reason, I suppose it will format the other existing roms (not sure).

---------- Post added at 10:50 AM ---------- Previous post was at 10:07 AM ----------

I have just tested r907 from today and I have no root error anymore! Great job!!

Switching between rom seems to be ok too.

I will try to patch a rom later. I guess I will use it for the daily CM12 nightly.
[Galaxy S 4 i9505 Original Android Development] franzyroy:
Well, bad new, with the 907, the latest Echoe (March 02), it doesn''t want to patch it, same issue!:(
[Galaxy S 4 i9505 Original Android Development] todivefor:
[MENTION=4277844]chenxiaolong[/MENTION] is the above for Ktoonsez kernel included in your problem recap?
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
Thanks for letting me know! Fixed in snapshot r908 (should be up in about 10 mins). Apparently I can't count from 0 ;)

https://github.com/chenxiaolong/DualBootPatcher/commit/496c2baad2f546b23fd141268347ca60ea4fc6b9
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
Haven't gotten to fixing Echoe yet ;)

EDIT: Apparently, it's the same issue that broke KT kernel, so r908 happens to fix Echoe too.
[Galaxy S 4 i9505 Original Android Development] seijisandrei:
What version of the utilities.zip is most stable? What do you guys use? Thanks!
[Galaxy S 4 i9505 Original Android Development] v00d007:
v675 does all the jobs with without the new security issues that were intruduced with 718 build. Only issue, when using cm12 as secondary you need to flash custom kernel after install to get it to boot.
[Galaxy S 4 i9505 Original Android Development] franzyroy:
With the 910, the patching is done, now I have to install it to see.
[Galaxy S 4 i9505 Original Android Development] seijisandrei:
No, i did not mean the patcher, but the flashable zip file to use to switch roms
[Galaxy S 4 i9505 Original Android Development] ktetreault14:
Great to see everything up and running:D I have a note 4 now so will be testing. Tmobile, also the sprint lg g2
[Galaxy S 4 i9505 Original Android Development] rlorange:
Tmobile only compatible eh?

I'm willing to try on and international f. I'll patch a T-Mobile kernel
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
Actually, I'm still working with the developer of AROMA on getting the Note 4 supported (really awesome dude, btw :p). Currently, the Note 4 GPU is causing a lot of issues (same with the Nexus 6, I've heard).

On the Note 4, patched files will start to install, but will quickly fail because the selection menu can't be shown.

EDIT: The T-Mobile only warning was because I couldn't find a list of partitions on the international variant (I don't know if they're different). If you could run (over ADB) this command and paste the output here, that would be great!

adb shell ls -l '/dev/block/platform/*/by-name/*'
[Galaxy S 4 i9505 Original Android Development] rlorange:
Good to hear from you if you are currently running AEL kernel on KK you can try my new app!!

https://www.dropbox.com/s/jdfy7xloqfrc6fl/AEL_Screen_OFF.1.3a.apk?dl=0

Allows you to use conservative screen off settings

---------- Post added at 04:57 PM ---------- Previous post was at 04:57 PM ----------

Ps that link gave me an error visa terminal emulator
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
ls -l '/dev/block/platform/*/by-name/*'

should work from terminal emulator.
[Galaxy S 4 i9505 Original Android Development] v00d007:
sorry, my mistake. for me none works for switching roms so far. if needs be i always got the kernels ready to flash so i can always reactivate a rom.
[Galaxy S 4 i9505 Original Android Development] ktetreault14:
Ahh yes I remember the Note 3 had aroma frame buffer problems.

---------- Post added at 03:45 PM ---------- Previous post was at 02:55 PM ----------

Just flashed AEL on the tmo note. Looks great. Like the screen off apk.
[Galaxy S 4 i9505 Original Android Development] v00d007:
please dr chen, could you enlighten us here which one of the snapshots are able to do what they're supposed to or do we have to wait for a final? at the moment i use 675 but can't manually access the multiboot folder for changing things.

btw: why are 90% of the snappies completely unfunctional?
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
I'm getting close to a final release. I'm only working on bug fixes now.

Regarding the snapshots, my server has no way of know whether a build works or not. It simply grabs the latest source code and compiles a build. The builds are broken a lot when I'm in the middle of working on a new feature.

EDIT: In newer snapshots (>= ~r900), the app will automatically fix the permissions on the MultiBoot directory when you set the kernel or switch to another ROM.
[Galaxy S 4 i9505 Original Android Development] franzyroy:
Weirdly on transifex website of your app, there isn't update of traduction, however, all isn't translated in the DualBoot Patcher app. :silly:
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
Fixed! ;) I really need to setup my server to automatically push and pull translations.
[Galaxy S 4 i9505 Original Android Development] franzyroy:
Thanks!;)

Could you tell me how you did in the second text in "Choose a rom"? Its color is gray or black? The purpose of my question is for my theme, I can't change it.

I'll try to put a screnshot tomorrow in order that you see.
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
I'm in class right now, but I can tell you once I get home ;)

All the resource files are here if it helps at all for theming: https://github.com/chenxiaolong/DualBootPatcher/tree/master/Android_GUI/res
[Galaxy S 4 i9505 Original Android Development] rlorange:
Just had to remove the commas

He you go i use two different ls binaries

https://www.dropbox.com/s/5abo2l2km2c8o6g/NOTEGpath.zip?dl=0
[Galaxy S 4 i9505 Original Android Development] Bugz1:
Does this work on i9500 touchwiz lollipop?
[Galaxy S 4 i9505 Original Android Development] franzyroy:
Well, it didn't help me but thanks!

Here the screen with the dark text. If you tell me its name or the name of button or other which could help me. :good:
[Galaxy S 4 i9505 Original Android Development] rlorange:
Chen I'm trying to remove the aroma stuff and place the dual file it generates into the multiboot folder in the zip

With this approach work? Any tips?
[Galaxy S 4 i9505 Original Android Development] franzyroy:
French is done!;)
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
Nope, unfortunately non-Qualcomm devices are not supported at the moment.
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
Thanks! Just what I needed. The partitions on trltexx are slightly different, but that's okay because it would only cause issues if ROMs messed with the /dev/block/platform/msm_sdcc.1/by-name/hidden partition.

Things should work as soon as AROMA supports the Note 4 :)
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
Those two TextViews use Android's built-in 'secondary_text_light' color. Is this what you're talking about?

@android:color/secondary_text_light
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
...and translations are updated ;) (in r913)
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
Hmm... yeah I could implement a manual solution while we wait for AROMA support. How about this renaming the file like this:

Original: cm-12-20150303-NIGHTLY-trltetmo_patched.zip

Secondary: cm-12-20150303-NIGHTLY-trltetmo_dual.zip

Multislot 1: cm-12-20150303-NIGHTLY-trltetmo_multi-slot-1.zip

Multislot 2: cm-12-20150303-NIGHTLY-trltetmo_multi-slot-2.zip

Multislot 3: cm-12-20150303-NIGHTLY-trltetmo_multi-slot-3.zip

Does that sound good to you for a temporary solution? Do you have any suggestions? ;)
[Galaxy S 4 i9505 Original Android Development] rlorange:
Ok I've bypassed aroma but I'm getting a device mismatch message. How can i get the binary to recognise trnexx
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
Which device is trnexx? I can't seem to find any details about it.

There's no way to just override the message. The patcher associates lots of other info (partitions, etc.) to the codename, so this is something I have to change in the source code: https://github.com/chenxiaolong/DualBootPatcher/blob/master/libmbp/patcherconfig.cpp#L403
[Galaxy S 4 i9505 Original Android Development] peppe130:
Italian translation updated :)
[Galaxy S 4 i9505 Original Android Development] rlorange:
Trltexx sorry. I've changed the updater script but another check still says it's meant for tmo.

Could you maybe make a update binary out whichever file recognise trltexx? I'll transplant into the zip
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
The update-binary supporting trltexx is attached to this post :)

Btw, update-binary is data/binaries/android/armeabi-v7a/mbtool_recovery from the Windows snapshots builds (harder to extract from the apk).
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
Updated, thank you! :)

8.0.0.r914.g223d38b with the new translations will be up soon.
[Galaxy S 4 i9505 Original Android Development] franzyroy:
built-in at the system if I understood you well?! No directly to the app. I have to can add it only for the app, I'll take a look. Thanks!;)

Edit

:

I found it, I think or I hope, it's in res/values/styles.xml, that:

<style name="card_v7_secondary_text">
<item name="android:textSize">@dimen/card_v7_secondary_text_size</item>
<item name="android:textColor">@android:color/secondary_text_light</item>
</style>

I gonna see if I can integrate it in my theme, because unlike the app, you can not put everything in a theme

OK :good:
[Galaxy S 4 i9505 Original Android Development] v00d007:
now tested v911 - works good.
[Galaxy S 4 i9505 Original Android Development] rlorange:
Chen made progress the installer doesn't abort but seems to hang on seeing up chroot in recovery..

How long should this take?
[Galaxy S 4 i9505 Original Android Development] franzyroy:
[MENTION=4277844]chenxiaolong[/MENTION]

Great thanks to you! :good::good::good:

I fixed the issue of my theme.
[Galaxy S 4 i9505 Original Android Development] sronweb:
Hello' FranzRoy, have you patched Echoe rom from the phone or from the pc? I suppose we should use the pc because of the rom size.
[Galaxy S 4 i9505 Original Android Development] franzyroy:
Not yet, not the time... sorry!
[Galaxy S 4 i9505 Original Android Development] sronweb:
Thanks. Because I have seen your screenshot before, I was supposing that you have installed it. Thanks anyway!!
[Galaxy S 4 i9505 Original Android Development] franzyroy:
No, it's the rom of Fev 08, if I can this WE, I'll do it!;)
[Galaxy S 4 i9505 Original Android Development] rlorange:
Chen I've been mucking around trying to remove aroma by having the updater check for a file added manually to indicate the install location. Any suggestions?
[Galaxy S 4 i9505 Original Android Development] monkteo:
Hi , witch patch do you use ? i just install the last echo and I whant to use an CM12 as secondary !

THX
[Galaxy S 4 i9505 Original Android Development] rlorange:
Damn aroma blocking installing my freshly patched cm12 official grrrr
[Galaxy S 4 i9505 Original Android Development] franzyroy:
Hi

The latest shoud work fine!:cool:
[Galaxy S 4 i9505 Original Android Development] sronweb:
I have used last snapshot to patch Echoe rom and it has worked. I have patched using the phone apk.
[Galaxy S 4 i9505 Original Android Development] peppe130:
Updated italian translation :)

---------- Post added at 12:22 ---------- Previous post was at 12:15 ----------

Chen I noticed that in the "Free Space" section, /system memory graphic is missing!

P.s. I suggest you to add an option that allows to choose a language regardless the default system one. For example I'm Italian and I use English (UK) as default system language. Each time I want to check if my translation is written right, I have to change my system language in Italian and then launch your app. It would be great if you add a similar option in Settings.. Go to Settings > Choose language and you are ready! :)

Like this:
[Galaxy S 4 i9505 Original Android Development] rlorange:
Chen itching for your aroma free solution for the Note4

---------- Post added at 04:31 PM ---------- Previous post was at 04:16 PM ----------

Perhaps you could implement something like this in the patcher apk to install directly without recovery http://xdaforums.com/showthread.php?t=2572978
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
Coming soon, tomorrow or day after :) Installing from the app without rebooting into recovery.

In fact, I've already finished implementing it in the low-level mbtool.

[1] https://github.com/chenxiaolong/DualBootPatcher/commit/ad08dbd8483b42c57112b7fb9f2a8383ee084e2e

[2] https://github.com/chenxiaolong/DualBootPatcher/commit/8ad6c5dc67dbea9e466319cbc67f4d3cd383ad89

[3] https://github.com/chenxiaolong/DualBootPatcher/commit/0edf14e5863c74852da29032eb6110665be97cd1

[4] https://github.com/chenxiaolong/DualBootPatcher/commit/ea807563039c1af18855c25db72eadde19657ede

[5] https://github.com/chenxiaolong/DualBootPatcher/commit/bdb0d97b0c091a84941a0cae3e4d0a893e827cb1
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
This doesn't seem like it should be too hard to implement. I'll see if I can add an option like that to the settings :)
[Galaxy S 4 i9505 Original Android Development] rlorange:
Wow you are a power house my man!!
[Galaxy S 4 i9505 Original Android Development] HearMeWhisper:
Just a thought, it might be a good idea to move this thread to a more unified location or have separate threads for other devices since this location probably doesn't get a whole lot of visibility
[Galaxy S 4 i9505 Original Android Development] peppe130:
Good :) :)
[Galaxy S 4 i9505 Original Android Development] lukas77:
+1

| Tapatalk | Samsung Galaxy S5 | G900F |
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
Good point. I'll do that once I get the next stable release out :)
[Galaxy S 4 i9505 Original Android Development] HearMeWhisper:
Oh and can you post when you finished the multi-boot without aroma?
[Galaxy S 4 i9505 Original Android Development] ktetreault14:
Wow can't wait to get out of work in 6 hours and see the progress made. Chen always pulls suprises out the hat. As for a unified thread. I say definitely
[Galaxy S 4 i9505 Original Android Development] franzyroy:
[MENTION=4277844]chenxiaolong[/MENTION]

With the latest CM12 AntaresOne rom:

With all DualBoot Patcher;

The rom is patched correctly

It is installed without error

It boot and and update the app

After,, it reboots and writes "Starting app" or something like that

Again, it reboots and continues without end on the boot with or without wipes (all)

to finish, I was forced to install without DualBoot, otherwise impossible to install it and boot with. So for the moment, I haven't more DualBoot.
[Galaxy S 4 i9505 Original Android Development] Houndcatcher:
Yeah same here [MENTION=2875350]franzyroy[/MENTION] Mine all seems to go fine but I just get to finishing boot and it stays on the Cyanogenmod Logo for ever :( This is using r675 Android App.
[Galaxy S 4 i9505 Original Android Development] franzyroy:
thanks to confirm, I wondered what I could make bad, I tried with several versions of DualBoot and always same. I regret to have lost my Echoe rom and a same time, I never use it, even if it's a really good rom. Maybe now, I could install it like Multi-Slot-x, since a long time, I hesitate to make it, perhaps the good moment.
[Galaxy S 4 i9505 Original Android Development] v00d007:
As i already posted some time ago, the v675 does most jobs, but for 2nd rom you gotta flash custom/patchdd kernel afterwards. But in the meantime i switched to v911 that does ALL jobs perfectly for me (Patching, kernel setting,rom switching).
[Galaxy S 4 i9505 Original Android Development] Houndcatcher:
[MENTION=5749514]v00d007[/MENTION] This was with a patched Kernel. Without it the Rom won't even boot past the Samsung Logo.
[Galaxy S 4 i9505 Original Android Development] franzyroy:
I tried with and without customized kernel!
[Galaxy S 4 i9505 Original Android Development] todivefor:
[MENTION=4277844]chenxiaolong[/MENTION], I am updating from one nightly to another (CM12 Sprint variant jfltespr). Rom is recognized by patcher (R914), patches successfully, and flashes successfully. It won't boot, gets stuck at Samsung screen. I flash Alucard kernel (patched) and it boots fine. Will we always have to flash a kernel after a dirty flash? This makes it nearly impossible to run stock.

I had trouble in the past with Ktoonsez kernel (KT-SGS4-LP5.0-AOSP-INTL-02.06.2015.zip) with dualboot, so thought I would test it. It was recognized by patcher and patched successfully. It failed on flash with attached screen. I captured log and it is attached. This is above my knowledge level, but it looks to me like it failed by running out of space (mmcblk0p20?). Strange that Alucard would work, but Ktoonsez does not. Can I get around this?

edit: Set as secondary rom (dual).
[Galaxy S 4 i9505 Original Android Development] v00d007:
so, try v911 !

---------- Post added at 03:34 PM ---------- Previous post was at 03:32 PM ----------

many people got problems with twrp, did you try philz touch? i never had any problem with that one.
[Galaxy S 4 i9505 Original Android Development] franzyroy:
Already try with.
[Galaxy S 4 i9505 Original Android Development] v00d007:
this is how it looks like when all done with v911 + philz touch (on my device):
[Galaxy S 4 i9505 Original Android Development] todivefor:
Have not tried Philz. Thought maybe I was just out of space somewhere. I'll give philz a shot.

EDIT: Same result with philz. Either out of room somewhere or problem with patcher.
[Galaxy S 4 i9505 Original Android Development] franzyroy:
From a longtime, I use the TWRP without issue, I don't believe the TWRP is the problem, mainly that the TWRP is more updated than PhilZ recovery. Certainly another issue but I don't know what? Maybe due to there is a longtime that I've not make some clear on my phone and also the internal SD. Since that I made an "all wipes", I noticed that lot of thing works better now.
[Galaxy S 4 i9505 Original Android Development] v00d007:
It's your decision, for me it works perfectly atm.
[Galaxy S 4 i9505 Original Android Development] franzyroy:
Yes!;)
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
Done :) Files patched with r935 and up will contain a multiboot/info.prop file that looks like this: http://pastie.org/10010406

Just set "mbtool.installer.install-location" to whereever you want the ROM installed. It's not the most pleasant way of doing things, but it'll have to do until AROMA has support for more devices.
[Galaxy S 4 i9505 Original Android Development] davy4475:
Downloading the apk and keep getting a parse error. Any ideas?
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
Try downloading it again. You might have downloaded while it was halfway through uploading.

Maybe try uninstalling the current version and installing the new apk again.

EDIT: MD5 should be:

f05fe58c866027d65442ce64173deeb3 DualBootPatcherAndroid-8.0.0.r935.g9d3e8d9-snapshot.apk
[Galaxy S 4 i9505 Original Android Development] davy4475:
Still not downloading. From the op zip file seems to download OK but not the apk
[Galaxy S 4 i9505 Original Android Development] franzyroy:
[MENTION=4277844]chenxiaolong[/MENTION]

Did you see my previous posts?
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
Yes I did :) I'm still trying to figure out what's going on.
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
Hmm, this will be an interesting thing to fix. Apparently, adding the 228KB of multiboot files to the kernel made it bigger than the boot partition. I'll need to see what makes the Ktoonsez kernel so huge.
[Galaxy S 4 i9505 Original Android Development] franzyroy:
Thanks!