A2SD for Sense Froyo 2.2 (DJDroid) - Nearly done.

Search This thread

ksc91u

Member
May 22, 2010
24
2
Kaoshiung
in initrd ramdisk

init.rc file

Code:
285     setprop net.tcp.buffersize.wimax   4096,87380,110208,4096,16384,110208
286 
287     start sysinit
288 
289     class_start default

Code:
440 # Execute files in /etc/init.d before booting
441 service sysinit /system/bin/logwrapper /system/xbin/busybox run-parts /syste    m/etc/init.d
442     disabled
443     oneshot

by the way, do you have the source code of this kernel?
 

DarkMio

Senior Member
Jan 20, 2010
168
28
in initrd ramdisk

init.rc file

Code:
285     setprop net.tcp.buffersize.wimax   4096,87380,110208,4096,16384,110208
286 
287     start sysinit
288 
289     class_start default

Code:
440 # Execute files in /etc/init.d before booting
441 service sysinit /system/bin/logwrapper /system/xbin/busybox run-parts /syste    m/etc/init.d
442     disabled
443     oneshot

by the way, do you have the source code of this kernel?

Mee? No... I only hackish the simple lines, but the first code - where have you it from? Inside the Boot.img?

Edit: Maybe we have some luck, I found a r1-a2sd from MoDaCos' first Root-Guide.
 

Vorbeth

Senior Member
Mar 10, 2006
2,180
2,355
I don't have DJDroid installed anymore, but if you pull the kernel's config you can see if EXT support is added.
Code:
adb pull /proc/config.gz .
gunzip config.gz
mv config .config
Then read in a txt editor.

Your looking for "CONFIG_EXT2_FS" and or "CONFIG_EXT3_FS"
 
Last edited:

ksc91u

Member
May 22, 2010
24
2
Kaoshiung
Mee? No... I only hackish the simple lines, but the first code - where have you it from? Inside the Boot.img?

Edit: Maybe we have some luck, I found a r1-a2sd from MoDaCos' first Root-Guide.

Yes, it is from boot.img.

You can use tools attached to unpack boot.img.

To repack, you need mkbookimg, build it from android source code.

And run.

Code:
./mkbootimg  --kernel  boot.img-kernel.gz   --ramdisk ramdisk-repack.cpio.gz --base 20000000 --cmdline 'no_console_suspend=1 msmsdcc_sdioirq=1 wire.search_count=5' -o myboot.img


Something I don't understand is, when I unpack boot.img from DJDroid, it warn something about extra file after initramfs..

I add init.rc script and repack, after boot, wifi does not work anymore.

Switch back to DeFrost until source code of DJDroid is available..
 

Attachments

  • bootimg_tool.zip
    3.4 KB · Views: 16

DarkMio

Senior Member
Jan 20, 2010
168
28
Yes, it is from boot.img.

You can use tools attached to unpack boot.img.

To repack, you need mkbookimg, build it from android source code.

And run.

Code:
./mkbootimg  --kernel  boot.img-kernel.gz   --ramdisk ramdisk-repack.cpio.gz --base 20000000 --cmdline 'no_console_suspend=1 msmsdcc_sdioirq=1 wire.search_count=5' -o myboot.img


Something I don't understand is, when I unpack boot.img from DJDroid, it warn something about extra file after initramfs..

I add init.rc script and repack, after boot, wifi does not work anymore.

Switch back to DeFrost until source code of DJDroid is available..


Okay, I try this one next time. ATM I'm working on an old A2SD from MoDaCo - Maybe it works... I think this one was the 'exploding-dalvikcache' one - but it only need to work.
 

ksc91u

Member
May 22, 2010
24
2
Kaoshiung
I won't call those source code...

Okay, I try this one next time. ATM I'm working on an old A2SD from MoDaCo - Maybe it works... I think this one was the 'exploding-dalvikcache' one - but it only need to work.

You can push /system/init.d/* files from modaco to any rom you want, but they will not be executed at boot time unless you have sysinit service in init.rc
 

masi0

Senior Member
Jan 27, 2008
1,017
94
Warsaw
UPDATE:
I managed my problem, checked and tried.
BUT: WTF?! ALL IS DONE - AND IT SAYS: No Ext mounted? WTF - now I need help - and it's done. :>

IF I GET FASTLY HELP WE HAVE THE OLD A2SD IN THE NEXT 20 MINUTES

It only says:
[X] Ext partition found, but not mounted.
Your rom may not be setup to run A2SD.
Check with your rom developer if the boot image
is programmed to run A2SD.

I checked the Boot.img 2 times - all is prepared. My SD haza 512mb A2SD - Ext - Partition. And what now? ...

any update? :)