• Announcements

    • Reminder - MoDaCo position on illegal content   07/30/15

      ILLEGAL CONTENT I'd like to just reaffirm MoDaCo's position regarding piracy and illegal content in the light of some recent questions / postings. Posts will be censored by myself or my moderation team if the contain or link to: Illegal / pirated / cracked software or sites that host such softwareNintendo emulators / ROMs or sites hosting them (in light of Nintendo's legal stance)CUSTOM ROMS You may discuss and post links to custom device ROMs on MoDaCo, provided the following rules are adhered to: ROMs must not contain any illegal 3rd party software (this includes trial versions included without permission)ROMs must give full credit to the original authorISSUES If you have any issues with this policy, please contact PaulOBrien directly via PM.
    • Reminder: Selling items on the forum directly is not allowed   07/30/15

      Please note that selling items on the forum directly is not allowed by the forum rules. There is a forum for eBay auctions whereby you can list the items on eBay and link to them there. This is the ONLY forum for this type of activity. You may also advertise links to the eBay forum in your signature. Please note that selling directly in contravention of these rules will result in a warning / suspension / ban.

[HOW-TO] A2SD for Coldfusion ICS

102 posts in this topic

Posted (edited) · Report post

Hi,

I'm using Coldfusion Alpha 3 and I was fighting for two whole days to get A2SD working. Link2SD wasn't satissfiy me. Here's my receipe:

Create file 05sdcard with content:


#!/system/bin/sh

/system/bin/mount -o remount,rw /

/system/bin/mkdir /sd-ext

/system/bin/mount -o remount,ro /

if [ -e /dev/block/mmcblk0p2 ];

then

	/system/bin/mount -t ext4 /dev/block/mmcblk0p2 /sd-ext

fi;

then adb remount adb push 05sdcard /etc/init.d/ adb shell chmod 0755 /etc/init.d/05sdcard Then download ICS_simple2ext.zip, unzip it to /sdcard with preserving directory structure (META-INF in .zip is /sdcard/META-INF etc) Next: adb shell And copy-paste into adb shell window:

mount -o remount,rw /system

rm /system/etc/init.d/10apps2sd

cp /sdcard/system/app/s2e.apk /system/app/

cp /sdcard/system/etc/init.d/20userinit /system/etc/init.d/

chmod 0644 /system/app/s2e.apk

chmod 0755 /system/etc/init.d/20userinit

mount -o remount,ro /system

reboot, setup s2e according to Your preferences, reboot (watch adb logcat, this boot should take longer)

If everything works go to fridge and open Cold Beer of Winner :D

Credits: uosiu (myself → this how-to), (tlexul → inspiration from THIS POST/XDA-Developers) and OlegKrikun/XDA-Developers for S2E application.

Edited by uosiek
7

Share this post


Link to post
Share on other sites

Posted · Report post

Thanks for posting this. I was trying to get this to work the other day, but hadn't included the 20userinit file. The lack of S2E support was the only thing keeping me from using it, so now I can again :).

0

Share this post


Link to post
Share on other sites

Posted · Report post

Great job. Any way you could make a flashable zip?

0

Share this post


Link to post
Share on other sites

Posted · Report post

Hi, total noob here... please help :)

I've tried to follow the instructions... never used adb before :)

- installed android sdk

- opened adb in a cmd window

- made a text file called "05sdcard" and pasted the first part in it.

- did

adb remount

adb push 05sdcard /etc/init.d/

adb shell chmod 0755 /etc/init.d/05sdcard

-extracted the zip file on the root of the sd card

-did

adb shell

-copy pasted the second pard in the cmd window and hit enter :D

-rebooted

-s2e is installed but doesn't see my partition ( i had an ext4 1gb part. beforehand )

-rebooted in cwm and tried to partition from there,

-s2e still doesn't see my part.

help please?

Thank You! :)

0

Share this post


Link to post
Share on other sites

Posted (edited) · Report post

-s2e is installed but doesn't see my partition ( i had an ext4 1gb part. beforehand )

-rebooted in cwm and tried to partition from there,

-s2e still doesn't see my part.

help please?

Thank You! :)

adb shell

fdisk -l /dev/block/mmcblk0

Great job. Any way you could make a flashable zip?

If you tell me how, I'll try to do that :D

Edited by uosiek
1

Share this post


Link to post
Share on other sites

Posted · Report post

adb shell

fdisk -l /dev/block/mmcblk0

If you tell me how, I'll try to do that

Basically if you have cm 9 on your computer, unzip the file and delete any lines which say format or are to do with boot.img in meta-inf/google/android/updater-script. Then get rid of all the files on the system dir and replacement them with the hierarchical equivalent of the files you are pushing. Then zip the metainf and system folder. Don't zip the root folder but the actual metainf and system folders inside.

0

Share this post


Link to post
Share on other sites

Posted · Report post

Basically if you have cm 9 on your computer, unzip the file and delete any lines which say format or are to do with boot.img in meta-inf/google/android/updater-script. Then get rid of all the files on the system dir and replacement them with the hierarchical equivalent of the files you are pushing. Then zip the metainf and system folder. Don't zip the root folder but the actual metainf and system folders inside.

http://stuff.uosiu.info/S2E_for_coldfusion_by_uosiu_test_build.zip

Try this out, I'm not sure did it is exactly what should be.

1

Share this post


Link to post
Share on other sites

Posted · Report post

adb shell

fdisk -l /dev/block/mmcblk0

Thanks for the reply!

This is what i got:

1|root@android:/ # fdisk -l /dev/block/mmcblk0

fdisk -l /dev/block/mmcblk0

Disk /dev/block/mmcblk0: 7822 MB, 7822376960 bytes

255 heads, 63 sectors/track, 951 cylinders

Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System

/dev/block/mmcblk0p1 1 698 5606653+ c Win95 FAT32 (LB

A)

/dev/block/mmcblk0p2 699 947 2000092+ 83 Linux

/dev/block/mmcblk0p3 948 951 32130 82 Linux swap

root@android:/ #

0

Share this post


Link to post
Share on other sites

Posted · Report post

Great job. Any way you could make a flashable zip?

Not tested it yet as I haven't had time to flash CM9 and get it all set up properly, but if anyone wants to try it, here is one with the scripts I made before but including the 20userinit file. It doesn't have S2E in it, so you'll need to install that separately.

apps2ext-cm9.zip

3

Share this post


Link to post
Share on other sites

Posted (edited) · Report post

Not tested it yet as I haven't had time to flash CM9 and get it all set up properly, but if anyone wants to try it, here is one with the scripts I made before but including the 20userinit file. It doesn't have S2E in it, so you'll need to install that separately.

apps2ext-cm9.zip

This worked for me! Thanks!

S3E now sees my ext partition and after reboot everything was moved there :)

EDIT:

For some reason, random apps won't install, saying "insufficient storage space"

for instance i can't install this:

https://play.google.com/store/apps/details?id=com.lsdroid.cerberus

Though it was an issue with the store so tried installing the apk manually, but still no.

Other bigger apps (Opera, etc) install ok.

Edited by cristi12
1

Share this post


Link to post
Share on other sites

Posted (edited) · Report post

same problem as cristi12

I will attach logcat when I arrive home...

Edited by ZafaelSR
0

Share this post


Link to post
Share on other sites

Posted · Report post

big thanks for this :)

0

Share this post


Link to post
Share on other sites

Posted · Report post

Not tested it yet as I haven't had time to flash CM9 and get it all set up properly, but if anyone wants to try it, here is one with the scripts I made before but including the 20userinit file. It doesn't have S2E in it, so you'll need to install that separately.

apps2ext-cm9.zip

Perfect for me. It's working fine. I'll keep using coldfusion.

Thank you very much!!

0

Share this post


Link to post
Share on other sites

Posted · Report post

here is promissed logcat:


I/DownloadManager( 6329): Initiating request for download 55

I/DownloadManager( 6329): Initiating request for download 55

I/qtaguid ( 6329): Failed write_ctrl(u 58) res=-1 errno=22

I/qtaguid ( 6329): Untagging socket 58 failed errno=-22

W/NetworkManagementSocketTagger( 6329): untagSocket(58) failed with errno -22

D/Finsky  ( 5816): [1] DownloadQueueImpl.notifyProgress: com.boidforandroid.appb

eta: onProgress 643937/643937 Status: 200.

D/Finsky  ( 5816): [1] DownloadBroadcastReceiver.onReceive: Intent received at D

ownloadBroadcastReceiver

D/Finsky  ( 5816): [1] DownloadImpl.setState: com.boidforandroid.appbeta from DO

WNLOADING to SUCCESS.

D/Finsky  ( 5816): [1] DownloadQueueImpl.onComplete: com.boidforandroid.appbeta:

 onComplete

D/Finsky  ( 5816): [1] DownloadQueueImpl.remove: Download com.boidforandroid.app

beta removed from DownloadQueue

I/installd(  229): free_cache(0) avail 1619709952

D/dalvikvm(  377): GC_CONCURRENT freed 671K, 26% free 10896K/14535K, paused 4ms+

6ms

D/dalvikvm( 5816): GC_CONCURRENT freed 1052K, 13% free 15054K/17287K, paused 5ms

+31ms

W/ActivityManager(  296): No content provider found for permission revoke: file:

///data/data/com.android.providers.downloads/cache/downloadfile-2.apk

D/dalvikvm(  377): GC_CONCURRENT freed 317K, 24% free 11047K/14535K, paused 4ms+

12ms

D/dalvikvm(  296): GC_EXPLICIT freed 176K, 16% free 16562K/19591K, paused 8ms+23

ms

D/Finsky  ( 5816): [344] 1.packageInstalled: Package install status for "null" i

s -4

D/HardwareRenderer( 5816): Disabling v-sync

D/Finsky  ( 5816): [1] InstallerTask.cancelCleanup: Cancel running installation

of com.boidforandroid.appbeta

D/memalloc(  224): /dev/pmem: Allocated buffer base:0x413fc000 size:491520 offse

t:3072000 fd:25

D/memalloc( 5816): /dev/pmem: Mapped buffer base:0x5369c000 size:3563520 offset:

3072000 fd:65

0

Share this post


Link to post
Share on other sites

Posted · Report post

Hey guys, I'm a n00b too, where do I create the 05sdcard file?

0

Share this post


Link to post
Share on other sites

Posted · Report post

i cant install s2e from play.... can someone upload the .apk please?

0

Share this post


Link to post
Share on other sites

Posted · Report post

i cant install s2e from play.... can someone upload the .apk please?

It's inside the zip in the op.

0

Share this post


Link to post
Share on other sites

Posted · Report post

Hey guys, I'm a n00b too, where do I create the 05sdcard file?

create it on you PC and then upload via ADB

0

Share this post


Link to post
Share on other sites

Posted · Report post

Hey i flashed the apps2ext-cm9 zip through CWM and then installed s2e but it doesnt seem to work, when i open s2e everything is greyed out except the download cache option the ui of s2e is confusing how do i use it?

0

Share this post


Link to post
Share on other sites

Posted · Report post

It's inside the zip in the op.

noob here. unable to find the .apk inside the zip...

0

Share this post


Link to post
Share on other sites

Posted · Report post

noob here. unable to find the .apk inside the zip...

Just tested it's in there.

0

Share this post


Link to post
Share on other sites

Posted · Report post

Just tested it's in there.

I might as well join the noob fest-how do we install this thing? Extract and find it in system/app then just run it or via clockwork mod? Because neither are working for me right now!

0

Share this post


Link to post
Share on other sites

Posted · Report post

Not sure how relevant this is to Blade users as I'm cross-posting this from the Crescent / Blade 2 forum, but here's a flashable zip of the Darktremor A2SD scripts + the mount script given earlier in this thread. Should be good for Blade use, as I've found there to be no difference in this regard.

http://www.mediafire.com/download.php?e69w1wxegx5ak4f

1

Share this post


Link to post
Share on other sites

Posted · Report post

Hi,

I run the file: 31032012-a2sd-ext3.zip left by Dazzozo And the ext4 on my blade apears.

So tks Dazzozo.

Just run the file on CWM.

1

Share this post


Link to post
Share on other sites

Posted · Report post

guys is there any disadvantages of using link2sd

0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now

MoDaCo is part of the MoDaCo.network, © Paul O'Brien 2002-2015. MoDaCo uses IntelliTxt technology.