Android :: Adb Remount Fails On 1.5
May 13, 2009
I have upgraded my phone's images to Android 1.5 images (from http://www.htc.com/www/support/android/adp.html) Now when I try commands like adb remount, chmod, adb push etc I get "Operation not permitted" and "Permission denied" errors
I was able to give this command when I had 1.0 images flashed on my phone.
Has something related to permissions changed with Android 1.5?
View 2 Replies
Jul 22, 2010
I'm attempting to remove certain files from the SD image mounted on the emulator.
NDUNN-PC ~
$ adb devices
List of devices attached
emulator-5554 device
NDUNN-PC ~
$ adb shell rm -f /sdcard/maps/*
rm failed for -f, Read-only file system
NDUNN-PC ~
$ adb remount
remount succeeded
NDUNN-PC ~
$ adb shell rm -f /sdcard/maps/*
rm failed for -f, Read-only file system
From all the docs I've read, remount is supposed to toggle between read-write/read-only permissions. But that doesn't seem to work in this case. Any idea what's wrong? Using Windows XP, emulator is running Android SDK 1.6 (with Google Maps APIs).
View 1 Replies
View Related
Jun 23, 2010
Im trying to enable the eclair lockscreen on Villain 10.3.2 , from a prompt
cd
cd androidSDK ools
adb remount
Then nothing the cursor moves down a line but stops me entering anymore comands, any idea's?
View 6 Replies
View Related
Aug 19, 2009
How to remount /sdcard directory to read/write on emulator?
I read this:
http://android-tricks.blogspot.com/2009/01/mount-filesystem-read-write.html
But i don't know how to apply that to remount /sdcard directory in read-write mode?
View 1 Replies
View Related
Jun 1, 2010
I was playing with the phone options, and i clicked "unmount SD card". I don't actually want to unmount the card, but there is no option to "remount".
View 5 Replies
View Related
Oct 1, 2010
Something strange is going on here. I've removed and re-seated the SD card but when the phone boots up it says theres a problem and SD will be read only. Settings->Phone/SD storage says read only. Dropbox won't download anything because it cant find the SD card. However, EStrongs File Explorer and Root Explorer say it is read/write.
I think this happened because yesterday I put the sd card in my computer and the SD adapter I use automatically goes to 'read only' with a tab on the side when you push it in. I had put some tape on it to prevent that but I suppose it got loose, so I can't modify my SD card till I get home and can fix it with the SD adapter. Unless someone knows of a way to do it in the phone....
View 2 Replies
View Related
May 8, 2010
I type adb remount into terminal emulator & it says adb permission denied...is this normal ..how to make it allow access?
View 2 Replies
View Related
Jun 6, 2010
Can somebody PLEASE take the time to let me know HOW TO Re-Mount my SD Card? Dont know what happened after the 2.1 Update but shows Unmounted and NEED TO Re-Mount...
View 2 Replies
View Related
Aug 4, 2010
I just got a new incredible (upgrade from eris) and I just rooted it using unrevoked. I tried to use adb like I am used to doing with my eris but it seems I do not have root permission (although I do have super user app and its working from what I can tell).?
[root@studio ~]# adb remount
remount failed: Operation not permitted
[root@studio ~]# adb shell
$ getprop ro.secure
1
View 17 Replies
View Related
May 20, 2010
I am looking for an app that i can leave in the app drawer not have it on my homescreen. any apps that remount SD card but that isnt a widget? i use SDmount and its great but its a widget and needs to be on my home screen which i dont want.
View 13 Replies
View Related
Feb 4, 2012
I've got an Acer A200 that is running the leaked version of ICS 4.0.3
Utilizing saurik's mempodroid I am able to exploit the kernel (2.6.39.4+) and gain root, but I cannot remount /system. I've tried quite a few different mount commands and they all result in the same error "mount: Operation not permitted".Here are the mount commands I've tried:
Code:
remount rw
mount -o remount,rw '' /system
mount -o remount,rw /system
mount -o remount,rw -t ext4 /dev/block/mmcblk0p3 /system
mount -o remount,rw /dev/block/mmcblk0p3 /system
A regular mount command gives me this:
Code:
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[code]......
View 3 Replies
View Related
Apr 16, 2010
I'm trying to do is open a very simple application that is supposed to do nothing but display an imageView above a textView. The application worked fine until I added the imageView so I'm assuming my problem has something to do with that.
Here is the code:
CODE:............
Here is my layout -> main.xml
CODE:....................
When I try and run the app in Eclipse through the Emulator the emulator gives me the following error:
The application Application Name (process.com.isi.sa) has stopped unexpectedly. Please try again.
The Console log in Eclipse shows the following messages:
CODE:.......................
View 1 Replies
View Related
Jan 6, 2010
When I try to install the android SDK it fails to install.
My OS is Windows XP. I just downloaded and installed Java JDK 1.6 Java -version from the command line returns: http://stackoverflow.com/questions/ask java version "1.6.0_17" Java(TM) SE Runtime Environment (build 1.6.0_17-b04) Java HotSpot(TM) Client VM (build 14.3-b01, mixed mode, sharing)
My environment vars have: JAVA_HOME=c:progra~1javajdk1.6.0_11. I downloaded android-sdk-r04-windows.zip. I unziped it in V:AndroidInstall
When I go to the V:androindinstallandroid-sdk-windows> and type "SDK Install.exe" nothing happens...If I go this from graph
When I do this from a graphical file viewer I get a quick flash that looks like a command line window and nothing....
When I try to run android list targets from the tool directory I get:
Error: Error parsing the sdk.
Error: V:androindinstallandroid-sdk-windowsplatforms is missing.
Error: Unable to parse SDK content.
So the basic install setup is not happening.
Additional clues:
I have a G1 and Android 1.0 was running on this machine. (Almost a year ago) I've updated my G1 to 1.6 so I thought I'd update my SDK before starting new development.
When I tried to upgrade it tried and then died as the "directory was in use"
So I cleaned out all the android directories, rebooted and redownloaded everythign from scratch.
Now it won't run at all.
I've clearly got something in an unhappy state, but I've cleaned up all the directories and no remanants seem to be running I've rebooted....
View 3 Replies
View Related
Feb 28, 2009
I'm using the SAX parser to read some RSS feeds and have found a problem. Some feeds, for example CNN Money Top Stories, have embedded some characters in their content, i.e. the copyright symbol. Well, that's not valid XML and the SAX Parser fails with an exception "invalid token". The only help I have seen given is to fix the XML at the source and that's not an option obviously. So, I can think of 2 options and they both stink:
(a) read the content first, scrub it, and then pass it to the parser.
(b) Use DOM instead of SAX.
What I *want* to do is make the parser a little more forgiving and just accept or discard/ignore the bad text. I'm not have any luck with setErrorHandler. My error handler does not get called.
View 7 Replies
View Related
Sep 10, 2009
I'm trying to build a simple video recorder for an Android device and I've had limited success and mixed results. It worked once, but now, without changing anything, I'm getting a "Camera is not available" error followed by "prepare failed -2147483648" error.
View 1 Replies
View Related
Sep 24, 2010
I recently upgraded my SDK from 7 to 8. One of my applications uses Google GeoCoding, specifically the Geocoder object. After the upgrade, when I call the getFromLocation method, it doesn't return any addresses and I see a message in the logcat to the effect that GLS failed with status 20. My Google Maps API key is working fine because I'm seeing the map tiles, but GeoCoding is broken. It works fine if I run a previous (SDK 7) build of my app.
View 6 Replies
View Related
Oct 3, 2010
I want to upload an upgrade in the market. But when I upload the apk and new images and click save or publish everything is lost when I return to the listing (the old apk and images are restored). The only thing that changes is the saved versioncode of the app. Is there something broken?
View 2 Replies
View Related
Sep 11, 2010
The following code works when I either have no min sdk version specified in the app manifest or if it's 5 or greater. But if I set the min sdk level to 4 (Android 1.6) , it fails to create a subdirectory in the sdcard.
There is no error. mkdir() or mkdirs() just returns false.
CODE:....
Am I doing something wrong here? Or is this a bug? I'd prefer not to set the target to 2.1 and min version to 1.6. But right now, I have to set it to 2.0 for it to work.
View 8 Replies
View Related
Apr 28, 2010
I use the following code to create a folder "mymir" and a file ".nomedia" (in the mymir-folder) on the sdcard of an android unit. However, somehow it fails with the exception that the folder the ".nomedia"-file is to be placed in dosn't exist.
Here's the code:
CODE:....................
View 1 Replies
View Related
Jul 30, 2010
I am brand new to developing for android and have hit something of a stumbling block that I cant seem to get around.
Using the NotePad example, I have created my own ContentProvider to serve up data from a database that I will eventually host on a webserver. But that is lightyears away from where I am right now.
Just testing my ContentProvider has caused a bit of a headache that I cant solve. For some reason, when the provider calls SQLiteDatabase db = mOpenHelper.getWritableDatabase(); I get a null pointer exception.
Code Follows:
CODE:............
Stack Trace
CODE:......................
View 1 Replies
View Related
Mar 24, 2009
I'm testing an app I'm developing and asked a friend to install on their device. I wanted to make it as easy as possible for them to help me out so I put the .apk up on my website for them to download to the phone (rather than making them download the SDK and use adb to install). The install of the downloaded .apk fails, complaining of a package conflict.
I have since gotten my hands on the phone briefly and I verified that:
* they have selected "allow unsigned apps" in settings
* there is no package with the same (or similar) name in data/data * installing via adb works with not a peep
* when I download the .apk to my phone the app installs fine.
It would be really nice to make it as easy as possible to distribute to people who might be willing to do me the favor of testing.
View 3 Replies
View Related
Mar 11, 2009
I tried connect to AP(DHCP componet is disabled) with Google dev phone 1. It fails to connect to that AP. Can't get a ip address from AP. I hoped the dev phone successfully connect to the AP, and assign own auto-ip by itself(169.254.xx.xx). But It didn't happened. I think it must be abnormal case. Is there any special way to get an Auto IP address?
View 2 Replies
View Related
Oct 14, 2009
I am trying to test the availability of a service with a socket. the code is quite simple. Code...
View 5 Replies
View Related
Apr 19, 2010
My build was failing with a dex error. After I turned verbosity up to debug I got the following:
CODE:............
Here is the source of the class where it is failing to place debug info:
CODE:..................
View 4 Replies
View Related
Aug 4, 2010
I have a and Android project and its test project. I can run tests successfully in the emulator. As the Android project has dependencies on a third library project, I want to use classes of the third project in the test cases too. For this, I need to add a dependency from the test project to the third project as well. Compile-time this works, but when I do a remote run of my AndroidTestCase, all tests fail. For each test, I get a NoClassDefFoundError, but not for third project classes, but for a class in the Android project itself!
View 4 Replies
View Related
Apr 15, 2010
Building our Android app from Ant fails with this error:
[apply]
[apply] UNEXPECTED TOP-LEVEL ERROR:
[apply] java.lang.OutOfMemoryError: Java heap space
[apply] at java.util.HashMap.<init>(HashMap.java:209)
[apply] at java.util.HashSet.<init>(HashSet.java:86)
[apply] at com.android.dx.ssa.Dominators.compress(Dominators.java:96)
[apply] at com.android.dx.ssa.Dominators.eval(Dominators.java:132)
[apply] at com.android.dx.ssa.Dominators.run(Dominators.java:213)
[apply] at com.android.dx.ssa.DomFront.run(DomFront.java:84)
[apply] at com.android.dx.ssa.SsaConverter.placePhiFunctions(SsaConverter.java:265)
[apply] at com.android.dx.ssa.SsaConverter.convertToSsaMethod(SsaConverter.java:51)
[apply] at com.android.dx.ssa.Optimizer.optimize(Optimizer.java:100)
[apply] at com.android.dx.ssa.Optimizer.optimize(Optimizer.java:74)
[apply] at com.android.dx.dex.cf.CfTranslator.processMethods(CfTranslator.java:269)
[apply] at com.android.dx.dex.cf.CfTranslator.translate0(CfTranslator.java:131)
[apply] at com.android.dx.dex.cf.CfTranslator.translate(CfTranslator.java:85)
[apply] at com.android.dx.command.dexer.Main.processClass(Main.java:297)
[apply] at com.android.dx.command.dexer.Main.processFileBytes(Main.java:276)
[apply] at com.android.dx.command.dexer.Main.access$100(Main.java:56)
[apply] at com.android.dx.command.dexer.Main$1.processFileBytes(Main.java:228)
[apply] at com.android.dx.cf.direct.ClassPathOpener.processArchive(ClassPathOpener.java:245)
[apply] at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:130)
[apply] at com.android.dx.cf.direct.ClassPathOpener.process(ClassPathOpener.java:108)
[apply] at com.android.dx.command.dexer.Main.processOne(Main.java:245)
[apply] at com.android.dx.command.dexer.Main.processAllFiles(Main.java:183)
[apply] at com.android.dx.command.dexer.Main.run(Main.java:139)
[apply] at com.android.dx.command.dexer.Main.main(Main.java:120)
[apply] at com.android.dx.command.Main.main(Main.java:87)
BUILD FAILED
Ive tried giving Ant more memory by setting ANT_OPTS="-Xms256m -Xmx512m". (This build machine has 1Gb RAM). Do I just need more memory or is there anything else I can try?
View 4 Replies
View Related
Jan 19, 2010
My code is calling setContentView(R.layout.someLayoutID); from an activities' onCreate method. The activity is launched with the following: Code...
View 4 Replies
View Related
Apr 3, 2009
Tried to trace for the first time but got the following exception when I started the "traceview" application with my trace file. mane@Labbe:/tmp$ traceview gldraw.trace Exception in thread "main" java.lang.RuntimeException: Method exit (java/lang/BootClassLoader.getInstance ()Ljava/lang/BootClassLoader;) does not match currentmethod (dalvik/system/VMDebug.startClassPrep () V) at com.android.traceview.ThreadData.exit(ThreadData.java:116) at com.android.traceview.ThreadData.handleCall(ThreadData.java: 78).....
View 4 Replies
View Related
Jun 22, 2009
Uploading pictures to picasa always fails in my phone. Does anybody has faced similar problem. It always says retrying after 1 minute, 3 minute.
View 4 Replies
View Related
Jul 13, 2009
I have a class that implements a multipart file upload. The code works on every java client I've tried it on but does not work on Android, *and* it's the only HTTP request code in my Android app that doesn't play nice with my back end service. I've looked through the posts to see if other are having similar issues but so far have only found posts like this http://groups.google.com/group/android-developers/msg/c4b0270153d194d9 , which are nearly the same as mine. T The symtoms I'm seeing are that the connection responseCode is "-1" & no entries show up in the Apache access or error logs. It seems as if the request is never making it off of the android platform. The code gets right through the connection writes in the debugger with no errors, but hangs on the connection read, times out and then returns with -1. Behavior is same for real phone and emulator. As I mentioned, this code is in use elsewhere and works fine.
Does anyone know of any gotchas one needs to look out for when posting a multipart file in Android? Anything about doing a POST or a POST w/ data on Android?
I'm including the code/class below so you can see what I'm up to.
CODE:.................
View 2 Replies
View Related