Im not able to write the xt2 file in the lib directory. Seems like Its a read only directory.
Anyway I can correct that?
(Yes, I rooted my phone)
Anyway I can correct that?
(Yes, I rooted my phone)
I'm not sure how you're doing it. If it's with Root Explorer you need to tap the Mount R/W at the top in order to write to that directory, I believe.Im not able to write the xt2 file in the lib directory. Seems like Its a read only directory.
Anyway I can correct that?
(Yes, I rooted my phone)
Greetings from CanadaWorks perfect I checked yesterday. Greetings from Guatemala. Sorry for the English but the Google translator xD.
Im not able to write the xt2 file in the lib directory. Seems like Its a read only directory.
Anyway I can correct that?
(Yes, I rooted my phone)
I guess I'm too slow... lol
i formatted my card through Ubuntu and not Link2sd finally was able to mount my ext2 woohoo...
started to link, rebooted the phone, and tried to open apps, all forced closed.
ran a script through ADB and re-installed all apps, tried it again. same thing...
W/asset ( 8283): Asset path /data/app/com.twitter.android.apk is neither a directory nor file (type=0).
W/dalvikvm( 8283): threadid=3: thread exiting with uncaught exception (group=0x4001d1c8)
E/AndroidRuntime( 8283): Uncaught handler: thread main exiting due to uncaught exception
E/AndroidRuntime( 8283): java.lang.RuntimeException: Unable to get provider com.twitter.android.provider.TwitterProvider: java.lang.C
lassNotFoundException: com.twitter.android.provider.TwitterProvider in loader dalvik.system.PathClassLoader@455a3f70
E/AndroidRuntime( 8283): at android.app.ActivityThread.installProvider(ActivityThread.java:4271)
E/AndroidRuntime( 8283): at android.app.ActivityThread.installContentProviders(ActivityThread.java:4043)
E/AndroidRuntime( 8283): at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4002)
E/AndroidRuntime( 8283): at android.app.ActivityThread.access$2900(ActivityThread.java:119)
E/AndroidRuntime( 8283): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1902)
E/AndroidRuntime( 8283): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 8283): at android.os.Looper.loop(Looper.java:123)
E/AndroidRuntime( 8283): at android.app.ActivityThread.main(ActivityThread.java:4364)
E/AndroidRuntime( 8283): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 8283): at java.lang.reflect.Method.invoke(Method.java:521)
E/AndroidRuntime( 8283): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:860)
E/AndroidRuntime( 8283): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)
E/AndroidRuntime( 8283): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 8283): Caused by: java.lang.ClassNotFoundException: com.twitter.android.provider.TwitterProvider in loader dalvik.s
ystem.PathClassLoader@455a3f70
E/AndroidRuntime( 8283): at dalvik.system.PathClassLoader.findClass(PathClassLoader.java:243)
E/AndroidRuntime( 8283): at java.lang.ClassLoader.loadClass(ClassLoader.java:573)
E/AndroidRuntime( 8283): at java.lang.ClassLoader.loadClass(ClassLoader.java:532)
E/AndroidRuntime( 8283): at android.app.ActivityThread.installProvider(ActivityThread.java:4256)
E/AndroidRuntime( 8283): ... 12 more
W/ActivityManager( 1380): Launch timeout has expired, giving up wake lock!
W/ActivityManager( 1380): Activity idle timeout for HistoryRecord{45726f48 com.twitter.android/.LoginActivity}
# pwd
pwd
/data/app
# ls -l
ls -l
...snip...
lrwxrwxrwx root root 2011-01-26 10:36 com.twitter.android.apk -> /data/sdext2/com.twitter.android.apk
...snip...
i think this is the same thing that is happening to me. this is the adb logcat when i've tried to run my linked twitter app.
i've checked the sdext2 folder and the com.twitter.apk app does exists in there... so i don't know what's going onCode:W/asset ( 8283): Asset path /data/app/com.twitter.android.apk is neither a directory nor file (type=0).
A reboot seems to be required for the app icon to be regenerated. I'm not sure why this is but after rebooting, I haven't run into any problems so far (except market links being broken but that's a known issue).I quickly tried to do by hand what the app is doing. Unfortunately it didn't work for me either. Here are the steps I followed, I wonder if anyone can identify where things went wrong.
- Fresh installed Angry Birds
- Mounted the ext2 partition of the SD card to /data/sdext2
- Copied /data/app/com.rovio.angrybirds.apk to /data/sdext2
- removed original, and created a symbolic link com.rovio.angrybirds.apk -> /data/sdext2/com.rovio.angrybirds.apk
- This removed Angry birds from my app list, but I thought that's Ok as long as there's adb
- In adb shell, tried to execute "am start -a android.intent.action.MAIN -c android.intent.category.LAUNCHER -n com.rovio.angrybirds/com.rovio.ka3d.App -f 0x10200000"
- No joy :-( it fails with Error: Activity class {com.rovio.angrybirds/com.rovio.ka3d.App} does not exist. If the file was physically present instead of symbolic link, this launches Angry birds
Trying to guess where did I go wrong. I am kind of sure that reboot is not required, because without rebooting I can copy the apk back and forth and launch the application. Anyway I don't have boot script modified that could mount the ext2 on boot. Wondering if that matters ...
I've rebooted multiple times with the same error.
when i link an app with Link2SD, the icon disappears, i reboot, then an icon representing the app appears (default app icon). i open app, and it force closes immediately...
seems that for some reason, my phone doesn't recognize the symbolic link, but wants the real apk from /data/app
did you ever try the old Apps2SD script?
it basically does the same thing, if that worked for you in the past, the new App should work as well
I've rebooted multiple times with the same error.
when i link an app with Link2SD, the icon disappears, i reboot, then an icon representing the app appears (default app icon). i open app, and it force closes immediately...
seems that for some reason, my phone doesn't recognize the symbolic link, but wants the real apk from /data/app
the old Apps2SD script just pushes everything to the SD
there was yet another App2Card, but that app was very buggy, most of the time did not mount properly
I am happy to report that I was wrong. It worked perfectly with the following steps:I think i figured it out... wel part of it, kousik is right! "For some reason they first ensure the apk is a file and not a link? In such case it wouldn't work."
insmod /system/lib/modules/ext2.ko