- White Nexus 4 with Android 4.3 operating system is coming in JunePosted 19 hours ago
- Google IO 2013 – Summary of Android stuffPosted 9 days ago
- Karbonn S2 Titanium out and available for pre-order at ₹10,790Posted 9 days ago
- Samsung to launch Galaxy S4 Zoom, Galaxy S4 mini and Galaxy S4 ActivePosted 10 days ago
- Google Play Store 4.0.27 is out with a new layoutPosted 20 days ago
- Micromax launched first 3D phone Canvas A115 for 9999 INRPosted 20 days ago
- Samsung Galaxy Tab 3 landing in market globally from May 2013Posted 21 days ago
- Evernote new version 5.0 is availablePosted 42 days ago
- T-Mobile has started taking Pre-orders for iPhone 5Posted 43 days ago
- Google added “Spell Check” feature in ChromePosted 46 days ago
Procedure to dual boot your Galaxy Tab 2 (7.0) P31xx
The title sounds interesting doesn’t it? You might be running your PC on dual boot (usually it’s Windows + Linux) but think about dual booting your tablet. Now that sounds cool! Macadamia Daze who is a XDA-developer has come up with this great hack for Samsung Galaxy Tab 2. The idea behind this dual boot is to run one Android OS from internal memory and other OS from the SD card. For this you will need a SD card of 8GB storage or more.
Note: I should not be blamed if anything bad happens to your device. Given process has been tested and it worked fine for me.
Preparing for dual boot
1. First of all repartition the SD card (you may use any tool for this). Shrink the first partition to about 5.30 GB (new partitions will take about 5 GB space so 5.30 GB space is sufficient).
2. Now you need to create 4 ext4 partitions.
- system (1 GB)
- cache (700 MB)
- data (3 GB)
- EFS (25 MB)
3. Now insert the SD card, boot in CWM and run the command given below in ADB.
4. Boot into CWM and extract our your important data.
Steps to dual boot Galaxy Tab 2
1. There is a script in the ROM package you just have downloaded. Mount the (/dev/block/mmcblk0p10) and access the /data/media using this. Also mount the /data/media to SD card of the external ROM.
2. Now the main part of dual boot is to switch between the operating systems. Since we have one OS in internal memory and other one in external SD card so we will need a switching mechanism for dual booting. There is a script named as “bootinternal” in /system/bin.
Execute this one from the terminal or you may also run this from ADB (this will work as a switch from external to internal). You may use “bootexternal” to switch from internal to external.
3. Now we just have to make these switching work. For this, in your external ROM copy the boot.img file from internal memory to /sdcard/Boot/internal.img. Similarly in internal ROM copy the boot.img file from external ROM to /sdcard/Boot/external.img.internal memory to /sdcard/Boot/internal.img.
4. In case you want to switch the ROM manually you will need to run the commands given below:
cat boot.img > /dev/block/mmcblk0p5
Other way is to use Mobile Odin.
5. Now the next step is to unpacking the boot image. Do it by using any tool (you will have to search for it). After unpacking edit the init.expresso.rc file (ramdisk). Search for the partitions which have been mounted and edit the code snippet like:
#mount ext4 /dev/block/platform/omap/omap_hsmmc.1/by-name/FACTORYFS /system wait rw
mount ext4 /dev/block/mmcblk1p2 /system wait rw
#mount ext4 /dev/block/platform/omap/omap_hsmmc.1/by-name/FACTORYFS /system ro remount
mount ext4 /dev/block/mmcblk1p2 /system ro remount
#mount ext4 /dev/block/platform/omap/omap_hsmmc.1/by-name/DATAFS /data wait noatime nosuid nodev crypt discard,noauto_da_alloc
mount ext4 /dev/block/platform/omap/omap_hsmmc.1/by-name/DATAFS /data2 wait noatime nosuid nodev crypt discard,noauto_da_alloc
mount ext4 /dev/block/mmcblk1p4 /data wait noatime nosuid nodev crypt discard,noauto_da_alloc
#mount ext4 /dev/block/platform/omap/omap_hsmmc.1/by-name/CACHE /cache wait noatime nosuid nodev nomblk_io_submit,errors=panic
mount ext4 /dev/block/mmcblk1p3 /cache wait noatime nosuid nodev nomblk_io_submit,errors=panic
#mount ext4 /dev/block/platform/omap/omap_hsmmc.1/by-name/EFS /efs wait rw
mount ext4 /dev/block/mmcblk1p5 /efs wait rw
6. Repacking of boot image should be done then put it in ROM. Open the updater-script and change the references to internal partition (/dev/block/mmcblk0p9 -> /dev/block/mmcblk1p2). Do this for all the referenced paritions.
That is all. You have successfully dual-booted your Samsung Galaxy Tab 2 7.0 P31xx.
Wiping out the data on external dual-boot paritions
If you want to wipe your data on on external dual-boot paritions completely then use these 3 CWM pacakges:
More info at xda-developers.