Archive for the ‘Android’ Category
Today my mother calls me that she had some battery drain issue’s on her HTC Desire Android phone. Because she had an older stock ROM not all battery and cpu options where available. After some phone troubleshooting I found the cause.
- First go the the android marked and download the app: Quick System Info Pro.
- Start the app scroll down a little and press battery
- The press Battery History
- Press Other Usage and press CPU usage
- Now you can see the program who sucks the live of your battery
My mother her phone was AKMD at the top of her list (34%). After a quick google search this was her phone “G-Sensor”. I kill the rotate function and then the problem was fixed by a nasty workaround
I have an HTC Desire phone. I like the phone but there is one big problem; the NAND (internal storage) is way to small. I installed a lot of ROM’s but the last time I install Cyanogenmod 7.1 with the “Launcher 7″ and I did a lot of customization I don’t want to reinstall my phone.
There is an crappy android workaround to move some of your apps to the SD card but when you connect/mount your phone to your pc you cannot start these apps and if you disconnect some of the settings are ruined.
So I searched the internet and read a lot of articles to find the best method to repartition my SD card and move the application and dalvik cache to my SD card. So I wrote this tutorial so you can move all the apps to your phone without any data loss also.
What do you need:
- Cyanogenmod 7
- S2E (free on the android marked)
- App 2 SD free (android marked)
- Linux operating system with Gparted or Gparted live CD
The steps
- Shutdown the phone and put out your SD card
- Make a backup of your SD card
- Run GParted and make a primary FAT32 partiton and 1 GB (or more) EXT3 partition. Because I have an 16GB SD card I make a 2GB EXT3 partition. You can check a Gparted youtube tutorial here: http://www.youtube.com/watch?v=6z1Tu9l8WNc
- Now copy your backup back to the SD card and place the SD in to the phone
- Start the phone and start S2E
- Select Applications, Dalvik cache and Download cache
- Press the menu button and reboot the phone
- Have some patience now (5min-10min)
- Now start the phone and start apps 2 sd
- Press the “On SD Card” tab, press menu and press move all apps
- Now press on the move to phone button for every app you haved placed to the SD card.
Because you have place the /data/app folder to the EXT3 partition (/sd-ext/app) you do not move the app to your phone but to your EXT3 partition
If this article helps you, please leave a comment below
The Samsung Galaxy S default (aka stock) ROM has a good ROM but after some time the ROM become slower and slower. I will describe the steps for rooting the phone, backup the phone and install a nice cutom ROM.
I rooted a stock phone with android 2.3.3. Older versions can use this tutorial also. Newer versions maybe work.
I am not responsible when you brick your phone with this steps.
- Turn on USB debugging mode on your phone (settings > programs > enable usb debugging)
- Download and install the samsung galaxy s drivers
- Download SuperOneClick and extract it (e.g. c:\android\root\)
- Start SuperOneClick and press update
- Now click root. SuperOneClick then must download an exploit to root your phone
- After the software download the exploit close SuperOneClick
- Go to the extracted directory e.g. c:\android\root\devices\samsung\common\ and start odin.exe
- All the default settings are fine. Click on PDA then select c:\android\root\devices\samsung\gti9000\CF-Root-XW_NEE_JVH-v3.2-CWM3RFS.tar
- Start flashing
ok your phone is rooted now
Now we want to backup the phone to SD so we can always back to stock settings
- In your apps list there is a new program CWM recovery start these
- Now make a full backup
- After you have the full backup make a backup of all your contacts, sms, etc and download MyBackup root at the marked (free) and make a backup of everything you want.
ok youre phone is rooted and we have a backup. Now we can install the ROM
- Download a nice and stable ROM like Darky ROM 10.2 and put this file on the root of your SD card
- Go to the market and download DarkyROM Tool
- Now start the DarkyROM Tool go to the second tab and select all (important: delete user data must selected otherwise you get a very unstable ROM)
- Go to the first tab and select flash rom. Select the file you’ve put on the SD card and flash it
- The flashing take a minute of ten. After that the new rom is started and you think you have a new phone
- Now download MyBackup root again and restore your call recordings, sms, phone numbers etc.
Enjoy
Youtube video for the DarkyROM flash:
One of the worst things you can do on the internet is use the same password for different websites. When one of the webites is hacked or there is an bad sysadmin they can use your password to login your email or other sites to steal all your private information and worst case scenario your bank account.
Every self respected browser has an built-in password safer but when your computer/laptop is stolen or hacked by a mad person (in dutch we call them klootzakken
) they can easily steal all your passwords. So don’t use the built-in password safer (or configure a strong master password).
There are two great solutions for managing your passwords. One is a local and one is a cloud solution. I will describe them both so you can choose what is best for you.
KeePass (local):
KeePass is a great tool for managing your passwords. There is an built-in password generator, the passwords saved in one local encrypted file and you must always give up a master key to access the passwords. The tool is crossplatform (using .net/mono) and there are a lot of plugins, example; there is a browser plugin to replace the insecure built-in pass safer. The great thing about this tool is that is is an local tool so only you can access and manage the password files. If you want to share the password file on multiple places you can use dropbox to synchronise/centralise the password files.
LastPass (cloud):
LastPass is also a great tool for managing your password especialy when you use multiple computers and different operating systems. LastPass replaces the default integrated browser password safer with his own. Your password stored localy and in the cloud and are encrypted. Without the master password it is not possible to automatic login or see your password. I like LastPass because tons of options and integration with all the operating systems and smartphones. The default settings are good but I recommend that you change the setting that the LastPass is logoff automaticly when you close the browser.
The only thing you must keep in mind that you password is in sync at LastPass (cloud) so you must trust the company.
Keep in mind
That using multiple random words password (example: “correct battery horse staple”) mostly of the time is better then using complex passwords (“Tr0ub4dor&3″). This picture tells why:
Last but not least
Always use a BIOS password on a laptop. Most of the thief’s are very dumb people and if they stole you laptop they cannot remove the BIOS password and your laptop is useless for them.
Because the HTC Desire has a very small NAND I decide to buy a fast Transcend 16GB Class 10 SDHC to run APPS2SD or DATA2SD hacks.
Test tool: SD Card Tester
Old speed (Samsung Micro SDHC Class2 4GB)
Write: 300MB at 2.26MB/s
Read: 301MB at 7.53MB/s
New speed (Transcend Micro SDHC Class10 16GB)
Write: 300MB at 7.46MB/s
Read: 301MB at 9.8MB/s
Nice
1) Turn your device ON and Charge the device for 8 hours or more
2) Unplug the device and Turn the phone OFF and charge for 1 hour
3) Unplug the device Turn ON wait 2 minutes and Turn OFF and charge for another hour
Download Android SDK (original article @ http://androidtricks.net/setup-adb-and-fastboot-android-sdk-mac-osx-18)
Download and extract Android SDK from http://developer.android.com/sdk/index.html to your desktop
Browse to Tools and double click “android”. It will open up a terminal window and load the SDK.
Install packages
Here go to “Available Packages” and select what you want to download. I selected everything. Wait for the packages to download and install.
Set the Path
Next you need to update the PATH for tools/ and platform-tools/ folder. To do this you need to edit your ~/.bash_profile (create it if you don’t already have one). Add the following two lines
export PATH=${PATH}:/Users/(username)/Desktop/android-sdk/tools
export PATH=${PATH}:/Users/(username)/Desktop/android-sdk/platform-tools
Download Fastboot
Now go to http://developer.htc.com/adp.html scroll to the middle of the page and download Fastboot binary for OSX. Because HTC host no longer the fastboot binary you can download the version on my blog. Unzip it and place it in /tools/
Now your all set for ADB and Fastboot
Tnx http://androidtricks.net/ for the article!
To check if your fastboot works you can start your terminal and cd /Users/(username)/Desktop/android-sdk/tools
then run ./fastboot-mac devices
When you some output you are connected. Happy modding!!
Note: please check the comments for more feedback
If you must sent your phone back to the factory because of your hardware warranty, make sure your phone is running a stock rom. I will tell you how to restore your phone back to stock.
After this tutorial your phone is completly unrooted, s-on and with a HTC stock radio
- Download a stock rom @ http://shipped-roms.com/
- Download and install HTC sync @ http://www.htc.com/www/support.aspx
- Be sure your phone is running a HTC Sense rom (e.g. cyanogenmod cannot revert back to stock)
Ok, lets started
- Make a backup of all your files
- Connect your phone to your pc
- Pull down the android menu and switch from charging to HTC Sync (on the phone)
- With HTC Sync wizard (PC) give your phone some name (if you run HTC Sync for the first time)
- Now run the signed exe file your downloaded @ shipped-rom
- Follow the wizard to flash the rom
Now your phone is back to stock. Enjoy your warranty
Because a lot of android phones have a really small disk (NAND) you must move all the apps manually to SD. You can automate this with an tool on the marked (easy way).
- Search for modinstalllocation in the marked
- download and install this.
- Start the tool and set the value on 2 external
The hard way:
- Connect the phone using the android SDK. (If you don’t know how, you can use my tutorial http://blog.wapnet.nl/2011/03/windows-7-x64-android-sdk-example-connect-htc-desire/)
- Now start cmd
- change folder to C:\Program Files (x86)\Android\android-sdk\platform-tools
- Now run the following command:
adb shell pm setInstallLocation 2
Note: For both options you’re phone don’t have to be rooted
I had some troubles with the Android SDK so I will explain the steps you must take to connect your phone from your pc
Preparation:
- Download the Android SDK
- Turn on your USB debugging mode (On the device, go to the home screen, press MENU, select Applications > Development, then enable USB debugging)
Steps:
- Install the Android SDK
- During the install ask to download and install the Java SDK
- Continue the installation when you have installed the Java SDK
- Start the (Android) SDK Manager and download all the default packages. Note: when you start the SDK Manager in the future always start the shortcut with administrator permissions. (right click > runas admin)
- Now download the USB drivers with the SDK Manager

- Now start notepad as administrator and open “C:\Program Files (x86)\Android\android-sdk\extras\google\usb_driver\android_winusb.inf”
- Now add some x64 code to the 32bits inf file
- [Google.NTamd64]
; HTC Desire
%SingleAdbInterface% = USB_Install, USB\VID_0BB4&PID_0C87
%CompositeAdbInterface% = USB_Install, USB\VID_0BB4&PID_0C87&MI_01 - Example:

- Now connect your phone with an USB cable (usb debuging mode must be turned on) open your device manager and update the android device with the modified driver.

- Now you can start cmd and use the adb util to manager your phone. Some example if you want to change your default install location for all apps to SD (even the app that not support this feature)

If your phone are other phone rather than HTC Desire, you have to change the Hardware ID (e.g. USB\VID_0BB4&PID_0C87) to be your phone’s ID. You can get this ID by
- Right-click on the My computer -> properties.
- Click on Device Manager.
- Find the phone in the list on left-hand. (Should be some warning mark if you don’t have driver for it)
- Right click on ADB -> Properties -> Detail
- Change the drop-down box to Hardware ID. This is where your phone USB ID is keep. Use this ID to put in the android_winusb.inf as described above.
Note: for 32bits computers use: [Google.NTx86]
Note: for 64bits computers use: [Google.NTamd64]
Happy debugging
(pfff crappy wordpress editor
)








