sexta-feira, dezembro 06, 2013
iOS 7 Killed Off Some Unlicensed Lightning Cables, But Here’s A Fix That Might Work For You | Cult of Mac
segunda-feira, outubro 07, 2013
I wrote BetterBatteryStats because I was missing the great battery history that Spare Parts allowed to call on Froyo:
- General "other stats "overview: Awake, Deep Sleep, Screen On, Phone On, Wifi On, Wifi Running ratios
- Kernel Wakelocks
- Partial wakelocks
- CPU States
- Network stats
- Process stats with User and System CPU time
BetterBatteryStats is calling the "batteryinfo" service of Android to retrieve data already lying there without generating overhead.
BetterBatteryStats is focussing and has been tested on Froyo, Gingerbread, Honeycomb (3.1, thanks to daveid), ICS on different ROMs and Kernels.
What are wakelocks and why should you care about them?
When it comes to Android the most discussed and commented topic that I know is battery drain / battery life. I'm a quite heavy user because I spend a lot of time on the train every day reading my mails, surfing and listening to music but still my phone is off for a long time during the day and while I accept the battery being drained while I use the phone I care about it draining slowly while "doing nothing".
Wakelocks or to be more precise partial wakelocks is a pattern (in fast a class) than helps devs to make sure that important pieces of their code do not get interrupted.
Basically the phone has (simplified, kernel devs don't shoot) three states:
1. awake with screen on
3. sleeping (that's you phone favorite state)
The transitions are from (1) to (2) and finally from (2) to (3). Now as long as you use your phone it's in (1) and does not leave that state as long as you keep using it interactively. If you stop using it the phone is aiming to go to (3) as fast as possible.
And here's where wakelocks are important: as our phones as smartphones they tend to do background processing. Some of this processing is important like e.g. making a phone call, listening to music or synchronizing your contacts.
As the phone wants to go from (2) to (3) and on the other hand you don't want to hang up while you are in a call the app keeps hold of a wakelock to prevent that transisiton. When you hang up the partial wakelock gets release and here we go (the phone goes to sleep).
So partial wakelocks is a tool and it's not something that we should forbid for obvious reasons. Now there are cases when the design on an app is not real life proven (conditions of poor of no converage) and the wakelocks have negative effects because they are held unnecessarily or for too long.
BetterBatteryStats identifies these wakelocks and using your expertise or the once from our users here you can understand what happens and find a strategy to change that for the better.
Try it yourself
segunda-feira, agosto 12, 2013
sexta-feira, agosto 09, 2013
quinta-feira, agosto 08, 2013
[Rom]Google Edition Galaxy S4 rom for i9505[8 August][Odexed rom android 4.3 & 4.2.2] - xda-developers
i9505 android stock rom
Google Edition Galaxy S4 for i9505
Enjoy pure android 4.2.2 & 4.3 Odexed, Full rooted & busybox
sábado, agosto 03, 2013
Slingbox Answers Forum: Remote Control Setup to LexuzBox F90HD
Arquivo .BIN para controle F90 do SlingBox
Remote Control Setup to LexuzBox F90HDlexuzbox f90 slingboxslingbox funcionar com Lexuzbox F90HD
sexta-feira, agosto 02, 2013
Locate and ring your misplaced device
If you ended up dropping your phone between those couch cushions, Android Device Manager lets you quickly ring your phone at maximum volume so you can find it, even it's been silenced. And in the event that your phone or tablet is out of earshot (say, at that restaurant you left it at last night), you can locate it on a map in real time.
Protecting your personal information and data
While losing your phone can be stressful, Android Device Manager can help you keep your data from ending up in the wrong hands. If your phone can’t be recovered, or has been stolen, you can quickly and securely erase all of the data on your device.
Availability and getting started
This service will be available later this month on devices running Android 2.2 or above; to use it, you also will need to be signed into your Google Account. There will also be an Android app to allow you to easily find and manage your devices. Stay tuned!
Posted by Benjamin Poiesz, Product Manager, Android
terça-feira, julho 30, 2013
- CF Auto Root package for Nexus 7 Wi-Fi [download] / CF Auto Root package for Nexus 7 3G [download]
- Android USB driver for Nexus 7 installed on you computer.
- USB Debugging enabled on the device.
- 80% or more battery power remaining on the tablet.
- Set up Android ADB and Fastboot on Windows.
- configured on your computer
- Custom recovery like ClockworkMod or TWRP which you can flash using the Nexus Root Toolkit.
- Nexus 4, 10 or Galaxy Nexus with unlocked bootloader which you can have using the Nexus Root Toolkit mentioned above
- SuperSU 1.50 by Chainfire [download]
sábado, julho 27, 2013
Fazendo backup da Chave de Segurança Bradesco Eletrônica [Android]
Pessoas vão comentar: "Ué? Android? No seu site?". Sim. Android no meu site. Embora não pareça, este site não é dedicado só pra Wireless, é dedicado para tecnologia em geral. :)
Enfim, no Bradesco, temos a opção de cadastrar um "Token", ou "Chave de Segurança", em nosso smartphone Android ou um dispositivo com iOS.
Entretanto, quando fazemos um "Hard Reset" em nosso Android, ou simplesmente trocamos de ROM, a chave de segurança é perdida, mesmo fazendo o backup da mesma utilizando o "Titanium Backup" por exemplo.
E para recadastrar essa chave, temos que ligar para o nosso gerente, entrar em contato com o Fone Fácil, enfim, é aquele parto todo!
E então? Como fazer o backup da chave?
Fácil. Primeiramente é necessário que seu Android esteja rooteado. Caso não esteja, ou você não saiba do que se trata, uma rápida pesquisa no Google resolve.
Segundo: Faça o download do aplicativo "Titanium Backup".
Instalado o aplicativo, execute-o, e dê as permissões de "Super Usuário" ao app.
No aplicativo aberto, obvio, clique na guia "Backup/Restauração" (1) e em seguida, clique em "Clique para editar os filtros" (2).
Na próxima tela, digite no campo de pesquisa "Armazenamento de Configurações" (1). Clique no simbolo de "✓" (2)
Em seguida, clique no único arquivo que ficou disponível na lista (1), e selecione "Backup" (2).
Feito o backup, repita a operação, dessa vez colocando no campo de pesquisa, o aplicativo "Bradesco". (Ao ser solicitado do que deseja fazer backup, selecione "App + Dados").
Agora, quando precisar restaurar a chave de segurança, faça o seguinte:
Abra o Titanium Backup, clique no botão de "menu" no topo do app (1), e selecione "Gerenciar o Android ID" (2).
Na pop-up aberta, selecione "Restaurar o Android ID de um Backup" (1), e selecione o backup feito anteriormente (2).
Feito isso, reinicie seu aparelho, restaure o "backup + dados" do aplicativo do Bradesco, e experimente usar a chave de segurança :)
segunda-feira, julho 15, 2013
terça-feira, junho 25, 2013
Firmware / rom I9505 sgs4
- FULLY ROOTED
- No need for Insecure Kernels.
- Complete, Odin flashable Packages.
- Can be used on Non-Rooted devices.
- Binary Flash Counter will NOT increase
- System status will stay NORMAL/OFFICIAL.
- Only 1 file and you have a complete firmware including Root permission.
- Fully working KIES & OTA updates (FYI: root will be lost after software update)
domingo, junho 09, 2013
sh-3.2# lvm vgscan
Reading all physical volumes. This may take a while...
Found volume group "VolGroup00" using metadata type lvm2
sh-3.2# lvm vgchange -ay
2 logical volume(s) in volume group "VolGroup00" now active
sh-3.2# lvm lvs
LV VG Attr LSize Origin Snap% Move Log Copy%
LogVol00 VolGroup00 -wi-a- 28.66G
LogVol01 VolGroup00 -wi-a- 992.00M
sh-3.2# e2fsck -f /dev/VolGroup00/LogVol00
e2fsck 1.40.2 (12-Jul-2007)
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking refernce counts
Pass 5: Checking group summary information
/dev/VolGroup00/LogVol00: 122967/7514560 files (0.9% non-contiguous), 1113272/7512064 blocks
sh-3.2# resize2fs /dev/VolGroup00/LogVol00 19G
resize2fs 1.40.2 (12-Jul-2007)
Resizing the filesystem on /dev/VolGroup00/LogVol00 to 4980736 (4k) blocks.
The filesystem on /dev/VolGroup00/LogVol00 is now 4980736 blocks long.
sh-3.2# lvm lvresize VolGroup00/LogVol00 --size 20G
WARNING: Reducing active logical volume to 20.00 GB
THIS MAY DESTROY YOUR DATA (filesystem etc.)
Do you really want to reduce LogVol00? [y/n]: y
Reducing logical volume LogVol00 to 20.00 GB
Logical volume LogVol00 successfully resized
sh-3.2# resize2fs /dev/VolGroup00/LogVol00
resize2fs 1.40.2 (12-Jul-2007)
Resizing the filesystem on /dev/VolGroup00/LogVol00 to 5242880 (4k) blocks.
The filesystem on /dev/VolGroup00/LogVol00 is now 5242880 blocks long.
80GB SATA HDD, Bad Sectors, 4 Primary Partitions, boot, root, swap and a 60GB Volume Group can boot into the OS (very slow), LVM not recognized.
I connected the hard-disk to another Linux box as a secondary drive, took a while to boot indicating bad HDD. After 20 mins (yeah 20 mins), box booted into single user mode, login as root.
I then ran the following commands:
found lots of bad blocks errors.
took a couple of minutes for the output but showed all the partitions.
didn't recognize any volume groups.
Now i realized that the HDD is failing, as all the above commands are taking a lot of time, so I thought taking a physical dump using dd will help a lot. I could take the raw dump of the entire /dev/sdb4 (the lvm partition) but i just needed data from the home folder i.e. 45 GB / 60 GB so I decided to try some more.
Nnow i tried to recover the lvm metadata for the volume group ( Thanks Purna! )
After 30 mins, i got no message, but fdisk -l shows a lot of mapper devices. vgdisplay gave me all the logical volumes in the physical volume.
Thanks for good labeling, i can see HOMEVOLUME, USRVOLUME, VARVOLUME, TMPVOLUME so now i know that i need to recover the HOMEVOLUME partition. So quickly I tried to mount the /dev/LVMVOLUME/HOMEVOLUME device but after couple of minutes, I got bad FS type error. I even tried specifying the partition type -- ext3 but with no luck.
I then thought its time for "the best command in linux": dd.
dd /dev/LVMVOLUME/HOMEVOLUME /mnt/homelvm.iso
But it failed, gave some bad block error. Target file was 0 kb!
On further research, i found some switches for dd, to ignore bad blocks and move on:
dd /dev/LVMVOLUME/HOMEVOLUME /mnt/homelvm.iso bs=64k conv=noerror,sync
You might be wondering why i specified block size as 64k, the reason is, if dd encounters a bad block, it will skip, so the block size defines how much to skip, so 64k ensures dd copies as much data as possible but will take lot of time to complete, as opposed to specifying higher block size, which will be fast but recovery wont be that successful.
Anyways so I left it overnight and in the morning i have my 47 GB iso file.
So enthusiastically i tried to mount it:
mount /mnt/homelvm.iso /opt -o loop
But didn't work, gave me unknown file system error.
So then i tired the command:
It started checking the disk for errors, and found lots of them, i had to type yes for all the questions. I should have specified the "assume yes and move on" switch, but didn't want to cancel and take chances so after the file system check completed, i tried to mount the iso image again and VOILA, it returned the prompt quietly (I love Linux when it does this!)
All the files needed were intact, I checked few files, they were okay, there might be some corrupt files, but will find out only when I open them.
Hope this article helps!
Also check out how I fixed the "Couldn't mount because of unsupported optional features (2000200)" error.
segunda-feira, maio 13, 2013
Works on ant Motorola Razr XT910 (xt-910) with android 4.1.2 jelly bean
Here are the steps:
1) Install Sun VirtualBox on your Windows PC. [EDIT: Link ---> https://www.virtualbox.org/wiki/Downloads <--- aint="" alt="" border="0" class="inlineimg" he="" img="" michelbfr="" my="" nbsp="" provided="" src="http://forum.xda-developers.com/images/smilies/wink.gif" style="max-width: 665px; overflow-x: auto; vertical-align: middle;" swell="" title="Wink">]--->
2) Download the VirtualBox .ova file here:
dl.dropboxusercontent.com/s/bb53ayj5c3nd5ie/Root_Bionic_JB.ova?token_hash=AAGSOYfPuDXTur_e9qlY l2JRERovPyfMwe-2xNzHXg4Lxg&dl=1 [EDIT: Link dead, see below]
3) Import the .ova file into VirtualBox. (Click "File" then "Import Appliance".)
4) Start the imported VM in VirtualBox (Click the big "Start" Button. It has a green arrow icon.)
5) Follow the instructions on the Linux console."
I also apologize for not coding links etc, I am not an advanced forum user. I just really wanted to share this with anyone who may not have come across this as of yet. If any of you need any further assistance I can try to help as I have successfully used this method and I know absolutely nothing about linux. Enjoy!
EDIT: New link uploaded for step #2 http://www.mediafire.com/download.php?84f3hkx11bpl3fc <---- b="" michelbfr="" nbsp="" thanks="">[LINK UPDATED]
quinta-feira, maio 09, 2013
I've found SOLUTION for ALL people who USED or want to USE a Chainfire's CF-AutoRoot for GT-I9505
This method will reset System Status back to OFFICIAL and keep Full Root Access.
Works on ALL Firmwares, including XXUAMDM/MDN..!!! -TESTED
DON'T USE MODIFIED_CF_AUTO_ROOT ON ANY OTHER PHONE AS IT CONTAINS KERNEL!!!
You've been warned!!
I DON'T take any responsibility for HUMAN ERRORS....
Follow the GUIDE and it WILL work, if NOT, it's because YOU are doing something wrong...
Everyone playing with this right now knows the drill, for the rest of you this post will be updated with more information soon. So here's only the short instructions: flash the included .tar.md5 as PDA using Odin, and make sure repartition is not checked. You should see a red Android coming up, and your device will be rooted. If the device boots normally without the red Android, reboot into recovery manually to trigger the process.
This root will trigger the flash counter, which you can reset (currently only the Qualcomm variant) using Triangle Away.
Qualcomm-based GT-I9505: http://download.chainfire.eu/316/CF-...xx-gti9505.zip
(Should work on MD2 and newer, but not MDN and MDM firmwares)