yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 i9505 Original Android Development] franzyroy:
Below, your file like I said.
[Galaxy S 4 i9505 Original Android Development] franzyroy:
Bejda has put it before me! Like that you've 2 files. ;)
[Galaxy S 4 i9505 Original Android Development] Technical:
I've faced an expected problem, but, like me, some others could have being facing the same.

When you install a second ROM and configure, at the setup, the Google account, the "new" ROM will be the "new" device in Google Play. When you click "install" in the Play Store, it will be installed in the "new" ROM (2nd, multislot1, etc.). Even wiping the data on the "new" ROM, it got set as the device in Google Play. If you try to restore apps data from TitaniumBackup you'll get the "UUID error" each time you boot the new ROM.

You need to factory reset (or delete all data) the first ROM and then follow the setup on Google Play to "bring it back" as being the only one allowed in Google Play. This is, of course, a major drawback.

To solve:

1. (I suppose) Do not setup Google the 2nd or next ROMs while starting it up for the first time. Add your Google Account later.

2. Factory reset or, better, wipe "data" with DualBootUtilities.

Am I right?

Is there a way to set the a "common" UUID and will it work to set all ROMs into Google Play Store as being the same device, or, in other words, will it allow to install an app from Google Play regardless of which was the "latest" ROM installed?

Thanks.
[Galaxy S 4 i9505 Original Android Development] Mussels84:
heres echoeV15 (NDA leak)

https://mega.co.nz/#!wU92hRDQ!1TJrudkFRTalNPZKRpvMKloJi9DoCzlfDqni2mYj05s
[Galaxy S 4 i9505 Original Android Development] gaww:
I setting up second ROM and Slot ROMs, I had been notified that UUID was changed and offered the option to revert it to the original - which i did. I think it was when first opening titanium but not 100% sure.
[Galaxy S 4 i9505 Original Android Development] Technical:
Yes, it's there when you first open TB. But, reverting it worked for Google Play Store, I mean, is it the device correctly recognized at it when you try to install an app from the web? Thanks.
[Galaxy S 4 i9505 Original Android Development] gaww:
I believe so. I do it every time and have not had any issues after.

.
[Galaxy S 4 i9505 Original Android Development] franzyroy:
The solution: MAybe to have a different account of Google on each rom.
[Galaxy S 4 i9505 Original Android Development] Technical:
Solution??? This is only a workaround, worse imho, it's a drawback. Sorry.
[Galaxy S 4 i9505 Original Android Development] rlorange:
New recovery version of my Dual Boot Backup & Restore mod V3.1

Pair of recovery zips

https://www.dropbox.com/s/825rionf3ert0ls/DualBoot_BACKUP_ExtSD_V3.1.zip

https://www.dropbox.com/s/afmgxr2kdtionmg/DualBoot_RESTORE_ExtSD_V3.1.zip

Philz and TWRP compatible
[Galaxy S 4 i9505 Original Android Development] RK:
The device name is wrong and the app says installed. However, if I click on the green installed button, I can install it again just fine so it does not bother me
[Galaxy S 4 i9505 Original Android Development] franzyroy:
What is it? This is to replace it?

'SecondaryPermissionsBackup.zip' and 'SecondaryPermissionsRestore.zip'

---------- Post added at 10:11 PM ---------- Previous post was at 10:10 PM ----------

I know but if it can help until something better.
[Galaxy S 4 i9505 Original Android Development] rlorange:
Lol! No it backs up your entire 2nd ROM into 3 tad files on your sd card and restores like nandroid
[Galaxy S 4 i9505 Original Android Development] gaww:
What is the difference between the zip's ?
[Galaxy S 4 i9505 Original Android Development] rlorange:
Umm... One backs up... The other restores
[Galaxy S 4 i9505 Original Android Development] Mussels84:
can you restore them to different slots than where they started?
[Galaxy S 4 i9505 Original Android Development] gaww:
I would think not, as they are structured (patched) differently.

---------- Post added at 05:55 AM ---------- Previous post was at 05:46 AM ----------

After downloading them I see that - was not apparent just looking at the links (But if I had thought about it...).

I had been doing pretty good "restoring" duel boot (noobdev) by dirty flashing with the saved data until it got real messed up after flashing a patched 4.4 TW on a slot), so will be good to have a full go back to secondary again.
[Galaxy S 4 i9505 Original Android Development] rlorange:
Yeah it's very easy to do and will do soon. However just as mentioned you would have to flash a patched multi slot kernel after. Other than that it will work :)
[Galaxy S 4 i9505 Original Android Development] Mussels84:
that would be awesome. many times now i've had to swap what rom was primary and secondary, and just gave up on my data.
[Galaxy S 4 i9505 Original Android Development] franzyroy:
Interesting! :cool:
[Galaxy S 4 i9505 Original Android Development] gaww:
Interesting - had not thought of that.

I have already used these and restored secondary. @#%$& Google search and now updated and messed up a few things - including wiping my desktop pages. it was easier to restore and then set it up again.

Different issue (not related to your stuff) - why does reflashing the primary kernel sometimes wipe Slot1 ROM (fortunately data still intack)?
[Galaxy S 4 i9505 Original Android Development] visanciprian:
[MENTION=4277844]chenxiaolong[/MENTION]

4.4.2 TW official kernel source is finally out ;)

http://opensource.samsung.com/reception/receptionSub.do?method=sub&sub=F&searchValue=GT-I9505

Soon we'll have some fully working modded kernels!

Cheers!:victory:
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
I'm guessing the zip for the kernel you use wipes /cache and /cache is where all the multi slot ROMs are installed to. You can open up the updater-script and remove the lines that do that if you want.

The /data is always stored within a folder in the primary ROM's /data, so that will never be deleted unless you wipe data from recovery :)
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
Thanks! But wow, 863MB! That's huge. Hopefully it'll have the source I need :)
[Galaxy S 4 i9505 Original Android Development] gravedigger76:
I saw someone had the same reaction but one of the devs said it's uncompressed and when compiled it'll be back to normal size. Also KT looked at the source and said there is nothing new at all in it.
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
I just took a look at the source and unfortunately, it is useless for our purposes. It doesn't have the source to the "init" binary in the kernel's ramdisk. Looks like I'll still need to write my own replacement for it :(
[Galaxy S 4 i9505 Original Android Development] Technical:
Facing issues trying to flash FoxHound 4.4.2 Rom (TW) as dualboot.

I've got a blank screen just after the Samsung logo, I do not even got the ROM logo.

Any hint to flash the dualboot slot with a TW? My 1st is Slim 4.4.1 (AOSP).

Thanks.
[Galaxy S 4 i9505 Original Android Development] gaww:
You are 100% correct - lol.

I was using dbMod kernel cleaner, and should have though of the possibility it was wiping dalvek and cache.

Question - if I only want to wipe primary cache, will the utility tool in the primary menu do that, or will it wipe the whole cache?

---------- Post added at 02:51 PM ---------- Previous post was at 02:42 PM ----------

I would suggest reversing your ROMs if you want to use a TW. I was finally able to patch, flash, and boot up and run a TW in Slot 1, but had so many issues with it I removed it. Somehow, it managed to cause issues with other ROM even after it was wiped with the utility zip.

I believe the OP has noted issues with getting patched TW's to work without issues, and I believe he recommends making ti the primary.
[Galaxy S 4 i9505 Original Android Development] Bejda:
It's ok, it will wipe cache but skip what belongs to others roms.

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

[MENTION=4277844]chenxiaolong[/MENTION]

Hi,i was wondering something..i noticed some users here and there were suprised recently to find their SELinux status in settings>about phone as enforcing.

I don't really care as i don't really understand the underlyings anyway lol but,on SlimKat thread specifically ,it appears that no matter the kernel used or configuration I'm the only one still having it as permissive.

I just wonder out of curiosity if it could be due to the fact I'm using the rom as dual/multislot? Can SELinux policy even be changed by ramdisk edit? Does SELinux status even belong to kernel I'm not sure lol..

Little support requests please :)

There's this rom which is CM based:

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

I usually just replace "nameless" by "cm" to patch it, here's META-INF and boot.img if needed (zip is named like the rom zip).

https://www.dropbox.com/s/lz1o67chn...-20140227-jflte-NIGHTLY_META-INF_boot.img.zip

A MIUIv5 aosp port (re)appeared also here:

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

It's a CM10.1.3 base,i use miuiandroid one (which seems definitely discontinued btw) file name to patch and use it successfully. Again even if probably not needed its META-INF+boot.img:

https://www.dropbox.com/s/8i65qmwa15pfosp/MIUIv5-S4International-4214_META-INF_boot.img.zip

Thank you!
[Galaxy S 4 i9505 Original Android Development] chavdar:
Have you checked, if you are not running out of space on /system?

I had similar problem on multi slot1 - /cache was full :). Tried both Echoe and Shostock. Will reflash shostock again because there are root issues with b5

And try KT TW 4.4.2 - works like charm
[Galaxy S 4 i9505 Original Android Development] Technical:
Can't say for sure as I can't get this info at TWRP. But I think this is not the problem. Maybe some requirement of the ROM that I can't run as dualboot. I'm testing again and I got the same black screen forever...

I have - after installing the dualboot ROM - more than 1.5Gb free. I think space is not the problem here...
[Galaxy S 4 i9505 Original Android Development] chavdar:
In my experience black screen after the inial boot means something is wrong with the kernel -maybe you can try flashing a KT TW 4.4.2 for the dual boot and see if it starts.

Sent from the GT-I9505 Galaxy
[Galaxy S 4 i9505 Original Android Development] Technical:
Yeah, seems so. But I gave up on having TW as 2nd ROM. I'll try other AOSP ones, like Omni or CM.
[Galaxy S 4 i9505 Original Android Development] Technical:
I will really need to be convinced I should move from AOSP to TW.

Anybody want to start? :D

Joking.
[Galaxy S 4 i9505 Original Android Development] franzyroy:
What black screen?
[Galaxy S 4 i9505 Original Android Development] azsde:
Noob here,

I'm running a pre-rooted 4.3 stock rom, some bloatware are removed, I have a custom recovery and I think I have the original Kernel, at least I don't remember installing a custom one.

Do I need to install a custom kernel before setting up the dual boot ?

If so, which one should I use ?

Thank you in advance :victory:
[Galaxy S 4 i9505 Original Android Development] franzyroy:
No need!
[Galaxy S 4 i9505 Original Android Development] Technical:
What do you want? A black screenshot?

After booting, i.e., after Samsung S4 logo, the screen goes black and the ROM logo does NOT appear at all.

Nothing seems to be happening and the phone stays there, black, forever...
[Galaxy S 4 i9505 Original Android Development] gaww:
1.5 free of what?

If you have nothing on slot1, you might try loading it there. The continued black screen is what I encountered until I downsized the TW ROM and repatchcd, and finally got it to boot.

And again - after all that work, it had issues that other users of the ROM (not patched of course) did not experience. If you need a reason to make you install the TW as primary, just reread all your posts - and you aren't done yet.
[Galaxy S 4 i9505 Original Android Development] franzyroy:
I've already got this issue but I don't remember why....

---------- Post added at 03:40 PM ---------- Previous post was at 03:18 PM ----------

I wonder if that wasn't when I have forgotten the option "Set current kernel as...' once I've updated my primary rom.
[Galaxy S 4 i9505 Original Android Development] bastardociccio:
TW 4.4.2

After the installation of last TW 4.4.2 (I tryed Wanamlite 2.2) i was not able to restore my backup of secondary rom.

I tryed also a new installation of the rom (patch as secondary rom in DUAL boot) but it not boot up...

I tryed to re-patch as multi slot 1, but is the same... the second rom not boot up...

Maybe there are some problem with TW 4.4.2 as primary rom ?:confused:

in attach the file propertiesdump.txt
[Galaxy S 4 i9505 Original Android Development] franzyroy:
What issue? I've a TW 4.4.2 like primary.
[Galaxy S 4 i9505 Original Android Development] Bejda:
I don't think, i keep using and updating Echoe 4.4.2 rom versions (and 4.3 before) as primary since they exists without issues.

I just updated recently to latest v16 version but this time justly wanted to use [MENTION=3145598]rlorange[/MENTION] Dual-boot Backup&Restore solution again in its latest cwm zip version.

Backup went fine, I only edited Echoe updater-script for it doesn't wipe cache/delete my multislots roms but let it wipe system/delete my secondary rom.

Once sure i had enough place into my /system partition to restore my secondary rom (nameless rom,CM base) i used dual-boot restore zip and all went perfectly.

Recovery was latest Philz.

Your secondary rom is a GE then?

As WanamLite is a debloated rom and secondary is a GE i don't think you were lacking of place left under /system + that wouldn't explain why same GE rom didn't boot (stuck at bootanimation?device splashscreen?) when patched as multislot.. (this GE isn't bigger than 2gb once extracted i presume lol? They're usually not that big..)
[Galaxy S 4 i9505 Original Android Development] franzyroy:
Personnally, I don't use backup/ restore of secondary rom when I update my primary... i use this method:

That works fine!

But I should probably make a backup of the secondary in case the size of the primary would be too great in relation to the secondary, and that my phone want more to work.

[MENTION=3648432]Bejda[/MENTION]

Like you use Echoe TW v16 in dualboot... Do you think that I can use this TW without nothing remove inside with AOSB in dualboot?

Or then, remove this is enough.

SHealth2_5.apk

StoryAlbum2013.apk

StoryAlbumWidget.apk

SMemo2.apk
[Galaxy S 4 i9505 Original Android Development] Bejda:
With Aroma installer if you choose "custom installation" and don't tick any of the proposed "extra-apps" such as Gmail,Dropbox,etc.. it should be ok.It lets about 750mb free under system.

If you choose "slim" it should be good then.

If you choose "full" and only remove the apps you mentioned i can't say for sure..gapps size of secondary rom can matters here.

Usually it's ok for me with a full touchwiz custom rom,i don't remove that much apps from touchwiz primary rom (those you mentioned for sure at least) but i use BaNkS core gapps.
[Galaxy S 4 i9505 Original Android Development] franzyroy:
AOSB + Gapps (PA full) = 422 MB, this is approximately the size of the assembly.
[Galaxy S 4 i9505 Original Android Development] chavdar:
Ok, I got SHOstock b6 at multi slot 1 and it is working fine - no vibration, reboot and log cat, but this is known.

I encountered a strange problem - each time i reboot (use the onoff button) I loose my wifi. When I flash the kernel again - I use KT - WiFi is back.

Any ideas how to solve this permanently?

Sent from the GT-I9505 Galaxy
[Galaxy S 4 i9505 Original Android Development] gravedigger76:
[MENTION=244141]Chen[/MENTION]

Maybe a feature request:

A way to delete ROMs through the switched APK. Would make it easier to kill a slot reboot into recovery and flash :)

Thanks.
[Galaxy S 4 i9505 Original Android Development] Bejda:
That's the zip size no?

Aosb 1.3.0 zip makes 209Mo but its system folder once extracted is 354Mo.

Pa-gapps-modular-full-4.4.2-204027 zip makes 217Mo (it's that one you have installed?).. i guess the sum of all this once extracted is bigger than 422MB

[MENTION=4991991]gravedigger76[/MENTION],

Hi, I think the Chen you mentioned won't be of great help for us :)

http://xdaforums.com/member.php?u=244141&nocache=1&z=673168168868869

;)
[Galaxy S 4 i9505 Original Android Development] franzyroy:
Yes, it's true, I forgot that! I'll extract them to see.

---------- Post added at 11:14 PM ---------- Previous post was at 11:09 PM ----------

AOSB = 362 MB

PA Gapps = 328 MB (it's Pa-gapps-modular-full-4.4.2-204017 zip)

AOSB + Gapps (PA full) = 690 MB
[Galaxy S 4 i9505 Original Android Development] gaww:
You have that in the utilities zip. You would wipe the ROM's system and cache's (data still there unless you also wipe it), and then flash.
[Galaxy S 4 i9505 Original Android Development] Technical:
Could we have an option to completely remove all the slot? Right now, we have 4-5 options and need to do one by one...

If I remember correctly, RomSwitcher has an option to remove the entire ROM (except the primary, of course).
[Galaxy S 4 i9505 Original Android Development] gravedigger76:
Yes I know. But it would be convenient to do it while booted into OS with apk before you reboot.
[Galaxy S 4 i9505 Original Android Development] bastardociccio:
the issue was with wanamlite 2.2 rom (or his kernel)

I try another rom (simple TW 4.4.2 deodexed) and all works again!

I had only some problem with external SD, I changed Kernel with Ktoonsez and all seems to work well.

Now I have:

Primary: TW 4.4.2

Secondary: GE 4.4.2 (restore from my backup)

Multi-slot2: AOKP 4.4.2 (rom to test)

I would like to test to move my Secondary rom to Multi-slot1 (I have already patched the kernel for multislot1).. but tomorrow... for today I am happy for this result.
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
Version 4.0.4 is now released :) Changes:

Update to version 1.7.28-2 of the cygwin library (for Windows)

Add support for OctOS

Add support for NamelessROM

Add support for Tquetski's MIUI

Automatically comment out check_icd in init.rc of TouchWiz 4.4 ramdisks (initial work to make stock init binary dual-boot capable)

EDIT: Tagging some people who made the requests :p

[MENTION=3648432]Bejda[/MENTION]
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
Most of the time, the SELinux status is controlled by the ramdisk (either by telling the kernel to boot with permissive mode, or by changing to permissive right after SELinux is fully loaded). But yes, you are right, the dual/multislot kernels will always set SELinux to permissive, because I force it to do that: https://github.com/chenxiaolong/DualBootPatcher/blob/master/defaults.conf#L5 and https://github.com/chenxiaolong/DualBootPatcher/blob/master/scripts/multiboot/patcher.py#L91
[Galaxy S 4 i9505 Original Android Development] Powerplayer1025:
Is there any possibility to get this to work on my note 3 for sprint
[Galaxy S 4 i9505 Original Android Development] chavdar:
Muti-slot-1 and Multi-slot-2 Backup & Recovery

I want to present a little something, that might help all of the flash-o-holics out there. It is based on the Dual Boot Backup and Recovery from rlorange and allows you to backup and restore multi-slot-1 and multi-slot-2 ROMs

I just adapted it to work with muti-slot-1 and multi-slot-2. All the credits go to rlorange and I am posting with his permission.

The Backup .zip creates a folder in the ExtSD under /dual-boot-bk/ called multi-slot-1 or muti-slot-2 depending which .zip you are using. It functions the same as the Dual Boot Backup and Recovery.

I have only tested multi-slot-1 and it worked fine. Please Backup your data before trying multi-slot-2. Feedback will be appreciated

It should be possible to inter-restore ROMs (just rename the directory), but you have to flash the right kernel in Recover after restore!!!

Also not tested, please give feedback.

Now the links:

https://www.dropbox.com/s/yc82fl1mdebncyp/Multislot1_BACKUP_ExtSD_V3.1.zip

https://www.dropbox.com/s/12xo6xp57dk6j0q/Multislot1_RESTORE_ExtSD_V3.1.zip

https://www.dropbox.com/s/rkgiavesgskqx33/Multislot2_BACKUP_ExtSD_V3.1.zip

https://www.dropbox.com/s/lv4irylrvee86if/Multislot2_RESTORE_ExtSD_V3.1.zip

Enjoy !!! :good:
[Galaxy S 4 i9505 Original Android Development] gravedigger76:
[MENTION=3145598]rlorange[/MENTION], [MENTION=404574]chavdar[/MENTION]

Hey guys, i'm using the app share scripts from primary to dual and to multi_1 that [MENTION=325485]rushi[/MENTION].1986 created.

Using the dual boot and multi_1 backup scripts below, does it backup all the apps twice if i run one for dual and one for multi? On top of the backup i do for primary? (So i guess each app will be backed up 3 times if i have 3 ROM's installed)?

thanks
[Galaxy S 4 i9505 Original Android Development] RK:
The app share scripts are init.d scripts that get executed when you boot the ROM. In recovery, nothing is shared. So if you backup secondary using the zips, there will be no user apps in the backup. However, all the data corresponding to the user apps will be there.
[Galaxy S 4 i9505 Original Android Development] gravedigger76:
Oh nice! That's what I was hoping for.
[Galaxy S 4 i9505 Original Android Development] gravedigger76:
Another Q

With the app sharing scripts:

Does the exchange mail app keep its sync data in the same spot when you sync on primary and attempt to sync on multi or dual if both are AOSP Roms (using the built in mail app)

It seems if I have sync on primary eventually (and pretty quick) multi gets corrupt and won't sync and then primary stops as well... I have to kill multi sync and then kill and redo primary...
[Galaxy S 4 i9505 Original Android Development] RK:
That's weird.. The scripts only share data/app and data/app-lib directories. Nothing else..
[Galaxy S 4 i9505 Original Android Development] gravedigger76:
[MENTION=4277844]chenxiaolong[/MENTION]

Any chance to add support for IB4STIDs 4.4.2 TW ROM please?

META Folder

ROM Thread:

Now that [MENTION=4485012]RK[/MENTION] made a tool to slim that puppy down, was hoping to give it a try in dual slot

Thank you!
[Galaxy S 4 i9505 Original Android Development] chavdar:
Muti-slot-1 and Multi-slot-2 Backup & Recovery

Small update - v3.2

Changes:

Backup - Increased speed if another sdcard partition avaiable

- Backup excludes other muslti slot kernels if present

Restore - No need to delete the multi slot folders at Restore :)

- Added speed improvements for Restore

Like befeore, cretid goes to rlorange!

Enjoy

https://www.dropbox.com/s/12k1cjvq5jwa4fl/Multislot1_BACKUP_ExtSD_V3.2.zip

https://www.dropbox.com/s/cjpdgl4nddp6xl4/Multislot1_RESTORE_ExtSD_V3.2.zip

https://www.dropbox.com/s/0pzmp10fkuctwax/Multislot2_BACKUP_ExtSD_V3.2.zip

https://www.dropbox.com/s/cjpdgl4nddp6xl4/Multislot1_RESTORE_ExtSD_V3.2.zip
[Galaxy S 4 i9505 Original Android Development] Technical:
[MENTION=1536807]developers[/MENTION]: is there any chance of the dualboot and multiroms be installed in the external sdcard instead of the internal one?

[MENTION=260923]ANyOne[/MENTION]: does anybody managed to run a TW Rom as dualboot (or multirom)? (right now, they're not working for me).
[Galaxy S 4 i9505 Original Android Development] chavdar:
I had TW 4.4.2 SHOstock and now have Echoe 16 on multi-slot-1 but there are some issues

Sent from the GT-I9505 Galaxy
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
A new experimental version is available with support for that ROM :) http://dl.dropboxusercontent.com/u/486665/Snapshots/DualBootPatcher/index.html
[Galaxy S 4 i9505 Original Android Development] gravedigger76:
[MENTION=4277844]chenxiaolong[/MENTION]

Looks like KT's 4.4.2 TW kernel for ATT is not supported

Any chance to add that please to supported kernels?

Thread HERE

TW ATT Kernrel 4.4.2 direct download HERE

Touchwiz Kitkat 4.4 VERSION:

http://goo.gl/9Cv8Ba

thank man!
[Galaxy S 4 i9505 Original Android Development] Technical:
Thanks. Which issues?