Permissions issues copying to /system - Hero CDMA Android Development

I have a Sprint HTC Hero
It's running 1.5
I've rooted the phone
I'm having some issues copying anything into, specifically, /system/media/bootscreen
I've tried mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
So /system should be rw:
Code:
drwxr-xr-x root root 2009-09-21 07:30 system
However, whenever I try to copy anything into that folder while su'd, I get:
Code:
# pwd
pwd
/
# cp /sdcard/Spor.jpg /data/local/
cp /sdcard/Spor.jpg /data/local/
# cp /data/local/Spor.jpg /system/media/bootscreen/
cp /data/local/Spor.jpg /system/media/bootscreen/
cp: cannot create '/system/media/bootscreen/Spor.jpg': Permission denied
# cp /sdcard/Spor.jpg /system/media/bootscreen/
cp /sdcard/Spor.jpg /system/media/bootscreen/
cp: cannot create '/system/media/bootscreen/Spor.jpg': Permission denied
I'm guessing i'm missing something stupid, but i've been messing around for the last night and I can't seem to figure it out.
Does anyone have any opinions?
Many thanks!

Permissions
You may have a directory permissions problem further down the tree, what does "ls -la /system" say? And "ls -la /system/media"?
BTW, another way for mount rw is "adb remount" before entering the shell.

adb remount doesn't work for me for some reason:
Code:
C:\android-sdk-windows\tools>adb remount
remount failed: Operation not permitted
Here are my /, /system, and /system/media
Code:
# ls -la
ls -la
drwxrwxrwt root root 2009-12-01 17:30 sqlite_stmt_journals
drwxrwx--- system cache 2009-11-28 15:00 cache
drwxrwxrwx system system 1969-12-31 17:00 sdcard
lrwxrwxrwx root root 2009-12-01 09:45 etc -> /system/etc
[B]drwxr-xr-x root root 2009-09-21 07:30 system[/B]
drwxr-xr-x root root 1969-12-31 17:00 sys
drwxr-x--- root root 1969-12-31 17:00 sbin
dr-xr-xr-x root root 1969-12-31 17:00 proc
-rw-r--r-- root root 11336 1969-12-31 17:00 logo.rle
-rwxr-x--- root root 10296 1969-12-31 17:00 init.rc
-rwxr-x--- root root 2965 1969-12-31 17:00 init.heroc.rc
-rwxr-x--- root root 1677 1969-12-31 17:00 init.goldfish.rc
-rwxr-x--- root root 106804 1969-12-31 17:00 init
-rw-r--r-- root root 118 1969-12-31 17:00 default.prop
drwxrwx--x system system 2009-09-21 06:56 data
drwx------ root root 1969-12-31 17:00 root
drwxr-xr-x root root 2009-12-01 09:45 dev
#
Code:
# ls -la /system
ls -la /system
drwxr-xr-x root root 2009-09-21 07:30 etc
drwxr-xr-x root root 2009-09-21 07:33 app
drwxr-xr-x root shell 2009-09-21 07:30 bin
drwxrwxrwx root shell 2009-11-29 01:57 xbin
-rw-r--r-- root root 1970 2009-11-28 15:10 build.prop
drwxr-xr-x root root 2009-09-21 07:30 usr
drwxr-xr-x root root 2009-09-21 07:30 fonts
drwxr-xr-x root root 2009-09-21 07:30 customize
drwxr-xr-x root root 2009-09-21 07:32 framework
drwxr-xr-x root root 2009-09-21 07:30 lib
[B]drwxr-xr-x root root 2009-09-21 07:30 media[/B]
drwxr-xr-x root root 2009-11-28 15:08 lost+found
#
Code:
# ls -la /system/media
ls -la /system/media
drwxr-xr-x root root 2009-09-21 07:30 audio
[B]drwxr-xr-x root root 2009-09-21 07:30 bootscreen[/B]
#

Strange
That all looks good. It's possible you are not really root (and therefore owner of these files/directories). Once in the adb shell try running "su"...even though you have what looks like the root prompt...then the "mount ...." command you posted initially.
From there make sure that "/default.prop" says "ro.secure=0" not "ro.secure=1".

5tr4t4 said:
That all looks good. It's possible you are not really root (and therefore owner of these files/directories). Once in the adb shell try running "su"...even though you have what looks like the root prompt...then the "mount ...." command you posted initially.
From there make sure that "/default.prop" says "ro.secure=0" not "ro.secure=1".
Click to expand...
Click to collapse
Yeah, I do have root. That's no question. I figured a work around - not sure why remounting rw (755) isn't working, but I changed the /system/media/bootscreen folder to (777) which is rwx and now i'm able to copy to and from that folder without any issues.
I'm trying to think about the underlying issue, but right now i'm happy. If my solution sheds some additional light to why rw isn't working, please let me know.
Thanks for your ideas though. I appreciate it.

Related

[GUIDE] How to recover after messing up with system/lib files

After reading this thread i got existed that finally Arabic is here but turned out its not interned for DHD and i messed up my lib files and now my phone don't boot
so i flashed CWM and flashed a new custom ROM because i had my S-off "thanks to the guys at #G2root channel in irc my phone is back to normal but i kept experimenting with it because i thought i might get it to work....well i didnt but learned some stuff in the processes i'm gonna share with you guys..
*********if your system/lib files are corrupted in any way and you have the stock files****************
1-Flash Clockwork MOD Recovery Image
2-go to CWM and then press the down button tell you go over the menu 3 times "this to make power button usable to select option"
3-go to storage and mount and mount USB storage
4-copy the stock files to your Sdcard
5-unmount from you cwm
6-mount system and mount sdcard from cwm
7- now in your pc run adb from CMD
8-type in "adb shell"
you should get ~#
9-type in "mount -o rw,remount -t ext3 /dev/block/mmcblk0p15 /system"
and then "cp /sdcard/TheFileYouWant.so /system/lib/" for example i did "cp /sdcard/libwebcore.so /system/lib/"
10-now type "ls -l /system/lib"
your file should be there
-rw-r--r-- root root 9568 2008-08-01 15:00 libwsp_jni.so
-rw-r--r-- root root 732520 2008-08-01 15:00 libstagefright.so
-rw-r--r-- root root 13736 2008-08-01 15:00 libdrm1_jni.so
-rw-r--r-- root root 771800 2008-08-01 15:00 libcrypto.so
----rwxr-x root root 5033648 2010-11-15 10:24 libwebcore.so
-rw-r--r-- root root 113068 2008-08-01 15:00 libLaputaLbProviderJni.so
-rw-r--r-- root root 13600 2008-08-01 15:00 libLaputaLogJni.so
-rw-r--r-- root root 149512 2008-08-01 15:00 libbinder.so
-rw-r--r-- root root 92368 2008-08-01 15:00 libext2fs.so
-rw-r--r-- root root 9260 2008-08-01 15:00 libaudioalsa.so
but it still wont boot because your file don't have permeations
"all system lib files need to be 644"
11-type in "chmod 644 /system/lib/libwebcore.so"
then type "ls -l /system/lib"
-rw-r--r-- root root 9568 2008-08-01 15:00 libwsp_jni.so
-rw-r--r-- root root 732520 2008-08-01 15:00 libstagefright.so
-rw-r--r-- root root 13736 2008-08-01 15:00 libdrm1_jni.so
-rw-r--r-- root root 771800 2008-08-01 15:00 libcrypto.so
-rw-r--r-- root root 5033648 2010-11-15 10:24 libwebcore.so
-rw-r--r-- root root 113068 2008-08-01 15:00 libLaputaLbProviderJni.so
-rw-r--r-- root root 13600 2008-08-01 15:00 libLaputaLogJni.so
-rw-r--r-- root root 149512 2008-08-01 15:00 libbinder.so
-rw-r--r-- root root 92368 2008-08-01 15:00 libext2fs.so
-rw-r--r-- root root 9260 2008-08-01 15:00 libaudioalsa.so
if your file is "-rw-r--r--" then your set just reboot from cwm and cross your fingers >.<
Thanks to <FatTire> and all of G2root channel for there help you guys are the best!

[Q] No /efs in new Samsung Models ??

Hi guys,
I few days back i rooted my samsung galaxy gio S5660 (froyo 2.2.1) and explored its file system. I was surprised to know that there wasn't any /efs directory unlike most of the galaxy s variants. Here's how it looked
PHP:
drwxr-xr-x root root 2011-05-19 11:20 acct
dr-x------ root root 2011-05-19 11:20 config
drwxrwx--- system cache 2011-05-19 11:20 cache
drwxrwx--x system system 2011-05-19 11:20 data
drwxr-xr-x root root 2011-05-19 13:42 dev
drwxr-xr-x root root 1970-01-01 12:03 lib
drwxrwxr-x root system 2011-05-19 11:20 mnt
lrwxrwxrwx root root 2011-05-19 11:20 d -> /sys/kernel/debug
lrwxrwxrwx root root 2011-05-19 11:20 etc -> /system/etc
drwxrwx--x system system 2011-05-19 11:20 persist
drwxr-xr-x root root 2011-05-19 11:20 system
drwxr-xr-x root root 1970-01-01 12:03 sys
drwxr-x--- root root 1970-01-01 12:03 sbin
lrwxrwxrwx root root 2011-05-19 11:20 sdcard -> /mnt/sdcard
dr-xr-xr-x root root 1970-01-01 12:03 proc
drwx------ root root 2011-03-18 13:19 root
-rwxr-x--- root root 17250 1970-01-01 12:03 init.rc
-rwxr-x--- root root 3301 1970-01-01 12:03 init.qcom.sh
-rwxr-x--- root root 1116 1970-01-01 12:03 init.qcom.rc
-rwxr-x--- root root 2016 1970-01-01 12:03 init.qcom.post_boot.sh
-rwxr-x--- root root 1512 1970-01-01 12:03 init.goldfish.rc
-rwxr-x--- root root 101828 1970-01-01 12:03 init
-rw-r--r-- root root 224 1970-01-01 12:03 default.prop
-rw-r--r-- root root 10014 1970-01-01 12:03 GIO.rle
Does any body has some insights into it ?? It seems like playing with the nv_data.bin file is not an option any more !!!

[Q] mount /system/vendor as rw

Upgraded to the lastest 3.1 and I wanted to remove some bloat as usual. /system/app seems to be mountedable as rw. However /system/vendor now does not seem to work. What am I missing? I had a look at it and it seems that /system/vendoris now system.system instead of root.root
What am i doing wrong?
Also another quick question, what is that function/applet/whatchcallits that allows your to tab autocomplete inshell?
Code:
$ export PATH=/data/local/bin:$PATH
$ su
# busybox mount -o rw,remount /system
# cd /system
# ls -al
drwxr-xr-x root root 2011-07-16 21:58 app
drwxr-xr-x root shell 2011-07-05 22:12 bin
-rw-r--r-- root root 1839 2008-08-01 20:00 build.prop
drwxr-xr-x root root 2011-07-07 00:34 etc
drwxr-xr-x root root 2011-07-05 22:12 fonts
drwxr-xr-x root root 2011-07-05 22:12 framework
drwxr-xr-x root root 2011-07-05 22:12 lib
drwxr-xr-x root root 1970-01-01 08:00 lost+found
drwxr-xr-x root root 2011-07-05 22:12 media
drwxr-xr-x root root 2011-07-05 22:12 usr
drwxr-xr-x system system 2011-07-13 09:33 vendor
drwxr-xr-x root shell 2011-07-07 00:34 xbin
# cd vendor
# ls
app
builtin_data.zip
fixwifi
flexrom.prop
lib
pm
# cd app
# ls
APKInstaller.apk
CheckerLaunch.apk
CiteReader-1.0.18.06150.apk
FixWifi.apk
GoldenClub_1.0.0.apk
KoboAcer.apk
# mv GoldenClub_1.0.0.apk GoldenClub_1.0.0.bak
failed on 'GoldenClub_1.0.0.apk' - Read-only file system
#

[Q] after external gapps: everything 'has stopped'

i was successful in installing the latest evervolv kitkat (http://forum.xda-developers.com/showpost.php?p=47778249&postcount=1) on my nexus one, but i can't get the google core apps working on an external partition. i used this approach
http://forum.xda-developers.com/showpost.php?p=28574807&postcount=3
with the latest gapps core from http://forum.xda-developers.com/showthread.php?t=2012857
the logcat looks fine (at least to me):
$ ./adb.exe logcat -C |grep extg
I/extgapps( 114): Removed Provision
I/extgapps( 120): Created /system/framework/com.google.widevine.software.drm.jar
I/extgapps( 125): Created /system/framework/com.google.android.media.effects.jar
I/extgapps( 130): Created /system/framework/com.google.android.maps.jar
I/extgapps( 133): Created /system/addon.d
I/extgapps( 137): Created /system/addon.d/70-gapps.sh
I/extgapps( 142): Created /system/etc/permissions/com.google.android.maps.xml
I/extgapps( 147): Created /system/etc/permissions/features.xml
I/extgapps( 152): Created /system/etc/permissions/com.google.android.media.effects.xml
I/extgapps( 157): Created /system/etc/permissions/com.google.widevine.software.drm.xml
I/extgapps( 160): Created /system/etc/preferred-apps
I/extgapps( 164): Created /system/etc/preferred-apps/google.xml
I/extgapps( 169): Created /system/app/ChromeBookmarksSyncAdapter.apk
I/extgapps( 174): Created /system/app/GoogleCalendarSyncAdapter.apk
I/extgapps( 179): Created /system/app/GoogleContactsSyncAdapter.apk
I/extgapps( 184): Created /system/app/MediaUploader.apk
I/extgapps( 189): Created /system/priv-app/SetupWizard.apk
I/extgapps( 194): Created /system/priv-app/GoogleOneTimeInitializer.apk
I/extgapps( 199): Created /system/priv-app/Phonesky.apk
I/extgapps( 204): Created /system/priv-app/GoogleFeedback.apk
I/extgapps( 209): Created /system/priv-app/GmsCore.apk
I/extgapps( 214): Created /system/priv-app/GoogleLoginService.apk
I/extgapps( 219): Created /system/priv-app/GoogleServicesFramework.apk
I/extgapps( 224): Created /system/priv-app/GoogleBackupTransport.apk
I/extgapps( 229): Created /system/priv-app/GooglePartnerSetup.apk
I/extgapps( 234): Created /system/lib/libAppDataSearch.so
I/extgapps( 239): Created /system/lib/libgames_rtmp_jni.so
I/extgapps( 244): Created /system/lib/libjni_latinime.so
Click to expand...
Click to collapse
but now i can't even login to the system since directly after the unlock gesture stuff like this happens:
E/dalvikvm(29932): Dex cache directory isn't writable: /data/dalvik-cache
I/dalvikvm(29932): Unable to open or create cache for /sd-ext/gapps/system/priv-app/SetupWizard.apk (/data/dalvik-cache/[email protected]@[email protected]@[email protected])
D/AndroidRuntime(29932): Shutting down VM
W/dalvikvm(29932): threadid=1: thread exiting with uncaught exception (group=0x4192ab90)
E/AndroidRuntime(29932): FATAL EXCEPTION: main
E/AndroidRuntime(29932): Process: com.google.android.setupwizard, PID: 29932
E/AndroidRuntime(29932): java.lang.RuntimeException: Unable to instantiate application com.google.android.setupwizard.SetupWizardApplication: java.lang.ClassNotFoundException: Didn't find class "com.google.android.setupwizard.SetupWizardApplication" on path: DexPathList[[zip file "/system/priv-app/SetupWizard.apk"],nativeLibraryDirectories=[/vendor/lib, /system/lib]]
E/AndroidRuntime(29932): at android.app.LoadedApk.makeApplication(LoadedApk.java:516)
E/AndroidRuntime(29932): at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4329)
E/AndroidRuntime(29932): at android.app.ActivityThread.access$1400(ActivityThread.java:142)
E/AndroidRuntime(29932): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1464)
E/AndroidRuntime(29932): at android.os.Handler.dispatchMessage(Handler.java:102)
E/AndroidRuntime(29932): at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime(29932): at android.app.ActivityThread.main(ActivityThread.java:5029)
E/AndroidRuntime(29932): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime(29932): at java.lang.reflect.Method.invoke(Method.java:515)
E/AndroidRuntime(29932): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:782)
E/AndroidRuntime(29932): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:598)
E/AndroidRuntime(29932): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime(29932): Caused by: java.lang.ClassNotFoundException: Didn't find class "com.google.android.setupwizard.SetupWizardApplication" on path: DexPathList[[zip file "/system/priv-app/SetupWizard.apk"],nativeLibraryDirectories=[/vendor/lib, /system/lib]]
E/AndroidRuntime(29932): at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
E/AndroidRuntime(29932): at java.lang.ClassLoader.loadClass(ClassLoader.java:497)
E/AndroidRuntime(29932): at java.lang.ClassLoader.loadClass(ClassLoader.java:457)
E/AndroidRuntime(29932): at android.app.Instrumentation.newApplication(Instrumentation.java:975)
E/AndroidRuntime(29932): at android.app.LoadedApk.makeApplication(LoadedApk.java:511)
E/AndroidRuntime(29932): ... 11 more
E/AndroidRuntime(29932): Suppressed: java.io.IOException: unable to open DEX file
E/AndroidRuntime(29932): at dalvik.system.DexFile.openDexFileNative(Native Method)
E/AndroidRuntime(29932): at dalvik.system.DexFile.openDexFile(DexFile.java:296)
E/AndroidRuntime(29932): at dalvik.system.DexFile.<init>(DexFile.java:80)
E/AndroidRuntime(29932): at dalvik.system.DexFile.<init>(DexFile.java:59)
E/AndroidRuntime(29932): at dalvik.system.DexPathList.loadDexFile(DexPathList.java:263)
E/AndroidRuntime(29932): at dalvik.system.DexPathList.makeDexElements(DexPathList.java:230)
E/AndroidRuntime(29932): at dalvik.system.DexPathList.<init>(DexPathList.java:112)
E/AndroidRuntime(29932): at dalvik.system.BaseDexClassLoader.<init>(BaseDexClassLoader.java:48)
E/AndroidRuntime(29932): at dalvik.system.PathClassLoader.<init>(PathClassLoader.java:65)
E/AndroidRuntime(29932): at android.app.ApplicationLoaders.getClassLoader(ApplicationLoaders.java:57)
E/AndroidRuntime(29932): at android.app.LoadedApk.getClassLoader(LoadedApk.java:326)
E/AndroidRuntime(29932): at android.app.LoadedApk.makeApplication(LoadedApk.java:508)
E/AndroidRuntime(29932): ... 11 more
Click to expand...
Click to collapse
[email protected]:/ # ls -al /system/app
ls -al /system/app
-rw-r--r-- root root 32701 2008-08-01 14:00 BasicDreams.apk
-rw-r--r-- root root 792524 2008-08-01 14:00 Bluetooth.apk
-rw-r--r-- root root 2341677 2008-08-01 14:00 Browser.apk
-rw-r--r-- root root 336811 2008-08-01 14:00 Calculator.apk
-rw-r--r-- root root 2372649 2008-08-01 14:00 Camera2.apk
-rw-r--r-- root root 411178 2008-08-01 14:00 CellBroadcastReceiver.apk
-rw-r--r-- root root 157835 2008-08-01 14:00 CertInstaller.apk
lrwxrwxrwx root root 2013-11-30 13:09 ChromeBookmarksSyncAdapter.apk -> /sd-ext/gapps/system/app/ChromeBookmarksSyncAdapter.apk
-rw-r--r-- root root 2242107 2008-08-01 14:00 DeskClock.apk
-rw-r--r-- root root 108251 2008-08-01 14:00 Development.apk
-rw-r--r-- root root 361119 2008-08-01 14:00 DocumentsUI.apk
-rw-r--r-- root root 230152 2008-08-01 14:00 DownloadProviderUi.apk
-rw-r--r-- root root 116355 2008-08-01 14:00 EVTips.apk
-rw-r--r-- root root 152443 2008-08-01 14:00 EVUpdater.apk
-rw-r--r-- root root 199796 2008-08-01 14:00 EVWidgets.apk
-rw-r--r-- root root 263658 2008-08-01 14:00 Galaxy4.apk
-rw-r--r-- root root 4882949 2008-08-01 14:00 Gallery2.apk
lrwxrwxrwx root root 2013-11-30 13:09 GoogleCalendarSyncAdapter.apk -> /sd-ext/gapps/system/app/GoogleCalendarSyncAdapter.apk
lrwxrwxrwx root root 2013-11-30 13:09 GoogleContactsSyncAdapter.apk -> /sd-ext/gapps/system/app/GoogleContactsSyncAdapter.apk
-rw-r--r-- root root 11881 2008-08-01 14:00 HTMLViewer.apk
-rw-r--r-- root root 60797 2008-08-01 14:00 HoloSpiralWallpaper.apk
-rw-r--r-- root root 69820 2008-08-01 14:00 KeyChain.apk
-rw-r--r-- root root 15645276 2008-08-01 14:00 LatinIME.apk
-rw-r--r-- root root 1108004 2008-08-01 14:00 Launcher3.apk
-rw-r--r-- root root 1747799 2008-08-01 14:00 LiveWallpapers.apk
-rw-r--r-- root root 177573 2008-08-01 14:00 LiveWallpapersPicker.apk
-rw-r--r-- root root 227957 2008-08-01 14:00 MagicSmokeWallpapers.apk
lrwxrwxrwx root root 2013-11-30 13:09 MediaUploader.apk -> /sd-ext/gapps/system/app/MediaUploader.apk
-rw-r--r-- root root 724691 2008-08-01 14:00 Music.apk
-rw-r--r-- root root 79123 2008-08-01 14:00 NoiseField.apk
-rw-r--r-- root root 5656 2008-08-01 14:00 PacProcessor.apk
-rw-r--r-- root root 366489 2008-08-01 14:00 PackageInstaller.apk
-rw-r--r-- root root 75027 2008-08-01 14:00 PhaseBeam.apk
-rw-r--r-- root root 474439 2008-08-01 14:00 PhotoTable.apk
-rw-r--r-- root root 18146 2008-08-01 14:00 PicoTts.apk
-rw-r--r-- root root 212403 2008-08-01 14:00 PrintSpooler.apk
-rw-r--r-- root root 129848 2008-08-01 14:00 SoundRecorder.apk
-rw-r--r-- root root 11229 2008-08-01 14:00 SpeechRecorder.apk
-rw-r--r-- root root 93044 2008-08-01 14:00 Stk.apk
-rw-r--r-- root root 88796 2008-08-01 14:00 TelephonyProvider.apk
-rw-r--r-- root root 36948 2008-08-01 14:00 ThemeChooser.apk
-rw-r--r-- root root 10917 2008-08-01 14:00 UserDictionaryProvider.apk
-rw-r--r-- root root 193970 2008-08-01 14:00 VisualizationWallpapers.apk
-rw-r--r-- root root 7148 2008-08-01 14:00 WAPPushManager.apk
[...]
[email protected]:/ # ls -al system/priv-app
ls -al system/priv-app
-rw-r--r-- root root 131818 2008-08-01 14:00 BackupRestoreConfirmation.apk
-rw-r--r-- root root 223596 2008-08-01 14:00 CalendarProvider.apk
-rw-r--r-- root root 2568532 2008-08-01 14:00 Contacts.apk
-rw-r--r-- root root 388812 2008-08-01 14:00 ContactsProvider.apk
-rw-r--r-- root root 19536 2008-08-01 14:00 DefaultContainerService.apk
-rw-r--r-- root root 4462895 2008-08-01 14:00 Dialer.apk
-rw-r--r-- root root 456284 2008-08-01 14:00 DownloadProvider.apk
-rw-r--r-- root root 671246 2008-08-01 14:00 EVToolbox.apk
-rw-r--r-- root root 23806 2008-08-01 14:00 ExternalStorageProvider.apk
-rw-r--r-- root root 14321 2008-08-01 14:00 FusedLocation.apk
lrwxrwxrwx root root 2013-11-30 13:09 GmsCore.apk -> /sd-ext/gapps/system/priv-app/GmsCore.apk
lrwxrwxrwx root root 2013-11-30 13:09 GoogleBackupTransport.apk -> /sd-ext/gapps/system/priv-app/GoogleBackupTransport.apk
lrwxrwxrwx root root 2013-11-30 13:09 GoogleFeedback.apk -> /sd-ext/gapps/system/priv-app/GoogleFeedback.apk
lrwxrwxrwx root root 2013-11-30 13:09 GoogleLoginService.apk -> /sd-ext/gapps/system/priv-app/GoogleLoginService.apk
lrwxrwxrwx root root 2013-11-30 13:09 GoogleOneTimeInitializer.apk -> /sd-ext/gapps/system/priv-app/GoogleOneTimeInitializer.apk
lrwxrwxrwx root root 2013-11-30 13:09 GooglePartnerSetup.apk -> /sd-ext/gapps/system/priv-app/GooglePartnerSetup.apk
lrwxrwxrwx root root 2013-11-30 13:09 GoogleServicesFramework.apk -> /sd-ext/gapps/system/priv-app/GoogleServicesFramework.apk
-rw-r--r-- root root 132613 2008-08-01 14:00 InputDevices.apk
-rw-r--r-- root root 1025529 2008-08-01 14:00 Keyguard.apk
-rw-r--r-- root root 124859 2008-08-01 14:00 MediaProvider.apk
-rw-r--r-- root root 1744248 2008-08-01 14:00 Mms.apk
-rw-r--r-- root root 99109 2008-08-01 14:00 MusicFX.apk
-rw-r--r-- root root 5696 2008-08-01 14:00 OneTimeInitializer.apk
lrwxrwxrwx root root 2013-11-30 13:09 Phonesky.apk -> /sd-ext/gapps/system/priv-app/Phonesky.apk
-rw-r--r-- root root 8237 2008-08-01 14:00 ProxyHandler.apk
-rw-r--r-- root root 11191525 2008-08-01 14:00 Settings.apk
-rw-r--r-- root root 127249 2008-08-01 14:00 SettingsProvider.apk
lrwxrwxrwx root root 2013-11-30 13:09 SetupWizard.apk -> /sd-ext/gapps/system/priv-app/SetupWizard.apk
-rw-r--r-- root root 6909 2008-08-01 14:00 SharedStorageBackup.apk
-rw-r--r-- root root 47864 2008-08-01 14:00 Shell.apk
-rw-r--r-- root root 1486770 2008-08-01 14:00 SystemUI.apk
-rw-r--r-- root root 2675646 2008-08-01 14:00 TeleService.apk
-rw-r--r-- root root 215775 2008-08-01 14:00 ThemeManager.apk
-rw-r--r-- root root 123279 2008-08-01 14:00 VoiceDialer.apk
-rw-r--r-- root root 59415 2008-08-01 14:00 VpnDialogs.apk
-rw-r--r-- root root 61052 2008-08-01 14:00 WallpaperCropper.apk
[...]
[email protected]:/ # mount
mount
rootfs / rootfs ro,relatime 0 0
tmpfs /dev tmpfs rw,nosuid,relatime,mode=755 0 0
devpts /dev/pts devpts rw,relatime,mode=600 0 0
proc /proc proc rw,relatime 0 0
sysfs /sys sysfs rw,relatime 0 0
none /acct cgroup rw,relatime,cpuacct 0 0
none /sys/fs/cgroup tmpfs rw,relatime,mode=750,gid=1000 0 0
none /sys/fs/cgroup/memory cgroup rw,relatime,memory 0 0
tmpfs /mnt/secure tmpfs rw,relatime,mode=700 0 0
tmpfs /mnt/asec tmpfs rw,relatime,mode=755,gid=1000 0 0
tmpfs /mnt/obb tmpfs rw,relatime,mode=755,gid=1000 0 0
none /dev/cpuctl cgroup rw,relatime,cpu 0 0
/dev/block/mtdblock3 /system yaffs2 ro,relatime 0 0
/dev/block/mtdblock5 /data yaffs2 rw,nosuid,nodev,relatime 0 0
/dev/block/mtdblock4 /cache yaffs2 rw,nosuid,nodev,relatime 0 0
/dev/block/mmcblk0p2 /sd-ext ext4 rw,noatime,nodiratime,barrier=1,data=writeback,noauto_da_alloc 0 0
/sys/kernel/debug /sys/kernel/debug debugfs rw,relatime 0 0
/dev/block/vold/179:1 /mnt/media_rw/sdcard0 vfat rw,dirsync,nosuid,nodev,noexec,relatime,uid=1023,gid=1023,fmask=0007,dmask=0007,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
/dev/block/vold/179:1 /mnt/secure/asec vfat rw,dirsync,nosuid,nodev,noexec,relatime,uid=1023,gid=1023,fmask=0007,dmask=0007,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
/dev/fuse /storage/sdcard0 fuse rw,nosuid,nodev,relatime,user_id=1023,group_id=1023,default_permissions,allow_other 0 0
Click to expand...
Click to collapse
does anyone have any idea what the problem could be?
tried the older version of gapps core (24-11 instead of 26-11) that still included the odex files, but the result is the same
i installed them to the system partition now and that works fine. still not the solution i was looking for considering the size of the internal partitions...
since there's no feedback i'll shamelessly use this abandoned thread to get a postcount over 10...
nearly there...
i can see the light...
here we go.
Hi bfink,
I am experiencing the same issue on my droid incredible. I saw you worked around it by installing to the system partition rather than using sd-ext. Unfortunately, with my latest build of Evervolv (Android 4.4.1) for my phone, even after cleaning out extra system apps and media files, I'm still maxing out the /system partition and can't get gapps to work. When I try the extgapps method linked in your first post, I get the same errors as you (i.e. ClassNotFoundException). Did you ever get that method working or figure out what the issue is?
Anyone else?
Thanks
sadly no. what you could try is to install some system apps as normal apps, i.e. move them from system to data or use the functionality for that in titanium backup, then install the gapps to system and maybe also move some afterwards. or resize the system partition when you reinstall the next time.
thanks a lot!
Sent from my GT-N7100 using xda app-developers app
Thanks for the response. Unfortunately I don't know of any way to resize the partitions on the droid incredible. It is very similar to the nexus one as far as hardware goes, but I don't think we have the ability to mess with the partitions. If anyone knows of a way, feel free to correct/enlighten me.
I just ended up spending some more time clearing out additional things I don't need from the system partition (like non-English fonts). Eventually I was able to get enough space, but I had some other unrelated issues too. Maybe this will get fixed, but until then I think we'll just have to free space in whatever way we can (e.g. removing system apps, moving system apps to data, deleting unused media/font files, etc.). Thanks again.
I'm late to the party here (really want my 10 posts )
But I think you might want to try a clean flash with a new set of Gapps?
CWM Backup
Wipe System
Wipe Data
Wipe Cache and Dalvik
Flash Rom
Flash 4.4.1 gapps ([GAPPS][4.4.1/4.4.2] Unofficial GApps [10-Dec-2013])
Wipe Cache and Dalvik
Reboot
---------- Post added at 09:45 PM ---------- Previous post was at 09:39 PM ----------
also, if you need more answer, try a google search with "site:forum.xda-developers.com" at the end so you get XDa results

[Q] [Asus me301t] Symlinking removable devices to /mnt/sdcard

Hi to all!
I post my question here hoping it is the correct place.
I would like to create a link in the /mnt/sdcard directory of my tablet to the place where usb and sdcard are mounted (namely the /Removable directory).
I've tried to create the link using adb shell but with no result at the moment.
This is the situation on my Asus me301t tablet:
Code:
ls -all
drwxr-xr-x root system 2013-12-08 15:49 Removable
drwxr-xr-x root root 2013-12-08 15:49 acct
drwxrwx--- system cache 2013-12-08 16:54 cache
dr-x------ root root 2013-12-08 15:49 config
lrwxrwxrwx root root 2013-12-08 15:49 d -> /sys/kernel/debug
drwxrwx--x system system 2013-12-08 15:49 data
-rw-r--r-- root root 116 1970-01-01 01:00 default.prop
drwxr-xr-x root root 2013-12-08 15:49 dev
lrwxrwxrwx root root 2013-12-08 15:49 etc -> /system/etc
-rw-r----- root root 718 1970-01-01 01:00 fstab.cardhu
-rwxr-x--- root root 113524 1970-01-01 01:00 init
-rwxr-x--- root root 3012 1970-01-01 01:00 init.0b.rc
-rwxr-x--- root root 15918 1970-01-01 01:00 init.cardhu.rc
-rwxr-x--- root root 2487 1970-01-01 01:00 init.goldfish.rc
-rwxr-x--- root root 18247 1970-01-01 01:00 init.rc
-rwxr-x--- root root 244 1970-01-01 01:00 init.tf.rc
-rwxr-x--- root root 1795 1970-01-01 01:00 init.trace.rc
-rwxr-x--- root root 4150 1970-01-01 01:00 init.usb.rc
drwxrwxr-x root system 2013-12-08 15:49 mnt
dr-xr-xr-x root root 1970-01-01 01:00 proc
drwx------ root root 2013-04-19 08:42 root
drwxr-x--- root root 1970-01-01 01:00 sbin
lrwxrwxrwx root root 2013-12-08 15:49 sdcard -> /storage/emulated/legacy
d---r-x--- root sdcard_r 2013-12-08 15:49 storage
drwxr-xr-x root root 2013-12-08 15:49 sys
drwxr-xr-x root root 1970-01-01 01:00 system
-rw-r--r-- root root 2520 1970-01-01 01:00 ueventd.cardhu.rc
-rw-r--r-- root root 272 1970-01-01 01:00 ueventd.goldfish.rc
-rw-r--r-- root root 4024 1970-01-01 01:00 ueventd.rc
lrwxrwxrwx root root 2013-12-08 15:49 vendor -> /system/vendor
So /Removable is a directory.
The same is not true for the /mnt/sdcard
Code:
[email protected]:/mnt $ ls -all
drwxr-xr-x root system 2013-12-08 15:49 asec
drwxr-xr-x root system 2013-12-08 15:49 obb
lrwxrwxrwx root root 2013-12-08 15:49 sdcard -> /storage/emulated/legacy
drwx------ root root 2013-12-08 15:49 secure
drwx------ shell shell 2013-12-08 15:49 shell
Moreover also /storage/emulated/legacy is a link
Code:
[email protected]:/storage/emulated $ ls -all
lrwxrwxrwx root root 2013-12-08 15:49 legacy -> /mnt/shell/emulated/0
The /mnt/shell/emulated/0 is a real directory and these are the owner and permission of the directory which constitute that path:
Code:
[email protected]:/mnt/shell/emulated/0 $ cd ..
[email protected]:/mnt/shell/emulated $ ls -all
drwxrwxr-x root sdcard_rw 2013-12-08 16:17 0
drwxrwxr-x root sdcard_rw 2013-08-29 12:55 legacy
drwxrwxr-x root sdcard_rw 2013-08-29 12:54 obb
[email protected]:/mnt/shell/emulated $ cd ..
[email protected]:/mnt/shell $ ls -all
drwxrwxr-x root sdcard_rw 2013-08-29 12:55 emulated
[email protected]:/mnt/shell $ cd ..
[email protected]:/mnt $ ls -all
drwxr-xr-x root system 2013-12-08 15:49 asec
drwxr-xr-x root system 2013-12-08 15:49 obb
lrwxrwxrwx root root 2013-12-08 15:49 sdcard -> /storage/emulated/legacy
drwx------ root root 2013-12-08 15:49 secure
drwx------ shell shell 2013-12-08 15:49 shell
I've tried to create the link and I obtain the following error:
Code:
ln -s /Removable/ /mnt/shell/emulated/0/Removable
link failed Function not implemented
Is it possible to create such a link without being root?
Otherwise is it possible to get root access only temporarily so that to create such a link or whichever is required to obtain the same functionality (removable sdcard and usb should be visible under /mnt/sdcard).
Thank you for your help,
Xwang
UP, please.
Xwang
UP!
Can anybody help me, please?
Xwang

Categories

Resources