yashsingh1/xdaforums huggingface dataset:
[Android Software Development] rocketero:
How do I know if my kernel allows to run scripts from /etc/init.d folder ???

Anyone??
[Android Software Development] swukjay:
Init.d runs from boot so they will run , just make sure you have no conflicting scripts in init.d such as other a2sd scripts or mount script directing a mount to sdext , just look at the titles they dont take much working out, titles are pretty self explanatory , I opened them up in windows notepad before i flashed the rom and the cronmod zip and just looked at the code! If you follow the developers instructions you cannot go wrong.

Also big thanks to the developer for putting in the time to create these scripts and allowing us to use them! much appreciated, can confirm these are working on zte skate using mokee os with CronMod-INT2EXT+, thankyou ;)
[Android Software Development] telenut:
And how can I solve that?

btw, I guess the problem is something else. When I open up Titanium Backup I have lot's of space left, except on the A2SD (no idea what that should be)
[Android Software Development] yozgatdeluxee:
What is better INT2EXT+ or 40a2sd_recovery ??? please help
[Android Software Development] Pseudonym:
INT2EXT+
[Android Software Development] NiiSyth:
I.m using stocklite 7.1 on my Galaxy Samsung Ace and it does support init.d...

Also there are no.files in.that folder....

But when I.flash cronmod int2ext+ it gets stuck at startup image...

Doesn.t even go to bootanimation...

Sent from my Black Ace using Something....
[Android Software Development] tw1st3d83:
Awesome script man... thank you very much,you solved all of my problems with storage... :) greets from Serbia! :)
[Android Software Development] yozgatdeluxee:
but i use int2int+ and my launcher is laggy and 40a2sdrecovery is also a bit laggy should i use int2ext+
[Android Software Development] croniccorey:
Before you flash mount /system. I messed up the install script a bit.
[Android Software Development] FlemishDroid:
Int2ext+ don't work on my samsung galaxy gio with cm7. A2sd+ works great.
[Android Software Development] NiiSyth:
Didn't work....:(

I did mount system and even data and still it's stuck on the splash screen....
[Android Software Development] croniccorey:
Ok int2ext works in stocklite its confirmed by users. How did you partition?
[Android Software Development] croniccorey:
Int2ext should work fine, another user with a gio confirmed it working I would look back in the thread and find him maybe he can help if you want.
[Android Software Development] NiiSyth:
This is how I've Partitioned....

the 7.40 gb is my sdcard....
[Android Software Development] croniccorey:
Ext must be a primary partitiin and have 4096 cluster size.

Since your in windows try partition wizard and format the ext Like I said above
[Android Software Development] Pseudonym:
Try to partition it in cwm recovery. Less hassles :D
[Android Software Development] smartboy0668:
@ nisytt Your all partition must PRIMARY...not logical....
[Android Software Development] NiiSyth:
Did partition as you suggested....

Mounted /system.....

and installed from root of the sd card....

formatted sd-ext....

and still stuck on splash image....:( :( :( :(
[Android Software Development] croniccorey:
ok can you get a logcat? if yes pm it to me
[Android Software Development] NiiSyth:
Finally Working.....

So I give up and partition my sd card from CWM.....

then load stocklite.....

mount system....

install int2ext+....

and format sd ext...

and Voila!

It booted....

and I got 1 gb of internal storage....:D :D

Thnx for the help Guyz....

Finally have more than the measely 178 mb of internal memory to install stuff upon....
[Android Software Development] croniccorey:
ok good to hear i am going to fix up how the update script works to fix issues
[Android Software Development] manga16:
Hi cronicoorey :D

hope everything is ok for u :cowboy: and very happy to see your script work amazing :fingers-crossed: really great job chief :angel:

any news about the script of rom i link to u

thanks in advance chief for your help
[Android Software Development] croniccorey:
i downloaded it i just havent had a chance to look at it yet, i will do it soon could you link me the thread for it aswell :)
[Android Software Development] asdot:
@croniccorey, int2ext+ working perfect on my wildfire s cm9 and cm10,

but, can you make int2ext+ without zipalign script?

Sent from MARVEL JellyScream
[Android Software Development] croniccorey:
what recovery do you use and what script are you trying to flash
[Android Software Development] croniccorey:
i unsure what you mean but the previouse message abut the df command only applies to the current scripts the older scripts wont have that layout..

anyway please run df from the terminal and post a screen shot of your output i will tell you if it is working also under settings>storage you should see the size of your ext under internal storage if you do it works.
[Android Software Development] pranks1989:
Great work croniccorey. :) I am yet to test it in my phone! I was using S2E and it was a big headache whenever I changed my ROM! But now I can just flash your script and all that was existing in SD-EXT should persist.. I guess so if I read your scripts correctly?! I have a Defy+ which has 1.3GB internal(for apps) and still I run out of space! :( I was searching around but didn't get a good answer: Do you think using /sd-ext as /data/app slows the phone down?! I have a Class 6 SD. And ya if I may, this part of the code:

## Create A2SD directories
if [ ! -e /sd-ext/app ]
then
busybox mkdir /sd-ext/app;
busybox mv /data/app/* /sd-ext/app;
fi;

I think you may include a condition where /sd-ext/app exists and data should be moved from /data/app to /sd-ext/app . May be something like this:

## Create A2SD directories
if [ ! -e /sd-ext/app ]
then
busybox mkdir /sd-ext/app;
busybox mv /data/app/* /sd-ext/app;
else
busybox mv /data/app/* /sd-ext/app;
fi;

Just a suggestion :)
[Android Software Development] croniccorey:
thanks, yes it will persist as long as the directories are correct, and for speed moving /data/app to your ext wont slow speed, the main thing that will slow you down is moving /data/data or /dalvik-cache but mainly /data/data, also /data/data and /data/dalvik-cache take up the most space so even tho /data/app is on ext you will still use up internal quickly.

thanks for your suggestion i will keep it in mind
[Android Software Development] pranks1989:
You are welcome :) Okay... Yes I too thought that's how logically it should be, but dunno y my phone slowed down! Probably due to 150+ apps! :P I just now did a clean install of ROM and now restoring data from a TB backup... I will test the speed. And then apply A2SD and again check it... Let me see how the results are
[Android Software Development] denzel09:
Thanks really good :cool:
[Android Software Development] ahkuiper:
Better download link Int2EXT+

Has some one a better download link??

http://d-h.st :(SUCKS
[Android Software Development] croniccorey:
What's wrong with dev-host?

From now on post stuff that is relevent to the thread thanks
[Android Software Development] jolas:
Hi croniccorey,

I tried both of INT2EXT+ and D2EXT+, with a clean install (with ROM at my sig. before flash it, I had removed any of the d2sd, a2sd, etc)

After flashing, it boots perfect, everything is smooth and perfect.

But, after I flash something else (like a softkey mod) and do a clear cache, clear dalvik, fix permissions, it does not boot again, it just bootloops. :(

It does not happens the same with A2SD++, it works all over again.

But my problem is that I really like the smoothness of INT2EXT+.

Do you have any suggestions on how to fix it and install INT2EXT+ ?

Thanks :)

EDIT: I tried a lot of times, but the results are the same. As a resume, I have to say that after have installed D2EXTxx or INT2EXTxx scripts, cleaning (at least) Dalvik, results in a bootloop... :(

.
[Android Software Development] croniccorey:
Ok well I will look at this when you use the script and wipe dalvik it shoud nit hurt because dalvik is on the ext. Any way I will make a zip that will wipe dalvik properly and add it to the thread,
[Android Software Development] avinashjirapure:
Hi Croniccorey,

I am using "CronMod- INT2EXT+" which is working abs well but now I am facing some issue with app install,

1. Install apk from SD gets a error message "X Application not installed"

2. While installing app from Market: after downloading app, starts installation, but ends with error "Package file is invalid".

some dig-down on net shown me it may be related with Memory, http://xdaforums.com/show....php?t=910956/

do you think is it so?? can we solve the same with "CronMod- INT2EXT" ???

Note:: I have tried by wiping Dalvik cache, reflashing ROM, reflashing script ...but no result :(

Forgot to mention I am using ICS ROM "Non-official CyanogenMod 9 RC-0" for my Wildfire
[Android Software Development] djsolidsnake86:
using int2ext+ i get hot boot while installing app (so can't install apps)
[Android Software Development] croniccorey:
are you using a cmtd?

what rom?

how are your partitions setup?
[Android Software Development] djsolidsnake86:
i'm using smokin miui v4 for hd2

ext partiton of 1gb
[Android Software Development] janmae:
thankyou sir for scripts..

just to report,succeeded apply D2EXT+ on Xperia Neo running Pureness 7 Rom..
[Android Software Development] akya22:
Are you going to write one for sense ROMs? I tried A2SD++ and it didn't work.. I am in the process of building ROM, would love to include your script :)
[Android Software Development] croniccorey:
yes i will be in the future i am just really busy at the moment
[Android Software Development] akya22:
Cool..thanks.. I will keep an eye on this thread :)
[Android Software Development] johnhale:
INT2EXT +

5 STARS.

no more out of memory

This is working great on my O 1

THANK YOU. I'm very happy now: )
[Android Software Development] plopingo:
You have forgot on in your list AD2SDX : http://xdaforums.com/showthread.php?t=1310309
[Android Software Development] manga16:
thank u chief for your response and this the link for the thread :

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

i sent u in your PM too :fingers-crossed: with some details ;)

once again thank u for your help chief :victory::good:
[Android Software Development] rocketero:
@croniccorey

I have a 64GB SDXC microsd card in my tablet.

I have partitioned with Gparted in Ubuntu 12.04.1 the following way: 50GB for primary fat32 partition (for internal storage as I have swapped the internal storage for the external storage mount points in /system/vold.fstab file). And the rest of the SDXC card formatted as ext4 (around 9.5GB).

Now my tablet /data partition is originally mounted at /dev/block/mmcblk0p13 but in your INT2EXT4 script you have this:

## Mount mmcblk0p2 to /data
busybox mount -t ext4 -o nosuid,nodev,noatime,nodiratime,barrier=0,nobh,data=writeback,noauto_da_alloc /dev/block/mmcblk0p2 /data;

I don't know if I should make changes to that script to reflect that the init.rc file does not use anywhere /dev/block/mmcblk0p2 to mount any partition. better yet, I'll post the mount points in my init.rc, they are as follows:

rootfs / rootfs rw,relatime 0 0
tmpfs /dev tmpfs rw,nosuid,relatime,mode=755 0 0
devpts /dev/pts devpts rw,relatime,mode=600 0 0
proc /proc proc rw,relatime 0 0
sysfs /sys sysfs rw,relatime 0 0
none /acct cgroup rw,relatime,cpuacct 0 0
tmpfs /mnt/asec tmpfs rw,relatime,mode=755,gid=1000 0 0
tmpfs /mnt/obb tmpfs rw,relatime,mode=755,gid=1000 0 0
none /dev/cpuctl cgroup rw,relatime,cpu 0 0
/dev/block/mmcblk0p12 /system ext4 rw,relatime,user_xattr,acl,barrier=1,data=ordered 0 0
/dev/block/mmcblk0p13 /data ext4 rw,nosuid,nodev,relatime,user_xattr,acl,barrier=1,data=ordered,noauto_da_alloc 0 0
/dev/block/mmcblk0p14 /persist ext4 rw,nosuid,nodev,relatime,user_xattr,acl,barrier=1,data=ordered 0 0
/dev/block/mmcblk0p15 /cache ext4 rw,nosuid,nodev,relatime,user_xattr,acl,barrier=1,data=ordered 0 0
/dev/block/mmcblk0p16 /tombstones ext4 rw,nosuid,nodev,relatime,user_xattr,acl,barrier=1,data=ordered 0 0
/dev/block/mmcblk0p1 /firmware vfat ro,relatime,fmask=0000,dmask=0000,allow_utime=0022,codepage=cp437,iocharset=iso8859-1,shortname=lower,errors=remount-ro 0 0
/dev/block/vold/179:33 /mnt/sdcard vfat rw,dirsync,nosuid,nodev,noexec,relatime,uid=1000,gid=1015,fmask=0002,dmask=0002,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
/dev/block/vold/179:33 /mnt/secure/asec vfat rw,dirsync,nosuid,nodev,noexec,relatime,uid=1000,gid=1015,fmask=0002,dmask=0002,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
/dev/block/vold/179:23 /mnt/sdcard/sdcard2 vfat rw,dirsync,nosuid,nodev,noexec,relatime,uid=1000,gid=1015,fmask=0002,dmask=0002,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
tmpfs /mnt/sdcard/.android_secure tmpfs ro,relatime,size=0k,mode=000 0 0

So what do you advise me to change in your INT2EXT4 script ?? Please go easy as I'm new to scripts and mounting /data to /sd-ext and I have never used any of those scripts before.

Thanks very much appreciated.
[Android Software Development] mastermind1024:
@rocketero

You said u have swapped the internal storage for the external storage mount points in /system/vold.fstab file, so u r already on external storage then why u need to use int2ext script???correct me if i get it wrong.
[Android Software Development] rocketero:
some help appreciated.

Basically the need to move /data partition to ext4 SD-EXT is due to this is the bottleneck of the problem, the /data partition is only 1024MB in size, after default installation of ICS it takes a chunk of those 1024MB in some apps in /data/app and /data/data, leaving around 890MB free to install apps.

As you probably know even that we have plenty of space in /sdcard (around 50GB), not matter what you do, when you install an app and move it to /sdcard certain portion of the installation has to be kept in /data/app and /data/data in order to run. Apps like "Terminal IDE"need around 95MB kept in /data/app and /data/data in order to run so that only app takes almost 9% of the total /data partition. So after around 180 apps installed the /data partition has only roughly 100MB of free space. If you try to install another app from Google Play Store or the app-installer it will tell you that you don't have enough space (meaning in /data partition) to install that app, even that you have many GB still free in /sdcard. I don't know the reason behing this as 100MB is still a good free space, but if one try to install an app that takes let's say 20 MB, the installer will not let you install it and asks to clean up and make some room for it.

We have been discussing this issue in our private forum for the tablet we own, and so far there has not been any proposals or solutions to this issue. So I started researching and found out about this scripts, an another thread where they mount /data in /sd-ext even before the Android system boots, but that method is a bit complicated using the DsiXDA''s Kitchen to edit init.rc and initd.gz in order to accomplish this. So the owner of that thread told me that he couldn't help me forward after trying to create a new boot.img to incorporate those changes.

So that's the story my friend, I think with a modification to one of these INT2EXT scripts I may be able to accomplish moving /data partition to an already formatted /SD-EXT second partition of 9.5GB in my 64GB sdcard.

I have swapped the mount points so the internal storage is 50GB and the real NAND storage is now my external storage of 5.4GB. And with the second ext4 partition on sdcard (sd-ext) of 9.5GB I could just mount /data partition to it and have a solution to this bottleneck, but the scripts so far don't agree with the partitions made to this tablet.

because the tablet doesn't have its own forum here in XDA I've been forced to look around for something that could be similar, so if you or anyone wants to give us a hand with this it would be greatly appreciated. :good:

Best regards.

rocketero.
[Android Software Development] mastermind1024:
@rocketero

get me output of this commands via ADB...

1) cat /proc/mtd

(i have a feeling that it will not show anything, so use root explorer n go to /proc/ n see if there is a file named mtd or mmc, try to open with root explorer's built-in text viewer)

2) cat /proc/partitions
[Android Software Development] grafenberg:
Don't know if it's related but I couldn't download or update anything from play store using apocalypse ROM & int2ext4+ on galaxy ace... :(
[Android Software Development] jangs_momoi:
Hello, noob question if I may. I have followed all steps as instructed. Made a fresh install with Speriance Rom. Rebooted to recovery, installed cronmod int2ex+, then partitioned sd ext. first boot successful. was able to view internal with sd ext size. Got so excited because everything was running smoothly. Restored all my apps with Titanium and still running as a charm. However, when I turned my phone off for charging, when it was full and booted up my phone, it got stuck on galaxy ace logo. Tried waiting for 10-minutes, still stuck on samsung logo and the battery was heating up. Please tell me what I did wrong or if there was anything I missed out on doing. Thank you.
[Android Software Development] croniccorey:
try wiping the cache in recovery if that dont work send me a pm with a logcat if possible
[Android Software Development] croniccorey:
send me a pm with your edited files and the code from your reply
[Android Software Development] croniccorey:
please pm me with the output of "adb shell df" or "df" from terminal emulator
[Android Software Development] jangs_momoi:
Tried wiping several times.still wont reboot.what specific line will i search in logcat?never done it before.using catlog app from playstore.pls reply.really want to use this script.
[Android Software Development] croniccorey:
Were looking to see what's failing at boot whether its not mounting or its falling to do something else.

And the "df" command will list the partitions and used/free space
[Android Software Development] pepcisko:
shouldn't it be the df command? dd is used for low level data copying..
[Android Software Development] n311.dunkle:
Does anybody have any insight as to why this happens when I try to wipe my dalvik cache? It says its wiped but when I check my dalvik folder it is full of crap. It also takes a long time for this process in my recovery.

Could this be why my phone is so laggy and will one of these fixes help?
[Android Software Development] manga16:
Hi cronicoorey :cowboy:

did u saw the script in the rom :confused: what 's your opinion

thanks in advance :D
[Android Software Development] swukjay:
Ok I have found a bug ! lol yea I know lol , Ready? .....Ok here goes, I thought at first it was me device zte skate running mokee os 1.10 at modaco, bug as follows upon reboot ending up with 4 of every contact , no Google account on this device, i always use my phone without a Google account (big brother CIA NSA) I deleted all the extra entries reboot same thing again !!! ANY IDEAS? Storage is working fine and great, got to be something with the way the files are being stored< using CronMod-INT2EXT+_signed I await your replys .....peace out
[Android Software Development] croniccorey:
Yea I made a typo
[Android Software Development] croniccorey:
It may be something in that rom that Is different, I will flash mokee os and test it
[Android Software Development] croniccorey:
Wipe dalvik manually

1- boot rom

2- open a adb shell

3- run "rm -rf /sd-ext/dalvik-cache/*"

4- reboot

Ill try to fix the dalvik wipe for those phones
[Android Software Development] swukjay:
Ok no worries I think the Mokee im using for the skate is a standard ported Rom so shouldnt be much different ITS KERNEL 2.6.35.7 BASEBAND B01, Its a strange bug but better 4 duplicates of each contact than no contacts at all is what I say lol ;)

---------- Post added at 11:17 PM ---------- Previous post was at 11:03 PM ----------

Actually its 3 of every contact not 4 ! just checked
[Android Software Development] croniccorey:
ill try to figure it out its probaly just something stupid like a file that needs to remain internal
[Android Software Development] n311.dunkle:
I've never done adb before. Is there a way with terminal emulator?

And how do I know which one of your scripts is best to use? I'm not even sure what my partitions currently are. How can I tell? I'm running Cyanogen 10 nightly20120911 at the moment if that helps.
[Android Software Development] croniccorey:
Ya you can run that command through terminal emulator

And to see your partitions use the "df" command
[Android Software Development] rocketero:
I just want to point out that I got the issue resolved, the one concerning with the slide lock not showing after boot, and the home screen button that was not working. I used the method of Mounting Data Partition on a second EXT4 partition of SD card. but the way Ph03n!x member did, BEFORE Android Boots. The methods explained here are also a merit, but for me that was the final solution. Thanks to all who contributed with ideas and support. My best Regards!
[Android Software Development] jangs_momoi:
Thanks for the advise.however, i tried with stocklite 7.1 and it worked like a charm.even tried rebooting several times to make sure everything was sticking like it should..and it did.:):):)

edit: pushed 40int2ext+ script into init.d folder of speriance rom before flashing. worked after that!!! restored all apps via lidroid toolbox and titanium for the settings... working good so far!!! thanks for the awesome script!!!
[Android Software Development] solomon4400:
Hey i tried to use INT2EXT ON custom gb rom on my xperia play and just like amarullz script it breaks mobile data/service.:(
[Android Software Development] croniccorey:
Ok I'm working on this stuff it will be fixed soon if you want, send me a pm so I remember
[Android Software Development] lo2ay:
I'm using INT2EXT4+ right now, it's working perfectly with no problems :)

There's only one thing that bothers me, I can't move any apps on the internal memory.

It's just that ALL my apps are in the EXT partition and I would like to move the important ones (like titanium, launcherpro....etc ) to the internal memory.

If I use D2EXT+ instead will I be able to move those apps to the internal memory ?

Thanks :)
[Android Software Development] croniccorey:
No its not a feature of the scipts, with int2ext you can mount the SD in your comp and still use your apps as the ext remains mounted so it wont effect anything
[Android Software Development] lo2ay:
Thanks for the info. :)

One more question: if I want to remove the INT2EXT4+ script and use D2EXT+ instead, should i just delete it from /system/etc/init.d/, reboot to recovery and flash D2EXT+ ? Or is there any special steps I should make?
[Android Software Development] solomon4400:
Thanks dogg hope you do fix it as i really hate link2sd and your script seems to do the trick. No one else with this bug? I mean mobile data breaks after running script?
[Android Software Development] croniccorey:
For the most part this bug was fixed it seems that some xperias don't play well with the script yet, I am working on it tho. To hold you over a2sd will work but you will need the ones from the developer link because they have bin updated
[Android Software Development] solomon4400:
Thanks but its cool i will wait patiently for fix
[Android Software Development] fysalkhan:
this is not working on cm9.1 installed on htc pico...

error is installation(a) aborted... i dont remembr
[Android Software Development] croniccorey:
Thanks for the info I need to fix the install zip for some phones but if you push it manually it will work
[Android Software Development] ajo4788@gmail.com:
Hey i was wondering i have the intext script and im not allowed the option to put app data on my partition only the apps in TB it wont allow me to do that i could have sworn u mentioned that its the same as the dt version i could be wrong lol thank you for your awesome script great job!! Kernal uw 0.8 evolver rom rls one

HTC Evo 4G w/Decks Reloaded