Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

DISCONTINUED [MOD][AD2SDX][ALPHA02] SD-EXT Mod[OCT-20]

OP amarullz

19th October 2011, 04:49 PM   |  #1  
amarullz's Avatar
OP Recognized Developer
Flag Bandung
Thanks Meter: 6,311
 
1,033 posts
Join Date:Joined: Jan 2007
Donate to Me
More
Quote:


BACKGROUND

After many time I stressful with Low Disk Space when Installing many Applications, or Slow Performance when Installing Data2sd or dalvik-cache to SD. I came up with some simple Idea to make my phone have big Internal Memory Storage, yet still robust in performance.


Introducing....
AD2SDX - AMARULLZ DATA TO SD-EXT

by amarullz [at] yahoo [dot] com
* Oct 20 2011 (ALPHA02) - Update Compatibility
* Oct 19 2011 (ALPHA01)



WHAT IS IT??
This mod will move all Internal Memory (data) into sd-ext, "but not like data2ext", this mod will maintain the performance, because it still place dalvik-cache and system application data in Internal Memory.


HOW IT WORK??
The script will do this in the first boot:
  • Move Mounting Internal Memory (/data) Into /sd-ext
  • Mount SDCard-Ext (mmcblk0p2) partition into /data
  • Create dalvik-cache directory in Internal Memory data (/sd-ext), and symlink it to mmcblk0p2 (/data)
  • Create data directory in mmcblk0p2 (/data) And symlink it into Internal Memory data (/sd-ext)
  • Create symlink of app, app-private, app_s and lib_s from mmcblk0p2 (/data) to Internal memory data (/sd-ext)
  • Create symlink for all non-symllink of Internal Memory data (/sd-ext) into mmcblk0p2 (/data)

After Initializing Setup (First Boot), reboot the system (Just reboot, don't go into recovery), the mod will automatically do this following:
  • Create data_s in Internal Memory data (/sd-ext)
  • Move All mmcblk0p2(/data)/data/com.htc* and com.android* into Internal Memory data(/sd-ext)/data_s
  • Create symlink all files/directory from Internal Memory data (/sd-ext)/data_s/* into mmcblk0p2(/data)/data/ So the System Application Data still read into Internal memory, but rest Application Data will read Into SDCard.

ILLUSTRATION


INSTALLATION
For now, use adb shell and Install it manually, I am android newbie , still unfamiliar with recovery zip installer.
  • Delete Any A2SD Script in /system/etc/init.d ( common name was 40a2sd )
  • Copy 40ad2sdx into /system/etc/init.d Don't forget to chmod 755/777 it
  • Reboot ( 2x optional )

INSTALLATION WITH ADB IN RECOVERY MODE
Code:
C:\>adb shell
# mount /system
# exit

C:\>adb push 40ad2sdx /system/etc/init.d/

C:\>adb shell
# cd /system/etc/init.d
# rm 40a2sd
# chmod 755 40ad2sdx
# cd /
# umount /system
# exit

C:\>
NOTE: the "rm 40a2sd" should be the name of app2sd init.d file.

NOTE
If you install it after clean flash you need to reboot your phone at the 1st boot to activate System App Data on Internal Memory.


CAUTION!!!
YOU SHOULD UNZIP AND MANUALY COPY THE FILE INTO /system/etc/init.d/ - THE ZIP FILE WASN'T AUTO INSTALLER THAT CAN BE RUN IN RECOVERY!!!!



WARNING!!!
THIS MOD ONLY IN TEST STAGE, ONLY ADVANCE USER I SUGGEST TO TRY THIS SCRIPT.
I DON'T TAKE ANY RESPONSIBILITY IF YOU BROKE/BOOTLOOPS YOUR SYSTEM/ROM/PHONE.


TESTED-DEVICE / ROM
  • HTC Desire (Bravo)
    - Cool3D RunnyMede Sense 3.5 v2, v3
    - Cool3D AceS Sense 3.0 v3, v4

If You Already Test it and works,.. Please send me a feedback in your comment...

LOGS
Code:
VERSION 1.0 ALPHA02
===================
* Add framework_s into strict mmcblk0p2
* Add Create symlink for rest non-symlink files from mmcblk0p2 to mtdblock5 ( Hope will fix bootloop )
* Change loop method from `ls -d *` to `ls -a` ( may fix error on .systemapp and all file with dot name at first char )

VERSION 1.0 ALPHA01
===================
* Initial Release
* Support for clean flash or already running system
* com.android* and com.htc* set as System App Category
* dalvik-cache on Internal Memory
* add umount /sd-ext in first command
SCRIPT: ALPHA01
Code:
#!/system/bin/sh
#
# AMARULLZ DATA TO SD-EXT MOD FOR ANDROID ( AD2SDX )
# ==================================================
#
#  by amarullz [at] yahoo [dot] com
#  xda-developers : amarullz
#  (c) 2011
#  * Oct 19 (ALPHA01)
#
#  Info: ~ For Changing Log
##

###
# Initializing
###

#-- SDCard Speed Fix
if [ -e /sys/devices/virtual/bdi/179:0/read_ahead_kb ]
then
  /system/xbin/echo "8192" > /sys/devices/virtual/bdi/179:0/read_ahead_kb;
fi;

#-- Unmount /sd-ext if it already mounted
busybox umount /sd-ext;

#-- Mount /data and move it to /sd-ext
busybox mount /data;
busybox mount --move /data /sd-ext;

#-- Mount sd-ext to /data ( You Will Get 1GB/2GB Internal Memory :D )
busybox mount -t ext4 -o noauto_da_alloc,data=ordered,commit=15,barrier=1,nouser_xattr,errors=continue,noatime,nodiratime,nosuid,nodev /dev/block/mmcblk0p2 /data;
busybox chown 1000:1000 /data;
busybox chmod 771 /data;

###[ SDEXT mmcblk0p2 STRICT ]###
# app, app_s, lib_s, app-private, data : should in /data (mmcblk0p2)
#
# ~ ALPHA02 - Add framework_s into (mmcblk0p2) strict 
###
for i in framework_s app app_s lib_s app-private data;
do
  #-- If Symlink in /data, delete it
  if [ -h /data/$i ]
  then
    busybox rm /data/$i;
  fi;
    
  #-- If Directory Exists in /sd-ext, move it to /data
  if [ -d /sd-ext/$i ]
  then
    busybox mv /sd-ext/$i /data/;
  fi;
  
  #-- If Directory Not Extst in /data, create it
  if [ ! -d /data/$i ]
  then
    busybox mkdir /data/$i;
    #-- Just Open All Permissions ;)
    busybox chmod 0777 /data/$i;
  fi;
  
  #-- Now Create Symlink From /sd-ext to /data
  if [ ! -h /sd-ext/$i ]
  then
    busybox ln -s /data/$i /sd-ext/$i;
  fi;
done;

###[ INTERNAL mtdblock5 STRICT ]###
# For performance, dalvik-cache should be on /sd-ext
###
for i in dalvik-cache;
do
  #-- If Symlink in /data, delete it
  if [ -h /sd-ext/$i ]
  then
    busybox rm /sd-ext/$i;
  fi;
    
  #-- If Directory Exists in /sd-ext, move it to /data
  if [ -d /data/$i ]
  then
    busybox mv /data/$i /sd-ext/;
  fi;
  
  #-- If Directory Not Extst in /data, create it
  if [ ! -d /sd-ext/$i ]
  then
    busybox mkdir /sd-ext/$i;
    #-- Just Open All Permissions ;)
    busybox chmod 0777 /sd-ext/$i;
  fi;
  
  #-- Now Create Symlink From /sd-ext to /data
  if [ ! -h /data/$i ]
  then
    busybox ln -s /sd-ext/$i /data/$i;
  fi;
done;

###
# Now create symlink of the rest non Symlink Directories and Files on /sd-ext to /data
#
# ~ ALPHA02 - Fix ls to ls -a, it's ok, because we test -h for symlink
###
cd /sd-ext;
for i in `ls -a`;
do
  if [ $i != ".." -a $i != "." ]
  then
    if [ ! -h /sd-ext/$i ]
    then
      if [ ! -h /data/$i ]
      then
        busybox ln -s /sd-ext/$i /data/$i;
      fi;
    fi;
  fi;
done;
cd /;

###
# It should also need to create the rest non Symlink Directories and Files on /data to /sd-ext
# ~ ALPHA02 - Some Directory may be missing if we don't use it
###
cd /data;
for i in `ls -a`;
do
  if [ $i != ".." -a $i != "." ]
  then
    if [ ! -h /data/$i ]
    then
      if [ ! -h /sd-ext/$i ]
      then
        busybox ln -s /data/$i /sd-ext/$i;
      fi;
    fi;
  fi;
done;
cd /;

###
# Now Important Thing, is to move the com.htc* and com.android* data to /sd-ext (internal) 
# For Good performance. So the system applications will run smooth.
#
# System application will read/write in Internal memory, and 3rd apps will run on sdcard
#
# Notice: Will be affected in 2nd boot :D, so Reboot the system after 1st boot...
###

#-- Prepare data_s in /sd-ext ( For system data )
if [ ! -d /sd-ext/data_s ]
then
  busybox mkdir /sd-ext/data_s;
  #-- Just Open All Permissions ;)
  busybox chmod 0777 /sd-ext/data_s;
fi;

#-- Now Move All com.htc* and com.android* to Internal Memory
cd /data/data/;
for i in `ls -d com.htc* com.android*`;
do
  #-- Only Non Symlink
  if [ ! -h /data/data/$i ]
  then
	  busybox mv /data/data/$i /sd-ext/data_s/;
	fi;
done;

#-- Create Symlink of /data/data_s/* to /data/data/ (mmcblk0p2)
cd /sd-ext/data_s/
for i in `ls -d *`;
do
  #-- Only If Symlink Not Exists
  if [ ! -h /data/data/$i ]
  then
	  busybox ln -s /sd-ext/data_s/$i /data/data/$i
	fi;
done;

#-- Of Finished.... :D

INSTALL ZIP FROM RECOVERY?
Thanks to tezgomet -- Download Attachment by tezgomet >>
Quote:
Originally Posted by tezgomez

SD-EXT Mod - AMARULLZ DATA TO SD-EXT
from recovery
tested on BlissMod007_v03_a-STOCK
install rom and without rebooting install script

!!!WARNING!!!
INSTALL IT ON YOUR OWN RISK.

KNOW BUG
  • Titanium Backup - Restore the Application Data ( com.android*/com.htc* data )
Attached Files
File Type: zip 40ad2sdx-a2.zip - [Click for QR Code] (1.5 KB, 48825 views)
Last edited by amarullz; 18th November 2013 at 05:10 AM.
The Following 208 Users Say Thank You to amarullz For This Useful Post: [ View ]
19th October 2011, 04:51 PM   |  #2  
amarullz's Avatar
OP Recognized Developer
Flag Bandung
Thanks Meter: 6,311
 
1,033 posts
Join Date:Joined: Jan 2007
Donate to Me
More
NOT WORK ON YOUR ROM?, DON'T WORRY I WILL HELP YOU

This script (AD2SDX) alghoritm should be compatible in any android phone that support init.d, busybox and rooted, but it still depended on how the ROM place the files in your phone.

To make this script compatible with more ROM+PHONE, you can send me your file system information with this sh script (also available in attachment to download):

Code:
#!/bin/sh
echo "AD2SDX - Dump Logs...";
echo "   by amarullz [at] yahoo [dot] com"
echo ""
echo "WARNING!!!"
echo "This script WILL dump an Informations About your Storages,"
echo "If you allow me to know your filesystem structures,"
echo "maybe I can help to improve AD2SDX Compatibility..."
echo ""
echo "This script WILL NOT dump any PHONE NUMBER, IMEI, DEVICE NAME"
echo "SERIAL NUMBER and ANY PERSONAL INFORMATIONS..."
echo ""
echo "But Please provide me your Device Name and ROM when you"
echo "submit it on AD2SDX Thread..."
echo ""
sleep 1
echo "Mounting data, sd-ext, and sdcard..."
mount /data
mount /sd-ext
mount /system
mount /sdcard
echo ""

echo "Dumping FileSystem..."
echo "DF" > /sdcard/ad2sdx-dump.txt
echo "==" >> /sdcard/ad2sdx-dump.txt
df >> /sdcard/ad2sdx-dump.txt
echo "" >> /sdcard/ad2sdx-dump.txt
echo "" >> /sdcard/ad2sdx-dump.txt

echo "Dumping File List on data files..."
cd /data
echo "LIST /data" >> /sdcard/ad2sdx-dump.txt
echo "==========" >> /sdcard/ad2sdx-dump.txt
ls -la >> /sdcard/ad2sdx-dump.txt
echo "" >> /sdcard/ad2sdx-dump.txt
echo "" >> /sdcard/ad2sdx-dump.txt

echo "Dumping File List on /sd-ext files..."
cd /sd-ext
echo "LIST /sd-ext" >> /sdcard/ad2sdx-dump.txt
echo "============" >> /sdcard/ad2sdx-dump.txt
ls -la >> /sdcard/ad2sdx-dump.txt
echo "" >> /sdcard/ad2sdx-dump.txt
echo "" >> /sdcard/ad2sdx-dump.txt

echo "Dumping File List on /system files..."
cd /system
echo "LIST /system" >> /sdcard/ad2sdx-dump.txt
echo "============" >> /sdcard/ad2sdx-dump.txt
ls -la >> /sdcard/ad2sdx-dump.txt
echo "" >> /sdcard/ad2sdx-dump.txt
echo "" >> /sdcard/ad2sdx-dump.txt


echo "Dumping File List on /system/etc/init.d files..."
cd /system/etc/init.d
echo "LIST init.d" >> /sdcard/ad2sdx-dump.txt
echo "===========" >> /sdcard/ad2sdx-dump.txt
ls -la >> /sdcard/ad2sdx-dump.txt
echo "" >> /sdcard/ad2sdx-dump.txt
echo "" >> /sdcard/ad2sdx-dump.txt

echo ""
echo "Finished... Thanks..."
HOW TO DUMP?
You should use adb, or Script Manager as root
  • Copy ad2sdx-dumpinfo.sh into your /sdcard/
  • (for ADB): Run "sh ad2sdx-dumpinfo.sh" in adb shell
  • Copy "/sdcard/ad2sdx-dump.txt" from your phone to your pc ( If you not trust me, you can review it before you send it to me )
  • Post comments + content of "/sdcard/ad2sdx-dump.txt" in this thread "use CODE or attachment"

COPY FILES WITH ADB
From PC to Phone
Code:
adb push c:\ad2sdx-dumpinfo.sh /sdcard/
From Phone to PC
Code:
adb pull /sdcard/ad2sdx-dump.txt c:\ad2sdx-dump.txt
SHELL
Code:
adb shell
* You are more advance than me about it ...

WARNING!!!
This script WILL dump an Informations About your Storages,
If you allow me to know your filesystem structures,
maybe I can help to improve AD2SDX Compatibility...

This script WILL NOT dump any PHONE NUMBER, IMEI, DEVICE NAME
SERIAL NUMBER and ANY PERSONAL INFORMATIONS...

USE IT YOUR OWN RISK!!!


But Please provide me your Device Name and ROM when you
submit it on AD2SDX Thread...

EXAMPLE DUMP FILE
Code:
DF
==
Filesystem           1K-blocks      Used Available Use% Mounted on
tmpfs                   206664        64    206600   0% /dev
tmpfs                   206664         0    206664   0% /mnt/asec
tmpfs                   206664         4    206660   0% /mnt/asec/download
tmpfs                   206664         0    206664   0% /mnt/obb
tmpfs                     8192         0      8192   0% /app-cache
/dev/block/mtdblock3    148480    124428     24052  84% /system
/dev/block/mtdblock5    294528    152336    142192  52% /sd-ext
/dev/block/mtdblock4      5120      1228      3892  24% /cache
/dev/block/mmcblk0p2   1968876    547236   1321624  29% /data
/dev/block/vold/179:1
                      13656560   4473152   9183408  33% /mnt/sdcard
/dev/block/vold/179:1
                      13656560   4473152   9183408  33% /mnt/secure/asec


LIST /data
==========
drwxrwx--x   13 1000     1000          4096 Oct 20 15:16 .
drwxr-xr-x   16 0        0                0 Oct 20 15:16 ..
-rwxrwxrwx    1 0        0             1069 Oct 20 08:17 99SuperCharger.sh
lrwxrwxrwx    1 0        0               13 Oct 20 07:49 DxDrm -> /sd-ext/DxDrm
-rw-rw-rw-    1 0        0               14 Oct 20 08:17 SuperChargerAdj
-rw-rw-rw-    1 0        0               34 Oct 20 08:17 SuperChargerMinfree
-rw-rw-rw-    1 0        0                4 Oct 20 08:17 SuperChargerOptions
drwxrwxr-x    2 1000     1000          4096 Oct 20 13:32 anr
drwxrwx--x    2 1000     1000          4096 Oct 20 08:05 app
drwxrwx--x    2 1000     1000          4096 Oct 20 07:50 app-private
drwxr-xr-x    2 0        0            12288 Oct 20 08:20 app_s
drwx------    5 1000     1000          4096 Oct 20 15:52 backup
lrwxrwxrwx    1 0        0                9 Oct 20 07:49 d -> /sd-ext/d
lrwxrwxrwx    1 0        0               20 Oct 20 07:49 dalvik-cache -> /sd-ext/dalvik-cache
drwxrwx--x   59 1000     1000         12288 Oct 20 08:22 data
lrwxrwxrwx    1 0        0               14 Oct 20 08:07 data_s -> /sd-ext/data_s
lrwxrwxrwx    1 0        0               17 Oct 20 07:49 dontpanic -> /sd-ext/dontpanic
drwxr-xr-x    2 0        0             4096 Oct 20 07:40 framework_s
lrwxrwxrwx    1 0        0               13 Oct 20 07:49 hosts -> /sd-ext/hosts
lrwxrwxrwx    1 0        0               13 Oct 20 07:49 htcfs -> /sd-ext/htcfs
drwxr-xr-x    2 0        0             4096 Oct 20 07:40 lib_s
lrwxrwxrwx    1 0        0               13 Oct 20 07:49 local -> /sd-ext/local
drwxr-xr-x    2 0        0            16384 Oct 20 07:49 lost+found
lrwxrwxrwx    1 0        0               12 Oct 20 07:49 misc -> /sd-ext/misc
lrwxrwxrwx    1 0        0               16 Oct 20 07:49 property -> /sd-ext/property
drwx------    3 1000     1000          4096 Oct 20 07:50 secure
drwxrwxr-x    9 1000     1000          4096 Oct 21 01:00 system
-rw-r--r--    1 0        0             3107 Oct 20 15:16 zipalign.log


LIST /sd-ext
============
drwxrwx--x    1 1000     1000          2048 Oct 20 07:38 .
drwxr-xr-x   16 0        0                0 Oct 20 15:16 ..
lrwxrwxrwx    1 0        0               23 Oct 20 08:22 99SuperCharger.sh -> /data/99SuperCharger.sh
dr-xr-xr-x    1 0        0             2048 Oct 20 07:49 DxDrm
lrwxrwxrwx    1 0        0               21 Oct 20 08:22 SuperChargerAdj -> /data/SuperChargerAdj
lrwxrwxrwx    1 0        0               25 Oct 20 08:22 SuperChargerMinfree -> /data/SuperChargerMinfree
lrwxrwxrwx    1 0        0               25 Oct 20 08:22 SuperChargerOptions -> /data/SuperChargerOptions
lrwxrwxrwx    1 0        0                9 Oct 20 08:07 anr -> /data/anr
lrwxrwxrwx    1 0        0                9 Oct 20 07:49 app -> /data/app
lrwxrwxrwx    1 0        0               17 Oct 20 07:49 app-private -> /data/app-private
lrwxrwxrwx    1 0        0               11 Oct 20 07:49 app_s -> /data/app_s
lrwxrwxrwx    1 0        0               12 Oct 20 08:07 backup -> /data/backup
drwxr-xr-x   16 0        0                0 Jan  1  1970 d
drwxrwx--x    1 1000     1000          2048 Oct 20 07:49 dalvik-cache
lrwxrwxrwx    1 0        0               10 Oct 20 07:49 data -> /data/data
drwxrwxrwx    1 0        0             2048 Oct 20 07:49 data_s
drwxr-x---    1 0        1007          2048 Oct 20 07:49 dontpanic
lrwxrwxrwx    1 0        0               11 Oct 20 07:49 drm -> /data/local
lrwxrwxrwx    1 0        0               17 Oct 20 07:49 framework_s -> /data/framework_s
-rw-r--r--    1 0        0           708302 Aug  1  2008 hosts
drwxr-xr-x   16 0        0                0 Oct 20 15:16 htcfs
lrwxrwxrwx    1 0        0               11 Oct 20 07:49 lib_s -> /data/lib_s
drwxrwx--x    1 2000     2000          2048 Oct 20 07:49 local
drwxrwx---    1 0        0             2048 Oct 20 07:49 lost+found
drwxrwx--t    1 1000     9998          2048 Oct 20 15:16 misc
drwx------    1 0        0             2048 Oct 20 21:54 property
lrwxrwxrwx    1 0        0               12 Oct 20 08:07 secure -> /data/secure
lrwxrwxrwx    1 0        0               12 Oct 20 08:07 system -> /data/system
lrwxrwxrwx    1 0        0               18 Oct 20 08:07 zipalign.log -> /data/zipalign.log


LIST /system
============
drwxr-xr-x    1 0        0             2048 Oct 20 07:41 .
drwxr-xr-x   16 0        0                0 Oct 20 15:16 ..
lrwxrwxrwx    1 0        0               13 Oct 20 07:41 app -> /sd-ext/app_s
drwxr-xr-x    1 0        2000          2048 Oct 20 07:41 bin
-rw-r--r--    1 0        0             7966 Oct 20 08:17 build.prop
-rw-r--r--    1 0        0             7437 Oct 20 08:17 build.prop.unsuper
drwxr-xr-x    1 0        0             2048 Oct 20 07:40 customize
drwxr-xr-x    1 0        0             2048 Oct 20 07:41 etc
drwxr-xr-x    1 0        0             2048 Oct 20 07:40 fonts
lrwxrwxrwx    1 0        0               19 Oct 20 07:41 framework -> /sd-ext/framework_s
drwxr-xr-x    1 0        0             2048 Oct 20 07:47 lib
drwxr-xr-x    1 0        0             2048 Oct 20 07:40 lost+found
drwxr-xr-x    1 0        0             2048 Oct 20 07:41 media
drwxr-xr-x    1 0        0             2048 Oct 20 07:41 usr
drwxr-xr-x    1 0        2000          2048 Oct 20 07:41 xbin


LIST init.d
===========
drwxr-xr-x    1 0        2000          2048 Oct 20 07:47 .
drwxr-xr-x    1 0        0             2048 Oct 20 07:41 ..
-rwxr-xr-x    1 0        0              446 Oct 20 13:36 00aroc
-rwxr-xr-x    1 0        2000          1167 Aug  1  2008 02ramtweaks
-rwxrwxrwx    1 0        0             4151 Oct 20 07:47 40a2sd
-rwxr-xr-x    1 0        2000          1938 Aug  1  2008 77tweaks
-rwxr-xr-x    1 0        2000          1499 Aug  1  2008 97zipalign
-rwxrwxrwx    1 0        0             1097 Oct 20 08:17 99SuperCharger
-rwxr-xr-x    1 0        2000           176 Aug  1  2008 99complete
Attached Files
File Type: zip dump_script.zip - [Click for QR Code] (676 Bytes, 1870 views)
Last edited by amarullz; 21st October 2011 at 03:26 AM.
The Following 42 Users Say Thank You to amarullz For This Useful Post: [ View ]
19th October 2011, 07:27 PM   |  #3  
icke's Avatar
Senior Member
Flag Ahaus
Thanks Meter: 1,092
 
1,755 posts
Join Date:Joined: Feb 2007
Donate to Me
More
Great!!!
Working with Leo on HyperDroid-CM7-v5.3.0.
But weired behavior: Titanium Backup crashes after every app installation immediately.

Edit: After third reboot Titanium doesn't crash any more!
This script runs like hell....wow!

---------- Post added at 07:27 PM ---------- Previous post was at 06:36 PM ----------


Strange...Titanium only crashes if I try to install apps+data...but not if I only install apps.
Last edited by icke; 19th October 2011 at 07:17 PM.
The Following User Says Thank You to icke For This Useful Post: [ View ]
19th October 2011, 07:52 PM   |  #4  
KMDonlon's Avatar
Senior Member
Thanks Meter: 11
 
102 posts
Join Date:Joined: Feb 2011
More
Waiting to install, want to see a few more guinea pigs first
19th October 2011, 08:27 PM   |  #5  
Senior Member
Thanks Meter: 120
 
221 posts
Join Date:Joined: Jul 2007
It mount only ext4 partition?...
Can you add support for ext2 or ext3 partitions?
19th October 2011, 08:50 PM   |  #6  
diditdr's Avatar
Senior Member
Thanks Meter: 13
 
114 posts
Join Date:Joined: Sep 2011
Ok, I evaluate first on my sga with xm7.1

Nice to see you again amarullz.
20th October 2011, 02:25 AM   |  #7  
amarullz's Avatar
OP Recognized Developer
Flag Bandung
Thanks Meter: 6,311
 
1,033 posts
Join Date:Joined: Jan 2007
Donate to Me
More
EXT3,2 ??

You can edit this line:
Code:
busybox mount -t ext4 -o noauto_da_alloc,data=ordered,commit=15,barrier=1,nouser_xattr,errors=continue,noatime,nodiratime,nosuid,nodev /dev/block/mmcblk0p2 /data;
busybox chown 1000:1000 /data;
busybox chmod 771 /data;
Quote:
Originally Posted by icke

Great!!!
Working with Leo on HyperDroid-CM7-v5.3.0.
But weired behavior: Titanium Backup crashes after every app installation immediately.

Edit: After third reboot Titanium doesn't crash any more!
This script runs like hell....wow!

---------- Post added at 07:27 PM ---------- Previous post was at 06:36 PM ----------


Strange...Titanium only crashes if I try to install apps+data...but not if I only install apps.

Ok, I will try, and look what Titanium Backup Do (may be the error occur when it remove/change com.android* or com.htc* data files)...

-- TIPS --
May Be try this: If you want to restore system applications data (com.android* & com.htc*), Do that in the first boot (clean flash), so the com.android* & com.htc* still in sdcard (not symlinked), after you reboot it, the mod will automatically move it to Internal Memory...
Last edited by amarullz; 20th October 2011 at 02:38 AM.
The Following 6 Users Say Thank You to amarullz For This Useful Post: [ View ]
20th October 2011, 04:00 AM   |  #8  
Junior Member
Thanks Meter: 2
 
21 posts
Join Date:Joined: Aug 2011
cause me bootloops
20th October 2011, 05:44 AM   |  #9  
amarullz's Avatar
OP Recognized Developer
Flag Bandung
Thanks Meter: 6,311
 
1,033 posts
Join Date:Joined: Jan 2007
Donate to Me
More
Quote:
Originally Posted by jukalo

cause me bootloops

What ROM & Device?... make sure you do the clean flash, then delete a2sd first
The Following User Says Thank You to amarullz For This Useful Post: [ View ]
20th October 2011, 06:48 AM   |  #10  
Junior Member
Thanks Meter: 2
 
21 posts
Join Date:Joined: Aug 2011
I am using a sense froyo rom 2.38 with kernel infinity on my device and I did a clean flash my device is wildfire even replace the ext4 to ext3 as you be explained in a above post and still the same problem

Post Reply Subscribe to Thread

Tags
app2sd, data2sd, internal memory, mod, sd-ext
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes