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!!!
I try to install apk packages like godzson dialer and clear_keyboard and i get errors.
I used apps installer and android dev
apps installer tells me It cannot install the app
android dev I run
adb install C:\clear_keyboard\system\app\HTC_IME.apk
I get
failure [install_parse_failed_unexpected_exception]
I searched for hours finding solutions that say i need to push the files to /system/apps and doing that there is permissions involved and I cant seem to touch anything in /system.
When I run chmod 777 /system i get an error saying unable to change read only file system.
I thought all of this was going to be simple tasks but it's getting really annoying any help would be greatly appreciated. Thanks for everything.
if yr installing through and use
Make sure phone is synced
Make sure app is in tool file I'd adk file
Make sure when at command prompt Ur in adk/tools file first
Adb remount
Adb push (app.apk) /system/(app/framework)
ok I figured out my problem but fixing it is going to be quite confusing. Looks like I would have to know a lot more than I do to fix it. Basically the adb is not reading the phone as root (or something like that). And the ro.secure is set to 1 which it should be set to 0 to be considerd root. So therefore I have to reinstall a bootimg. Ive been reading it on another forum page but i cant post it cause my account hasn't been verified yet. but it's this forum and here is the thread showthread.php?t=443041&page=2
but it's like french to me!!! If anyone can dumb this down for me I would really appreciate it lol thanks a lot you guys have been so much help in the little amount of time ive been a member to this forum. Thank you
redlinethecar said:
I try to install apk packages like godzson dialer and clear_keyboard and i get errors.
I used apps installer and android dev
apps installer tells me It cannot install the app
android dev I run
adb install C:\clear_keyboard\system\app\HTC_IME.apk
I get
failure [install_parse_failed_unexpected_exception]
I searched for hours finding solutions that say i need to push the files to /system/apps and doing that there is permissions involved and I cant seem to touch anything in /system.
When I run chmod 777 /system i get an error saying unable to change read only file system.
I thought all of this was going to be simple tasks but it's getting really annoying any help would be greatly appreciated. Thanks for everything.
Click to expand...
Click to collapse
First, put your apk's in your "C:\AndroidSDK\Tools\" Folder
Second open the cmd window and do "cd C:\AndroidSDK\Tools\"
Third do "adb remount"
Fourth "adb push xxxx.apk /system/app/"
that will install them
When remounting I get error
Code:
remount failed: Operation not permitted
but I continue anyway and the
Code:
adb push HTC_IME.apk /system/app
sends the file with no problem but it doesn't install it though.
Here are steps to do if it is not already installed on your phone. However, if it is you can not install when it is already there. I'm not sure how to remove in terminal and everything I've tried it tells me read only blah, blah, blah...
I tried mount -o remount,rw /system---that is suppose to work.
1.Make sure anything you want installed is in
the root of the sdcard..(/sdcard/nameoffile.apk)
2. Download a terminal emulator from the market.
If it installs continue..If not then continue on back to the thread.
3. Open up the terminal emulator. It should ask permission from SU. >Always allow
4. Now type the following
su (hit enter)
install /sdcard/name_of_file.apk /system/app/name_of_file.apk----if it is a system app
If it is a downloaded app then use /data/app
Ok.... well I tried that way also and I get the error
Code:
install: not found
I downloaded the terminal app from the market and entered the commands as you said for ex.
Code:
install /sdcard/HTC_IME.apk /system/app/HTC_IME.apk
Thanks a lot though I wish it could have been that easy.
OK... so I am trying to get the Internet up and running for this Samsung Epic. I almost have it down, but there is something that I know is wrong from the other Android phones that I have flashed before.
For Metropcs internet to work we have to install a script: u2nl and autostart file.
Here is my problem: I can put the autostart file into the data/opt folder, but when I try and paste the u2nls file into /system/bin it tells me that it is only a read only....
Now when I try in commond prompt and I try and do adb remount it now tells me No such file or directory or remount failed.
If I can get that u2nl file to stick in there I know I will be good to go.
I dont know much about adb commands, so here is what I did:
I plugged phone in on charge only mode. USB debug is checked.
cd c:\android\tools
adb remount **wont work either...it will fail, which probably why I cant write into the system/bin file.
adb push c:\autostart.sh /data/opt/autostart.sh
adb push c:\android\tools\u2nl /system/bin/u2nl **wont work
Adb shell
su
chmod 0755 /system/bin/u2nl **gives me an error
chmod 0755 /data/opt/autostart.sh
Please help!!!!!
Thanks.
I have one bad and one good news for you
First the good one...
Reboot into clockwork recovery and mount /system...retry
Bad news...
That method or the anycut method does not work...I already spent 2 days trying so many settings and it just doesn't work.
Do u have mms working?
Sent from my SPH-D700 using XDA App
My MMS does not work since my Internet does not work.
There are people that have gotten this to work on Metro already with everything at my local metro shop in CA.
I am pretty sure once I get this u2nl file to stick, it will work. The 3G arrows starts up and then it seems like it will start to run the autostart script and then errors out.
Let me try what you said and I am also going to try another rom.
under clockwork recovery which mount do I do? mount /sd-ext
What is suppose to be mounted and unmounted?
it says: unmount /system **meaning its already mounted right?
if its says unmount /system..its already mounted
just go to cmd and
adb remount
adb push c:\android\tools\u2nl /system/bin/u2nl
ect..ect..
if the remount doesnt work..download busybox installer and update busybox to the latest version and retry
autostart\u2nl its not required to be able download\send mms..you need to have the right apn settings and the 3g arrows dancing lol,,
ok so when I hit adb remount it says "remount failed: No such file or directory
I downloaded the busybox, when I open it it says:
Busybox 1.17.1 is what I have in phone
Busybox 1.18.0 git (unofficial) I can download
Below that it says where do I want to install busybox:
/system/xbin/ or /sbin/
Where do I install and should I install that unofficial version?
tosh1 said:
ok so when I hit adb remount it says "remount failed: No such file or directory
I downloaded the busybox, when I open it it says:
Busybox 1.17.1 is what I have in phone
Busybox 1.18.0 git (unofficial) I can download
Below that it says where do I want to install busybox:
/system/xbin/ or /sbin/
Where do I install and should I install that unofficial version?
Click to expand...
Click to collapse
should be /system/bin (no x or s before bin)
1.17.1 is fine
try again if that doesnt work..in clockwork recovery try this
adb shell
su
remount rw
exit
exit
and try again..im running out of options here..lol
hey did it work? how is it going with full flash?
also make sure you root with the new zip version..some previous versions dont have the remount scripts
adb commands
u2nl does not need to be run in /system/bin. just edit the autostart.sh to reflect your location change. if u insist on running from /system/bin, then do this
adb shell
su
mount -t rfs -o remount,rw /dev/block/stl9 /system
exit
exit
then push u2nl to /system/bin
Thanks buddy it looks like it worked....
Now I have the data arrows showing but something is not kicking in yet. I think I am missing something. I changed all the right settings on Qpst have the right passwords now (msl - whiterabbit.org) all files in the right place.
I have done this on Eris full flash, evo full flash, incredible full flash, but this Epic is driving me nuts...
kinda stuck right now.
Lol and now we are 2 stuck in the same place. I had flash tons of droids, evos, but this epic is making me going nuts..I don't know what's going on either..I had seen epics on cricket full flashed with no problem..but seems samsungs don't like metropcs' proxy
Sent from my SPH-D700 using XDA App
What rom r u using bro? Maybe the epic rom I'm using desnt support iptables for some reason..
I'm going to try another rom tomorrow.. either way keep me updated as well.
Sent from my SPH-D700 using XDA App
stock (rooted of coutse) with the iptables file in the bin folder . that used to work in my old droid, just set the correct permissions, andromeda v1.1.x, mixupkernel DI18-voodoo, and epic experience (dont remember which version) and none worked
I have some ultrasecret info..lol..supposedly the normal autostart.sh file does not work with samsungs, there is different modified version for the moment and the fascinate but i cant find it
i cant test this anymore cus i dont have metro but thanks to chimstar in the mo-fi forum, dial ##3282# go to edit mmsc url, type your msl, and edit the mmsc server to the metropcs one
if that doesnt work, download the apn back and restore app, delete all apns and restore metropcs working, if you dont have one, edit the xlm file to match all the correct info
make sure you reboot
see if that gets your mms working..i didnt need to have the autostart method running for my droid to get mms
HI,
Somebody now of a VPN client compatible with cisco Altiga concetrator ?
I need to connect the tab to our corporate network, and we use the standard cisco vpn client on PC, any similar software for the Galaxy tab ?
It appears that int VPN client that comes with the Tab is missing a level of authentication needed for a Concentrator. I'm currently looking through everything I would need to get openVPN up and running on the Tab, but it's not going to be a straightforward process. If I have any success, I'll update here.
Perion said:
It appears that int VPN client that comes with the Tab is missing a level of authentication needed for a Concentrator. I'm currently looking through everything I would need to get openVPN up and running on the Tab, but it's not going to be a straightforward process. If I have any success, I'll update here.
Click to expand...
Click to collapse
any luck on this? I am having the same issues connectiong to Cisco IPSec VPN
It works with some tweaking. Look here
http://forum.xda-developers.com/showthread.php?t=820909
Sent from my GT-P1000 using XDA App
I have successfully connected by Tab to Cisco VPN appliances using the VPN Connections app and the tun.ko module from the thread linked to in post #4. The only real issue I've seen with this setup is that when you disconnect the VPN tunnel it leaves the IP stack (possibly just the DNS config) in a confused state and you need to bounce your networking to get it back straight.
I am having the same issues connectiong to Cisco IPSec VPN
I connect to our cisco vpn using tun.ko file and vpn connections as well.
Have not had any issues with ip stack our dns being left in a confused state...
I will post a write up of what I did if I get time later... But basically it was:
Root
Install busybox
Copy tun.ko to system/lib/modules/tun.ko
Install vpn connections
Enter ipsec gateway,ipsec id,ipsec pwd,uname,usrrpwd
Done.
Same procedure worked on my droid one (with a different tun.ko)
Sent from my SCH-I800 using XDA App
jkhouw1 said:
I connect to our cisco vpn using tun.ko file and vpn connections as well.
Have not had any issues with ip stack our dns being left in a confused state...
I will post a write up of what I did if I get time later... But basically it was:
Root
Install busybox
Copy tun.ko to system/lib/modules/tun.ko
Install vpn connections
Enter ipsec gateway,ipsec id,ipsec pwd,uname,usrrpwd
Done.
Same procedure worked on my droid one (with a different tun.ko)
Sent from my SCH-I800 using XDA App
Click to expand...
Click to collapse
I rooted my phone (z4root)
installed busybox
Got tun.ko but there's no "modules" folder in system/lib + the system folder is sort of write protected (I can't create new directories and all)
(I used Astro file manager)
I created the modules subfolder
You need to mount /system as rw.. I use root explorer instead of astro and it has a nice feature built in to mount rw ro I didnt see in astro
You can do it from terminal as well
#su
#mount -o remount,rw -t rfs /dev/block/st19 /system
Then when done remount as ro
#mount -o remount,ro -t rfs /dev/block/st19 /system
Sent from my SCH-I800 using XDA App
Still no clue
First off, I'd like to appreciate your help.
The issue still exists! Using root explorer I created the directory and placed the file (tun.ko) in it but I still get the same error message after setting my VPN connection up (Server hung up. Unable to connect to the server due to firewall. Try again?)
Any idea?
BTW, how and where can I use/download the terminal?
Thanks in advance
jkhouw1 said:
I created the modules subfolder
You need to mount /system as rw.. I use root explorer instead of astro and it has a nice feature built in to mount rw ro I didnt see in astro
You can do it from terminal as well
#su
#mount -o remount,rw -t rfs /dev/block/st19 /system
Then when done remount as ro
#mount -o remount,ro -t rfs /dev/block/st19 /system
Sent from my SCH-I800 using XDA App
Click to expand...
Click to collapse
This really helps. I am able to copy the tun.ko to that folder. Hopefully it will be loaded automatically next time when I reboot. Before I have to manually run the command every time I reboot.
insmod tun.ko
Hi,
I've got Galaxy Tab and I have done the tun.ko and the busybox, and the insmod, and link for ifconfig and route.. lsmod shows tun.
my vpnc connects, says connected and stays connected.. But I cannot reach anything int he vpn network.. if I do "ip link show"... kind of like doing ifconfig -a on linux, I can see the tun interface, but it's down.
openvpn by the woy, works ok... I can connect and routing works.. Any help would be great.
Thanks,
Everything was good until I started messing with the 4.4 roms. Now no matter what I do. Full Wipe, Factory Image restore, try different Roms/Kernels, etc, my MAC Address will reset after every reboot. This is an issues as I use Mac Filtering on my router. Any Ideas?
The same is happening to me and I can't find a way to fix it!
It sucks because my main connection (my University wifi) doesn't let me connect if I have a different MAC Address.
I'm using this app to change my MAC (temporarily) https://play.google.com/store/apps/details?id=com.jworksbr.macspoofer
You need root to make it works.
Anyway, I'm still trying to find a way to get my original MAC address back.
joaocadide said:
The same is happening to me and I can't find a way to fix it!
It sucks because my main connection (my University wifi) doesn't let me connect if I have a different MAC Address.
I'm using this app to change my MAC (temporarily) https://play.google.com/store/apps/details?id=com.jworksbr.macspoofer
You need root to make it works.
Anyway, I'm still trying to find a way to get my original MAC address back.
Click to expand...
Click to collapse
I ended up using http://forum.xda-developers.com/showthread.php?t=2347060
For mac address:
- In /persist directory create wifi directory. In the new directory create a file named .macaddr (don't miss the dot!)
Edit the file and put 12 random hex numbers in it (0-9, A-F), save.
- Set execute and read permissions for everybody on /persist/wifi directory and change owner of .macaddr to wifi:wifi and permission to 660 (read/write for owner and group and nothing else).
In command line:
Code:
chown root:root /persist/wifi
chmod 755 /persist/wifi
chown wifi:wifi /persist/wifi/.macaddr
chmod 660 /persist/wifi/.macaddr
- run /system/bin/conn_init program. Can be run in root explorer(choose Linux Script Handler when you open it), or in adb shell:
Code:
su
/system/bin/conn_init
Then reboot and check if the changes got applied in settings
I cant get my original one back but at least I have a static MAC.
..
chainup said:
For me it's only the last 6 numbers/letters that keep changing on reboot. For both Wifi and Bluetooth. Is it the same for you guys?
Click to expand...
Click to collapse
Yeah first are always 11:22:33
Thank you, bandit97!
It's working fine now! =D
bandit97 said:
I ended up using http://forum.xda-developers.com/showthread.php?t=2347060
For mac address:
- In /persist directory create wifi directory. In the new directory create a file named .macaddr (don't miss the dot!)
Edit the file and put 12 random hex numbers in it (0-9, A-F), save.
- Set execute and read permissions for everybody on /persist/wifi directory and change owner of .macaddr to wifi:wifi and permission to 660 (read/write for owner and group and nothing else).
In command line:
Code:
chown root:root /persist/wifi
chmod 755 /persist/wifi
chown wifi:wifi /persist/wifi/.macaddr
chmod 660 /persist/wifi/.macaddr
- run /system/bin/conn_init program. Can be run in root explorer(choose Linux Script Handler when you open it), or in adb shell:
Code:
su
/system/bin/conn_init
Then reboot and check if the changes got applied in settings
I cant get my original one back but at least I have a static MAC.
Click to expand...
Click to collapse
i came from your link too but this didn't work for me
anyone know why?
Hi. This has been driving me crazy! My Nexus 4 also gets a new Mac address on each reboot. My local WiFi hotspot thinks i am a new customer every time I visit (as it uses Mac address filtering) which is frustrating. I got onto Google about it but they said i should return the phone to the retailer (didn't get it on the Play store). I tried reverting the phone to Android 4.3, resetting etc but nothing works. I the phone was fine at first so I can only assume it is a hardware fault. Does anyone have any more incite into this or a solution?
Could someone explain how I run the commands in an adb shell? I'm familiar with adb and android toolkit etc. Many thanks! PS. I tried it using root explorer and it did not work
Sent from my Nexus 4 using xda app-developers app
Where is /persist directory?
bandit97 said:
I ended up using http://forum.xda-developers.com/showthread.php?t=2347060
For mac address:
- In /persist directory create wifi directory. In the new directory create a file named .macaddr (don't miss the dot!)
Edit the file and put 12 random hex numbers in it (0-9, A-F), save.
- Set execute and read permissions for everybody on /persist/wifi directory and change owner of .macaddr to wifi:wifi and permission to 660 (read/write for owner and group and nothing else).
In command line:
Code:
chown root:root /persist/wifi
chmod 755 /persist/wifi
chown wifi:wifi /persist/wifi/.macaddr
chmod 660 /persist/wifi/.macaddr
- run /system/bin/conn_init program. Can be run in root explorer(choose Linux Script Handler when you open it), or in adb shell:
Code:
su
/system/bin/conn_init
Then reboot and check if the changes got applied in settings
I cant get my original one back but at least I have a static MAC.
Click to expand...
Click to collapse
Where is the /persist directory found? Does this work on unrooted phones? I have the Chinese S5 phone which changed Mac address every time I reboot or turn off and on the wifi. This has me logging in to my router to add a new mac every time.
You DO need to be rooted
ayonbaxter said:
Where is the /persist directory found? Does this work on unrooted phones? I have the Chinese S5 phone which changed Mac address every time I reboot or turn off and on the wifi. This has me logging in to my router to add a new mac every time.
Click to expand...
Click to collapse
Hello, you need not only root access, but a file manager capable of mounting read-write permissions, like ES File Explorer (free on Google Play).
If you have a Terminal Emulator, this will help. If not, find one on the Play Store. My favorite is from developer Jack Palevich, found here.
Otherwise, you won't see the directory on a stock file manager, especially if you're NOT rooted. Although I am on CM 10.2, this has plagued me as well when I was running CM11.
Good luck!
furboom1240 said:
Hello, you need not only root access, but a file manager capable of mounting read-write permissions, like ES File Explorer (free on ).
If you have a Terminal Emulator, this will help. If not, find one on the Play Store. My favorite is from developer Jack Palevich, found .
Otherwise, you won't see the directory on a stock file manager, especially if you're NOT rooted. Although I am on CM 10.2, this has plagued me as well when I was running CM11.
Good luck!
Click to expand...
Click to collapse
i have the same problem, i cant find the /persist directory. i installed ES file exloprer but on / there is no /persist folder only these folders:
acct, cache, config, custom, d, data , dev, etc, mnt, proc ,protect_f,protect_s, root, sbchk, sbin, sdcard, sys,system, vendor
can i create a persist folder or do i have a bigger problem with my system?
Lack of Details
tommy0014 said:
i have the same problem, i cant find the /persist directory. i installed ES file exloprer but on / there is no /persist folder only these folders:
acct, cache, config, custom, d, data , dev, etc, mnt, proc ,protect_f,protect_s, root, sbchk, sbin, sdcard, sys,system, vendor
can i create a persist folder or do i have a bigger problem with my system?
Click to expand...
Click to collapse
First of all, do you have Superuser-managed root access? In order for me to assist, you need to answer that. The /persist directory should certainly exist, as it was so on all devices I own, rooted or not. When browsing the filesystem, please be careful what you mess with. Even with root access, you must exercise judgment in what you modify.
As always, Root Responsibly.
Stay custom, my friends...