Jump to content

How to edit init.rc to mount ext2 for APP2SD


Recommended Posts

Guest devilb
Posted

My U8220 is Hong Kong's Ver., I have been tried App2SD manually but the system cannot mount the EXT2 partition when System started...

I must mounted it everytime by ADB shell manually, please help!

Guest BigBearMDC
Posted
My U8220 is Hong Kong's Ver., I have been tried App2SD manually but the system cannot mount the EXT2 partition when System started...

I must mounted it everytime by ADB shell manually, please help!

That's just speculation, but try just to add a script to /system/bin, and run it through the init.rc (just add "/system/bin/mountscript" or something like that).

Best Regards,

BigBear

Guest devilb
Posted

Can you tell me more details about the script which add to /system/bin. Also I have been tried to edit the init.rc file but it will recover to orginal one when the system reboot...THX a lot

That's just speculation, but try just to add a script to /system/bin, and run it through the init.rc (just add "/system/bin/mountscript" or something like that).

Best Regards,

BigBear

Guest Jan M
Posted
Can you tell me more details about the script which add to /system/bin.

it would be the same as you've been doing manually...starting with #/bin/sh or something...

if you have a modified rom then look for a script that runs on startup...dropbear or a2sd...and add the command there...

with an original rom its next to impossible to add stuff on startup because it always reverts back to the original init.rc...you need to modify the init.rc in the system.img and reflash it.

Guest devilb
Posted
it would be the same as you've been doing manually...starting with #/bin/sh or something...

if you have a modified rom then look for a script that runs on startup...dropbear or a2sd...and add the command there...

with an original rom its next to impossible to add stuff on startup because it always reverts back to the original init.rc...you need to modify the init.rc in the system.img and reflash it.

I will try it first, Thank you very much. :)

Guest Josh04
Posted

I believe Paul does it by adding a script to /system/etc/init.d

Guest devilb
Posted
I believe Paul does it by adding a script to /system/etc/init.d

Do you know how to do it? Have any post for reference...THX

Guest Enchanterchi
Posted
Do you know how to do it? Have any post for reference...THX

How can I edit/modify the /etc/init.d/.. which already installed on my HERO?

Guest eckengucker1
Posted

e.g. with using root explorer app (google can help you +apk ;D)

Guest devilb
Posted (edited)
That's just speculation, but try just to add a script to /system/bin, and run it through the init.rc (just add "/system/bin/mountscript" or something like that).

Best Regards,

BigBear

I have been tried to split the boot.img and edit the init.rc in ramdisk. However I cannot repack the boot.img because I cannot get the MKBOOTIMG.H. Can anyone give me this file or Add APP2SD for my boot.img? Thanks a lot!!!!

ramdisk_new.gz

boot.img

Edited by devilb
Guest BigBearMDC
Posted
Can anyone help me?

Your ramdisk is screwed.

It's only 40 bytes large, it should be around 150kB.

Best Regards,

BigBear

Guest devilb
Posted
Your ramdisk is screwed.

It's only 40 bytes large, it should be around 150kB.

Best Regards,

BigBear

Can you edit my boot.img for the APP2SD? Sorry for that because my resource is not enough.Many thanks.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.