yashsingh1/xdaforums huggingface dataset:
[Galaxy S II General] Nemotatu:
yes ,, i experieced this bootloop many times in alliance ROM

i think the trick is Alliance ROM doesn't actually have an app folder in the system drive ,, Goldie made the soft links between the 2 folders (preload "app" and system).

so the app folder in /system is actually a shortcut not a real folder .

so some edit solved the problem for me before installing the ROM make an app folder in /system ,, in the updater script you should symlink all app in the preload (data) to the /system/app ,, but we will make it in another way

*remove this line

symlink("/preload/symlink/system/app", "/system/app");

from the updater script .

*flash the ROM **

Reboot to recovery

*flash philz kernel Reboot to recovery (idk if TWR support Adb so i flashed philz)

*connect your phone to a PC (with adb) and use adb shell to do

#!/system/bin/mksh mount -o rw,remount /system
#cd /data/app/app
#apk_list=( `ls | grep .apk` )
#odex_list=( `ls | grep .odex` )
#items=${apk_list[*]}" "${odex_list[*]}
#for item in ${items[@]}
> do
> ln -s /data/app/app/$item /system/app/$item
done

and gratz :D
[Galaxy S II General] 911-Future_Maker:
But isn't the preload folder of the Sammy when it's 1st rom overwrite the system folder of your 2nd CM rom? That's why I keep the Sammy as 2nd.
[Galaxy S II General] Troubadour666:
give a try

updater-script

show_progress(0.900000, 120);

ui_print("*********************************");

ui_print("SYMLINKING DATA-APP-APP to SYSTEM-APP WITHOUT WIPE CACHE");

mount("ext4", "EMMC", "/dev/block/mmcblk0p12", "/preload");

mount("ext4", "EMMC", "/dev/block/mmcblk0p9", "/system");

mount("ext4", "EMMC", "/dev/block/mmcblk0p10", "/data");

mount("ext4", "EMMC", "/dev/block/mmcblk0p7", "/cache");

package_extract_dir("tmp", "/tmp");

set_perm_recursive(1000, 1000, 0771, 0644, "/data/app");

set_perm_recursive(1000, 1000, 0771, 0644, "/data/app/app");

set_perm_recursive(0, 0, 0755, 0644, "/preload");

show_progress(0.100000, 0);

sleep(1);

set_perm(0, 0, 0755, "/tmp/create_preload_symlinks");

run_program("/tmp/create_preload_symlinks");

show_progress(0.100000, 0);

sleep(1);

unmount("/system");

unmount("/data");

unmount("/cache");

unmount("/preload");

ui_print("Instalation Terminée.");

create_preload_symlinks

#!/system/bin/mksh

cd /data/app/app

# Can't create array with /sbin/sh, hence we use mksh

apk_list=( `ls | grep .apk` )

odex_list=( `ls | grep .odex` )

items=${apk_list[*]}" "${odex_list[*]}

for item in ${items[@]}

do

ln -s /data/app/app/$item /system/app/$item

done

hope this help you, only for 2nd ROM
[Galaxy S II General] Troubadour666:
yes :) me too .
[Galaxy S II General] 911-Future_Maker:
Can't you just add this lines in updater-script instead of using adb. I don't like it. :P
[Galaxy S II General] Nemotatu:
my post was for jootanen

i don't care about what you like
[Galaxy S II General] 911-Future_Maker:
You didn't realized what's the point of my post. :rolleyes: No need for your offence.

This can be included in updater-script, but don't worry you may continue using adb. lol
[Galaxy S II General] jootanen:
Re: [28.02.13]Dualboot Samsung JB with AOSP based ROMs [GUIDES/VIDEOS/LINKS]

Never mind, forget about that symlink failure thing.

@Nemotatu: thanks. I'll try it later. I have never used adb and I don't remember if it's installed in my computer… I have android SDK installed tho. What If I use terminal in recovery?

Sent from 2nd ROM using Tapatalk 2

Phone: Samsung Galaxy S II GT-i9100

Sd card: Samsung class 10 16gb

Modem: LS8

Kernel: Dorimanx 8.3

1st ROM: NeatROM Lite 4.4

2nd ROM: PACman v20(primary)

Dualboot XWLSD with AOSP based ROMs [GUIDE/VIDEO/LINK]

Dorimanx Q&A / Discussion thread | Non-development posts
[Galaxy S II General] 911-Future_Maker:
^jootanen: what's up mate, is there any progress on my attachments? :)
[Galaxy S II General] Troubadour666:
Alliance V7.1 on 2ndROM YEAH

Hi all,

Alliance V7.1 LSD on 2nd ROM with dori 8.3 the last.

who want my updater-script :) :) :) ?

with tools like backuptool.functions and backuptool.sh i include, i made it without wiping anythings, all my datas are safe from OMEGA 20.1 LOL !

I reboot two times, is that enough as test ? :)

I have sound on bootanimation Omega it's keep because in \data\local\ but now with sound :)

Have a good Sunday here !
[Galaxy S II General] manuelmagix:
Re: [28.02.13]Dualboot Samsung JB with AOSP based ROMs [GUIDES/VIDEOS/LINKS]

Me, pleaseeeeeeee:o:o:o:o:o

Enviado desde mi GT-I9100 usando Tapatalk 2
[Galaxy S II General] jootanen:
Re: [28.02.13]Dualboot Samsung JB with AOSP based ROMs [GUIDES/VIDEOS/LINKS]

Not yet, just downloaded biftor v6 and got unknown imei on 2nd rom. Second time that happened but reboot solved it

Sent from 2nd ROM using Tapatalk 2

Phone: Samsung Galaxy S II GT-i9100

Sd card: Samsung class 10 16gb

Modem: LS8

Kernel: Dorimanx 8.3

1st ROM: NeatROM Lite 4.4

2nd ROM: PACman v20(primary)

Dualboot XWLSD with AOSP based ROMs [GUIDE/VIDEO/LINK]

Dorimanx Q&A / Discussion thread | Non-development posts
[Galaxy S II General] Troubadour666:
I publish soon a video of making it :) , like this one https://www.youtube.com/watch?v=X_4O0TpfSQU
[Galaxy S II General] 911-Future_Maker:
Ok. :)

Nice dude. I'm interested what's your 1st rom? Can you try Wanam or Neat roms as you're on good progress here?:laugh:
[Galaxy S II General] Troubadour666:
Why not WANAM :)

i Have 400Mb video-tuto to upload :( so i have time to make a flash to WANAM :)

but do you think i can swich from LSD to WANAM LSE or i take WANAM LSD for this test ?
[Galaxy S II General] 911-Future_Maker:
I don't see a problem turning from LSD to LSE. ;) Just wipe data/cache+dalvik @ 2nd rom.

If you have an success, I'll send you my updater-script to view what's the problem there.

I'm trying Wanam v14.3
[Galaxy S II General] Troubadour666:
new video

so, hope this help

https://www.youtube.com/watch?v=ekYsZJM5III :)

better fell screen and in HD

i'all post later for wanam 14.3 which is booting now LOL .

have space pb on \system\ partition, but now all apk except superuser.apk are deported in \data\.....

So, Omega, alliance, and now wanam LSE :)

all you have to know is in video youtube.

have a good night. i'll go to sleep now....10 hours on PC to do that ;)
[Galaxy S II General] Nemotatu:
@ 911-Future_Maker ,, i'm not offensive . I wanted to share my experience

to help him .Maybe i'm not experienced enough but i solved my problem.

i felt you Ridicule of my solution ,, so i replied like that . Forgive me i'm a little upset .

@jootanen yes you can use terminal in recovery , or use 911's method

i don't care lol :D kidding ;)
[Galaxy S II General] jootanen:
Re: [28.02.13]Dualboot Samsung JB with AOSP based ROMs [GUIDES/VIDEOS/LINKS]

@911-future_maker, I found what is wrong with your updater-script!

This is what recovery.log said:

Opening update package...
Installing update...
line 444 col 10: syntax error, unexpected STRING, expecting

But the problem is in line 443:

symlink("/data/app/app/GoogleServicesFramework.apk", "/system/app/GoogleServicesFramework.apk");[b]k.apk");[/b]

Sent from 2nd ROM using Tapatalk 2

Phone: Samsung Galaxy S II GT-i9100

Sd card: Samsung class 10 16gb

Modem: LS8

Kernel: Dorimanx 8.3

1st ROM: NeatROM Lite 4.4

2nd ROM: PACman v20(primary)

Dualboot XWLSD with AOSP based ROMs [GUIDE/VIDEO/LINK]

Dorimanx Q&A / Discussion thread | Non-development posts
[Galaxy S II General] 911-Future_Maker:
Nice work man! I'll fix that.

btw: Does anyone know how to correctly display an xml files when I'm trying to edit some? Everything is fjeejjsjaisj and some symbols like reversed R. I open them also on my PC, using Notepad++ and EditPlus with the same result.

Are they compressed or something...
[Galaxy S II General] Troubadour666:
You need to decompile apks , as we are on wanam, have a look my friend :)

http://wanamlite.com/2013/02/21/apkmanager-v6-1-reverse-engineering-of-android-applications/

dont sleep anymore !

WANAM 14.3 themed on 2nd ROM with Theme_Dark_Blue_Glass_07.03.13 why not, have choice with carotix :

https://www.youtube.com/watch?v=TwxZpf8oCb4
[Galaxy S II General] 911-Future_Maker:
Thx bro. I already have the latest Apktool installed, but to be honest I was trying to edit this xml's as I just unpack the apk with 7-zip :D instead of using Apktool. The interesting thing is that all the images are displayed fine, but those files not. I think it's not a encoding problem as it is same on UTF, ANSI ..etc.

I'm currently playing with the framework-res.apk and framework.jar of Space and Time 2.6 in seaching a way to resize the navbar editing the corresponding xml files. I already resized the tw_navigationbar.png almost a half of it's original size, but it's still the same. Found some guy using a python script the modify these values, but this is "too much in the deep" at now, even the script he provided didn't worked before I edit the print "" command to print("") because the new Python 3 has changed the print command from statement to function.

Funny day.

Wow, wait! I missed that..Wanam on 2nd! Cool video mate. PM me the updater-script please.
[Galaxy S II General] Troubadour666:
updater-script

@ohwarumbloss , Can i post updater-script here ?

an i explain it a little ?
[Galaxy S II General] 911-Future_Maker:
^I think when you attach it in some next post, you should add some info for those who want to flash it and the OP may add it to the main page. ) But I also think you must contact Wanam to ask for his permission to share the updater-script. That's why I'm still waiting a "yes" from the Space and Time's dev to post the working moddified script. I don't believe that will happen. :/ I'll wait just a few more days and I'll share it. @RM: If you're reading this please say something XD.

Cheers.
[Galaxy S II General] Troubadour666:
NeatRom XXMS1

try with Neatrom 4.4, i rest on bootanimation :(

nooooooo, it's work :)
[Galaxy S II General] ohwarumbloss:
AW: [28.02.13]Dualboot Samsung JB with AOSP based ROMs [GUIDES/VIDEOS/LINKS]

You guys totally entered this thread and I like it ;) do what you want to do, you're welcome!

Greetings!

Thomas
[Galaxy S II General] 911-Future_Maker:
So you have to post one more script mate. ^^:laugh:
[Galaxy S II General] 911-Future_Maker:
Cool!!! I'll try it soon.

Who knows... may be that's the secret sec_data instead of app folder. :D

Or you can always simply delete that folder, containing zImage, modem etc...

and also delete the entries in updater-script where it tries to install them :)
[Galaxy S II General] jootanen:
Re: [28.02.13]Dualboot Samsung JB with AOSP based ROMs [GUIDES/VIDEOS/LINKS]

911-Future_maker, I found another error in your updater-script for biftor:

[b]@[/b]set_perm(3002, 3002, 0444, "/system/etc/bluetooth/blacklist.conf");

Line 555

Edit: it can be just a mistake made by me

Edit2: yep, it was made by me.

Sent from 2nd ROM using Tapatalk 2

Phone: Samsung Galaxy S II GT-i9100

Sd card: Samsung class 10 16gb

Modem: LS8

Kernel: Dorimanx 8.3

1st ROM: NeatROM Lite 4.4

2nd ROM: PACman v20(primary)

Dualboot XWLSD with AOSP based ROMs [GUIDE/VIDEO/LINK]

Dorimanx Q&A / Discussion thread | Non-development posts
[Galaxy S II General] Troubadour666:
so what about updater-script ?

hi all,

the script is not perfect, sometimes, symlinks are ok, sometimes not, but you can have a little flash for do it (in attachment).

you flash it after rom if it's not boot correctly.

also you can have a view of them (before boot in 2nd rom) if you boot in 1rst rom and go in \preload\app\ (with rootexplorer for example), and if you see 'ln' files, you are OK.

if not, flash the attachment.

i think i back to Omega v20.1 in second rom definitly, i only have some regrets with sound on bootanimation when i flash Alliance , and also if i remenber wanam.

Apologise about boot sound : some rom have "PowerOn.ogg" on \system\media\audio\ui\ , some have "PowerOn.ogg.bak" and some have nope :)

(mine in attachment ;) download, remove '.zip' and put in your folder with good rights)

but Omega is very good for me :)

have a good day
[Galaxy S II General] jootanen:
Re: [28.02.13]Dualboot Samsung JB with AOSP based ROMs [GUIDES/VIDEOS/LINKS]

Future_maker, I just realised few things:

When I tested your updater-script for biftor, I removed lines where /preload is used (like mounting, unmounting...). In your original script the problem is in line 448:

symlink("/data/app/app/GoogleServicesFramework.apk", "/system/app/GoogleServicesFramework.apk");[b]k.apk");[/b]

And the other problem was just mistake made by me

Sent from 2nd ROM using Tapatalk 2

Phone: Samsung Galaxy S II GT-i9100

Sd card: Samsung class 10 16gb

Modem: LS8

Kernel: Dorimanx 8.3

1st ROM: NeatROM Lite 4.4

2nd ROM: PACman v20(primary)

Dualboot XWLSD with AOSP based ROMs [GUIDE/VIDEO/LINK]

Dorimanx Q&A / Discussion thread | Non-development posts
[Galaxy S II General] 911-Future_Maker:
So do I have to move GoogleServicesFramework to system before repacking the rom, not symliking?
[Galaxy S II General] jootanen:
Re: [28.02.13]Dualboot Samsung JB with AOSP based ROMs [GUIDES/VIDEOS/LINKS]

No, you just need to remove k.apk"); so it looks like this:

symlink("/data/app/app/GoogleServicesFramework.apk", "/system/app/GoogleServicesFramework.apk");

Sent from 2nd ROM using Tapatalk 2

Phone: Samsung Galaxy S II GT-i9100

Sd card: Samsung class 10 16gb

Modem: LS8

Kernel: Dorimanx 8.3

1st ROM: NeatROM Lite 4.4

2nd ROM: PACman v20(primary)

Dualboot XWLSD with AOSP based ROMs [GUIDE/VIDEO/LINK]

Dorimanx Q&A / Discussion thread | Non-development posts
[Galaxy S II General] 911-Future_Maker:
Ou sorry I missed that. ^^ I believe that was a typo.. :p
[Galaxy S II General] 911-Future_Maker:
Dualboot S&T 2.6 XXLS8+RR 3.1.3

Hi dudes.

Here is my tutorial how to run Space & Time 2.6 XXLS8 as second ROM! :D

I'm currently running Resurrection Remix 3.1.3 AOKP 4.2.1 as 1st ROM and Space & Time 2.6 XXLS8 as 2nd all powered by Dorimanx 7.44.

Both roms are running just fine so I decided to share my experience with you guys who want to dualboot sammy+aokp. ;)

Ok let's go.

1.Install your favorite CM/AOKP/AOSP Rom.

2.Download any Dorimanx above 7.44 and flash it.

2.1.DISCLAIMER: If you moved on 4.2.2 flash Dori 8.x+, otherwise any version from 7.44 to 7.50 will work fine.
​

3.Boot the rom to check everything is working.

4.Download Space & Time 2.6 XXLS8

4.1.Unpack the Space_and_Time_2.6.0-20130206_by_Rm.zip

4.2.Create new folder called "app" [without quotes] in data/app directory.

4.3.Navigate to preload/symlink/system/app and move all apk's from the app folder to data/app/app.

4.4.Now delete the empty preload folder.

4.5.Download the modified updater-script attached below, unzip it and replace it with the original one in

META-INF\com\google\android folder.

4.6.Repack the modded ROM.​

5.Reboot in CWM, wipe 2nd ROM's data/cache+dalvik and flash it as 2nd rom.

6.Boot to second rom to make sure it's working.

7.Now boot to 1st rom to check it's fine.

8.Done. You now have AOKP+XXLS8 on your S2.
[Galaxy S II General] Troubadour666:
You keep aroma :)

very good ;)
[Galaxy S II General] 911-Future_Maker:
Yeah, I faced some problems when first time installing the modded version, but fixed the aroma apk's linking. I found the roms using aroma installer a bit trickier to mod, but np that's =more fun! ;P
[Galaxy S II General] Troubadour666:
For personal use on 2nd rom only .
[Galaxy S II General] 911-Future_Maker:
The question is: what lasts? *>*
[Galaxy S II General] Troubadour666:
NEXT ?

I'll give a try to Biftor ROM :)

Yeahhh, have you see next dorimanx kernel, \data_sec_rom\ is automaticaly mounted in 1rst rom :)

seen in Change Log

*Added SEC ROM data auto mount when using PRI ROM! now you can move APK from rom to rom. check folder /data_sec after 40sec on boot!

it's takes time to load the SDCARD first, then the sec rom data. so WAIT.

Hi ALL !!!

Next will be http://xdaforums.com/showthread.php?t=2012195 :)

for now, i have
[Galaxy S II General] 1nstan7riod:
http://xdaforums.com/show...2&postcount=38

I followed the steps but everytime I try to install the zip file, it extracts but fails ( installation aborted )

What I did :

Extracted the Neat Rom into a differnt folder

Changed the name of folder "Sale" to "tmp"

Extract new updater-script to /META-INF/com/google/android/ and overwrited old updater-script

Moved "app" folder from /preload/symlink/system/ to /data/app/ and then delete the preload folder

Repack All files to .zip ( the ones i extracted from the original then changed ) using 7 zip

Reboot into recovery and trying reflashing but failed
[Galaxy S II General] 911-Future_Maker:
What error you've got?

Status 6/7 ...
[Galaxy S II General] bombaybadboy:
Re: [28.02.13]Dualboot Samsung JB with AOSP based ROMs [GUIDES/VIDEOS/LINKS]

Which steps of which guide, this thread has a few different methods now. Neatrom lite can cause aborted installation, possible because su file in tmp that was sale folder. Sorry havent been able to keep up lately because I have had my nose in smali and xml files
[Galaxy S II General] 1nstan7riod:
installation aborted

---------- Post added at 11:37 PM ---------- Previous post was at 11:20 PM ----------

http://xdaforums.com/showpost.php?p=37476832&postcount=38
[Galaxy S II General] bombaybadboy:
Re: [28.02.13]Dualboot Samsung JB with AOSP based ROMs [GUIDES/VIDEOS/LINKS]

That is the guide for LS8 neatrom full and will not work on lite and also changes made on MS1 neatrom will not be compatible because of changes in sale folder su. All you will get is instalation aborted.
[Galaxy S II General] jootanen:
Re: [28.02.13]Dualboot Samsung JB with AOSP based ROMs [GUIDES/VIDEOS/LINKS]

Did you use neatrom full LS8?

Sent from 2nd ROM using Tapatalk 2

Phone: Samsung Galaxy S II GT-i9100

Sd card: Samsung class 10 16gb

Modem: LS8

Kernel: Dorimanx 8.8

1st ROM: NeatROM Lite 4.4

2nd ROM: PACman v21.0.1 nightly (primary)

Dualboot XWLSD with AOSP based ROMs [GUIDE/VIDEO/LINK]

Dorimanx Q&A / Discussion thread | Non-development posts
[Galaxy S II General] 1nstan7riod:
yes
[Galaxy S II General] Unexist6969:
Heyy:) I'm about to install neatrom lite atm, I guess I can simply move /preload/apks to system/apks in the zip file?

and remove the symlinks in updater script, why do we need to symlinks btw?;p

or I'll use your lsd lite rom:P

whoa nice it's booting fine :D

510mb neatromlite to 200mb;p deleted a bunch of bloat inside the zip and modified updater script and no FC's :D

from 151apks to 55apks lol

and deleted bunch of language's and other things I never use:p
[Galaxy S II General] jootanen:
What kernel did you use when you tried to install NeatROM?
[Galaxy S II General] Troubadour666:
as i say , NEXT :)

Hi all,
[Galaxy S II General] ohwarumbloss:
Leaving this thread alone now ;)

Hey Guys,

I didn´t have as much Time and as much motivation as I wished to have lately and this won´t change soon, I think. So, I will leave you alone for now but it seems to me, you guys got it all running very well here ;)

Everybody feel free to use this thread for all DUAL BOOT related stuff ! You´re welcome!

Greetings!

Thomas
[Galaxy S II General] Troubadour666:
Thanks Thomas for this original thread :) I post again some test like this

Do you want the GOATRIP ROM i repack for test, it is a german rom for U Man and i can upload for U !
[Galaxy S II General] ohwarumbloss:
AW: [20.03.13]Dualboot Samsung JB with AOSP based ROMs [GUIDES/VIDEOS/LINKS]

Thanks :)

Actually I am happy with my Setup, cm10 and LSD Rom with Dori 7.44 LSD edition. Zero confusion and zero problems ;)

Greetings!

Thomas
[Galaxy S II General] Nemotatu:
i have made a small java program to make the symlink script from files in a folder easily f ,,

i will share it if you want
[Galaxy S II General] bombaybadboy:
How does that say samsung galaxy note 2 mini on screenshot? Did I miss some big news on this thread while I have been reading to many smali files :D

Ah jofury I have seen now :)
[Galaxy S II General] Nemotatu:
http://xdaforums.com/showthread.php?t=2204356

hope this helps
[Galaxy S II General] olyloh6696:
I am following this step. After it is completed, can i swap both ROMs around? like swap 1st to 2nd? I'd prefer to boot into LSD as my primary ROM
[Galaxy S II General] AndrolinRoot:
AW: [20.03.13]Dualboot Samsung JB with AOSP based ROMs [GUIDES/VIDEOS/LINKS]

Can someone upload modded omega Rom?

Since you already got it working!

It would help many here :)
[Galaxy S II General] Troubadour666:
hi,

you could test it in this thread , but if i had time today i upload mine for you in gdrive. today, i succes with last turkbey rom with sense mod, and now with last neat rom. i repack them without aroma choice btw :).
[Galaxy S II General] ohwarumbloss:
AW: [20.03.13]Dualboot Samsung JB with AOSP based ROMs [GUIDES/VIDEOS/LINKS]

You can always try just don't forget, the Rom has no Kernel.
[Galaxy S II General] olyloh6696:
I'm on NeatROM full.

Can I just install CM10 to my second ROM from recovery?

And when I boot will it work into both ROMs?
[Galaxy S II General] bombaybadboy:
You can with this lsd neatrom full I put together a month ago, old link must have got broken. Your welcome to it if its any use to you

http://db.tt/U1R6acDS

Im testing to many mods to dual boot at the mo
[Galaxy S II General] olyloh6696:
Thanks so much for this mate!

Is there a difference between this and the MS1 build?

My plan - flash your NeatROM build as the main ROM. Restore my data from my LSD backup. Are there any functionality difference between your NeatROM and the original?

Install CM10 as 2nd ROM.

reboot, and done?

Is it as simple as that?

Cheeers
[Galaxy S II General] bombaybadboy:
I poke around all the apks and I can never tell any difference with lsd and ms1, not like how different ls8 is. You plan seem fine, just install this rom in link then boot then reinstall data. Then flash compatible dori for cm10.1 and install on 2nd rom
[Galaxy S II General] olyloh6696:
Thank you so much mate!

Is the latest dori kernel compatable for dual boot? cheers
[Galaxy S II General] bombaybadboy:
It should be but as I said I have been building mods so havent dual booted for a while because of mod testing. As long as dori works now with latest cm10.1 then it should be ok
[Galaxy S II General] 911-Future_Maker:
Hey what I great thread dudes! I'm definitely gonna check this out. ;) Thx for the link my friend.:laugh:
[Galaxy S II General] olyloh6696:
Thanks a lot.

The ROM installs fine and boots, but once I restore my data, the ROM will boot loop :(

Seems like it is not compatible! :(

Thanks anyway man:)
[Galaxy S II General] Troubadour666:
about \system\app\ and \data\sec_data\

hi all,

Can we think that some apk system had to be in \system\app\ instead of\data\sec_data\ , to gain speed on execution or it's the same execution speed with ln ?