yashsingh1/xdaforums huggingface dataset:
[Desire Android Development] mattiadj:
Where is sibere kernel??

Ok, but where i can see wha type i'm using?

Ok what type adjust cpu on usage?

Thanks to all!
[Desire Android Development] op8867555:
I use auraxt 8 and it works perfectly on my device.
[Desire Android Development] bluelavender:
Mind sharing the tips / special extra steps to get it working ? Several of us here fail to get it run :-)
[Desire Android Development] fogbav:
delete me ...
[Desire Android Development] op8867555:
I'm not sure this is the correct way to did it.

1. I tar any files in the old sd-ext before did format the partition 2 and copied it to /sdcard

2. after I copied /data/* to /sd , I removed 3 dirs that links to /system/sd/** like this

3. I extracted the backup tar back to /sd

Sorry for my poor English.
[Desire Android Development] chding:
sorry i don really understand the steps. Do you mind to write a step-by-step tutorial?
[Desire Android Development] scaeac:
I was completely confused! Who can tell me that, SD card and internal storage in phone, which one has better I/O performance？
[Desire Android Development] jullejul:
wrong!!! wrong wrong
[Desire Android Development] adionita:
x

Can anyone answer pls?
[Desire Android Development] Zeljko1234:
I'm trying to make it work bot without sucess.

1. Rebooted in recovery, but ClockworkMod started automatically. Is it problem?

2. Tried to mount

C:\android-sdk-windows\tools>adb mount /system -> I got help for adb, so mount obviously is not recognized!?

3. Tried mount using shell

C:\android-sdk-windows\tools>adb shell

~ # ls

ls

cache etc res sdcard

data init root sys

default.prop init.rc sbin system

dev proc sd-ext tmp

~ # mount /system

mount /system

~ # mount /data

mount /data

~ # mount /sdcard

mount /sdcard

mount: mounting /dev/block/mmcblk0p1 on /sdcard failed: No such file or directory -> I mounted with ClockworkMod

~ # mount

mount

rootfs on / type rootfs (rw)

tmpfs on /dev type tmpfs (rw,relatime,mode=755)

devpts on /dev/pts type devpts (rw,relatime,mode=600)

proc on /proc type proc (rw,relatime)

sysfs on /sys type sysfs (rw,relatime)

/dev/block/mtdblock3 on /system type yaffs2 (rw,relatime)

/dev/block/mtdblock5 on /data type yaffs2 (rw,relatime)

/dev/block/mtdblock4 on /cache type yaffs2 (rw,nodev,noatime,nodiratime)

/dev/block/mmcblk0 on /sdcard type vfat (rw,nodev,noatime,nodiratime,fmask=0000,

dmask=0000,allow_utime=0022,codepage=cp437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)

~ # df -h

df -h

Filesystem Size Used Available Use% Mounted on

tmpfs 199.4M 0 199.4M 0% /dev

/dev/block/mtdblock3 250.0M 243.8M 6.2M 98% /system

/dev/block/mtdblock5 147.6M 71.3M 76.4M 48% /data

/dev/block/mtdblock4 40.0M 1.6M 38.4M 4% /cache

/dev/block/mmcblk0 3.0G 2.4G 602.7M 80% /sdcard

~ # exit

exit

4. Tried to push file

C:\android-sdk-windows\tools>adb push c:\busybox-armv6l /system/xbin/busybox

1509 KB/s (0 bytes in 1062992.000s) -> 0 bytes? It's not OK

C:\android-sdk-windows\tools>adb push c:\01data /system/etc/init.d

5 KB/s (0 bytes in 367.000s) -> 0 bytes? Obviously it's not OK

C:\android-sdk-windows\tools>adb shell

~ # chmod 755 /system/etc/init.d/01data

chmod 755 /system/etc/init.d/01data

chmod: /system/etc/init.d/01data: Not a directory ->Doesn't make sense to continue

I made two partition on my original (now spare) 4GB sd card. First partition 3GB, second rest. Both fat32, primary. I'm using same laptop (WinXP) what I used to root. Maybe usb driver it's not ok? Could someone upload sdk drivers, please?

What's my problem? (I mean with adb, not my psycho :D)
[Desire Android Development] bluelavender:
I think sibere posted it somewhere in richard kernel thread ... i am using phone now and somehow cannot attach file
[Desire Android Development] mattiadj:
I think works.I have read about people that used this with miui.

No s-off is not required as explained in my post :-)

sent from the future
[Desire Android Development] snakeeyes21:
Im pretty new to android but have managed to do this using the instructions in the 4th post on leedroid 2.2f and everything seems to be working fine.

But when I go to titanium backup it still says I have app2sd with very little storage space left.

Is this normal or have I missed a step?
[Desire Android Development] bpivk:
Could anyone please post a HOWTO for MCR roms and EXT3 support?
[Desire Android Development] op8867555:
incorporate data2sd into a working rom

I should find someone to help me translate this from chinese to english.

I'M NOT SURE THAT THIS IS THE CORRECT METHOD.

1) make a nandroid backup

2) backup all the files in /system/sd (I use tar)

3) format the 2nd partition to fat32

4) delete /system/etc/init.d/03stuff2sd and push 01data to /system/etc/init.d

5) in adb shell

chmod 755 /system/etc/init.d/01data

6) dd

cd /
mount /dev/block/mmcblk0p2 /sd-ext
dd if=/dev/zero of=/sd-ext/ext2 bs=1048576
/system/xbin/busybox mke2fs -F -L userdata /sd-ext/ext2
mkdir /sd
/system/xbin/busybox mount -o loop /sd-ext/ext2 /sd

7) copy data from phone to /sd

cd /data
cp -a * /sd
cd /sd
rm -r app app-private dalvik-cache
mkdir app app-private dalvik-cache

8) copy apps back to /sd (make sure that u extract files to correct path)

cd /sd
tar -xvjf /sdcard/backup.tar.bz2

9) reboot

/system/xbin/busybox umount /sd
exit
adb reboot
[Desire Android Development] danarama:
Mine says that too. Don't worry about it. What does it say in settings > about phone? That's all you need to know

--------------------

DeFroST FAQ... http://xdaforums.com/showpost.php?p=6622965&postcount=2
[Desire Android Development] ghmail2:
why when i reboot my phone all the apps are crashed?
[Desire Android Development] mirotis:
Defrost Reboot

Ok I have followed all the steps and here is what is happening... when I install defrost as it is, it boots normally but when I try to install any app it reboots. If I delete the file in init.d and try to flash, it flashes ok but it gives me a boot loop. What the hell is happening?? I am guessing something with a2sd+ scripts but I don't know what to do. PLEASE HELP!!
[Desire Android Development] danarama:
Are you flashing defrost then following the steps? You can't flash after as changes you make are affecting the /system partition which is over written when you flash a Rom

--------------------

DeFroST FAQ... http://xdaforums.com/showpost.php?p=6622965&postcount=2
[Desire Android Development] danarama:
@sibere, sorry to ask this again, but would it be possible for us to copy certain system files and flash them from a zip so when we want to upgrade to a newer version of our Rom, we don't have to carry out these steps?

--------------------

DeFroST FAQ... http://xdaforums.com/showpost.php?p=6622965&postcount=2
[Desire Android Development] HTF:
you can put the 01data file in the system/etc/init.d folder of the update zip and the busybox file in /system/xbin/, that way when you flash the update it puts the files you need back.

You do also need to include the other files included in the op.

So in short it is possible, you can also make an update zip that just includes these files but I found it easier to package them with defrost as you need to edit it anyway to stop the a2sd.
[Desire Android Development] danarama:
Nice one thanks. Wasn't sure if other files were modified too

The only file I used from op was 01data.

--------------------

DeFroST FAQ... http://xdaforums.com/showpost.php?p=6622965&postcount=2
[Desire Android Development] HTF:
Make sure you also include the latest busybox (rename it to just busybox though not busybox-armv6l) as most roms including defrost include older versions that do not work with this.
[Desire Android Development] danarama:
Will do. Thanks for the advice

--------------------

DeFroST FAQ... http://xdaforums.com/showpost.php?p=6622965&postcount=2
[Desire Android Development] sibere:
Dunno how to make a proper update.zip file to make the process automatic.

that's why I wrote the howto.
[Desire Android Development] sibere:
I posted some in richardtrip kernel and some in the battfix thread too. use search fonction :)
[Desire Android Development] sibere:
1/ recovery mode IS clockworkmod , so it's normal to get this started in recovery mode :)

2/ thanks for the feedback, I've modified the OP accordingly.
[Desire Android Development] ghmail2:
i did all the process and all success on cm6.1 but no changes are taken,the internal storage is still the same.

and all right on miui rom.but after a reboot all the apps goes to FC:confused:
[Desire Android Development] Zeljko1234:
Thank you for your help but clockwork is minor problem :)

I can't mount, push file... :(
[Desire Android Development] sibere:
Yep, typos and cut&paste errors in OP.

I've just updated it with your feedback.

Go back to OP and try again.

Thanks for detailed feedback :)
[Desire Android Development] _bryan_:
to sibere

i run this

/system/xbin/busybox mkswap /sd-ext/swap

then i got permission denied

but

mkswap /sd-ext/swap

is ok

mke2fs is the same

so maybe this is why my io score is lower

but why busybox can't run ?

------------------------------------------------

fixed it myself ,forgot to do this

chmod 755 /system/xbin/busybox

I will do the whole procedure tomorrow
[Desire Android Development] kecinzer:
Hi, this looks very amazing.

I have one general question.

What happend, when I try to upgrade for example LeeDroid 2.2f (after instal data2sd and working) to 2.2g (I mean flas via recovery without wipe).

Will data2sd still working?
[Desire Android Development] bpivk:
@sibere: Could you please post a generic howto and changes for the script for EXT3 partition?

Thanks in advance
[Desire Android Development] sibere:
weird.

just did it again and it's working for me. You have updated your busybox exec don't you?

~ # mount /sdcard
mount /sdcard
~ # mount /dev/block/mmcblk0p2 /sd-ext
mount /dev/block/mmcblk0p2 /sd-ext
~ # cd /sd-ext
cd /sd-ext
/sd-ext # dd if=/dev/zero of=swap bs=1048576 count=32
dd if=/dev/zero of=swap bs=1048576 count=32
32+0 records in
32+0 records out
33554432 bytes (32.0MB) copied, 0.327043 seconds, 97.8MB/s
/sd-ext # mount /system
mount /system
/sd-ext # /system/xbin/busybox mkswap swap
/system/xbin/busybox mkswap swap
Setting up swapspace version 1, size = 33550336 bytes
UUID=50b7aaf1-7880-42fc-afbe-99dc289bc8d3

This is just what I did on my phone in recovery mode and no problem.
[Desire Android Development] sibere:
year easy man, just add -j option to the mke2fs command line :)

should add journaling to ext2

(found that in mke2fs manual didn't try though, I prefer EXT2)

You'd better install e2fsprogs and run the mke2fs found there. It has much more options, specially journaling.

If you already have you ext2 and want to up(down)grade to ext3, use tune2fs -j /sd-ext/ext2 after mounting your ext partition on /sd-ext
[Desire Android Development] Zeljko1234:
I don't know what I'm doing wrong? My phone is in recovery mode all day :)

C:\android-sdk-windows\tools>adb shell
adb server is out of date. killing...
* daemon started successfully *
~ # mount /system
mount /system
~ # exit
exit

C:\android-sdk-windows\tools>adb push c:\busybox-armv6l /system/xbin/busybox
1545 KB/s (0 bytes in 1062992.000s)

C:\android-sdk-windows\tools>adb push c:\01data /system/etc/init.d
22 KB/s (0 bytes in 367.000s)

C:\android-sdk-windows\tools>

0 bytes mean that I didn't push file to phone?
[Desire Android Development] bpivk:
Just to confirm... I need to do this:

adb push c:\01data /system/etc/init.d
adb shell
chmod 755 /system/etc/init.d/01data
cd /
mount /dev/block/mmcblk0p2 /sd-ext
dd if=/dev/zero of=/sd-ext/ext3 bs=1048576
/system/xbin/busybox mke2fs -j -F -L userdata /sd-ext/ext3

mkdir /sd
/system/xbin/busybox mount -o loop /sd-ext/ext3 /sd
cd /data
cp -a * /sd
cd /
/system/xbin/busybox umount /sd

exit
adb reboot

And I leave the 01data script alone and don't change it?
[Desire Android Development] sibere:
adb server is out of date. killing...

hum, maybe your adb is the problem here. try to reboot your PC.

If you have this again, install the last one or reinstall adb

add a "/" after the init.d

re-read the OP 'coz I've made a few corrections there
[Desire Android Development] Jagdish84:
We suppose to flash this e2fsprogs prior to the process?!

coz i ran into some probs, i thought i finished it all up booted my handset and saw i have only 46 MB of internal memory :\
[Desire Android Development] ghmail2:
cm6.1 would not work with this hack,nothing changed after this hace :eek:
[Desire Android Development] sibere:
Looking good but I'm not sure that the busybox version of mke2fs has support for journaling.

use also -t ext3 for mounting.

Use e2fsprogs. the ZIP is in the OP

EDIT: I confirm, you must use the e2fsprogs version to have ext3 journaling

Why do you want to use ext3 instead of ext2 ?
[Desire Android Development] Zeljko1234:
I reboot PC many times today, switching between Windows and Linux. I downloaded latest SDK.

C:\android-sdk-windows\tools>adb push c:\01data /system/etc/init.d/

failed to copy 'c:\01data' to '/system/etc/init.d/': Is a directory
[Desire Android Development] bpivk:
Because I'm afraid that the phone will unmount my card when I connect it to a computer and lose some important data. Is this not the case?
[Desire Android Development] ghmail2:
i do all the hacks and no error report, when i use with miui rom,hack worked,but after reboot,all apps are fc.then i change to cm6.1 rc2,do the same work,this is completly won't work,noch happens after the hack:confused:

How this happen?
[Desire Android Development] sibere:
ext2 or ext3, this will not make any difference at all :)

but if you REALLY want ext3, you will have to add -t ext3 as well to the mount option in the 01data script

when you connect your phone, android unmounts /sdcard, not the 2nd partition.
[Desire Android Development] mattiadj:
I had this problem of all app fc after reboot.seems that I have made a factory reset!!

New clean flash and installation made all work well

sent from the future
[Desire Android Development] mattiadj:
Btw I hope in a flash zip for easy installation :-)

sent from the future
[Desire Android Development] sibere:
just tried on my phone.

it's OK even if adb reports 0 bytes transfered :)

E:\android-sdk-windows\tools>adb push 01data /system/etc/init.d/

24 KB/s (0 bytes in 394.000s)

just check that the script is in init.d

ls -l /system/etc/init.d/

~ # ls -l /system/etc/init.d/

ls -l /system/etc/init.d/

-rwxr-xr-x 1 root root 394 Nov 28 16:40 01data
[Desire Android Development] sibere:
won't come from me :)
[Desire Android Development] sibere:
I didn't flashed it. I just pushed all the exec files in /system/bin and libs in /system/lib :) (yeaaa I know it's the dirty way)

It looks like this ZIP isn't a flashable one, so you have to unzip and copy files yourself.
[Desire Android Development] sibere:
No clue.

I have stock rooted, don't know anything about cooked roms.
[Desire Android Development] ghmail2:
anyone test this with new CM6.1 RC2??
[Desire Android Development] mon@diac:
not working...it use same internal memory
[Desire Android Development] Zeljko1234:
OK, what's now wrong?

ubuntu@ubuntu:/cdrom/android-sdk-linux_x86/tools$ sudo /cdrom/android-sdk-linux_x86/tools/adb shell
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
~ #
~ # mount /system
mount: mounting /dev/block/mtdblock3 on /system failed: Device or resource busy
~ # exit
ubuntu@ubuntu:/cdrom/android-sdk-linux_x86/tools$ sudo /cdrom/android-sdk-linux_x86/tools/adb push /cdrom/busybox-armv6l /system/xbin/busybox
1237 KB/s (1062992 bytes in 0.838s)
ubuntu@ubuntu:/cdrom/android-sdk-linux_x86/tools$ sudo /cdrom/android-sdk-linux_x86/tools/adb push /cdrom/01data /system/etc/init.d/
failed to copy '/cdrom/01data' to '/system/etc/init.d/': Is a directory
ubuntu@ubuntu:/cdrom/android-sdk-linux_x86/tools$ sudo /cdrom/android-sdk-linux_x86/tools/adb push /cdrom/01data /system/etc/init.d
7 KB/s (367 bytes in 0.045s)
ubuntu@ubuntu:/cdrom/android-sdk-linux_x86/tools$ sudo /cdrom/android-sdk-linux_x86/tools/adb shell
~ # mount /data
~ # mount /sdcard
mount: mounting /dev/block/mmcblk0p1 on /sdcard failed: No such file or directory
~ # mount /dev/block/mmcblk0p1
mount: mounting /dev/block/mmcblk0p1 on /sdcard failed: No such file or directory
~ # mount /dev/block/mmcblk0p1 /sdcard
mount: mounting /dev/block/mmcblk0p1 on /sdcard failed: No such file or directory
~ # mount /dev/block/mmcblk0p1 /sdcard
mount: mounting /dev/block/mmcblk0p1 on /sdcard failed: No such file or directory
~ # mount
rootfs on / type rootfs (rw)
tmpfs on /dev type tmpfs (rw,relatime,mode=755)
devpts on /dev/pts type devpts (rw,relatime,mode=600)
proc on /proc type proc (rw,relatime)
sysfs on /sys type sysfs (rw,relatime)
/dev/block/mtdblock4 on /cache type yaffs2 (rw,nodev,noatime,nodiratime)
/dev/block/mtdblock3 on /system type yaffs2 (rw,relatime)
/dev/block/mtdblock5 on /data type yaffs2 (rw,relatime)
/dev/block/mmcblk0 on /sdcard type vfat (rw,nodev,noatime,nodiratime,fmask=0000,dmask=0000,allow_utime=0022,codepage=cp437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
~ # chmod 755 /system/etc/init.d/01data
chmod: /system/etc/init.d/01data: Not a directory
~ #
[Desire Android Development] sibere:
Your SDcard is wrong.

You didn't formatted it properly.

the system finds mmcblk0 where there should be mmcblk0p1 for part. 1 and mmcblk0p2 for part. 2 that's why you have the "failed: No such file or directory" to your mount command.
[Desire Android Development] Zeljko1234:
Thanks. Now I mounted USB Mass storage device (sd card) with clockwork. Started GParted (should be faster..) and I'm going to make two partition, 3GB and rest. Both must be primary and fat32?
[Desire Android Development] sibere:
yes as stated in OP.
[Desire Android Development] Zeljko1234:
I can't make two primary partition with GParted. I'm going to CLI for fdisk... Should I use special format for fdisk or it doesn't mater if I don't care for alignment now?
[Desire Android Development] danarama:
I just made 2 partitions in gparted. Didn't see option for primary, logical etc. As long as the partition at the back is the small one for the data2sd all is fine

--------------------

DeFroST FAQ... http://xdaforums.com/showpost.php?p=6622965&postcount=2
[Desire Android Development] rafi300:
i got it to to work once .. but now after reducing my data partition size to 1.8gib , i m having trouble getting data2sd again. i ran the whole process over again.. including format but no luck..
[Desire Android Development] ghmail2:
always have all apps fc after reboot:(
[Desire Android Development] bpivk:
@sibere: So what do you recommend for maximum stability in using EXT2?

I guess everything you did (two primary FAT partitions and excluding swap).

I have checked the script and you've said "If you prefer the EXT2 partition, then you will have to change the 01data script to reflect that." The script doesn't mention FAT at all. Is this correct or should I make an EXT partition not a second FAT partition?
[Desire Android Development] sibere:
Do a df -h when android is running and post pls
[Desire Android Development] sibere:
I recommend to do what I've done on the op. :)
[Desire Android Development] Zeljko1234:
I think that problem is in script 01data because I couldn't do:

C:\android-sdk-windows\tools>adb push c:\01data /system/etc/init.d/

Because there wasn't init.d directory so I made one:

~ # mkdir /system/etc/init.d/

Obviously script doesn't mount /data on sd card during boot. What can be seen with df (-h doesn't work)

# df
df
/dev: 212700K total, 12K used, 212688K available (block size 4096)
/mnt/asec: 212700K total, 0K used, 212700K available (block size 4096)
/system: 256000K total, 248916K used, 7084K available (block size 4096)
/data: 151168K total, 72376K used, 78792K available (block size 4096)
/cache: 40960K total, 3168K used, 37792K available (block size 4096)
/app-cache: 8192K total, 0K used, 8192K available (block size 4096)
/mnt/sdcard: 2933808K total, 2373264K used, 560544K available (block size 16384)

/mnt/secure/asec: 2933808K total, 2373264K used, 560544K available (block size 16384)

Edit: I did it again when you asked me for df because I already restored my backup :)
[Desire Android Development] mattiadj:
I'm very happy with this mod.

I have discovered that lags, fc and other is are due to probably to a system titanium restore.

With latest leeDroid, governator interactive, max 1152mhz, 2gb of data partition and over 1800score in quadrant I can assert that I have another desire than when I buyied it!!!

I have noticed only a thing.of 40mb of cache system info tells me that I have only 1.5mb free.I think is not normal since before this mod i had a custom mtd partition with only 25mb for cache and I had something like 16mb free.

How is possible this my actual situation?

Thanks to all!!

sent from the future
[Desire Android Development] bpivk:
Sorry to doubt you o knowing full one. :)

I'll make a backup and try it the next time I update. Thanks for the great support.
[Desire Android Development] sibere:
your rom is then not compatible if you don't have init.d directory. sorry for you. :(
[Desire Android Development] Zeljko1234:
I spend all day and you told me that my rom it's not compatible? :eek:

I'm using Rooted Official HTC Android 2.2 (FroYo) ROM and it should be compatible.

Anyway, thank you for help. At least I learned something today :)
[Desire Android Development] danarama:
If you want rooted stock, teppic74 has an init.d version

--------------------

DeFroST FAQ... http://xdaforums.com/showpost.php?p=6622965&postcount=2
[Desire Android Development] shawe_ewahs:
I'm trying to convert your explaination on first post on a full auto-script, attached are my work, but seems that don't work correctly but without any errors that I can see on ddms.

Can anybody try to better this script?

EDIT: I tested this script only on NeoPhyTe AuraxTSense 8.0

UPDATED SCRIPT
[Desire Android Development] NeoPhyTe.x360:
Testing it but same problem, we need some light in this thread, it's good script idea to run at start with *new roms updates
[Desire Android Development] mirotis:
So, if you update a rom even if you don't wipe the script will be gone??

And what happens to the programs that are installed in the second partition??? Are they there but not linked?? So, when you run the script again they appear again??
[Desire Android Development] shawe_ewahs:
The script check if SD-ext partition exists, also check if exists de ext2 file for mount on /data, and use a temporal directory for copy from real /data to sd-ext data file and after mount it to /data for replace it with the same data on it.

The idea of this script is replace others like DarkTremor, but for the moment no errors for me but not working.

An important thing, I use a sd-ext with 1GB because the A2SD.ext2 file is created with 512 MB by default at the moment, thinking on create a major file adapted to real size of partition.
[Desire Android Development] fisha21:
Just amazing! Thanks to sibere for his/her hard work in giving such easy to follow instructions.

Works brilliantly, apart from one problem. I have one homepage with Folder Organiser widgets linking to my folders. Whenever I reboot the phone, the widgets are all broken and have to be replaced again. Not sure if it's because the wigdets are now on the SD card, but all other widgets work fine. Has anyone else had this problem. Bit annoying to replace the widgets everytime I reboot!
[Desire Android Development] bluelavender:
Here comes the creator of AuraxtSense :)

Neo, so far, from this thread , there are 2 person who managed to get it working with AuraxtSense 8.0, while the rest (3-4 ?) failed, with either bootloop, or market auto-restart or stuck in loading screen...

BL
[Desire Android Development] banhong:
Problem with MIUI ROM

I follow this tutorial with MIUI(AU) ROM 11.26.

I can get the internal memory free around 1.6G with 2G partition.

But after installed applications and reboot, all application is gone.

It tell me the application is not available.

What is my missing? Please advice me.

Ps. Sorry for my poor english.