We are a friendly community of Android custom Roms developers and users. If this is your first visit, be sure to check out the forum rules. You will need to register before you can post, and as a registered user you will also see fewer advertisements. Join us now to become a part of one of the most helpful Android community online and get the max from your phone!
So this is being discussed in our MikFroyo thread over at XDA issues involving CarrierIQ:
[offtopic:2kltcmo7]What Is Carrier IQ? Why Should We Care?
3/31/2011: Hello, Slashdotters!
Put simply - and bluntly - Carrier IQ is a software package buried deep within Android by Samsung at the behest of Sprint. It has been in active use since the time of the Moment, if not before. The company that develops it, also known as Carrier IQ, bills it as "Mobile Service Intelligence". In their own words,
[T]he combination of the MSIP and IQ Insight lets you move seamlessly from broad trend data across many users, through comparative groups down to diagnostic data from individual devices. Now, not only can you identify trends, you have the power to drill down to specific instances, giving you the insight your specialists need to make a difference.
On its own, that description can vary from harmless, to worrying, depending on how you look at it. It's not until one drills deep down into the system and ferrets out every piece of the software that one truly knows what it contains. As some of you might remember, ACS took the first steps toward disabling the Carrier IQ software with the release of SyndicateROM and Xtreme Kernel 1.0. That, however, didn't even scratch the surface.
Carrier IQ's native libraries are plainly visible - libiq_client.so and libiq_service.so in /system/lib. During every boot, this service is launched - you can see it in Settings > Applications > Running Services as "IQAgent Service". These native libraries are called by non-native (Android application) libraries located in ext.jar (the client) and framework.jar (the service). Removal of these (rather obviously-named) libraries alone, be it the .so files or the libraries in framework or ext, will, obviously, break boot. So I - k0nane - had to dig deeper. To make a long story short, reference to the IQ Service and IQ Client were littered across the deepest portions of the framework, and some of the most basic functions of the Android system as we know it.
Carrier IQ as a platform is designed to collect "metrics" at any scale. What I found it to hook into is far beyond the scope of anything a carrier needs - or should want - to be collecting. Carrier IQ sits in the middle of, and "checks" the data of, SMS and MMS messages. It listens for and receives every battery change notifications. It hooks into every web page you view, and every XML file your device reads. It receives every press of the touch screen. It 'sees' what you type on the physical keyboard. It reads every number you press in the dialer. It can track which applications you use, what 'type' they are, how often, and for how long. It hooks into data sent and received.[/offtopic:2kltcmo7]
Link to the original thread Epic 4G
I'm assuming that in both 4.5 & 4.6, these files are still there in the ROM, correct?
UPDATE: there are two files you need to freeze .comHTCIQagent 2.2 and IQRD 2.2
Update 2 Thanks to Graphics Anomaly!
UPDATE 3 Thanks to Bacidath for the original tip and Graphics Anomaly for confirming!In case anyone is going to try this, here are the steps again:
1 - Use Root Explorer
2 - Go to "/system/app" and delete (or rename) "IQAgent.apk" & "IQRD.apk"
3 - Go to "/system/bin" and delete (or rename) "iqd" & "iqfd"
4 - Boot into recovery, clear cache and dalvik, and reboot.
5 - Done...no Sprint/HTC tracking crap. (:
/system/lib
libhtciqagent.so
libciq_htc.so
libciq_client.so
UPDATE 4 run this script in terminal
rm /system/lib/libhtciqagent.so
rm /system/lib/libciq_htc.so
rm /system/lib/libciq_client.so
rm /system/etc/iqprofile.pro
rm /system/bin/iqfd
rm /system/bin/iqd
rm /system/app/IQRD.apk
rm /system/app/HtcIQAgent.apk
rm /system/app/IQRD.odex
rm /system/app/HtcIQAgent.odex
rm -r /data/data/com.htc.android.iqrd
rm -r /data/data/com.htc.android.iqagent
Remove those files to get rid of all IQAgent in the ROM. Graphics has confirmed that there are no issues with removing those files & his Evo is working fine.
This should bring your sleep/wake times back to normal. But the BWC will start reporting higher -ma while phone is sleeping.
Device: HTC Evo hardware 002
ROM: MikG 1.03
Kernel: Stock OTA with Wireless N
TEAM Mik
nice... just froze mine
I have the IQAgent frozen, and it seems to have had no ill effects. I have rebooted, and there seem to be no boot issues with it frozen either. As a plus, my EVO is sleeping better with them frozen. Before, sleep was 90-108, and now it is sleeping at 40-44....one heck of an improvement I would say.
Sent from my iPad using Tapatalk
EVO 4G, rev0004, unrEVOked
Baseband: 2.15.00.11.19
PRI/NV: 1.90_003
PRL: 60677
ROM: Chogardjr-V3-Final
Kernel: Netarchy 4.3.4 CFS HAVS MORE SBC
Originally Posted by ChefEAM
Can you guys check your processes and see if the IQAgent is still running? If it keeps running, it would still drain battery and affect performance, albeit not that significantly. I assume freezing it will prevent it from potentially collecting data.
Device: HTC Evo hardware 002
ROM: MikG 1.03
Kernel: Stock OTA with Wireless N
TEAM Mik
mine does not have it running in the list after reboot
I checked running services and running applications, and it does not show up in either place. I also looked in Titanium backup and it is not even listed there anymore (note that I did not delete them, only frozen them with AntTek App Manager), so I think it is safe to assume that they are no longer running.Originally Posted by Cheebahawk
Sent from my iPad using Tapatalk
EVO 4G, rev0004, unrEVOked
Baseband: 2.15.00.11.19
PRI/NV: 1.90_003
PRL: 60677
ROM: Chogardjr-V3-Final
Kernel: Netarchy 4.3.4 CFS HAVS MORE SBC
Originally Posted by ChefEAM
Thanks, I froze mine with Titanium and it no longer is running either, after a reboot. Everything seems to work fine.
Device: HTC Evo hardware 002
ROM: MikG 1.03
Kernel: Stock OTA with Wireless N
TEAM Mik
I froze both and my phone is sleeping. After reboot it is Awake time 16 min & counting and sleep time 14min & counting.Originally Posted by mecampo
Device: HTC Evo hardware 002
ROM: MikG 1.03
Kernel: Stock OTA with Wireless N
TEAM Mik
I have had the IQagent frozen for quite a while since the conversation came up on the XDA mikfroyo thread a month or more ago. I hadn't tried freezing the iqrd yet. I will do that and check my processes and sleep draw.
![]()
Bookmarks