heredago's blog

May 26, 2013

bbs betterbatterystats

Filed under: Uncategorized — Tags: , , , , , , — heredago @ 18:09

Process shows which apps consume the most CPU time. Most apps should never go past a minute or so for a single battery charge. (Unless you’re using them ALOT or they are 3D games)

Partial Wakelocks shows processes that keep your phone awake even if the screen is off. They are using resources in the background. If you’re playing podcasts with the screen off… They will show here as AudioOut or something similar. Background data transfer, processing, etc…

Other misc data about phone state… How long wifi was on… how long the phone’s been awake… screen on… phone talk time… etc

Kernel Wakelocks things that the kernel is doing to keep the phone awake. Dragons be here. Partial wakelocks usually lets me find the culprit apps.

Alarms this is how many times each app has woken up your phone to do something. Apps that are ranked high are waking your phone up all the time. Llama with polling sometimes hits into the thousands for me.

In the end each of these panels is just a tool to point you in the direction to look. By combining all of the data and doing some trial app uninstalls you can usually find out what’s killing your battery pretty quick.

 

source: http://www.reddit.com/r/Android/comments/y7j8a/a_n00b_friendly_guide_to_betterbatterystats_please/

January 21, 2013

Titanium Backup Tutorial

Filed under: Uncategorized — Tags: , , , , , , , , , — heredago @ 15:17

Ten Easy Steps for TiBu success:
1. Open TiBu.

2. Menu > Preferences > App processing mode > AUTO Direct (Should be this by default anyway)

3. Create your backup: Hit the Batch button to the top-right on your screen (the one with a checkmark). Hit “Backup all user apps” and click the green checkmark up top on the next screen. When getting ready for future wipes and ROM flashes, you are going to scroll down and just hit “Backup new user apps & newer app versions”, followed by “Redo backups for modified data”… This will update all those saved games and other info that has changed since the last time you backed it up. Do not backup or restore system data.
Note: While not required.. its a great idea to periodically move all of your backups to your computer for safekeeping. When connecting to your computer you will find a /TitaniumBackup directory on your internal storage. Go ahead and just copy the entire folder over to a safe spot on your computer, and update it from time to time. You never know when you that might come in handy!

4. TiBu now lets you backup and restore your call logs, SMS messages, and browser bookmarks (stock browser only).. How sweet is that?! On the main screen hit Menu > Backup data to XML and choose what you would like to backup if you please.

5. Now we’re going to make an update.zip.. This is an awesome feature that gives you a file to flash after your ROM, so that when you boot up you will have TiBu already installed and ready to restore all your apps! Menu > Create “update.zip”. The only thing you want to change here is under “Titanium Backup will be installed as:” Select “System application”. You can change the name of the output file if you like, I just leave it as update.zip for simplicity. Hit your green checkmark up top and you are good to go.
TIP: Remember to create a new update.zip before your next ROM flash if TiBu has been updated at all since then.. which it probably has if its been a while, the developer updates things a lot!

6. Boot to recovery.. flash your ROM and Gapps (if needed). Now Mount the System, then install the TiBu update.zip we just created. Now… reboot.

7. Skip the initial device setup screen. This can be done by quickly tapping the top-left, top-right, bottom-right, and bottom-left corners of the screen in that order. Or you can just skip through everything without entering your Google account info.

8. Launch TiBu and do Batch > Restore missing apps with data. Now here’s the important part.. hit Deselect all. Go through the list and manually select the apps you want to restore with data. You can do it safely for MOST userapps: games, utility apps, etc. But do NOT restore data to any Google apps, and try to avoid it for any apps which actively sync often or create accounts in your phone setup. Can you get away with some of these things sometimes? Maybe.. but just don’t take the risk. Restoring any bad data you shouldn’t could mean you’ll have to re-wipe and start all over again. Once you’re done selecting, hit the green checkmark to start the restore.

9. Now run through that last step again… This time after hitting Deselect all, hit App only. Now you can select theapps you are going to restore without data. You can do this for just about anything, including your google apps. Its the same as installing them normally.. TiBu will just do it for you in one quick batch job. Afterwards you can do a Menu > Restore data from XML and restore any the call logs and SMS data we backed up earlier as well.

10. Reboot. Go to Settings > Accounts > Add your Google account and set up your phone again. You can take it from here 

Source: http://forums.androidcentral.com/verizon-galaxy-nexus-rooting-roms-hacks/192528-how-tibu-easy-way.html

January 9, 2013

How to transfer SMS from iPhone to Android (export / import)

Filed under: Uncategorized — Tags: , , , , , , , , , , , , , — heredago @ 16:53

STEP 1-A (jailbroken iphone)

Download iFunbox (it’s free) – http://www.i-funbox.com/

  • Download sms.db in Raw File System/var/mobile/Library/SMS
  • Select “Copy to PC” and save sms.db file to your PC.

STEP 1-B (non-jailbroken iphone)

  • Optional: If you still haven’t created a latest backup on iTunes, connect iPhone to computer to perform a sync.
  • Open Windows Explorer in Windows (or Finder in Mac) and navigate to the following folder:

    Windows: %UserProfile%\AppData\Roaming\Apple Computer\MobileSync\Backup
    Mac OS X: ~/Libary/Applications Support/MobileSync/Backup

  • IE: for me it was: C:\Users\—–WINDOWS-USERNAME-HERE—–\AppData\Roaming\Apple Computer\MobileSync\Backup\
  • There will be one or more than one sub-folders with random HEX characters as name, where each of them represents one backup stored by iTunes. By sorting by date or looking at the last modified date of the folders, note down the folder (origin folder) which is the latest backup created.
  • In that subfolder, there will be hundreds of file, you need this exact one: 3d0d7e5fb2ce288813306e4d4636395e047a3d28
  • c) Copy/backup this file “3d0d7e5fb2ce288813306e4d4636395e047a3d28” to your desktop, and
  • then rename this said file to sms.db

 

STEP 2

 

Nexus 4 – Tethering in LTE mode

Filed under: Uncategorized — Tags: , , , , , , , , , , , , , , , , , — heredago @ 11:43

—Had anyone figured out how to tether while on LTE?—

You can use this script but you will need root access and root browser or something that can execute sh file.

Here you go. Just execute it with root access and try it out. You will need to execute every time you reboot though.

http://db.tt/QgxfEOrq

Here is the code that you could copy&paste in a txt file saved as an .sh file if the above link is down:

iptables -A bw_FORWARD -i !lo+
iptables -A natctrl_FORWARD -j RETURN -i rmnet+ -o wlan0 -m state --state RELATED,ESTABLISHED
iptables -A natctrl_FORWARD -j DROP -i wlan0 -o rmnet+ -m state --state INVALID
iptables -A natctrl_FORWARD -j RETURN -i wlan0 -o rmnet+
iptables -A natctrl_FORWARD -j DROP
iptables -A natctrl_nat_POSTROUTING -t nat -o rmnet+ -j MASQUERADE

 

Source: XDA forum here: http://forum.xda-developers.com/showpost.php?p=36484452&postcount=7498

December 27, 2012

Nexus 4 Battery Custom Kernel (also prevent apps from auto-starting)

Filed under: Uncategorized — Tags: , , , , , , — heredago @ 22:49

Source: http://forums.redflagdeals.com/nexus-4-available-purchase-today-canada-december-3-12-pm-pst-3-pm-est-1267501/89/#post16050080

Rooting won’t do anything for battery life, it only gives you access the the root “/” directory files/folders.

The only thing you can change to increase battery life is the kernel. I am running CodefireX ROM with the franco kernel, and better life is much better then stock. I was having to charge every day, sometimes plugging in at night with less the 15% left.

This morning I work to see I forgot to plug it in last nigh, and after a full day of use yesterday, and sitting all night, 68% left this morning. I am going to see if it will go another day.

 

 

I’ve been using this to keep an eye on apps that are going out of control. Android handles memory just fine, you need to watch out for apps using hte CPU running in hte background that chew through your battery.

https://play.google.com/store/apps/details?id=com.zomut.watchdoglite&hl=en

I also used Autostarts (or a free alternative) to stop some apps from starting e.g. I don’t use twitter so it doesn’t need to start and why the hell does facebook need to start with the phone. Also get faster reboot times.

Blog at WordPress.com.