I have recently been uploading files with my phone using an ftp client app. Yesterday I was able to upload about a gig without any problems. Now today whenever I try to upload something it says transfer failed check your permissions. I have tried a total of four ftp client apps, fixed permissions with rom manager, and even used a terminal emulator to chmod 777 all the files. No matter what I try I still get this error. Is this a server problem? Or is there something else I can try?
Related
I have two security certificates that I need to install on an HTC Hero in order to sync with an exchange server. I transfered them to the device using a different email account with no trouble. I had to download the "astro" file manager in order to then access the certificates, but when viewing them, the file manager does not know what to do with the files.
I cannot find any sort of "certificate manager" or anything like that on the device. Does anyone know how to actually install the certificates?
thanks
cpenticuff said:
I have two security certificates that I need to install on an HTC Hero in order to sync with an exchange server. I transfered them to the device using a different email account with no trouble. I had to download the "astro" file manager in order to then access the certificates, but when viewing them, the file manager does not know what to do with the files.
I cannot find any sort of "certificate manager" or anything like that on the device. Does anyone know how to actually install the certificates?
thanks
Click to expand...
Click to collapse
As far as i'm aware, certificates only works on mobile windows... no other mobile OS.
n.steenbergen said:
As far as i'm aware, certificates only works on mobile windows... no other mobile OS.
Click to expand...
Click to collapse
I have had to install these on Blackberries and they installed fine.
So with Android, certificates are not required?
*edit
I just realized there was a HTC Hero forum... I didn't see it when I posted initially, so I posted here since the Click runs Android.
My apologies
The security certificates also work on the Palm Pre for Exchange syncing.
My Sprint Hero has recently stopped syncing with Exchange and it's giving me security certificate errors now:
"There are problems with the security certificate for this site.
This certificate is not from a trusted authority."
Oddly it used to work, and nothing has changed on the Exchange 2003 SP2 server.
Does anyone know the answer to this??
chnzshyguy said:
Does anyone know the answer to this??
Click to expand...
Click to collapse
Android root certificates are stored in /system/etc/security/cacerts.bks
I found a programm which ca update the keystore : portecle
http://portecle.sourceforge.net/
i've to pull the cacerts on your PC (u need java 6) adb pull ../..
then update wtih protecle : run portecle.jar
an push the fil again adb push ../...
A+
Jpq
(Mind the bump)
Is there an adb daemon installed on the HTC Hero, or will I have to push one on there somehow, to allow me to copy files to and from the phone?
And when I hooked one of these things up to my PC, XP reported it as a USB mass storage device and not a composite device. It didn't have a memory card, so it showed up as a removable drive with no disk in it. Or can I use the Android USB driver for Windows in place of usbstor to get access to the phone's own file system?
My carrier says I can hack the cacerts.bks file without violating their terms of service. Now I just need a way to get to it. Hopefully I can copy over it without having to root the phone.
gordonf4xda said:
(Mind the bump)
Is there an adb daemon installed on the HTC Hero, or will I have to push one on there somehow, to allow me to copy files to and from the phone?
My carrier says I can hack the cacerts.bks file without violating their terms of service. Now I just need a way to get to it. Hopefully I can copy over it without having to root the phone.
Click to expand...
Click to collapse
adbd should be there, to connect you need to enable checkbox in Settings->Applications->Development->USB Debugging
Nforce25, Thanks: I found the setting and can run adb on the phone. No root access, but if I have read/write access to the certificate store I won't need it.
Just typing 'su' gives me 'permission denied,' but I'll try to avoid rooting the phone.
Importing certificates manually
Android root certificates are stored in /system/etc/security/cacerts.bks
I found a programm which ca update the keystore : portecle
[ .. .. his link here .. ..]
i've to pull the cacerts on your PC (u need java 6) adb pull ../..
then update wtih protecle : run portecle.jar
an push the fil again adb push ../...
A+
Jpq
Click to expand...
Click to collapse
Hey there, nice work finding that out!
Now that i have my cacert imported inside the cacerts.bks i may try tomorrow if the wpa_supplicant will detect it, thus making it selectable for the wifi connection of my university. Keep ya posted.
Thanks.
Need your help with HTC sync and Certs..
Hello All,
I have looked for the certs on my phone using asto but I do not have them, which might explain why I am unable to setup my work email again. It was working before. Can someone help me find a way to fix this? I am able to use yahoo, gmail and hotmail but not my work email. using active sync gives me an error: Failed to create account. Please try again later. I was able to use it before but i messed something up. Any help appreciated. Thanks
EM
Hey Guys.
i managed to put my personal certificate in the cacerts.bks.
im now having trouble putting the file back into the andriod phone.
im getting "read only" error when trying to "adb push" the file back and "read only" error when trying to chmod the cacerts.bks file on the device (so i will be able to replace it with the new one) - im with the root account.
maybe i need to change the directory security? (system/etc/security)
im a noob at linux/unix (just rooted the phone yesterday)
any help will be great!
thanks ahead and sorry for my English,
Lior.
Try adb remount before any other command.
You can use a file manager as QTADB or android commander to do operations like copy, delete, rename etc from a graphical interface.
i tried from connectbot on the device
i tried using adb shell with superuser access
buth gave me "read only file system"
i even tried creating a folder in "system\etc\security" with astro file manager and got "no permission"
i am not familiar with that file system - do i need to change "security" directory permission before file permission?
EDIT: i checked mounting on the device and one of the mounts is:
/dev/block/mtdblock7 /system yaffs2 ro 0 0
as i understand, "ro" is read only?
so i cant write to this mount?
im afraid of unmounting it so my device won't stop working.
EDIT2: i tried adb remount
got: remount failed: Operation not permitted
EDIT3: managed to make the mount RW by using the command:
mount -o rw,remount -t yaffs2 /dev/block/mtdblock7 /system
EDIT4: (more as progress status)
"chmod 777" on the cacerts.bks file
and
"adb push cacerts.bks /system/etc/security/"
WORKED!!!
ok I really need someones help. I installed the Cyanogen NAND Rom on my HD2 and everything works fine except for the WIFI. When I go to the WIFI under my settings it says ERROR. I followed the instructions on the youtube video about the HOTFIX files.
***While in TERMINAL I enter the following
su
rm -f /system/lib/modules/ (Then Press Enter)
cp -f /sdcard/hotfix/* /system/lib/modules (Then Press Enter) After I enter this I get BusyBox v1.16.2androidfull (2010-08-01 14:57:32 EDT) multi-call binary
Usage: cp [options] SOURCE DEST
Copy Source to Dest, or multiple Sources to DIRECTORY.
***I also tried to copy and paste the Hotfix files using AndExplorer and ES File Explorer.
In ES File Explorer when I copy the file and try to paste it in the /system/lib/modules/ folder it says COPY FAILED when I try 1 file or all 3 at the same time.
***AndExplorer lets me copy and when i try to paste the files nothing happens.
Is there something that Im not doing or is there another way to fix the WIFI issue.
Can someone plz help me fix this. I would greatly appreciate it.
U might want 2 try using root explorer..
I also get "error" when I go to Wifi under settings and I dunno why..
Its not about wifi but no thread was dedicated to it so
Why can't i configure GPRS setting
APN screen shows nothing tried everything but it didn't show option New APN...
Can anybody please help
I can't speak for all GT 10.1s, but the one I received at Google I/O certainly does not have Google Books installed and it's not available in the Market. It comes with Kindle pre-installed, so I'm guessing Samsung has inked a deal with Amazon, but uhh... what about choice? I have several books from both Amazon and Google and use both applications on my Xoom, but now I'm curious why I can't use Google Books on my new tablet. Do I need to try to get the Google Books APK off my Xoom or what? Anyone else found a solution, besides reading their purchases online?
EDIT: The attached file is what finally worked for me. Thanks to smaskell for the link.
Books works fine on the 10.1. Just grab it off another device. My guess is that the market may not know the 10.1 yet as it is not really released now aside from IO.
Sent from my HTC Vision using XDA Premium App
I wasn't able to install the tablet version but I did manage to push it to /system/app/ and it works.
1. get root access
2. download busybox
3. adb push busybox /sdcard
4. adb push BooksTablet.apk /sdcard
5. adb shell
6. cd /sdcard
7. su
8. mount -o remount,rw /system
9. ./busybox cp busybox /system/bin - yes, I'm using busybox to copy itself
10. busybox cp /sdcard/BooksTablet/apk /system/app
and you're good to go!
I'm still struggling with this and I've tried installing (via adb, adb shell, and via Astro / app manager) both a BooksTablet.apk (with and without BooksTablet.odex) from a stock Xoom dump and with a copy from my Honeycomb 3.1 Xoom. Am I missing something? Installing always fails and simply putting the files in place does nothing as well (with a reboot). Anyone have any more ideas? I'm out at this point and it seems as if it should be so simple from what you guys are saying! Thanks for the help!
have you tried a deodexed version of the apk?
I have not and cannot seem to find these files anywhere and am not sure how to deodex the files I have. I tried the 1.2.7-dev version of baksmali with no luck. Any other thoughts or perhaps a link to the files you used that seemed to work? Thanks!
I used the one from this thread
http://forum.xda-developers.com/showthread.php?t=1071047
works like a charm
Case closed
Perfect! Thanks for the link, one of the two files in that thread worked like a charm! In case anyone else is looking for it, I've attached the file that worked for me.
Each time I try installing the BooksTablet.apk file provided above, it fails on the device. When I try installing it via "adb install BooksTablet.apk" it constantly fails with the error "INSTALL_PARSE_FAILED_NO_CERTIFICATES"
I took a look at the logcat output and it seems to be having an issue finding the "fallback_covers.png" file in the assets folder.
I tried renaming the apk to .zip and poking around and I was not able to find this file.
Anyone else having this issue when installing the Google Books app?
I searched around regarding the error message on installation and the solution is to uninstall the app and reinstall it. But because I don't have the app installed to begin with then this isn't an option.
Any help would be greatly appreciated. Thanks.
yeah, I had the same problem. The only way I got it to work was by pushing it to /system/app. see my earlier post for details.
Ok so I tried following the same steps however, I was having some odd problems. I installed Titanium backup since it automatically installs busybox or so I've been told. When I actually try copying however, the adb shell throws an error saying busybox isn't installed which is odd.
Because of this the cp command also isn't available. Instead I copied over the BooksTablet.apk file from the sdcard to the system/app folder by using the following command:
dd if=/sdcard/Download/BooksTablet.apk of=/system/app/BooksTablet.apk
This command executes successfully however, the google books app still isn't available to launch from the app drawer. I verified that the BooksTablet.apk is actually in the system/app folder however, I still cannot launch it. Any other suggestions? Or did I just completely miss something. Thanks again for the help.
All the best,
Nader
nadewad said:
Ok so I tried following the same steps however, I was having some odd problems. I installed Titanium backup since it automatically installs busybox or so I've been told. When I actually try copying however, the adb shell throws an error saying busybox isn't installed which is odd.
Because of this the cp command also isn't available. Instead I copied over the BooksTablet.apk file from the sdcard to the system/app folder by using the following command:
dd if=/sdcard/Download/BooksTablet.apk of=/system/app/BooksTablet.apk
This command executes successfully however, the google books app still isn't available to launch from the app drawer. I verified that the BooksTablet.apk is actually in the system/app folder however, I still cannot launch it. Any other suggestions? Or did I just completely miss something. Thanks again for the help.
All the best,
Nader
Click to expand...
Click to collapse
Did you try navigating to the apk and launching it?
nadewad said:
Ok so I tried following the same steps however, I was having some odd problems. I installed Titanium backup since it automatically installs busybox or so I've been told. When I actually try copying however, the adb shell throws an error saying busybox isn't installed which is odd.
Because of this the cp command also isn't available. Instead I copied over the BooksTablet.apk file from the sdcard to the system/app folder by using the following command:
dd if=/sdcard/Download/BooksTablet.apk of=/system/app/BooksTablet.apk
This command executes successfully however, the google books app still isn't available to launch from the app drawer. I verified that the BooksTablet.apk is actually in the system/app folder however, I still cannot launch it. Any other suggestions? Or did I just completely miss something. Thanks again for the help.
All the best,
Nader
Click to expand...
Click to collapse
While I did have BusyBox installed, I can only vouch for the last thing I did that wound up working since I'd tried so many different things before getting the right APK. So once I had the file in the first post (and of course a rooted GT 10.1), I opened a shell, mounted the /system directory for read/write, chmod'd the app directory to 777, pushed the APK into the /system/app folder and then chmod'd the directory back to 644 (IIRC?). So the steps would have been:
1. adb shell
2. su
(if you get a permission denied error, make sure you leave your screen on and accept the prompt by Superuser Permissions, I forgot this on the freshly rooted tablet the first time)
3. mount -o rw,remount /system
4. chmod 777 /system/app
(now either exit the shell or open a new command prompt)
5. adb push BooksTablet.apk /system/app/BooksTablet.apk
(now back in your su'd adb shell)
6. chmod 644 /system/app
(you'll probably want to note what permissions were there previously as I'm going from memory)
There was no need to launch the APK or issue an install command (it fails anyway), the Books app appeared right away in my app drawer but got a FC after only a moment of it being opened the first time. After a reboot, everything has been working just like on the Xoom!
Hi,
I tried for hours but cannot get OpenVPN to run or install.
I have the Blayo 0.8.4 Rom installed and know that
ifconfig is in
/system/xbin/ifconfig
and tun.ko is located in
/system/lib/modules/tun.ko
When i run the OpenVPN installer from the market it asks me where to put the files and asks for Superuser permission - but when the app wants to do the copying the phone hangs and does a reboot.
The OpenVPN Library File i used is from here (Sorry its German):
http://www.android-hilfe.de/anleitungen-fuer-motorola-milestone/28392-how-openvpn-auf-dem-milestone.html#post321528
So can anybody help me to get OpenVPN running?
I sadly cannot use the preinstalled VPN methods, because my University Wlan only supports Cisco-VPN or OpenVPN Method.
I thought it might be the problem that OpenVPN installer cannot write to the system Partition -- so i opend a local Terminal in ConnectBot and typed
aufs --enable
But there i get the Message:
Enabling Read-Write /system overlay
/data/local/dosysoverlay: Permission denied
Please reboot your phone for changes to take effect
But after a reboot the OpenVPN installer still doesn't work...
I hope someone has a idea or solution to my problem!
Thanks a lot!
Try enabling system overlay via Terminal Emulator or ADB.
Sent from my HTC Legend using XDA Premium App
You need to su to gain root privileges before executing aufs. Or use adb shell which already has root privileges.
Sent from my HTC Legend
Thanks a lot BlaYo!
I opened a local Session in ConnectBot
then i typed
su (I had to allow SuperUser Access!)
aufs --enable
And it worked!
Its me again -- the installation of OpenVPN works, but i cannot open a connection.
When i try to open the the Connection it asks for username and password,
But then it says:
cannot load ca cert /sdcard/openvpn/RRZE-ca.crt path (null)
I searched with google and found that maybe it is a permission problem, but
su
chmod 555 RRZE-ca.crt
still didn't help
chmod 777 RRZE-ca.crt
also didn't help...
i also edited the config File to
...
ca //sdcard/openvpn/RRZE-ca.crt
...
or:
ca /sdcard/openvpn/RRZE-ca.crt
or ca RRZE-ca.crt
it's alsways the same :-(
The Config files for my university's OpenVPN is here:
RRZE-ca.crt
RRZE-full-tunnel.ovpn
I appreciate every help or idea you might help!
Rename it to ca.crt and edit config file accordingly.
I notice that telnet isn't able to resolve IP addresses from host names while ping can, is this normal? I've even set up these hosts in the /etc/hosts file and also added a /etc/resolv.conf file to no avail.
Version of BB is 1.19.4 but version of BB telnet is 1.17.1, don't know if that matters or not.
Edit: Solved by uninstalling then reinstalling BB