Don't use..[KERNEL] Dual Boot your Phone ! Now support all Android versions ! - Galaxy S Plus I9001 Android Development

Because many people have problems that i dont have, in recommend that no one use it till its fixed.. sorry..
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
This Dual Boot Kernel are based on SkyHigh 1.5 for Gingerbread, CastagnaIT v7.6 for ICS, Phenom Kernel 3.6 for Jelly Bean (4.1.2) and Phenom Kernel 3.6 for Jelly Bean (4.2.2) with some modifications to make it boot from your sd card !
You can Dual Boot every Rom ! as example : cm10.1 and samsung stock or cm9 and cm10.
For easy Rom-Switching, broodplank1337 makes an app, just flash the zip file in CWM
Note: DO THIS ON YOUR OWN RISK ! I RECOMMEND A FAST SD CARD; OTHERWISE YOUR SECOND ROM WILL RUN VERY SLOW !
The developers of the original Kernel arent responsible for any damage that might be happen by flashing this files ! Also, if you use one of these kernels, don´t report bugs in the original thread ! if you have an Bug,you could flash the normal version of the kernel and check if the bug still appears, if yes, you can post the Bug in the original Kernel Thread, if no, you can post it here.
Installation Guide
1. Partition your external SD card : There is a youtube video how to use the programm : http://www.youtube.com/watch?v=q9bVQ72YIuU&feature=youtu.be
First partition is the partition for YOUR data
Second partition have to be an 1GB ext4 partition, its for /system
Third partition have to be an 2GB ext4 partition, its for /data
And partition number 4 have to be an 300 MB ext4 partition, its for /cache
For partition you can use Easeus Partition Master, link below.
Its very important that the partitions are in the right order, otherwise installation of rom fails.
2. Download the boot.img, the update-script (link below) and the DualBoot App zip, and of course Download the rom that you want to have on external SD
Note:Choose the right boot.img ! There is one subfolder for each Android Version, download the one for the Android Version that your SECOND rom based on
3. Replace the boot.img inside the rom zip with my downloaded one and replace the update-script inside meta-inf-com-google-android
4. Put the DualBoot App zip and your rom zip file which includes with my boot.img and my updater-script on your internal/external sd card
5. Reboot to recovery and install the DualBoot zip
6. Reboot to Android and open the DualBoot App
7. Now choose the right option, there are two for every Android version, one for boot from external SD and one to Boot from internal SD, for now, choose the option thats the right for your second rom (as example you will install cm10.1 as second rom, choose Boot Jelly Bean (4.2.2) from external SD)
8. Reboot your phone to recovery, install your second Rom and the DualBoot App zip,
9. Reboot to Android, your second rom should boot now, if you wanna go back to your first rom, start DualBoot app and choose Boot (...) from internal SD, you have to choose the option for the Android version that you first rom have ( as example if your first rom is cm10, choose Boot Jelly Bean (4.1.2) from internal Storage
Manually Installation
Installation Guide
1. Partition your external SD card : There is an youtube video how to use the programm : http://www.youtube.com/watch?v=q9bVQ72YIuU&feature=youtu.be
First partition is the partition for YOUR data
Second partition have to be an 1GB ext4 partition, its for /system
Third partition have to be an 2GB ext4 partition, its for /data
And partition number 4 have to be an 300 MB ext4 partition, its for /cache
For partition you can use Easeus Partition Master, link below.
Its very important that the partitions are in the right order, otherwise installation of rom fails.
2. Download the boot.img and the update-script (link below) and Download the rom that you want to have on external SD
Note:Choose the right Kernel ! There is one subfodler for each Android Version, download the one for the Android Version that your SECOND rom based on
3. Replace the boot.img inside the rom zip with my downloaded one and replace the update-script inside meta-inf-com-google-android
4. Download the modified Kernel and your normal Kernel (very important) and put BOTH on your phone
5. Put the rom zip file with my boot.img inside on your phone
6. Reboot to recovery
7. Install the modified Kernel
8. Install the Rom
9. Maybe install something like gapps or mods
Now you can reboot your phone and it should boot the second rom from sdcard !
If you want to boot the rom which are installed on the internal memory, just reboot to recovery and flash another, unmodified kernel.
If you want to boot the rom which are installed on the external SD Card, just reboot to recovery and flash the modified Kernel.
If you wanna change the rom, just start the Dual Boot App and click on the right option, next reboot it will boot the rom you choosed
Downloads:
Kernels and boot.img´s: https://sourceforge.net/projects/dualbootkernel/files/
MiniTool Partition Wizard: http://www.chip.de/downloads/Partition-Wizard-Home-Edition_37391095.html
update-script: https://sourceforge.net/projects/dualbootkernel/files/updater-script/download
Dual Boot App zip: http://www.mediafire.com/?3ydbysbsiw00znb
Credits:
CastagnaIT
educk
Skywalker
broodplank1337
kacperski1

wow are you for real? Awesome job man! I'm not going to try it since I have to much stuff that I need to continuously test (for example broodROM JB) but I think this project is really cool, have you done it by editing the ramdisk or using the actual kernel source?
Oh and btw, the zImage is for ICS as well. it's always like that. (only the ramdisk needs to be changed for that)
Long story short, awesome work

broodplank1337 said:
wow are you for real? Awesome job man! I'm not going to try it since I have to much stuff that I need to continuously test (for example broodROM JB) but I think this project is really cool, have you done it by editing the ramdisk or using the actual kernel source?
Oh and btw, the zImage is for ICS as well. it's always like that. (only the ramdisk needs to be changed for that)
Long story short, awesome work
Click to expand...
Click to collapse
Thanks
I edited the ramdisk like I done it by My eMMC Brick Bug Fix kernel
Sent from my GT-I9001 using xda premium

Jonboy2011 said:
This Dual Boot Kernel are based on Nexus Kernel RC2 BigMEM with some modifications to make it boot from your sd card !
At the moment, there is only an modified Kernel for Jelly Bean 4.1.2, but if something want I can make a Kernel for GB, ICS or 4.2.2 too.
Note: DO THIS ON YOUR OWN RISK ! I RECOMMEND A FAST SD CARD; OTHERWISE YOUR SECOND ROM WILL RUN VERY SLOW !
Installation Guide
1. Partition your external SD card :
First partition is the partition for YOUR data
Second partition have to be an 1GB ext4 partition, its for /system
Third partition have to be an 2GB ext4 partition, its for /data
And partition number 4 have to be an 100 MB ext4 partition, its for /cache
For partition you can use Easeus Partition Master, link below.
Its very important that the partitions are in the right order, otherwise insatllation of rom fails.
2. Download the boot.img (link below) and Download the rom that you want to have on external SD
3. Replace the boot.img inside the rom zip with my downloaded one
4. Download the modified Kernel and your normal Kernel (very important) and put BOTH on your phone
5. Put the rom zip file with my boot.img inside on your phone
6. Reboot to recovery
7. Install the modified Kernel
8. Install the Rom
9. Maybe install something like gapps or mods
Now you can reboot your phone and it should boot the second rom from sdcard !
If you want to boot the rom which are installed on the internal memory, just reboot to recovery and flash another, unmodified kernel.
If you want to boot the rom which are installed on the external SD Card, just reboot to recovery and flash the modified Kernel.
Downloads:
Kernel: https://sourceforge.net/projects/du...2_i9001_OC_exUV_BigMemBootFromSD.zip/download
Boot.img: https://sourceforge.net/projects/dualbootkernel/files/boot.img/download
Easeus Partition Master: http://www.chip.de/downloads/Easeus-Partition-Master_32927259.html
Credits: biagio7xD for Kernel
Click to expand...
Click to collapse
Great work! I making a .sh script that switches kernel without using CWM!
Edit: about cache partition, i suggest to make a bigger partition..... Like 300mb or more....
Inviato dal mio GT-I9300

Just a question tho. Do you also have a recovery which installs the second ROM on the externel SD?

mrjraider said:
Just a question tho. Do you also have a recovery which installs the second ROM on the externel SD?
Click to expand...
Click to collapse
since my eMMC Brick Bug Kernel work without custom recovery, i think this will also work without custom recovery, so i give it to an friend and yep it works
Sent from my GT-I9001 using xda premium

Q. 1-Can I flash a stock ROM on the external or just a custom one ?
2-The too ROMs must be 4.1.2(at this realase) or just the original one ?
Sent from my GT-I9001 using xda app-developers app

Nice, really really nice!
Gesendet von meinem ariesve mit Tapatalk 2

rashidBat said:
Q. Can I flash a stock ROM on the external or just a custom one ?
Sent from my GT-I9001 using xda app-developers app
Click to expand...
Click to collapse
At the Moment only custom Jellybean 4.1.2 Rom , but tomorrow i will make kernels for GB , ICS , and 4.2.2 Jelly Bean so you can dualboot all android versions
Sent from my GT-I9001 using xda premium

Jonboy2011 said:
At the Moment only custom Jellybean 4.1.2 Rom , but tomorrow i will make kernels for GB , ICS , and 4.2.2 Jelly Bean so you can dualboot all android versions
Sent from my GT-I9001 using xda premium
Click to expand...
Click to collapse
Can you write down what you changed, im really interested and btw. Awesome work!

Sot0 said:
Can you write down what you changed, im really interested and btw. Awesome work!
Click to expand...
Click to collapse
i just changed the locations of the partitions in fstab.qcom , sorry i'm on My mobile now so no more infos..
but btw. maybe an recovery dev could make an custom recovery for that ? somethink like a "Boot to second Rom" button ? that would be awesome !
Sent from my GT-I9001 using xda premium

Damn thanks man
But i think my SD card is To slow :/
Sent from my GT-I9001 using xda premium

Schur1k said:
Damn thanks man
But i think my SD card is To slow :/
Sent from my GT-I9001 using xda premium
Click to expand...
Click to collapse
which class it have ?
Sent from my GT-I9001 using xda premium

How to check if your SD card is fast enough?
Sent from my GT-I9001 using xda app-developers app

failly said:
How to check if your SD card is fast enough?
Sent from my GT-I9001 using xda app-developers app
Click to expand...
Click to collapse
check which class your SD card are , i think lower than class 6 isnt good but you can try
Sent from my GT-I9001 using xda premium

Can I install the second rom on Internal SdCard?
Sent from my GT-I9001 using xda app-developers app

Awesome work, thanks
Now it will be easy to test roms without erasing current
Sent from my GT-I9001 using Tapatalk 2

Jonboy2011 said:
which class it have ?
Sent from my GT-I9001 using xda premium
Click to expand...
Click to collapse
I can only tell you that I'm have SD HC and my write speed is 4.13 mb/s hope that is enough
Sent from my GT-I9001 using xda premium

First: a big thanks for your work, will try it this evening or tommorrow
EminSG said:
Can I install the second rom on Internal SdCard?
Sent from my GT-I9001 using xda app-developers app
Click to expand...
Click to collapse
Second: yes, i think you also can install it on internal but you have to swap the too sd cards with swap sd so that yo have your external, internal.
This way we could switch between THREE ROMs!! One on the external and one on the internal and then a swap with swap sd :good:

One question
I can only use 2 ROMs with the own android version right?
(Also 4.1.2 and 4.1.2 not 4.0.x with 4.1.2 )
Sent from my GT-I9001 using xda premium

Related

Ungaze Data2Sd

Please any one help me how to.use ungaze data2sd with complete details
Mahesh
http://forum.xda-developers.com/showthread.php?t=1042828
http://forum.xda-developers.com/search.php
All the details are in the thread what don't you understand
Sent from my LG-P500 using XDA Premium App
dislplin01 said:
All the details are in the thread what don't you understand
Sent from my LG-P500 using XDA Premium App
Click to expand...
Click to collapse
How to move file using data 2sd
Mahesh
mvgadagi said:
How to move file using data 2sd
Mahesh
Click to expand...
Click to collapse
well if you want the full use of data2sd by ungaze then the first step is partition your sd card after you do that then i would suggest flashing a your rom fresh and whatever MODs you have after you have flashed all mods and your ROM {please reboot between each MOD} then finally flash ungazes data2sd if you did it right you will have a large performance boost and more space for apps for example i had a 16 gig sd card made 2560 mb partition and now after flashing data2sd i have 1.7 gigs of apps space and a quadrant score of 2300 so if you have questions then PM me
dislplin01 said:
well if you want the full use of data2sd by ungaze then the first step is partition your sd card after you do that then i would suggest flashing a your rom fresh and whatever MODs you have after you have flashed all mods and your ROM {please reboot between each MOD} then finally flash ungazes data2sd if you did it right you will have a large performance boost and more space for apps for example i had a 16 gig sd card made 2560 mb partition and now after flashing data2sd i have 1.7 gigs of apps space and a quadrant score of 2300 so if you have questions then PM me
Click to expand...
Click to collapse
please, tell me the steps
i want flashing void forever :
- partition sdcard ext2+fat32 (is swap have an effect?)
- flash the void forever rom
- flash add on void forever
- reboot(?)
- flashing ungaze data2sd
- reboot
- done
but i have some problem on it
- sometimes bootloop
- i cant instal any apk, the button wont respond
- else, the ext2 partition i created is gone, when i check with titanium backup
i just tried it around 2 days and still have that problem
and sorry for my bad english
lightnoid said:
please, tell me the steps
i want flashing void forever :
- partition sdcard ext2+fat32 (is swap have an effect?) EXT4 recomended
- flash the void forever rom
- Reboot
- flash add on void forever
- reboot(?)
- flashing ungaze data2sd
- reboot
- done
but i have some problem on it
- sometimes bootloop
- i cant instal any apk, the button wont respond
- else, the ext2 partition i created is gone, when i check with titanium backup
i just tried it around 2 days and still have that problem
and sorry for my bad english
Click to expand...
Click to collapse
answers in bold
is it ok with ext4?
in http://forum.xda-developers.com/showthread.php?p=13049131#post13049131 said that Ungaze Data2Sd not support ext4 and ext3
dislplin01 said:
well if you want the full use of data2sd by ungaze then the first step is partition your sd card after you do that then i would suggest flashing a your rom fresh and whatever MODs you have after you have flashed all mods and your ROM {please reboot between each MOD} then finally flash ungazes data2sd if you did it right you will have a large performance boost and more space for apps for example i had a 16 gig sd card made 2560 mb partition and now after flashing data2sd i have 1.7 gigs of apps space and a quadrant score of 2300 so if you have questions then PM me
Click to expand...
Click to collapse
Hi all,
Currently I'm using CM7 and install ungaze data2sd on my phone. I already have ext2 file and my phone shows additional internal memory. I then install apps without any problem and once done, I try to reboot it. However, I found that those apps which installed earlier on were gone. Can anyone help me with this?
Addition, when I check the sd card, I found an d2sd folder and inside it have unknown files named error_0222120031, error_0222120039, error_0222120122 and error_0222120143. Can anyone help me with this?
missing market??
After flashing ungaze... I reboot then somehow my market app is missing but when i used the search function i can still search it and use it... Then after two reboot (not necessarily simultaneous) i got my market back... Using nightly four e 4.2 with ta.gb 1.2 kernel...
alexdino89 said:
Hi all,
Currently I'm using CM7 and install ungaze data2sd on my phone. I already have ext2 file and my phone shows additional internal memory. I then install apps without any problem and once done, I try to reboot it. However, I found that those apps which installed earlier on were gone. Can anyone help me with this?
Addition, when I check the sd card, I found an d2sd folder and inside it have unknown files named error_0222120031, error_0222120039, error_0222120122 and error_0222120143. Can anyone help me with this?
Click to expand...
Click to collapse
you need a freshly installed rom... do a full wipe then flash a custom rom and then flash this ungaze data2sd mod but i recommend you to use app2sd mod by darktremor that is quite stable and very easy to use
Sent from my LG-P500 using xda premium
amao10 said:
After flashing ungaze... I reboot then somehow my market app is missing but when i used the search function i can still search it and use it... Then after two reboot (not necessarily simultaneous) i got my market back... Using nightly four e 4.2 with ta.gb 1.2 kernel...
Click to expand...
Click to collapse
i guess your market get frosted use titanium backup or anyother app to defrost market app
Sent from my LG-P500 using xda premium
amao10 said:
After flashing ungaze... I reboot then somehow my market app is missing but when i used the search function i can still search it and use it... Then after two reboot (not necessarily simultaneous) i got my market back... Using nightly four e 4.2 with ta.gb 1.2 kernel...
Click to expand...
Click to collapse
Lol. I see. well I try to continue use it who knows my apps that had gone will reappear. lol!! Thanks for your comment bro!
abhinav quietly brilliant said:
you need a freshly installed rom... do a full wipe then flash a custom rom and then flash this ungaze data2sd mod but i recommend you to use app2sd mod by darktremor that is quite stable and very easy to use
Sent from my LG-P500 using xda premium
Click to expand...
Click to collapse
I disagree ..
My suggestions -
1) use ungaze v5 (not v2)
2) wipe dalvick cache before flashing it..
It doesn't matter whether it's Fresh rom or not..
I have used ungaze with having more than 120mb worth apps previously
Sent from my LG-P500 using Tapatalk
androidusero1p500 said:
I disagree ..
My suggestions -
1) use ungaze v5 (not v2)
2) wipe dalvick cache before flashing it..
It doesn't matter whether it's Fresh rom or not..
I have used ungaze with having more than 120mb worth apps previously
Sent from my LG-P500 using Tapatalk
Click to expand...
Click to collapse
ungaze script is not stable have alot of bugs.. and i have approx 746mb of apps installed which is stored on sd-ext and my internal memory used is only 63mb using dt script.. no issues with dt script
Sent from my LG-P500 using xda premium
androidusero1p500 said:
I disagree ..
My suggestions -
1) use ungaze v5 (not v2)
2) wipe dalvick cache before flashing it..
It doesn't matter whether it's Fresh rom or not..
I have used ungaze with having more than 120mb worth apps previously
Sent from my LG-P500 using Tapatalk
Click to expand...
Click to collapse
I have 1.3gig apps on sd n ungaze has been the best ever for me for me it's 100%bugfree !
Sent from my LG-P500 using Tapatalk
androidusero1p500 said:
I disagree ..
My suggestions -
1) use ungaze v5 (not v2)
2) wipe dalvick cache before flashing it..
It doesn't matter whether it's Fresh rom or not..
I have used ungaze with having more than 120mb worth apps previously
Sent from my LG-P500 using Tapatalk
Click to expand...
Click to collapse
V5?? How to find version 5 of Ungaze?? Do you have the link?? Because currently I'm using the v4b5.
Please help me in this issue !
i installed ungaze script to increase internal memory 190MB to 0.89GB
it worked fine.
After every reboot the internal memory get back to default state.
as stated in trouble shooting i removed my sd in recovery mode and mounted sd ext by reinserting the sd and it works like charm.
but it cant be done in normal system reboot. so anybody please help me in this issue.
Thanks in advance for your helps.
Sent from: Samsung Galaxy y -Custom Rom-merruks 2.5 Kernel
============================================================================================
============================================================================================
Hit THANKS if u like my issue
WANT TO MAKE YOUR GALAXY Y AS A HIGH END DEVICE WITH 1.2GHZ , 1 GB INTERNAL STORAGE , HD GAMING , LAGGLESS
GO THE BELOW LINK
EMPOWER YOUR GALAXY Y
Click here

INT2EXT+ for CM10

INT2EXT+ INSTALLATION TUTORIAL
IF YOU ALREADY HAVE S2E, LINK2SD OR SIMILAR, YOU MUST REPARTITION SD CARD AND FACTORY WIPE
INT2EXT+ moves ur apps to sd-ext automatically and it also Supports 1gb+ and is newer and faster than d2ext+
PREPARATIONS
Download the latest build of CyanogenMod 10.
Download the latest version of CronMod IN2EXT+ (i've attached the zip)
Open CyanogenMod 10 zip.
Navigate to /system/etc/init.d
Open INT2EXT+ zip.
Navigate to /system/etc/init.d
Add the file called 40int2ext in the /system/etc/init.d directory in CM10 zip.
INSTALLATION
Go to recovery, do factory reset and advanced > partition sd card.
Select 2048M for ext(as much as u want) and 0M for swap.
Wait until it says Done and goes to menu.
Go to Mounts and Storage.
Select USB storage and connect your phone to your computer.
Copy your modified CM9 zip file to the root of your sd.
Unmount.
Reflash ROM.
Reboot.
thats it your internal memory is 2gb
proof
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
After reboot, reboot into recovery and flash gapps.zip normally.
Then go to Applications and enjoy your new, extended internal storage.
THANKS TO XPMODE FOR HIS TUT.. ON CM9
Click to expand...
Click to collapse
PLEASE HIT THANKS IF I HELPED
So, copy my tutorial, give no credit, replace cm9 with cm10, add a few lines and bam, here you go, stealing tutorials the easy way?
xpmode said:
So, copy my tutorial, give no credit, replace cm9 with cm10, add a few lines and bam, here you go, stealing tutorials the easy way?
Click to expand...
Click to collapse
sorry i didnt mean that way wait.. :highfive:
will this work for cm9????????
working in cm 9 build 11
does not work in JB MIUI v4
knight84 said:
does not work in JB MIUI v4
Click to expand...
Click to collapse
its rom problem mate coz it works flawlessly on cm10 beta 2
I did the same on cm9 but stuck on bootscreen. I am not able to install any other script too.
Sent from my HTC Explorer A310e using xda app-developers app
In order to install any other memory script .... you will have to repartition your SD card... Which will result in formatting of the SD. I suggest you make a backup of your sd card on your computer. Advisable.
Hit Thanks if I helped !
for fresh installation of rom we need re create sd ext?
thippesh said:
for fresh installation of rom we need re create sd ext?
Click to expand...
Click to collapse
nope but just format it
Problem in installing int2ext and all other scripts
I repartitioned my sd card and did exactly what was written. I made a 1GB partition through recovery but still the same prob.
No script gets installed. I get some error with "status 0" or "status 6" written in the end.
Installed cm10 b1 with int2ext4+ in it...mob refused to leave the boot screen. I restarted the mobile several times and finally it started. But the mobile is restarting whenever i touch any notification.
Sent from my HTC Explorer A310e using xda app-developers app
read PM and give it a try.
I have a stupid question... I am using the link2sd app... What is the difference between using app or script? Also is this better than link2sd?
Sent from my HTC Explorer A310e using xda premium
In link2sd the app data cache and dalvik cache are transferred to the external partition.. in this the SD ext partition acts as a part of your internal memory.. its your personal choice about which script to use... also some ROMs do not support some scripts .. like this is not supported in the Sense 4.0A and its modded ROMs..
PS my sdext size is 600 odd + 0 swap
Check out the screenshot for your understanding.. on what happens when you use. It.
Sent from my HTC Explorer A310e using xda premium
Yeah I understand that but is there any difference in using the app or adding the script in the rom? Also what does ungaze do?
Sent from my HTC Explorer A310e using xda premium
Apps2sd app transfers app data to your SD card.. and when you mount your SD on your computer as mass storage it may result in the force closing of some of your apps.. where as in int2ext it is transferred to the ext partition which is not mounted on your computer.. hence your apps remain unaffected..
Sent from my HTC Explorer A310e using xda premium
---------- Post added at 02:21 PM ---------- Previous post was at 02:14 PM ----------
Ungaze .. is similar to int2ext but it has different requirement s and sometimes the write speed is diff on the SD card.. you can check the individual posts for all the correct specs..
Also note that int2ext+ will work only for ROMs having init.d support so check the ROM you are about to flash and then use of the script
Sent from my HTC Explorer A310e using xda premium
Thanks a lot for taking the time to explain bro. Helped a lot!
Sent from my HTC Explorer A310e using xda premium
will it work by copying 40int2ext to int.d folder and setting permission ? in cm10 beta3
anyone tried ?

[MOD][25-06-2013] Super APP2SD init.d script. Increase your app storage space on SGS4

I have found a solution for your low memory space problems on a Galaxy S4 GT-I9505 16GB
Courtesy of TweakerL, modified for the S4 with his permission.
Original script http://forum.xda-developers.com/showthread.php?t=1888986
Features:
Install apps and data directly to the external SD
[*]Moves existing apps and data to the external SD
[*]Mounts the /data folders to the external SD on boot
[*]Free your internal SD memory for use
[*]Uses a second EXT4 partition on your MicroSD
[*]Seamless intergration
NOTE: This now works on stock ROM's and stock kernel's.
I have tested this script successfully on stock MDF, ME3, MEA, MF4, MF8 and Omega ROM's. Works with ktoonsez 6/23/2013 and Abyss 1.1 kernels. Adam 1.4 kernel hangs on reboot, but can be flashed after the script has installed successfully. This works on faux kernel even though it does not have init.d support.
Requirements:
Experience with Android modding, although not strictly required
Galaxy S4 GT-I9505
ROOT Access
Fuse mod which will be installed
MicroSD, preferably a blank 64GB Class 10
Busybox Installer from Playstore https://play.google.com/store/apps/details?id=com.jrummy.busybox.installer
Terminal Emulator from Playstore https://play.google.com/store/apps/details?id=jackpal.androidterm
Any root explorer from Playstore, I use ES https://play.google.com/store/apps/details?id=com.estrongs.android.pop
PerfMon from Playstore, free from here http://forum.xda-developers.com/showthread.php?t=1933284
Any zip extractor app from Playstore, ES has one built-in
Partition Table from Playstore https://play.google.com/store/apps/details?id=com.cls.partition
A computer to create EXT4 partition on the MicroSD
MiniTool Partition Wizard Home Edition v7.8 free from here http://www.partitionwizard.com/free-partition-manager.html
Pre-install preparations:
Do a Nandroid backup of your current ROM, if you have a custom recovery
Although not required with this script, backup your apps with Titanium or another app.
Backup your MicroSD. This is important if you have files on it that you want to keep.
Using MiniTool Partition Wizard, format your whole MicroSD to FAT32
Then resize the first partition to your requirements. e.g. 30GB and 30GB for the second
Create the second partition and select Primary, EXT4 and 4KB cluster size
In my example below I have a 40GB EXT4 partition for my apps and games
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
While your waiting for the MicroSD to finish formatting, install the apps listed above
Install busybox v1.20.2 to /system/xbin. This is a important step.
Once thats done put your MicroSD back into your S4
Installation instructions:
Extract the A2SD zip to /sdcard
Run the Terminal Emulator
Code:
Type [B]su[/B] then press enter
Type [B]cd /sdcard/a2sd[/B] then press enter
Type [B]sh ./install-a2sd[/B] then press enter
It should install successfully, press enter to reboot
Once rebooted, run your root explorer
Navigate to /sdcard/Tweaked.Scripts/A2SD
If there is a DEVICE_IS_READY file you can reboot again
Upon reboot, run PerfMon, select Disk I/O
You will see the data moving between internal to external SD
Run root explorer and navigate to /sdcard/Tweaked.Scripts/A2SD
Wait till all the data has been moved. NOTE: It can take a while if you have a full sdcard
IMPORTANT: The Read and Write columns on DISK I/O must all be '0' before you reboot
Refresh /sdcard/Tweaked.Scripts/A2SD in root explorer
If there is a DEVICE_IS_READY file you can reboot again
Once rebooted, your apps and data now reside in your external SD
It does look like nothing has happened but everything is now running from external SD
If you find the 'SD-EXT' folder in '/Android/data' ; '/Android/obb' ; '/data/app' ; '/data/data' then these folders are now mounted on your external EXT4 partition instead of the internal sdcard.
Now reboot again for the fourth and final time
Once rebooted all apps and app data will be deleted from the internal sdcard except your user files
Open the Application Manager in More Settings
You can see the free space increasing before your very eyes
As you can see your apps are still installed with their data
You can see what was deleted in /sdcard/Tweaked.Scripts
To find out how much space is being used on your MicroSD's second partition
Run the Partition Table app and look for /storage/sd-ext/data
If you subtract the available from the total space in the screenshot below, it is less than the applications and other data added together.
NOTE: At the moment, there is no reversal script. Restore a nandroid backup to reverse. This will not restore the Android/data though. Remember to put back your files on your MicroSD that you backed up
WARNINGS:
DO NOT DELETE '/sdcard/Tweaked.Scripts' OR IT WILL STOP THE SCRIPTS WORKING
DO NOT REMOVE MICROSD CARD WHILE THE PHONE IS ON. ALWAYS POWER OFF FIRST SO TO NOT CORRUPT DATA.
DO NOT REBOOT THE PHONE WITHOUT THE MICROSD CARD, YOUR PHONE WILL BE IN A STOCK STATE AGAIN IF YOU DO AND FORCE CLOSURES MIGHT HAPPEN
Changelog:
v1.0 Released 16-06-2013
v1.1 25-06-2013
Runs on stock ROM and kernels
Flashing custom or stock kernel will not affect script
Rename install-recovery.sh in Omega ROM as not needed
Add a init.d test script
This is awesome!, But will it work on i9500?
It will not install on any S4 but I9505 for now. I would need some system info to make it work for other variants. Any volunteers to test script's?
Sent from my GT-I9505 using xda app-developers app
It would'n be possible to handle this with a dedicated application ?
I am seeing if it can be installed from a flashable zip. As for making a App, I don't know. Might look into it later maybe. No promises.
Sent from my GT-I9505 using xda app-developers app
No offense but why would you go to all of this bother when you can just use Folder Mount free app?
Sent from my GT-I9505 using Tapatalk 2
No offense taken. Why am I going to so much bother? Well this is XDA after all and because I wanted a seamless and maintenance free solution. I used to use directory bind and it became very tedious to move data over every time I installed a app or game with large data.
This script once installed allows you to install and run apps and games directly from the Playstore on your micro sd card including the data and obb files. Install it once and forget about it. It treats the external memory as though it is the internal, but not totally swapped. It's safer than that method.
As for Folder Mount it's the same as directory bind. Too high maintenance for me. It is also limited to 3 mounts I believe unless you pay. It's great if you don't have the knowledge to use a script but for me if I can do it a better way I will always follow that path.
Sent from my GT-I9505 using xda app-developers app
Deus_ex11 -
the apps will be installed in fat32 or ext4?
Yes you are required to make a second partition on your Microsd card with the EXT4 file system. It will be faster for your apps. Remember to backup the card before you partition it.
Sent from my GT-I9505 using xda app-developers app
Hi guys wanna to know if i install this after clean rom install are all apps installed after that will go to sdcard ???
Yes, apps and app data will be installed straight to your external memory
Sent from my GT-I9505 using xda app-developers app
Deus_ex11 said:
Yes, apps and app data will be installed straight to your external memory
Sent from my GT-I9505 using xda app-developers app
Click to expand...
Click to collapse
Great its really good work man
Just a heads up. DO NOT use ADAM kernel to install this script until advised. It hangs on reboot. You can use Adam kernel after you have installed the script successfully. Also Faux kernel doesn't have init.d support.
Sent from my GT-I9505 using xda app-developers app
Deus_ex11 said:
Just a heads up. DO NOT use ADAM kernel to install this script until advised. It hangs on reboot. You can use Adam kernel after you have installed the script successfully. Also Faux kernel doesn't have init.d support.
Sent from my GT-I9505 using xda app-developers app
Click to expand...
Click to collapse
Well i'm using Omega v5.0 MEA ROM with init support dosnt need a kernel to support it its this ok ?
I have not tried that Rom. It's a Samsung based Rom. If it has init.d support without a custom kernel then it shouldn't be a problem but you will need to remove the # from the sysinit file on this line '/system/bin/logwrapper busybox run-parts /system/etc/init.d'
Sent from my GT-I9505 using xda app-developers app
Deus_ex11 said:
I have not tried that Rom. It's a Samsung based Rom. If it has init.d support without a custom kernel then it shouldn't be a problem but you will need to remove the # from the sysinit file.
Sent from my GT-I9505 using xda app-developers app
Click to expand...
Click to collapse
ok i'm new to android world only have i9505 for a week now can u tell me where i can find this file thanks
It's in the A2SD zip. Before you run the A2SD script. You can test if you have init.d support first by adding the attached test script to /etc/init.d and rebooting.
If you have a 'init.d.log' file in /sdcard then your init.d is working.
Forgot to add, extract the 99testinit.zip to /etc/init.d
Sent from my GT-I9505 using xda app-developers app
Deus_ex11 said:
It's in the A2SD zip. Before you run the A2SD script. You can test if you have init.d support first by adding the attached test script to /etc/init.d and rebooting.
If you have a 'init.d.log' file in /sdcard then your init.d is working.
Sent from my GT-I9505 using xda app-developers app
Click to expand...
Click to collapse
Ok but i i use kernel with init support i dont have to do that right
No
Sent from my GT-I9505 using xda app-developers app
Deus_ex11 said:
No
Sent from my GT-I9505 using xda app-developers app
Click to expand...
Click to collapse
Ok i have a problem i installed Pre-rooted XXUBMEA and CWM 6.0.3.2-6 i put the omega zip
on sd card but when i go to install zip from sd card now the recovery can see my sd card
and i have to make hard reboot

1st time flashing with atrix 2

I just got an atrix 2 running jb (stock leak 3). I want to dual boot it with cm11 but have some questions that I would like to have answered before I mess up with my phone.
I have installed bmm from play store.
In recovery I took a backup of cid but I dont know where its saved so first I'd like to copy it to SD card and by what name it's saved.
Second thing I want to know is that can I install ROM on first partition ? Because I read that I should keep 1st n 2nd partition for system.
And while partitioning sys4 I saw that minimum space for cache is 300 mb but I want it 50mb. How to reduce it?
the amount of data I give for 4th system will be reduced from 8gb of ROM? Because I currently have 5.x GB and 4 will be less for me so can't we install ROM on 1st or share data partition between 2.
And is there something else I need to take care of before I start?
Thanks in advance.
PS I've googled before posting these and have been familiar with an android before.
Sent from my ME865 using xda app-developers app
siddharth1102 said:
I just got an atrix 2 running jb (stock leak 3). I want to dual boot it with cm11 but have some questions that I would like to have answered before I mess up with my phone.
I have installed bmm from play store.
In recovery I took a backup of cid but I dont know where its saved so first I'd like to copy it to SD card and by what name it's saved.
Second thing I want to know is that can I install ROM on first partition ? Because I read that I should keep 1st n 2nd partition for system.
And while partitioning sys4 I saw that minimum space for cache is 300 mb but I want it 50mb. How to reduce it?
the amount of data I give for 4th system will be reduced from 8gb of ROM? Because I currently have 5.x GB and 4 will be less for me so can't we install ROM on 1st or share data partition between 2.
And is there something else I need to take care of before I start?
Thanks in advance.
PS I've googled before posting these and have been familiar with an android before.
Sent from my ME865 using xda app-developers app
Click to expand...
Click to collapse
1. Cid backup can found here /sdcard/clockworkmod/firmwar...keep this copy in your computer just in case u format sdcard.
2. U can install ROM in system1..but just make sure after installing ROM and gapps...in bmm menu select system keeper and install bmm.
3. To my knowledge I guess 300mb is least apace for cache.
Sent from my MB865 using XDA Premium 4 mobile app
mithun23 said:
1. Cid backup can found here /sdcard/clockworkmod/firmwar...keep this copy in your computer just in case u format sdcard.
2. U can install ROM in system1..but just make sure after installing ROM and gapps...in bmm menu select system keeper and install bmm.
3. To my knowledge I guess 300mb is least apace for cache.
Sent from my MB865 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
By system keeper do you mean selecting it as default boot partition? And I guess we can also do it afterwards by going into bmm again if not having bmm will still give us that android logo on boot.
Will cache also be used for data partition?
Thanks for fast reply
Sent from my ME865 using xda app-developers app
siddharth1102 said:
By system keeper do you mean selecting it as default boot partition? And I guess we can also do it afterwards by going into bmm again if not having bmm will still give us that android logo on boot.
Will cache also be used for data partition?
Thanks for fast reply
Sent from my ME865 using xda app-developers app
Click to expand...
Click to collapse
No...to install custom ROM (cm11) in system1...first u have to formats system data cache of sysytem1 in bmm..then u will install ROM gaps...so bmm will be deleted, then bmm tries to install itself by force ..but to be in safer side just install bmm in system keeper.
Sent from my MB865 using XDA Premium 4 mobile app

[SDCARD] get rid of low /data size

Ok here we go... you want to get rid of Storage problems WITHOUT ANY RISK ? so here is our solution for you
You find the boot.img you will need in second post!
worked out by @Flashing_Expert and me.... thanks him much!
Ok here we go... first you need to grab a Micro-SDCARD... best would be 32GB or larger ... but it depends on you!
THIS ONLY WORKS WITH COMATIBLE ROMS!!!
If your ROM is missing you may request me to do your boot.img (i cant promise i will do)
The faster your Micro-SDcard is, the better will your overall system speed!!!
ok first of all we need 2! Partitions on your SDCard. The first Partition will be your normal Micro-SD storage... the second one will be used as your /data partition (that sounds like link2sd but it isnt!!! )
Follow this Tutorial by @Flashing_Expert
THIS TUTORIAL IS FOR 2GB /DATA PARTITION BUT I RECOMMEND 6 OR EVEN MORE (i have 12GB )
Before anything backup all your data from microsd on your PC!!
You will need some microsd reader into usb
on windows you'll need minitool partition wizard for partitioning
http://www.partitionwizard.com/free-partition-manager.html
- Now just open Minitool
- Minitool will show you all your harddrives and usb drives including microsd
so be really carefull with what harddrive you working on (you can check it by capacity)
- first you need to delete actual partition on microsd
click with right button on your microsd, select delete and then on Apply button (this step erase partition and all data!! no way back after this)
- let say you have 32Gb microsd and you want create 2Gb partition for link2sd
- click again with right button on microsd (should be now marked as unallocated)
- and select "Create" window will popup
- 32Gb microsd have unformatted 30435Mb capacity (it can vary depending on the manufacturer)
- with simple math you'll get that you can create 28387Mb (30435MB - 2048Mb = 28387Mb) Partition for your data that will be visible as usual
- in "Create as" select Primary
- File system = FAT32
- Cluster size you can leave on default or select manually 32Kb cluster size
- Unallocated space before = 0
- Partition size = 28387Mb
- Unallocated space after = 2048Mb < this will be free space for next partition
- Partition Align to = MB
- Click on OK and click on apply
- congrats your data partition should be now created
- now click with right mouse button on 2Gb unallocated space on your microsd and again select "Create"
- Create as = Primary
- Filesystem = EXT4
- Cluster size = default
- just check partition size it should be 2048Mb
- ok everthing is set up so click on OK button and then again Apply
- your work on PC is done Partitions created so you can put it into phone
- if you want to use f2fs on your 2nd partition, it's now simplier than before, once your partition is created, just flash latest TWRP recovery and here you can change filesystem to f2fs...
in Link2sd on first run just select partition filesystem (in this case EXT4, or f2fs depends on your choice) and then create mount script for this partition after reboot Link2sd should not ask again and that is good sign that everything is ok and you can move/install apps directly on your new partition
tips
- you can use more or less space for your partition (I was used 2Gb as example)
- on windows with minitool you can't create any F2FS partition, so at least for now only way is use eg. ubuntu + gparted with installed f2fs-tools but that is for advanced users (there are more ways, you can run ubuntu via VM, or you can use Ultimate Boot Cd or directly Gparted Live usb/cd...)
- after clean flash is better to format 2Gb partition otherwise there will be old data from old ROM
Click to expand...
Click to collapse
ok now you got your SDCARD partitioned... The rest is very easy!
1. revert your fotarecovery to stock (if you use my app simply klick on revert to stock )
2. on PC : override the boot.img in your ROM.zip with the boot.img i manipulated for YOUR SPECIFIC ROM
3. get the manipulated zip to your phone
4. flash the manipulated boot.img for your rom and boot into recovery (should be TWRP)
5. do a clean install is important when you doing this first time! format /data to f2fs if your rom is compatible.
6. flash the manipulated rom + gapps
7. reboot
thats all first booting time can be higher then normally depending on your SDCARD !
Sent from my Xperia T using XDA Free mobile app
Here you can find the boot.img you will need
Stryflex rom:
State: untested
V3.7 : https://www.dropbox.com/s/xeumwgpvj56a8qn/stry3-7.img?dl=0
V4.0 : (comming as soon as Stryder releases it)
Hey, great job on working this out but i have a question. When we get marshmallow will we still need this or not because marshmallow can use the external memory card as internal. There is an option for this.
adil089 said:
Hey, great job on working this out but i have a question. When we get marshmallow will we still need this or not because marshmallow can use the external memory card as internal. There is an option for this.
Click to expand...
Click to collapse
we will see atm marshmallow release is delayed
Sent from my Xperia T using XDA Free mobile app
Amazing work @SdtBarbarossa bro! Thank you for this..
STRYDER~007 said:
Amazing work @SdtBarbarossa bro! Thank you for this..
Click to expand...
Click to collapse
hope it works on your rom ^^ may you test?
Sent from my Xperia T using XDA Free mobile app
Fantastic work @SdtBarbarossa this will solve many problem ,and from now we won't see those threads with the title Dead phone please help
Thanks!! but we have to flash the new boot img with flashtool or we have to put it in the zip of the
BTW, wishing to test it with stryflex rom
Hi,
This is compatible with CM12.1 Nightly?
Thanks
Stronger1101 said:
Hi,
This is compatible with CM12.1 Nightly?
Thanks
Click to expand...
Click to collapse
read it..... no
Sent from my Xperia T using XDA Free mobile app
Oscarm99 said:
Thanks!! but we have to flash the new boot img with flashtool or we have to put it in the zip of the
BTW, wishing to test it with stryflex rom
Click to expand...
Click to collapse
both.... read carefully
Sent from my Xperia T using XDA Free mobile app
Hey I am Xperia SP user can I use this on my SP on stryflex.V3.6/7..?
yash8796 said:
Hey I am Xperia SP user can I use this on my SP on stryflex.V3.6/7..?
Click to expand...
Click to collapse
NO! its a Xperia L Kernel! but its possible to port the same to sp
Sent from my Xperia T using XDA Free mobile app
SdtBarbarossa said:
NO! its a Xperia L Kernel! but its possible to port the same to sp
Sent from my Xperia T using XDA Free mobile app
Click to expand...
Click to collapse
So can you please port it for sp..??
yash8796 said:
So can you please port it for sp..??
Click to expand...
Click to collapse
will have a look if i have some free time
Sent from my Xperia T using XDA Free mobile app
SdtBarbarossa said:
will have a look if i have some free time
Sent from my Xperia T using XDA Free mobile app
Click to expand...
Click to collapse
Ok fine bro.. Whenever u have free time then please port it for sp too..
And thnx for the quick replay...
adil089 said:
Hey, great job on working this out but i have a question. When we get marshmallow will we still need this or not because marshmallow can use the external memory card as internal. There is an option for this.
Click to expand...
Click to collapse
We would still need it... See this: http://liliputing.com/2015/10/android-6-0-can-treat-sd-cards-as-internal-storage-at-a-cost.html
Sent from my Taoshan using XDA
all OK but reading your guide I see that we have to reinstall the ROM in clean way to use the method...wasnt easyer to simply partition the SD card and than use link2sd without have to reinstall the whole ROM?
sorry for noob question...
Inviato dal mio Xperia SP utilizzando Tapatalk
Tuxedo75 said:
all OK but reading your guide I see that we have to reinstall the ROM in clean way to use the method...wasnt easyer to simply partition the SD card and than use link2sd without have to reinstall the whole ROM?
sorry for noob question...
Inviato dal mio Xperia SP utilizzando Tapatalk
Click to expand...
Click to collapse
yes thats easyer but less usefull then this method because apps goes directly to external
Sent from my Xperia T using XDA Free mobile app
well....since my wifes Xperia L was already full the only space to be fill was the external...
Inviato dal mio Xperia SP utilizzando Tapatalk

Categories

Resources