Hello everyone!
First of all, I am posting here as I am not able to post in the Development Forum. If a moderator sees this fit could he/she please move this thread to the Development forum.
This is a mod to Siyah's Kernel which allows Dual Booting.
Currently you are unable to share apps between your two ROM's and to me that is really annoying.
WELL, after much research and testing I have devised a script to allow sharing of apps between ROM's.
WARNING: Should only be used on freshly flashed 2nd ROM's otherwise you will lose all your downloaded apps for your 2nd ROM!!!
They way this works is to mount the data from your 1st ROM in your 2nd ROM, then symbolic link the app folder.
Now for all you people that are going to nag saying it has issues, stop it! If it has issues fix it yourself! I tested this on Omega ROM and ParanoidAndroid and it works fine.
First go through the process of flashing your 2nd ROM. Once that is completely boot into your 1st ROM again and download the attached file and extract its contents to "/data/media" otherwise known as the root of your internal SD Card.
Once completed, reboot into your 2nd ROM and download/open your Terminal app and type in the following commands
(lines starting with # are comments so don't type those into your terminal, also hit enter at the end of each line):
After doing this close the terminal and reboot the phone into the 2nd ROM again. This time it should take a little longer and might say its upgrading a few apps.
This is largely untested so there is no guarantee it will work.
WARNING!!!! MUST READ THIS WARNING!!!!
Uninstalling an application from either ROM WILL uninstall it from the other ROM as well!!!
You are sharing apps directly, no mimics or anything!!!
Thanks for reading! Feedback is much appreciated, if there are issues I will be glad to listen and see if I can fix them but I make no promises. :silly:
First of all, I am posting here as I am not able to post in the Development Forum. If a moderator sees this fit could he/she please move this thread to the Development forum.
This is a mod to Siyah's Kernel which allows Dual Booting.
Currently you are unable to share apps between your two ROM's and to me that is really annoying.
WELL, after much research and testing I have devised a script to allow sharing of apps between ROM's.
WARNING: Should only be used on freshly flashed 2nd ROM's otherwise you will lose all your downloaded apps for your 2nd ROM!!!
They way this works is to mount the data from your 1st ROM in your 2nd ROM, then symbolic link the app folder.
Now for all you people that are going to nag saying it has issues, stop it! If it has issues fix it yourself! I tested this on Omega ROM and ParanoidAndroid and it works fine.
First go through the process of flashing your 2nd ROM. Once that is completely boot into your 1st ROM again and download the attached file and extract its contents to "/data/media" otherwise known as the root of your internal SD Card.
Once completed, reboot into your 2nd ROM and download/open your Terminal app and type in the following commands
(lines starting with # are comments so don't type those into your terminal, also hit enter at the end of each line):
Code:
# Escalate to root (hit grant if a dialog pops up)
su
# Remount the system so you can write to it
mount -o rw,remount /system
# Now copy the file from your SD Card to /system/etc/init.d
cp /data/media/01userinit.sh /system/etc/init.d/01userinit.sh
# Change working directory to /system/etc/init.d
cd /system/etc/init.d
# Rename the 01userinit.sh to 01userinit
# If 01 is already used then choose the next lowest number e.g. 01banner so choose 02
rename 01userinit.sh 01userinit
# Change permissions just to make sure (remember to use your number if you changed the 01 part)
chmod 771 01userinit
After doing this close the terminal and reboot the phone into the 2nd ROM again. This time it should take a little longer and might say its upgrading a few apps.
This is largely untested so there is no guarantee it will work.
WARNING!!!! MUST READ THIS WARNING!!!!
Uninstalling an application from either ROM WILL uninstall it from the other ROM as well!!!
You are sharing apps directly, no mimics or anything!!!
Thanks for reading! Feedback is much appreciated, if there are issues I will be glad to listen and see if I can fix them but I make no promises. :silly: