Recent Notes

Displaying notes 131 - 140
Created by freyo on February 09, 2013 14:17:32    Last update: February 09, 2013 14:17:32
More info on how to change DNS setting on the Android phone: How do you change the DNS? Custom DNS Servers
Created by freyo on February 06, 2013 21:10:47    Last update: February 06, 2013 21:12:18
I have an old Samung phone to be used as a toy. After restoring back to factory image and power on, I was stuck at the activate service screen. Unfortunately, the four corner magic touch did not work. So I did quite a bit of digging and this is what worked on my Samsung Continuum: Press emergency call button, then at the dialer, press * # 8 3 7 8 6 6 3 3 , press the Home key From the home screen, tap phone icon, Dial * # 2 2 7 4 5 9 2 7 Enter SPC code: ______ displays tap in white box to show virtual keyboard, enter 6 digit code (default: 000000), tap OK Select “Hidden menu Enable”, tap OK From...
Created by freyo on September 13, 2011 16:20:08    Last update: February 06, 2013 20:46:22
From ADB shell: show Android routing table: # cat /proc/net/route or # ip route show show DNS server: # getprop net.dns1 # getprop net.dns2 set DNS server: # setprop net.dns1 107.86.113.12 # setprop net.... add a default gateway # route add default gw 192.168.0.1 dev wifi I just learned that the DNS server properties can also be dhcp.eth0.dns1 and dhcp.eth0.dns2 for wifi. On my Samsung phone, DNS for wifi was configured through dhcpcd in /system/etc/dhcpcd/dhcpcd-hooks/20-dns.conf , the relevant section looked like this: set_dns_props() { case "${new_domain...
Created by freyo on February 05, 2013 20:10:35    Last update: February 05, 2013 20:29:51
Have to remount /system as read-write: mount -o rw,remount -t yaffs2 /dev/block/mtdblock3... Maybe this is safer: mount -o rw,remount /system
Created by voodoo on February 02, 2013 12:29:56    Last update: February 02, 2013 12:29:56
I got this error while compiling ucspi-tcp . The solution was to move #include <errno.h> from error.c to error.h . The following also works: echo gcc -O2 -include /usr/include/errno.h > conf-... The reason was explained in http://cr.yp.to/docs/unixport.html#errno
Created by Dr. Xi on September 06, 2007 03:11:40    Last update: January 31, 2013 12:13:45
The built-in function SYSDATE returns a DATE value containing the current date and time on your system. For example, UPDATE ACCOUNT SET LAST_MODIFIED = SYSDATE; updates the LAST_MODIFIED column to the current system time. select to_char(sysdate, 'MM-DD-YYYY HH24:MI:SS') N... prints the current date & time.
Created by Dr. Xi on January 25, 2013 09:56:59    Last update: January 25, 2013 09:56:59
I'm not aware of any tool that reports runtime acquirement of permissions. Maybe such a tool or API exists, but I'm simply not aware of it. To the second part of your question, if you trust Google, no unlisted permissions can ever be acquired.
Created by dm99 on January 22, 2013 02:19:34    Last update: January 22, 2013 02:19:34
Thank you. Is there any way to show permissions which are actualy used by an app (should I say "active permissions") in a period of time and they may not be listed in the list of permissions when we install this app (mallware, etc.)? Thanks.
Created by Dr. Xi on January 21, 2013 17:34:22    Last update: January 21, 2013 17:34:22
If I'm not wrong, Permissions are permissions provided by the app, while Requested Permissions are permissions used by the app.
Created by dm99 on January 21, 2013 13:56:13    Last update: January 21, 2013 13:56:13
Could you tell me please what are the differencies between the list Permissions and Requested Permissions? thanks.