yashsingh1/xdaforums huggingface dataset:
[Galaxy S II General] ohwarumbloss:
Do it yourself, lazy Folks ;) (XXMS1 + CM 10.1 Nightly 23.03

Wow.

In my OP I said that I am

not

a Developer. But lately things happened that made me discover how people (Developers(real Developers)) have to feel when others grab their work and tell them "look at me, my Idea, my work, for you..."

First I thought "wtf, this means war!" but then I thought that over and realized that it´s just not worth it. Even tho I´ve put a lot of work into this here, anybody was allowed, even asked to, grab this Idea and work with it.

This Dude did it in his Thread and I think, looking at this from the point of view of a User/XDA-Member, this is a good thing.

Ok, enough Off-Topic bla bla now ;) here I come with my "new" Setup.

What you need for this :

- Grab the Sammy Rom of your choice from here. Thanks to _Sofos_ for his work!

- Grab the AOSP Rom of your choice, in my case CM 10.1 Nighlty 23.03 (Thread and Download). Thanks to the Cyanogen Mod Team!

- Grab the DorimanX Kernel V 8.11.1 (24.03) from here. Thanks to dorimanx for his work!

- Grab GS2PreLoadBackup/Restore from here. Thanks to hawkerpaul for his work!

Now do the following :

- Put

all

Files you downloaded on your SD Card

- Install your AOSP Rom (mine is CM10.1 Nightly 23.03) and GAPPS (mine is 01.03.2013)

- Set it up completely

- Boot into Recovery & do a Backup of Rom

- Wipe Data/Cache

- Install the Sammy Rom you downloaded (mine is XXMS1)

- Set it up completely

- Get Root Explorer Lite from Playstore

- Remove Bloatware from /Preload/symlink/system/app

- Move as many Apps as possible from /Preload/symlink/system/app to /system/app

(hint: in RootExplorer Lite, scroll the Toolbar at the Bottom to the left and press "Prefs", then check "Show Storage Bar". Now you can see how much Space is used/free in your Partitions)

- I removed/moved Apps till I had 102mb used/401mb free in /Preload and 474mb used/30mb free in /system

So far, so good....now

- Flash the DorimanX Kernel V8.11.1 and boot into its Recovery

- Backup Rom

- Install GS2Preloadbackup.zip (this will make a Backup of your current /Preload Partition)

- Now move to "dual-boot options" and "Wipe 2ndROM data/cache (this will take a while)

- When done, restore your Backup of the AOSP to 2ndROM

- ***Go Back***

- Install GS2PreloadRestore.zip (this will restore your /preload/symlink files)

- DONE

(Hint : on first boot into 2nd (CM10.1) Rom, my Hardware Keys didn´t work. On another Reboot everything was fine!)

If you done it all as I did you should now have XXMS1 & CM10.1 running in a clean dual-boot system without any Speed or stability Problems. In older ways, we put many System Apps to /data/app/app which is stored as an image in 2nd Rom. This caused, more or less, speed problems. This should be avoided now by

not

moving System Apps to /data.

I don´t know when I´ll get Laptop access next time but I will try to upload a "modded" XXMS1 Rom to G-Drive as soon as possible.

Greetings

Thomas
[Galaxy S II General] Nemotatu:
it won't be a noticeable speed as your dalivk/cache and ram store the needed info (objects ,... ) to be easily reachable .

if you managed to abandoned some apks ,, you will be able to move all remained to system/app without symlinks ,, i had tried it and it worked .
[Galaxy S II General] Troubadour666:
When ROM is installed, if we want to abandon some apks in \data\sec_data\, the only thing we have to remove is their symlinks in \system\app\ , i understand ?
[Galaxy S II General] Nemotatu:
no need to remove symlinks as it will be point for null so it's useless .

i meant you can abandon(remove) some apks before flash the ROM and move remained to system/app

so there won't be any apks in /data drive to symlink .( full system file will be in /system no extra symlinks )
[Galaxy S II General] Troubadour666:
okay, my bad school english makes me understanding....i managed apk before flash too :)

now, i have a pb on alliance rom 7.2

When I : System Parameters----->Alliance Control-------->Custom Settings------>ui Mods------> Toggle Options----------->Number and Order then "AllianceRom Settings stop" message appears :(

When i flash a Rom in 2nd, i have to boot two times in 1rst Rom to see \data_sec_rom\ automounted , anyone see this ?
[Galaxy S II General] Nemotatu:
i failed to install alliance as second ROM ,, for some reason some files fail to symlink the best way to install it as a primary ROM

for your problem i think there's no toggle.apk file in /system/app (removed or fail to link ) try to copy the source apk file to /system/app and try .
[Galaxy S II General] Troubadour666:
element of response : http://xdaforums.com/showpost.php?p=39687310&postcount=6854 but it's seems that i have already put this apks in my repacked , i give an another try to Alliance tonight...

Thank's for testing my "Alliance Test Repacked" Nemo, remenber it's only for secondrom, i repack it without modem and kernel, don't use it as it is on 1rst ROM :)
[Galaxy S II General] Nemotatu:
U r welcome , keep it up ; )
[Galaxy S II General] drpradsms:
hello thomas.. i have a request.. m running modded disaster rom v10 as first rom which is modded according to ur procedure and aosp based miui as 2nd rom.

now i want to run biftor v7.2 as 2nd rom.. i have original rom file.. plz guide me which files to move and which updater script to be used to run biftor v7.2 as second rom.. i will be thankful to u..
[Galaxy S II General] ohwarumbloss:
AW: [20.03.13]Dualboot Samsung JB with AOSP based ROMs [GUIDES/VIDEOS/LINKS]

Which tutorial did you use?

If you're about to use two Sammy based Roms it's possible but a bit more complicated.

I have made tutorial where I moved all files to /system/app and /data/app/app so I didn't need /preload but also one where some Files where moved to /system and some stayed in /preload.

Right now I'm uploading a Rom that uses /preload but leaves enough space to run clean dual boot with AOSP.

Look in this thread for "PreLoadLSDrom.zip" this could be a good example of how a Sammy Rom has to look to fit completely into /preload partition.

Using two Sammy Rom with only one /preload/symlink folder may be possible, too but using two modded Rom will cause trouble due to their modifications.

I am not @ home right now but I hope that helped at least a bit.

When I'm back home I will also provide link to "new" way modded Rom that makes clean Sammy/AOSP possible with DorimanX 8.11.1 Kernel :)

Greetings

Thomas
[Galaxy S II General] ohwarumbloss:
PreLoad Rom

Hey Guys,

I finally managed to upload my "new" Rom. This is based on _Sofos_ deodexed stock XXMS1 Rom and modified to work as 1st Rom with AOSP Rom as 2nd.

What I did :

- Deleted most Bloat Ware

- Moved as many apps as possible to /system/app & left the others in /Preload

- Deleted Kernel/Modem Files

- Edited UpdaterScript so it

-- won´t format /Preload

-- won´t delete any Modem/Kernel related stuff

What you got to do :

- Download the Rom from here

- Download DorimanX 8.11.1 Kernel

- Download the AOSP Rom of your choice

- Move all Files to your SD Card

- Install Kernel and setup 2nd Rom AOSP

- When done, just install my prepared Rom

- Done

This sounds easy and to be honest : it is. The only thing that might happen is that AOSP Rom won´t boot if installed as 2nd Rom. In that case, install AOSP Rom as usual, set it up, flash DorimanX Kernel, swap 1st to 2nd Rom and THEN install my prepared Rom. Still easy, isn´t it ?

Greetings

Thomas
[Galaxy S II General] Troubadour666:
whoooooooa !

Hi All,

I give a try on systemUI.apk from Mod_Black_Blue_InFiNiTy_V5 systemUI.apk with this thread , (i use apktool149.jar).

I decompile, following the OP, i recompile and i put the new systemUI.apk in my S2 instead of original. I can tell here that S2 boots fine and no FCs with new systemUI.apk :) , but i notice a <> of size on the two systemUI, the recompiled is >

I imagine that we can make our own mod with this apktool now :)

Have a Good April 1rst ;)

Finaly, AllianceMOD_LSD_V2.5_AOSPTheme (AllianceMOD_LSD_V2.5_StockTheme too i think) works fine (with TOGGLES OK) in new XWLSJ neatrom 4.5 ROM or XWLSD-ALLIANCE 7.01+7.02 , which i reppack for 2nd ROM.

Hi All,

Omega v23 now

what i post :

http://xdaforums.com/showpost.php?p=40005419&postcount=14992

and

how to ;)

http://xdaforums.com/showpost.php?p=40021567&postcount=15005

Still dualbooting here ?
[Galaxy S II General] JonisB:
@ohwarumbloss

If you do this and then switch 1st and 2nd rom, will it still work? If I want CM10 as primary, do I still remove the bloat and apps from Sammy rom? Do I remove stuff from CM10 instead?

/ Jonis
[Galaxy S II General] ohwarumbloss:
I think you will run into problems caused by the partitions. Sammy Rom is using /preload, CM isn't.

When using a Rom as 2nd, the kernel tells the Rom that /preload partition is the /system. I am not sure that using a Rom that uses both partitions is possible that way.

But I can tell you that CM as 2nd Rom is running very well. Actually I am on stock LSD primary and CM secondary without any problems (DorimanX 8.13)

If you want to use Sammy as 2nd you will have to use the other method with system files in /data (look for tutorials here in this thread)

Hope that helped a bit.

Greetings

Thomas
[Galaxy S II General] ohwarumbloss:
Hey mate,

Yes I am but only for my private pleasure ;)

Greetings

Thomas
[Galaxy S II General] JonisB:
How did you know which apps to delete from the preload? It seems I made a mistake and now I just get a black screen after Neatrom logo. (I'm trying this with neatrom lite 4.6.1). Luckily I made a CWM backup.

Was it a mistake just deleting? I compared and all the apps in preload where the same as the ones in system apps, except for a few that weren't in preload, and Root Browser Lite indicated that they where the same size so I figured that they were just copies. Should I have copied and replaced the files in system apps with the preload apps? But then I would have had to change the permissions too, right?

/ Jonis

P.s My widgets on my backup where reset. I haven't thought about this before or when and why it happens. Anyone know?

P.s 2: CM10 + CM10 seemed to work fine (I only tried booting up and used it for a couple of minutes)
[Galaxy S II General] ohwarumbloss:
Oh!

You need to understand one thing before you start, due to small partition size of /system Samsung decided not to change it but use the already existing /preload partition.

Now they put the app into /preload/symlink/system/app and symlink them into /system/app. Imagine the symlink as a shortcut like you put on the desktop of your PC.

Deleting the symlink in /system/app will stop the os using the app but the app itself will remain in /preload.

A backup of Rom will not include the /preload partition. So you have to use Hawkerpaul's preload backup files. (Look into OP for more information, links and credits)

That's the cause of a bricked system after restoring a backup.

Before you continue, please read a little deeper into this, you will find most information and different ways,even prepared Rom here in the thread.

But don't stop, keep it up, it's always better to learn and understand than just downloading stuff ;)

Hope that helped a bit!

Greetings

Thomas
[Galaxy S II General] JonisB:
Thanks for all your answers. I think I mixed some stuff up in my head after having read a lot of different threads. :)

I firgured that the symlinks worked as shortcuts in mac/pc but my file browsers were kind of contradicting each other so I was a bit confused as to what was what. I DLed Hawkerpaul's apps earlier but haven't quite figured out when/if I will need to use them. (I figured that I'd have to use them If I had cm10 as 2nd ROM, following your instructions in an earlier post).

I realised a little while ago while reading your Fake Dual Boot temporary walkaround post for the 2nd or 3rd time that maybe I should be doing some things on the computer instead of directly on the phone. (Such as file handling and copying) A lot easier. ;)

I kind of went back to where I started and now I am trying to make my own preloadrom. I found the first one you posted and a neatrom full that works as preload roms. But I wanted a neatrom lite so I've been trying to strip down and install as 2nd rom according to the Fake Dual...post HERE

If I understand correctly the /system is max 500mb in size and I've been trying to get the neatrom folder under that, but I can't seem to install it (using Dorimanx 8.13) and get a broken install. It's probably some app that I've moved or something like that. I've been trying for about 90 minutes to get it right now. :(

Thank you a lot for your answers and feedback!

/ Jonis
[Galaxy S II General] ohwarumbloss:
Did you edit the updater script?

You need to delete the line that formats the /preload partition. And, just to avoid problems, delete all lines that symlink /preload to /system.

Also important, don't use windows notepad, get notepad + + for that.

Hint: you can also delete maps from system and download it later from playstore. Apollo from CM is awesome and works on Sammy 4.1.2 so you can delete Sammy player. Same for YouTube, Swype..

If your editing the Rom on your PC, create a folder in /data/app and name it, let's say systemapps (or something) and put big files like Sammy Email, Clock and such,there. So you can symlink them later with root explorer lite after you installed the Rom.

A good way for me was the following:

- I took one of _Sofos_ stock Rom and unpacked it on the PC

- I deleted all Bloatware

- I moved ALL small (<2mb) apps to /system

- I installed the Rom and

- moved as many apps as possible from /preload to /system (Root Explorer Lite has an option to show storage bar)

- now i knew how many apps can be moved to /system and edited the Rom.zip in the same way

I know this isn't a very professional way of doing this but that's how it worked for me and my, tbh,very small knowledge of all this.

Still, you may think about leaving Sammy on 1st,this way you can continue using /preload.

A bit more comfortable.

Greetings

Thomas
[Galaxy S II General] darkpepe:
Thank you very much for the modds!

Anyone can point to a noob tutorial in order to create a mod myself?

Thanks!
[Galaxy S II General] hispanico957:
It's possible with yous files and istructions use kernel dorimax 9.41 (last release) and mount Resurrection Remix like 1° rom and like 2° NeatRom 5.0 full ?

and if yes the porcedure is the same of first post or also i can use the procedure of jootanen:

http://xdaforums.com/showpost.php?p=38555363&postcount=184??

Thank

Hispa
[Galaxy S II General] pargas:
You need to use dori 8.41 if you want to dual boot JB rom.
[Galaxy S II General] hispanico957:
My Goal is Aosp like 1° Rom and JB like 2° Rom.

I see many diffrent tutorial in this thread and really i am confusing, so i explain my steps and i ask you help, please, if are correct:

1. Download these files:

- Resurrection Remix 4.07 (PA.AOKP.CM (4.2.2)

- NeatRom 5.0 full I9100XWLSZ (4.1.2) ... or other JB rom that can be mounted without problem like second (also stock)

- updater-script from ???? which i can use ???

- Dorimanx kernel 8.41 ???

2. Extract files from NeatRom to temporary folder

3. Extract new updater-script to /META-INF/com/google/android/ and overwrite old updater-script

4. Move "app" folder from /preload/symlink/system/ to /data/app/ and then delete preload folder

5. Repack All files to .zip

6. Reboot into recovery and flash repacked ROM.

7. Boot into ROM and check if everything works

8. Reboot into recovery

9. Flash Dorimanx kernel 8.41 and reboot recovery

10. Set up 2nd ROM

12.Clone 1st ROM to 2nd ROM

13. Boot into 2nd ROM and check if everything works

14. Wipe 1st ROMs data/factory reset and cache

15. Flash Resurrection Remix 4.07 to 1st ROM

....plaese suggest me if this way is correct and which files i need ...

BIG

Thank

Hispa
[Galaxy S II General] pargas:
In my opinion the easiest way is

1 install first rom normally (4.2 , 4.3 )

2. Flash dorimanx 8.xx .reboot recovery.

3. In dualboot options prepare for secrom with wipe data/cache

4. Flash your secrom ( you find some here that are already modded:

http://xdaforums.com/showthread.php?t=2399193).

5 reboot.

6. Thank the guys who made these threads( not me).

Good luck.
[Galaxy S II General] hispanico957:
..uhmm thank, but i think that is suggestions is for dual boot with 2 JB rom, while i want Aosp like 1° rom and JB like 2° rom.

So this is my point:

I want Aosp like 1° Rom and JB like 2° Rom where all app, including camera and video are ok

I see many diffrent tutorial in this thread and really i am confusing, so i explain my steps and i ask you help, please, if are correct:

A - Download these files:

Resurrection Remix 4.07 (PA.AOKP.CM (4.2.2)

NeatRom 5.0 full I9100XWLSZ (4.1.2) or other JB rom that can be mounted without problem like second (also stock)

Regarding JB Rom, i see also this 2 post:

ROM-DualBoot

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

ROM JB 4.1.2 Deodexed Stock Samsung Roms

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

and sincerly i think that pheraps this rom are better for 2° rom or not ??

B - Download updater-script from ???? which i can use or editing ???

C - Dorimanx kernel 8.41 ???

1- Install Dorimax

2. Extract files from NeatRom to temporary folder

3. Extract new updater-script to /META-INF/com/google/android/ and overwrite old updater-script

4. Move "app" folder from /preload/symlink/system/ to /data/app/ and then delete preload folder

5. Repack All files to .zip

6. Reboot into recovery and flash repacked ROM.

7. Boot into ROM and check if everything works

8. Reboot into recovery

9. Flash Dorimanx kernel 8.41 and reboot recovery

10. Set up 2nd ROM

12.Clone 1st ROM to 2nd ROM

13. Boot into 2nd ROM and check if everything works

14. Wipe 1st ROMs data/factory reset and cache

15. Flash Resurrection Remix 4.07 to 1st ROM

16. At this point i can use Dorimax Kernel 9.41 for Aosp

....plaese suggest me if this way is correct and which files i need ...

Hispa
[Galaxy S II General] pargas:
Hi again. I have the following setup:

Firstrom : slimbean sabermod 4.3

Secrom: neatrom 5.0 lite.

All installed with this method. These jb Roms CAN be installed as first rom and CAN be combined with another JB but you can also use cm,pa ,aokp or what you want. I have not tried RR but it should not be different from others so IF you have it already you can justflash your secrom. Make nandroid first. I used to change the symlink and updaterscript that these guys made but now they spoonfeed us with already prepared Roms that are ready to flash. Sometimes i get bootloops with some jb secroms but then just flash again or try another rom. Good luck.

Edit. To be able to use secrom JB you must have dori 8.41. IF you use 9.41 first rom will run OK but jb will not boot.
[Galaxy S II General] hispanico957:
..OK thank... so if understand well:

I have now a JB rom 4.1.2 and dorimax 8.41:

1 - reboot recovery.

2 - In dualboot options prepare for secondary rom with wipe data/cache

at this point i think that i 2 options:

or flash ROM I9100XWLSZ-NEATROM FULL FOR DUALBOOT (taht you indicated http://xdaforums.com/showthread.php?t=2399193)

or I can clone my 1° rom to 2°... or this is a risk ?

3 - reboot in recovery

4 - flash Dorimax 9.41 for CM

5 - flash Aosp, install gapps, back on recovery go to Advanced Wipe Dalvik Cache, Fix Permissions, Wipe Cache Partition

6.- Reboot

It's correct ?

Big thank

Hispa
[Galaxy S II General] pargas:
If your 412 rom is stock or one not modded for dualboot you cannot clone it since it has preload. What I would do.

1 use titanium backup to backup the apps and data you need.

2 use sms backup to save sms if needed.

3 make sure all your contacts arw safe with google.

4 make sure you are rooted and have cwm.

5 use romnuke script to wipe.

6. Install resurrection (or what you want).

7. Flash gapps (if needed)

8. Flash dori 8.41

9.reboot and setup first rom to your liking.

10. In cwm dualboot options wipe data/cache to prepare for secrom.

11. Flash modded neatrom..wait....done.

12. No need for dori 9.41. Sec won't work.

13. Reboot ..select secrom (homebutton) and wait about 5mins and neat should start.

I can help later if you need.

Remember better to ask beforehand if your not sure.
[Galaxy S II General] hispanico957:
You think that is necessary also "format /system" in addition to "wipe data factory reset" before install AOSP ??

... and last thing, you have FC or others problem with your configurations on 1° or 2° rom ?

BIG thank

Hispa

Hispa
[Galaxy S II General] pargas:
I dont know if it's necessary to format system but the scripts that I use do it automatically. Usually when you go from one Android version to another it is recommended to clean system otherwise old junk could influence your new rom.

I have had some FC in both first and second rom but usually after dirty flashing roms.
[Galaxy S II General] hispanico957:
Thank... but when you said "...Usually when you go from one Android version to another it is recommended to clean system otherwise old junk could influence your new rom..."

you speak around wipe cache and davilk or ??

Regarding kernel dori 8.41 i read that is for JB roms so.... if i use it also for Aosp ?

Thank
[Galaxy S II General] pargas:
Yes aosp will run with dori 8.41 no problem there. You could try first in recovery: wipe data/factory reset( or something can exactly remember) then wipe cache+ dalvik. Then flash rom. Just follow the instructions for the rom.
[Galaxy S II General] Nonta72:
Followed this thread ==> http://xdaforums.com/showpost.php?p=37476832&postcount=38 and finally got a working Dualboot !

For those who have errors while flashing the Repacked Rom, you need to Remove the kernel from the Rom i.e delete /tmp/zImage.

Also remove the kernel flash commands in Script-Updater so that it will skip it !!! :D

I have attached my edited script-updater below :cool:

Note: In this script I have also removed the modem !!! But after you've flashed the Rom and flashed the Dualboot kernel everything works perfectly.

Hope this help some guys :p
[Galaxy S II General] hispanico957:
So...i have dual boot.

I follow:

Originally Posted by pargas

1. Recovery

2. use romnuke script to wipe.

3. In advance option i select format /system

4. Install Slim Beam

5. Reboot and setup first rom

5. Reboot again

8. Flash gapps and Reboot

9. Flash dori 8.41

10. In cwm dualboot options wipe data/cache to prepare for secrom.

11. Flash modded neatrom dualboot

12. Reboot ..select secrom (homebutton) and all ok

SO... i have 2 problem/question.

A - Secondary Rom is rooted ? ..and if not in which way i can do it ?

B - In primary Rom i have problem of Root... conseguently Stweaks and SuperSU. Infact in primary rom (SlimBeam) i cannot have root and i think that the problem is kernel 8.41...in which way i caan solve it ?

Thank

Hispa
[Galaxy S II General] pargas:
Goto settings. About phone. Press version 7 times to activate developer options. Three you activate root. It is unactivated by default in most 4.3 Roms

The second rom is most likely rooted but you can always check with rootchecker from playstore
[Galaxy S II General] hispanico957:
... Infact i i reinstall Aosp (in primary) no problem.

So install again Dorimax 8.41 and In About phone: i see Slim version Kernel version, Modem version, Android Version .. which i must press 7 times ?

Thank

Hispa
[Galaxy S II General] pargas:
Android i think. Press them all. The correct one will give you a countdown: seven till you are developer....and so on
[Galaxy S II General] hispanico957:
...Was "build".... ok developer. I set Root, reboot but always no root, and Stweaks and SuperSu close when i search to open.... solutions ??

Again thank

Hispa
[Galaxy S II General] pargas:
I think you have to set root again everytime you reboot. With s tweaks and su you just clear data by longpressing app and select app info. IF you tried before and had no root the app keeps it in memory even IF you activate root( I use root for apps and ADB. You are getting there, happy dualbooting!