Hi guys! Since I'm always seeing a post about Amarullz and other A2SD scripts having problems like random force closes, bootloops, slow read/write and not working on Stock and CM9/10 Roms. I'm going to share with you an awesome alternative to those A2SD scripts like Link2SD, Amarullz, S2E, and DarkTremor's A2SD. I'm just sharing this so if you don't wanna use it leave it. I'm just giving you guys alternatives. Try to read the Notes first before posting violent reactions.
Original Thread by croniccorey
All Credits goes to him.
Notes
*Please try to read the whole thread to avoid problems especially the Prerequisites.
*Please do a nandroid backup first if you're not coming from a fresh install of ROM so that we can avoid problems.
*I am advicing you to flash this after a fresh install of ROM.
*Please check your ROM's zip if it has a2sd scripts and remove it before flashing the ROM.
*If you have any other installation methods kindly post it here.
*The INT2EXT+ is the most advicable out of those scripts as it is the one used by the creator.
*Moving /data/data to /sd-ext might slow down the performance of the phone.
*If you choose a d2ext/int2ext script then remove the "06mountdl" or "06BindCache" in init.d folder if they exist as the script will do this from now on.
(Taken from the thread)
About:
CronMod INT2EXT was wrote for use in my rom with the goal to achive a stable and fast way of moving the data partition of your phone to the sd-ext partition, they are available for all users and developers to use in any rooted rom with init.d support.
CronMod INT2EXT scripts are the first universal INT2EXT method released
Developer Stuff Next Post
Features:
(All scripts are tested on Android 2.3.7 - 4.2.2)
INT2EXT
-Mounts /sd-ext to /data
-Works with EXT 2/3/4 filesystems
-ZipAligns /data/app on every boot
-No symlinks
INT2EXT+
-Mounts /sd-ext to /data
-Leaves /data/data on internal for speed
-Works with EXT 2/3/4 filesystems
-ZipAligns /data/app on every boot
-No symlinks
INT2EXT4
-Mounts /sd-ext to /data
-Works with EXT 4 filesystem
-ZipAligns /data/app on every boot
-No symlinks
INT2EXT4+
-Mounts /sd-ext to /data
-Leaves /data/data on internal for speed
-Works with EXT 4 filesystem
-ZipAligns /data/app on every boot
-No symlinks
INT2EXTV2+
-Mounts /sd-ext to /data
-Leaves /data/data on internal for speed
-Works with EXT 2/3/4 filesystems
-ZipAligns /data/app on every boot
-No symlinks
-Supports SWAP2INT
-Completely universal (Testing is needed)
Prerequisites:
-Rooted Rom with init.d support
-SD-EXT partition
-100mb internal is needed for every 500mb sd-ext
SD Card Partitioning:
Partition 1 - Fat32
Partition 2 - Ext 2/3/4
Install:
(Instructions based on ClockWorkMod recovery)
-Download Chosen Script Below
-Place on root of your sdcard
-Reboot Recovery
-Select "install zip from sdcard"
-Select "choose zip from sdcard"
-Select "CronMod-****_signed"
-Select "mounts and storage" category
-Select "format /sd-ext"
-Reboot
(if you already use a A2SD/D2EXT/INT2EXT/M2SD script then you will need to remove it completely)
Downloads
Kindly go to the Original Thread for the download links.
Thanks for sharing my scripts man, i like the way you did the download links
Hi, I'm using INT2EXT4+. Works great and speed is awesome, but there's only on problem: if I wipe dalvik cache the device doesn't boot.
Looking at the logcat I noticed that it doesn't find davik anymore, there's a bunch of NOT FOUND errors. Is this normal? If not, is it possible to fix it?
Thanks in advance!
Sent from my Ace on Apocalypse Rom
Jar3112 said:
Hi, I'm using INT2EXT4+. Works great and speed is awesome, but there's only on problem: if I wipe dalvik cache the device doesn't boot.
Looking at the logcat I noticed that it doesn't find davik anymore, there's a bunch of NOT FOUND errors. Is this normal? If not, is it possible to fix it?
Thanks in advance!
Sent from my Ace on Apocalypse Rom
Click to expand...
Click to collapse
Dunno about it bro. Ask it in the original thread. Maybe croniccorey will help you
Will try!
Sent from my Ace on Apocalypse Rom
For anyone who had the dalvik cache problem here it is the solution, directly from the OP.
http://d-h.st/LX4
Flash it to wipe the dalvik cache!
Sent from my Ace on Apocalypse Rom
Jar3112 said:
For anyone who had the dalvik cache problem here it is the solution, directly from the OP.
http://d-h.st/LX4
Flash it to wipe the dalvik cache!
Sent from my Ace on Apocalypse Rom
Click to expand...
Click to collapse
Thanks bro!
Nice ..... this is what I need, thanks bro :good:
Hi to all!
Sorry for my bad english...
Do these scripts work on a stock Rom, like GINGERBREAD 2.3.6 with version of kernel: 2.6.35.7 [email protected] #1?
Or should i flash the phone to another Rom?
I have been using INT2EXT+ for about a week and I am pretty happy with the results, only thing I have noticed is that whenever any app is installed or any read/write operation is performed the phone freezes momentarily and system force closes, I just hit wait, let it do its thing and it comes up good after a few minutes, I guess it's the lag of writing to the SD instead of internal memory, but is this normal? does it happen to you guys using the script?
morrisx said:
Hi to all!
Sorry for my bad english...
Do these scripts work on a stock Rom, like GINGERBREAD 2.3.6 with version of kernel: 2.6.35.7 [email protected] #1?
Or should i flash the phone to another Rom?
Click to expand...
Click to collapse
Yes it will work in stock ROMs but you need to have a kernel that supports init.d. You don't need to flash another ROM, you just need to flash a kernel for stock like Battery Extender or CF-root.
Kasnar said:
I have been using INT2EXT+ for about a week and I am pretty happy with the results, only thing I have noticed is that whenever any app is installed or any read/write operation is performed the phone freezes momentarily and system force closes, I just hit wait, let it do its thing and it comes up good after a few minutes, I guess it's the lag of writing to the SD instead of internal memory, but is this normal? does it happen to you guys using the script?
Click to expand...
Click to collapse
Maybe it's because of a lower class SD-card. Never faced that problem
What is the easiest way to check if the script is running OK on my device? I think the script isn't running cause after restore on TB I am going from 120 MB to 45 allready after clean install.
---------- Post added at 09:16 AM ---------- Previous post was at 09:08 AM ----------
I checked the init.d folder and it is empty, I am using the stocklite 7.1 rom from this thread.
forum.xda-developers.com/showthread.php?t=1703094
EDIT I am trying the Int2Ext+ script
---------- Post added at 10:10 AM ---------- Previous post was at 09:16 AM ----------
You should mount system and data before flashing the zip file. Thanks through this post.
http://forum.xda-developers.com/showpost.php?p=30277069&postcount=207
Oops, wrong thread, sorry
will this work on my S5830i?
need a reply. ASAP. thanks!
ijustzeke said:
will this work on my S5830i?
need a reply. ASAP. thanks!
Click to expand...
Click to collapse
As long as the rom has unit.d support it should work
Sent from my Ace on Apocalypse Rom
Does it works on ROM based JB?
Im on paranoid ROM n need some suggestion..
Thanks for sharing scripts using smooth
Thank you:thumbup:
what script will suit for my galaxy ace s5830 runing a custom rom called sgs2 v10? i've tried amarullz mod script to have lot internal memory on my phone, but no luck.... even though i have 1gig partitioning on my sd card..
I have problem with wi-fi after install INT2EXT4+. I have MIUI GB mod.
Someone knows how to fix it?
Hi,
I 'm looking for a way to completely wipe what is on my phone
I still have some traces of old unused apps folder
And also some rest of secondary rom boot on my /system partition
Do you think i can delete this secondary folder without issue ? (see attached)
Any method to have a clean phone before flash would be appreciated
To have cleen phone just format sdcard0 ,
save your ROM .zip file to external sdcard to flash it after wiping everything "data+cache ... etc + sdcard0 "
---------- Post added at 12:44 PM ---------- Previous post was at 12:40 PM ----------
I think that .secondrom folder is created when you did a dual boot ,If have just one ROM then there shouldn't be any problems after deleting that folder
Hi,
For the secondrom i foudn a way (which is what you suggested also)
22. "How do I remove everything related to DB and run single boot again?"
A. In recovery, under dual boot options - "delete 2nd Rom". OR Delete .secondrom directory in /data/media while on 1st Rom.
Click to expand...
Click to collapse
Format sdcard ...soudns instersting ...will doubleck to be sure that i have all stuff needed to flash roms/restore my data
Does this somehow impact a rom flash ?
So deletion of the secondary folder, format sdcard0, wipe factory / do all the wipes / format system and flash rom/gapps ....and i'm good to go ?
edit : Look much cleaner ...Thanks !!
I've been playing around with which filesystems I can format the android systems partitions and then install a custom ROM on.
I tried formatting them to F2FS and then installing a CM and Squids kernel found it wouldn't boot, then wiped them back and formatted
them to ext4 (which I think is the default android filesystem) and installed CM and Squid's kernel
and now on boot its asking me to enter a password to boot my android system.
partitions were the filesystems were changed are /system /data /cache.
I really don't want to be admitting this right now that I bjorked my system while tinker gnoming,
and don't know enough to put it back.
But yeah formatting ext4 /data /cache /system and then flashing everything back should have done it right?
Damn think I may have run into a bug in the Recovery where no matter what happens it still thinks /data is f2fs even when its been formatted back to ext4
Never mind unbricked it, I think this is the end of late night beer fueled tinkering for me, but I've restored the system.
Should TWRP have been able to format /data to another filesystem besides ext4 or f2fs and which filesystem was the
default on /data from the beginning?
The recovery system seemed to assume that /data was F2FS and even after trying to format it with something different
the repair tool ran was always the F2FS one and always dropped some error messages even after a format to Ext4.
This whole project started when I got the 'good idea' into my head to see if I could format all the partitions that mattered with
F2FS and flash CM 12.1 R53 with Squid's R8 with the partitions formatted F2FS.
Eh I'm done shooting myself in the foot for awhile (or the ass).
Ended with /system (ext4), /data (f2fs), /cache (ext4) and then flashed everything and the system is running great.
The whole experience was worth getting more familiar with TWRP and learning that it is built noob 'tough'.
And can perform awesome awesome surgery for you, when your done shooting your self in the ass.
By the way bro... I think the data partition on this phone comes in f2fs by default
Sent from my MotoE2(4G-LTE) using Tapatalk
I have the same issue!
Fishy.. why in the hell would you do that unless you *found* a phone
and were then trying like a noob to reformat it ?
what version of twrp is the best for f2fs?
i use the m4 but it crashes when formating f2fs partitions in f2fs, amongst other things.
This is working good.
twrp_3.1.0-1_inline_17-03-12.img
Use twrp 3.1 by strix, and if wiping gives you error check rm-rf in seetings,(you have to use some other recovery to format to f2fs , I used zcx after that flash twrp 3.1) ,hit thanks if this helped
Hey Guys!
Got my F1 Bootloader unlocked today and flashed then crDroid.
But when I reboot I get that encryption unsuccesful message. (So I cant get in the ROM)
I installed everything exactly in this order:
1. Vendor and Firmware
2. ROM
3. Kernel
4. Gapps
5. DFE (Zip for disabling encryption)
after that I rebooted
Here is a picture of the message I get when I boot:
http://t1p.de/7d7c
Problem solved.
VC-34 said:
Problem solved.
Click to expand...
Click to collapse
Can you post a solution? I'm sure other people with such problem would love to know how to fix it.
V7BHl1fBkTVNzPR9E13I said:
Can you post a solution? I'm sure other people with such problem would love to know how to fix it.
Click to expand...
Click to collapse
Yeah uhm well I had /data still as F2FS formatted. So /data & /cache need to be formatted as ext4.
Strange that LineageOS and crDroid dont support F2FS
VC-34 said:
Yeah uhm well I had /data still as F2FS formatted. So /data & /cache need to be formatted as ext4.
Strange that LineageOS and crDroid dont support F2FS
Click to expand...
Click to collapse
No custom rom support f2fs
VC-34 said:
Yeah uhm well I had /data still as F2FS formatted. So /data & /cache need to be formatted as ext4.
Strange that LineageOS and crDroid dont support F2FS
Click to expand...
Click to collapse
can you please elaborate on that?
never mind, i fixed it.
in my case i was trying to flash LineageMicroG 16 on my Device and i kept getting that error and i did the following to fix it;
wiped everything and wrote "yes" to format the date and swiped for a factory reset through recovery wipe option then i booted into recovery and flashed LineagemicroG 16 after that i flashed optimus drunk kernel and booted into system and everything seemed to work fine, the kernel is what fixed the problem.