For clarrification purposes, we do not need to do anything with the gapps correct? just flash it in recovery when flashing second rom?
For clarrification purposes, we do not need to do anything with the gapps correct? just flash it in recovery when flashing second rom?
Oh i see, the link doesn't work btw i get this.....You are doing great here! I'm surprise it did not show up on the front pageAny zip file that you want to install for the second ROM needs to be patched. :good:
Currently, the gapps at http://get.cm/gapps is supported and works with most AOSP-based ROMs. (AOKP gapps is supported too)
Oh i see, the link doesn't work btw i get this.....You are doing great here! I'm surprise it did not show up on the front page
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/tornado-2.4-py2.7.egg/tornado/web.py", line 1037, in _execute
self.prepare()
File "/usr/local/lib/python2.7/dist-packages/tornado-2.4-py2.7.egg/tornado/web.py", line 1487, in prepare
raise HTTPError(self._status_code)
HTTPError: HTTP 404: Not Found
ui_print("...4.3 Gapps for AOKP...");
ui_print("Installing for SECONDARY OS/ROM");
package_extract_file("dualboot.sh", "/tmp/dualboot.sh");
set_perm(0, 0, 0777, "/tmp/dualboot.sh");
run_program("/tmp/dualboot.sh", "mount-system", "ext4", "/dev/block/platform/msm_sdcc.1/by-name/system");
run_program("/sbin/busybox", "umount", "/data");
run_program("/tmp/dualboot.sh", "mount-data", "ext4", "/dev/block/platform/msm_sdcc.1/by-name/userdata");
show_progress(1, 15);
delete("/system/app/Provision.apk", "/system/app/CalendarGoogle.apk", "/system/app/Phonesky.apk", "/system/app/GoogleBookmarksSyncAdapter.apk");
delete("/lib/libgoogle_recognizer_jni.so");
ui_print("Copying Files...");
package_extract_dir("data", "/data");
package_extract_dir("system", "/system");
ui_print("Unmounting system...");
run_program("/tmp/dualboot.sh", "unmount-data");
run_program("/tmp/dualboot.sh", "unmount-system");
ui_print("Installation complete!");
By the way, out of curiousity I decided to use the patch script use to patch the roms....I used it on the gapps instead. Im not sure if this is accidental discovery, or if the dualbootpatcher can patch any zips for the second rom.
I went on to compare the updater scripts and i got this, I compared it to the instruction for manual patching and everything is the same! So i am thinking the patchscript can patch anything without us doing it manually? Just wanted to share, im grabbing the gapps from the link...just to be on the safe side loool. But let me know!
PHP:ui_print("...4.3 Gapps for AOKP..."); ui_print("Installing for SECONDARY OS/ROM"); package_extract_file("dualboot.sh", "/tmp/dualboot.sh"); set_perm(0, 0, 0777, "/tmp/dualboot.sh"); run_program("/tmp/dualboot.sh", "mount-system", "ext4", "/dev/block/platform/msm_sdcc.1/by-name/system"); run_program("/sbin/busybox", "umount", "/data"); run_program("/tmp/dualboot.sh", "mount-data", "ext4", "/dev/block/platform/msm_sdcc.1/by-name/userdata"); show_progress(1, 15); delete("/system/app/Provision.apk", "/system/app/CalendarGoogle.apk", "/system/app/Phonesky.apk", "/system/app/GoogleBookmarksSyncAdapter.apk"); delete("/lib/libgoogle_recognizer_jni.so"); ui_print("Copying Files..."); package_extract_dir("data", "/data"); package_extract_dir("system", "/system"); ui_print("Unmounting system..."); run_program("/tmp/dualboot.sh", "unmount-data"); run_program("/tmp/dualboot.sh", "unmount-system"); ui_print("Installation complete!");
I have patched latest cm10.2 nightly & flashed.. Everything went fine.. Using tw as primary rom with Latest phils recovery..
Thanks a lot..
Between is there a way to get the apps shared between two roms..? I mean those installed in primary rom is not shown in secondary..
Sent from my GT-I9505 using Tapatalk 2
Review
So i have been crazy about dual boots for a while and I can SAFELY say, I just found one! BTW, I flashed the gapp files created by the dualbootpatcher...
I successfully booted between both roms with no issue. My second rom was task AOKP rom. No force close. Instruction is easy to follow (but being me, I like to clarify If i get mix message from something).
Thx!
Wow if you can do that, it will be awesome! My only request for that would be MMS lol, already had two incidents were i forgot i texted the person on the other rom and they responded while i was in the other lmaoooo was like "what are you talking about" moment haha.Awesome, glad you got it working!
It is very easy to enable app sharing (no data) between the two ROMs. However, I need to test how the second ROM would react to incompatible apps (like what would happen in AOSP saw TW apps).
Since all ROMs have different sizes, the best way to find out how much space the second one will take is to extract the zip file and see what the size of the files are.
Also, the ROM does, in fact, need to be patched. The project started off as a kernel patcher, so some of the OP might still say kernel. I'll go fix that right now
Regarding the FCs, the two main causes would be running out of space on /system (needed files cannot be installed properly) or an incompatible kernel. From what you said, I'm assuming you're trying to use the Infamous kernel with a Google Edition ROM? I may be wrong, but I don't remember Infamous being compatible with Google Edition ROMs. If you only want to use the kernel with your TouchWiz ROM, then the kernel does not need to be patched.
Great work! Will try it in a few days.
One question: I will install PAC Man ROM as secondary ROM, do I need to Wipe System before installation? Using the WipeSystemSecondary.zip?
Thanks!
Hey I don't want to bother you for each different GE ROM. How do I modify the patcher to accept a GE ROM other than the untouched one you added support for? I'll make sure the ROM I want to try has a stock GE kernel so that It can use your ramdisk.
Sent from my SAMSUNG-SGH-I337 using Tapatalk 4
Hey I don't want to bother you for each different GE ROM. How do I modify the patcher to accept a GE ROM other than the untouched one you added support for? I'll make sure the ROM I want to try has a stock GE kernel so that It can use your ramdisk.
Sent from my SAMSUNG-SGH-I337 using Tapatalk 4
Give me a couple minutes and I'll modify the patcher so it can do the ramdisk replacement part only. Then you can modify the updater-script for your specific ROM.
AttributeError: 'NoneType' object has no attribute 'configs'
regarding this dual booting, is there any possibility that the /data partition can be shared across both roms?
Sent from my GT-I9505 using Tapatalk 2
+1 this would be awesome
Sent from my Galaxy Nexus using Tapatalk 4