MoDaCo is undergoing planned maintenance. Site functionality may be reduced - follow @modaco or @paulobrien on Twitter for updates.

  • Announcements

    • Reminder - MoDaCo position on illegal content

      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 software
      Nintendo 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 be hosted directly in topic via the MoDaCo attachment system
      ROMs must not contain any illegal 3rd party software (this includes trial versions included without permission)
      ROMs must give full credit to the original author
      This decision has been taken in light of the huge amount of interest in this area of device customisation within the community, and member feedback! Please note that custom ROM discussion should be kept in specific device sub-areas, (e.g. Kaiser.MoDaCo.com for Kaiser based devices). ISSUES If you have any issues with this policy, please contact me directly via PM. P
    • Support MoDaCo by signing up to a MoDaCo Silver or Gold membership

      To sign up to an annual MoDaCo Silver subscription which will eliminate all ads from the site (as well as giving you access to the MoDaCo Online Kitchens for Android) for only £9.99 using PayPal, Credit or Debit Card, ensure you are logged in to the site, and then click the link below, which will take you directly to the subscription store! You can also sign up to an annual MoDaCo Gold subscription for £29.99, which adds the benefits listed below! PURCHASE A MODACO SUBSCRIPTION - FREE Titanium Backup Mobile for Android worth $5.99! - FREE 1 year PrivateInternetAccess.com worth $39.95! - FREE 1 year LastPass Premium worth $12! - FREE CalcConvert for Pocket PC from Binaryfish worth $17.95! - FREE Calendar Bar for Pocket PC from OmegaOne worth $9.99! - FREE CamerAware for Pocket PC and Smartphone from MoDaCo worth £19.99 / $30! - FREE Chronos for Pocket PC from ActiveKitten worth $14.95! - FREE CodeWallet Pro for Smartphone and Pocket PC from DeveloperOne worth up to $24.95! - FREE Concentrix for Pocket PC from eSoft Interactive worth $9.95! - FREE FlexMail for Pocket PC and Smartphone from WebIS worth up to $59.90! - FREE FTouchSL for Pocket PC from Vekoff s.r.o. worth 10 euro / $12.50! - FREE Jewel Challenge for Pocket PC from eSoft Interactive worth $9.95! - FREE John Cody's Alerts Pro for Smartphone from Omnisoft worth $14.95! - FREE LingvoSoft Talking Dictionary 2008 English <-> Dutch for Pocket PC from Lingvosoft worth $49.95! - FREE LingvoSoft Talking Dictionary 2008 English <-> French for Pocket PC from Lingvosoft worth $49.95! - FREE LingvoSoft Talking Dictionary 2008 English <-> German for Pocket PC from Lingvosoft worth $49.95! - FREE LingvoSoft Talking Dictionary 2008 English <-> Italian for Pocket PC from Lingvosoft worth $49.95! - FREE LingvoSoft Talking Dictionary 2008 English <-> Spanish for Pocket PC from Lingvosoft worth $49.95! - FREE LingvoSoft Dictionary English <-> Dutch for Smartphone from Lingvosoft worth $49.95! - FREE LingvoSoft Dictionary English <-> French for Smartphone from Lingvosoft worth $49.95! - FREE LingvoSoft Dictionary English <-> German for Smartphone from Lingvosoft worth $49.95! - FREE LingvoSoft Dictionary English <-> Russian for Smartphone from Lingvosoft worth $49.95! - FREE LingvoSoft Dictionary English <-> Turkish for Smartphone from Lingvosoft worth $49.95! - FREE Note2Self for Pocket PC and Smartphone from WebIS worth up to $19.90! - FREE Opera 8.60 for Pocket PC and Smartphone from Opera Software worth up to $48! - FREE Pocket Informant for Pocket PC and Smartphone from WebIS worth up to $59.90! - FREE Pocket Launcher for Pocket PC and Smartphone from Conduits worth $9.95! - FREE PTab for Pocket PC and Smartphone from z4soft worth up to $60! - FREE Resco Explorer for Pocket PC and Smartphone from Resco worth up to $49.90! - FREE Safemode for Pocket PC from monocube worth $12.95 - FREE SplashPhoto for Pocket PC and Smartphone from SplashData worth up to $59.90! - FREE Sprite Backup for Pocket PC and Smartphone from Sprite Software worth $29.95! - FREE Teksoft Glyphs UI for Pocket PC and Smartphone from Teksoft €9.95! - FREE Teksoft HeadsetRemote for Pocket PC and Smartphone from Teksoft €4.95! - FREE Traffic Jam for Pocket PC from eSoft Interactive worth $9.95! - FREE unlock (1 per year) from imei-check.co.uk - DISCOUNT of 10% at MoDaCo FairDeal - DISCOUNT of 10% at Semsons.com - FORUM - AD FREE SITE - FORUM - custom rank / title - FORUM - double competition entries - FORUM - double post attachment space - FORUM - no search flood control - FORUM - priority event registration - FORUM - triple PM space
    • Reminder: Selling items on the forum directly is not allowed

      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 / suspensions / 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.