Tag Archives: Smartphone

How to PPTPD (PopTop)

Below is a way to connect your clients like smartphone, laptop, etc to the Internets while you are out and about connecting to random WiFi networks etc like Mac Donalds, and to help protect yourself while on them unknown networks with unknown users

Install mppe kernel support

# modprobe ppp-compress-18

Install PPTPD

# apt-get install pptpd

Configure IP Address Range
Edit the file /etc/pptpd.conf for the IP address range

localip 172.16.100.1
remoteip 172.16.100.200-250

restart pptpd to activate changes

# invoke-rc.d pptpd restart

Adding users accounts
Edit the file /etc/ppp/chap-secrets

test_user * lamepassword *

The above will give you a working PPTPD where your able to connect to securely but you’ll most probably can’t connect to the outside network.

To allow you PPTP clients access to the big bad internet

Enable IPv4 forwarding

echo 1 > /proc/sys/net/ipv4/ip_forward

Finally configure your iptables

iptables -A INPUT -i ppp+ -j ACCEPT
iptables -A OUTPUT -o ppp+ -j ACCEPT
iptables -A POSTROUTING -t nat -o eth0 -j MASQUERADE
iptables -A POSTROUTING -t nat -o ppp+ -j MASQUERADE

If you want all traffic to go through the PPTP connection
Edit the file /etc/ppp/pptpd-options and change

# Debian: do not replace the default route
nodefaultroute

to

# Debian: do not replace the default route
#nodefaultroute

and don’t forget to restart pptpd ;-)

Reference
Debian pptpd HOWTO
IP Chicken

Oxygen 2.3.2 Released [13/11/2011]

Adam G and group again have released a great ROM. By the looks of it Oxygen 2.3.2 is going to be the last release in the ‘honeycomb’ code name of ROMs.

Changelog
Added battery controls for brightness & sound in status bar power widget
Added compact carrier
Added croation dictionary
Added customized Launcher2 with plenty of new options and enhancements
Added option to turn off volume button music controls
Added swipe-to-clear notifications
Decreased bootup time
Improved lock screen animation
Improved media scanner, now scans all external volumes (/emmc & /sdcard)
Removed FM support
Removed useless wallpapers consuming 6.5MB
Reverted back to old battery percentage

Device specific changelog
Device specific settings menu added for NS & SGS2
Fixed battery drain on SGS2
Updated kernels for all devices

Continue reading

OxygeN build.prop tweaks

Here is the build.prop I use on my Android OxygeN ROM with tweaks added that I have found to make my smartphone more enjoyable and snappier to use. The comments in the in the file tell what is happening. Also this build.prop has been modified for use in Australia (AU).

To use the build.prop file copy it to /system/build.prop with ‘root explorer‘ for example

# begin build properties
# autogenerated by buildinfo.sh
ro.build.id=GRJ22
ro.build.display.id=GRJ90
ro.build.version.incremental=eng.renan.20110824.225054
ro.build.version.sdk=10
ro.build.version.codename=REL
ro.build.version.release=2.3.5
ro.build.date=Wed Aug 24 22:51:07 BST 2011
ro.build.date.utc=0
ro.build.type=user
ro.build.user=renan
ro.build.host=ozone
ro.build.tags=test-keys
ro.product.model=HTC Desire
ro.product.brand=htc
ro.product.name=bravo
ro.product.device=bravo
ro.product.board=bravo
ro.product.cpu.abi=armeabi-v7a
ro.product.cpu.abi2=armeabi
ro.product.manufacturer=HTC
ro.product.locale.language=en
ro.product.locale.region=AU
ro.wifi.channels=14
ro.board.platform=qsd8k
# ro.build.product is obsolete; use ro.product.device
ro.build.product=bravo
# Do not try to parse ro.build.description or .fingerprint
ro.build.description=passion-user 2.3.4 GRJ22 121341 release-keys
ro.build.fingerprint=google/passion/passion:2.3.4/GRJ22/121341:user/release-keys
# end build properties

#
# ADDITIONAL_BUILD_PROPERTIES
#
ro.sf.lcd_density=240
rild.libpath=/system/lib/libhtc_ril.so
wifi.interface=eth0
#wifi.supplicant_scan_interval=15
ro.telephony.default_network=0
ro.opengles.version=131072
dalvik.vm.heapsize=32m
ro.media.dec.jpeg.memcap=20000000
ro.modversion=Oxygen-2.2.2
ro.rommanager.developerid=adamg
ro.config.ringtone=Sceptrum.ogg
ro.config.notification_sound=Castor.ogg
ro.config.alarm_alert=Alarm_Classic.ogg
ro.com.android.dateformat=dd-MM-yyyy
ro.com.android.dataroaming=false
ro.url.legal=http://www.google.com/intl/%s/mobile/android/basic/phone-legal.html
ro.url.legal.android_privacy=http://www.google.com/intl/%s/mobile/android/basic/privacy.html
ro.com.google.clientidbase=android-google
ro.com.android.wifi-watchlist=GoogleGuest
ro.error.receiver.system.apps=com.google.android.feedback
ro.setupwizard.enterprise_mode=1
keyguard.no_require_sim=true
persist.adb.notify=0
ro.ril.enable.managed.roaming=1
ro.ril.oem.nosim.ecclist=911,112,999,000,08,118,120,122,110,119,995
ro.ril.emc.mode=2
dalvik.vm.dexopt-flags=m=y
net.bt.name=Android
dalvik.vm.stack-trace-file=/data/anr/traces.txt

#
# ADDITIONAL ADDITIONAL_BUILD_PROPERTIES
#

# Hardware rendering (GPU)
debug.sf.hw=1

# Decrease dialing delay
ro.telephony.call_ring.delay=0

# improve scrolling responsiveness
windowsmgr.max_events_per_sec=150

# improve overall touch responsiveness
debug.performance.tuning=1
video.accelerate.hw=1

# battery saving by reducing wifi scan interval etc
wifi.supplicant_scan_interval=180
pm.sleep_mode=1
ro.ril.disable.power.collapse=0

# 3G signal tweaks
ro.ril.hsxpa=2
ro.ril.gprsclass=10 
ro.ril.hep=1
ro.ril.enable.dtm=1
ro.ril.hsdpa.category=10
ro.ril.enable.a53=1
ro.ril.enable.3g.prefix=1
ro.ril.htcmaskw1.bitmask=4294967295
ro.ril.htcmaskw1=14449
ro.ril.hsupa.category=5

# Fix some application issues
ro.kernel.android.checkjni=0

# Disable blackscreen issue after a call
ro.lge.proximity.delay=25
mot.proximity.delay=25

# hitting the volume rocker will not wake phone
ro.config.hwfeature_wakeupkey=0

# button lights on when screen is on
ro.mot.buttonlight.timeout=0

ro.config.hw_menu_unlockscreen=false
persist.sys.use_dithering=0
persist.sys.purgeable_assets=1
ro.mot.eri.losalert.delay=1000

[LINK] Bully Block – Take a Stand Against Bullying

It finally nice to see an application that is trying to help against bullying in the workplace, school etc. I have not tried this application out but it looks to be a worthwhile application to try out if your children are being bullied, or you have an abusive spouse.

The Bully Block app allows users to covertly record verbal threats and harassment, block inappropriate texts and pictures (e.g. sexting), and utilize auto respond features. Unlike other apps on the market, Bully Block blocks bullies that utilize private or unknown numbers to engage in cyberbullying. Bully Block also has instant reporting features that allow the user to email or text abusive behavior to parents, teachers, HR departments, and law enforcement. All audio, messages, and calls are stored on the phone SD card.

Normally this is a paid application but for now it is free on XDA.

[LINK] OxygeN 2.2.2 Released

Changelog
Added black theme option to Messaging (requested by alot of users)
Added HD video recording to Camera (only for the SGS II at this time)
Added many new options to the Camera (courtesy of CM and CAF)
Added SMS split option to Messaging (this is to help users on CDMA networks)
Fixed Launcher2, now restarts on theme change
Fixed pinch-to-zoom in Gallery3D on the HTC Desire (may help with other older devices also)
Merged OxygenSettings into Settings
Reverted back to the old Android Market (the newer one was causing lots of problems for users)

Device specific changelog
New kernels for the HTC Desire range courtesy of thalamus

Read more

[LINK] Google Purchases Motorola Mobility

More recently, Motorola stepped once again into the Google limelight with the introduction of the Xoom, Google’s flagship Honeycomb tablet. Despite an ambitious launch, even the Xoom could not escape Motorola’s flawed support system with advertised features and upgrades taking months to arrive. In the wake of news that Motorola once again seems to be going under (losses of $56 million in this year’s second quarter have been reported, indicating a return to the pre-Droid dark ages), the company lashed out and threatened to fire IP lawsuits at fellow Android manufacturers, a move which had the potential to severely cripple the platform.

Read full story

[LINK] Android 2.4/4.0 Ice Cream Sandwich leaked

Google’s upcoming phone/tablet Android version called ‘Ice Cream Sandwich’.

Some features of ICS that we know (from our source and speculation):

Blue Themed – Like our site (Change theme on bottom)
Camera has built in panorama mode
Will launch with Google Shopper and NFC Enabled devices will be able to utilize those features
Gmail is all re themed
Will be available for the Nexus S
Nexus Prime gets it first (expected) then other devices will follow after
Not too many changes, just UI things, don’t think requirements are set too high for year old devices to run it
The little icon in the bottom right, looks like a tray with multiple apps in it
Google search bar embedded on very top like Honeycomb
Apps/Widgets launcher a lot like Honeycomb
This release is still very early, notice the theming of the power tray

Read more at Android Police

[LINK] A Trojan spying on your conversations

Here is another example to why one should check the permission(s) of an application(s) before installing on ones Android device.

In one of our earlier blogs, we have demonstrated how a Trojan logs all the details of incoming/outgoing calls and call duration in a text file. This Trojan is more advanced as it records the conversation itself in “amr” format. Also it has got many other malicious activities that we have seen in many of the earlier malware incidents targeted for Android platform.

Read full story

Android Application Permissions in part Explained

When you install an application from the Android market or from else where it will tell you the permission(s) it needs to function. While some legitimate applications often ask for more permissions than they need, it should at least raise some concern when deciding if an application is safe and of good quality.

To see permission(s) of a given application after installation, go to the Market, press menu > My apps, then select the application, press menu > more, then press security. There is an application called ‘permissions‘ to help explain the permissions of the applications you have installed on your smartphone.

Below is a list that was initially prepared by Lost Packet who talks about android security in much greater detail.

Continue reading