[Q&A] [MOD] Remove CarrierIQ - AT&T HTC One (M8)

Q&A for [MOD] Remove CarrierIQ
Some developers prefer that questions remain separate from their main development thread to help keep things organized. Placing your question within this thread will increase its chances of being answered by a member of the community or by the developer.
Before posting, please use the forum search and read through the discussion thread for [MOD] Remove CarrierIQ. If you can't find an answer, post it here, being sure to give as much information as possible (firmware version, steps to reproduce, logcat if available) so that you can get help.
Thanks for understanding and for helping to keep XDA neat and tidy!

Wonders_Never_Cease said:
Its one of your everyday apps,fresh flash,no new apps installed here...and of course it would stop,you stopped [email protected] system,even on test devices this is not an issue. Reflash,install app by app one at a time and youll find culprit....takes time but I can say with certainty ciq is NOT causing the issue your experiencing.
Click to expand...
Click to collapse
This might be a little late but I was searching Google for a solution, and stumbled onto this thread.
I think I have an answer to this. I just rooted my HTC One M8 (running 4.4.4 on AT&T), and started reinstalling apps. The stock 4.4.4 ROM might not have C IQ, but I think the HTC Service Pack (v. 1.1.853606) patches it onto devices. This is auto-installed inside of the Google Play store, I just saw it installing about a month ago and didn't realize it contained Carrier IQ.
The reason why I think this delivers it, is because around that date, I also noticed my "GPS signal" icon turning on, even when Wifi+4G+GPS were all turned off. I downloaded the Voodoo CarrierIQ Detector and confirmed that "Carrier IQ has been found and is active."
The app gives me these details:
detection score: 270
ROM binaries and daemons
/system/lib/libiq_client.so
/system/lib/libiq_service.so
Running processes
system 3815 1605............diagandroid.iqd
Suspicious classes
com.carrieriq.iqagent.service.receivers.BootCompletedReceiver
So, somehow, in the few apps I've installed, Carrier IQ has definitely been added, and is definitely recording data.
EDIT: Actually, I'm starting to find some of the files. Using File Explorer (FX) on a rooted HTC One M8, I looked in (from the 'Home page' of the app):
Code:
System(root) > system > app
I see the "HtcResetNotify.apk" and .odex files. I'll attempt to delete and modify the files listed in the first post and confirm that I can manually remove them.
EDIT 1.5: I couldn't find three of the files the original post had listed for delete (all in the /system/framework folder):
frameworkEDIAG.jar
frameworkEDIAG.odex
framework-res.odex
EDIT 2: Deleting files went fine. I copied over the other files and...well....my phone immediately rebooted and it's now stuck on the 'htc one' splash page during boot. I'm praying that someone has the original files for the 3 "MODIFIED" files. Anyone?
EDIT 3: All is not lost! I forced a reboot (Power+Volume Up) and it came back on. I checked the folders where I deleted, and the libiq_client/_service files were back. Deleted those again. The other files I deleted seem to be back as well...not sure what happend.
EDIT 4: Ok, so in case anyone finds this. I have a rooted HTC One M8, and I want to keep it stock (except for the root). My solution was to get two apps:
1. "AutoStarts." This was a paid app ($1.60 USD I think?) but ended up not having Carrier IQ in the process list. I did end up using it to block other auto-starting applications, and it immensely sped up my boot time and kept the OS running smoothly for long stretches, no reboots required.
2. "MyAndroidTools." This was free (I think it has a paid version) and allowed me to find and disable the Carrier IQ process. Note that this app is made by the same developer as "Disable Services," less filter features in Disable Services but no ads as far as I can tell. Same exact processes show up though, and the disabled/enabled carries through between MAT and DS.
After setting MyAndroidTools up to disable Carrier IQ (found under "Service" type -> "System" tab -> "Android System" item), I used "Voodoo Carrier IQ" to check for the process. It found the files, but said it was inactive.
However, either after rebooting or a long enough period, it seems to be running again according to Voodoo. I have not seen it turn on GPS anymore, so MyAndroidTools may at least prevent it from re-hooking and turning on GPS. Maybe it's just on and logging local actions, I'm not sure. But I still have not seen in show in Autostarts; if it did, I would hope to step the process from re-hooking completely.
Hopefully someone getting here from Google will find some of this helpful.

Dondula,
You're not crazy. This IS an issue. There are several others experiencing the problem with the IQ Agent constantly turning on the GPS. It seems to happen anytime your service changes (no service -> 4G <-> 4GLTE). It is particularly bad for me as my office building gets poor LTE reception, so my phone is constantly going from 4G to LTE and wreaking havoc on my battery. I haven't found any solution yet.

Douglas_D said:
Dondula,
You're not crazy. This IS an issue. There are several others experiencing the problem with the IQ Agent constantly turning on the GPS. It seems to happen anytime your service changes (no service -> 4G <-> 4GLTE). It is particularly bad for me as my office building gets poor LTE reception, so my phone is constantly going from 4G to LTE and wreaking havoc on my battery. I haven't found any solution yet.
Click to expand...
Click to collapse
I was able to get rid of this issue by disabling the carrier IQ service. I did this using an application called Disable Service from the Google Play store.
Works like a charm, and has the added advantage of disabling the IQ service intrusion.

Related

[Q] How to know if I have completely gotten rid of an app?

Hey. Just got into the world of smartphones with a Galaxy S2 (GT-I9100P), running Samsung's stock ICS (XXLPH). After a fairly smooth rooting of the phone, I did something stupid - I tried to use CWM to install this mod - an NFC enabler. Stupid, because the mod wasn't designed for ICS.
I was fortunate enough to have the enabler 'only' freeze the phone every 5 seconds instead of bricking it. Then I went in through the adb shell and deleted the appropriate apk.
My question is - is the apk the whole of the app? It looks like it, certainly - the phone works like before, no problem. I'm just worried about leaving 'garbage' around it.
I don't expect everyone here to be an expert on this particular mod - but in general, if I am manually uninstalling an app, do I need to worry about anything besides the apk?
If so, where else should I look (again, generally, where do apps tend to change or dump things)? I'd ask the developer, but it seems rude to privately message him, and I can't exactly post in the relevant thread.
No you should be ok. Nothing more needs to be done. Some apps also install data on the sd card which show up in 'My files'. It doesn't affect the phone in any way but if you find anything just delete it. I have mine sort by date so changes show at the top of the list.
Sent from my GT-I9100T

[Q] Some pre-installed APK?s

I see "voicecommand.apk" in /system/app. Does it work? How to use?
I know I can install google search with google now features. I am just trying to figure out what some of the pre-installed stuff actually does.
Also what does "Omacp.apk" do? Sounds like a man in the middle SMS attack???
And YGPS.apk does what?
This is only my second MTK device. Have only really 'hacked' around on Allwinner devices. Seems like there is a whole new set of bloat/mal/spyware for each SOC!
"Omacp.apk"- Can be found on multiple devices including those from Samsung. Even found in some CM builds. Has to do with SMS notifications.
YGPS.apk- Found on every MTK device with a GPS and is key to GPS function.
mal/spyware on this device is deeper than some generic apps. Think OTA system and other core system level apps. And with as many ancient security holes as the firmware has, I don't see them getting fixed. Some of the holes go as far back as mid-2012. Allwinner devices are a fortress compared to the TS.
ok cool so far
Thanks Loki.
I did try to google those (and others) only finding useless stubs of info. jaded comment: I *know* it is a android app --> the apk is on my android device. DOH? Useless websites, click bait.
One thing I like about 4.2.2 is you can still do the vold.fstab tricks. So my external 32Gb (from omate) is my internal SD. Now I need to look into repartitioning the internal emmc for more app /data storage. Wondering if this MTKrepartion app I found will work? HEX editing ERBs does not sound like fun yet.
I removed YGPS based on its permission list (everything!) between my post and reading your reply and quickly went from "seeing" 11 sats with no signal from any of them to a lock with 5 strong and 4 good signals while indoors behind the metal bars on my window (ground level in the city). My Nexus 7 has a hard time getting a lock in this spot.
Now I have been leaving chartcross GPS test running with it in the window frame a few times while doing other things. Had no SIM in it yet so AGPS was out and I guess the last place it had a lock was Hong Kong? So maybe that was just the right moment for it to sync up but odd. I had been "seeing" 9-14 sats off and on but never any signal bars until then.
One last thing this round: I can not get TWRP recovery to 'stick'. I have removed "recovery-from-boot.p" but still no stick. I even used DD command to copy/install manually as root. scratching head. FYI on newest firmware via OTA update.
OK not the last thing. This is. How to add a icon to the launcher (not OUI) manually for an existing app?
If you buy from Omate China the watch comes installed with many additional apps than the kickstarter one, including google play.
OmaCP so far...
It is some kinda Open Mobile Alliance WAP manager. It can be safely removed from samsung devices with no effect. When I removed it from the truesmart I lost text msg notifications, still got the text msg just no notification.
Is there a bloatware removal thread someplace I am missing?

[Q] Experiencing very specific force closes.... possible causes/solutions? Any ideas?

I have been experiencing a series of force closes. I am posting this to see if anyone else has experienced this, and whether anyone can suggest a fix. I'm pretty sure it was something I did, but I'm not sure what. I'm hoping that this can maybe narrow it down.
Device: SM-N900P
Firmware: OC5, stock, rooted, with several tweaks and modifications(detailed below).
The problem: I am getting several force closes. They only occur when I am trying to open certain settings. So, they aren't just popping up at random. They are slightly troubling, but not really problematic. Which is to say, aside from the actual force closes themselves, I don't really seem to be experiencing any major problems. Here are the FC's I am experiencing:
-Menu> Settings> General> Battery: This one results in a "Unfortunately, Settings has stopped" dialog box, and an immediate return to my home screen. So, I can't check out my battery usage. I'm not seeing any crazy battery drain. By opening Root Explorer and navigating to data> system> batterystats.bin, and deleting batterystats.bin, the problem is kind of fixed- I can open battery from the settings menu after that. But there is only battery level and state displayed, no usage information(just a message saying it is not available).
-Menu> Settings> General> Developer options> Process Stats: Results in the same dialog box, and the background turns black if I don't press "OK". I'm not even sure what this does, but after my Battery started force closing, I started checking the rest of the settings out.
-Menu> Settings> Connections> Data usage: Dialog box, immediate return to home screen.
The probable cause: hard to say, I've done a few things to it. Like I said, I was hoping that someone would be able to figure out what I've done from the following information about what I have done so far. So, here goes.
I was on NK4, running Priest Punch ROM. I reverted to stock and took the OTA about a week or so ago. I immediately rooted and installed TWRP using the method in this thread: http://forum.xda-developers.com/note-3-sprint/general/how-to-root-note-3-lollipop-t3089382 .
After rooting, I didn't see a whole lot of OC5 development, so I started poking around to see what kinds of mods I could use. First thing I wanted to do was remove bloat. I started off using Root Explorer, then I happened upon this thread featuring a bloatware removal tool for the T-Mobile variant: http://forum.xda-developers.com/note-3-tmobile/development/tool-utility-sgn3-sm-n900x-bloat-t2813036 . It worked. I removed a bunch of apps, but nothing I wasn't sure I could safely remove(I had to check Google a few times). I did not notice any problems at this time.
Then I installed this mod to pump sound out of both speakers: http://forum.xda-developers.com/note-3-sprint/development/mod-sm-n900p-surround-sound-t2966042 . I did not notice any problems at this time.
Next, I decided I wanted more fonts, so uninstalled the preloaded fonts and pushed the apk from this thread: http://forum.xda-developers.com/showthread.php?t=2752379 . Again, no problems.
I decided that a working hotspot would be nice, so I used the method in this thread to get one: http://forum.xda-developers.com/note-4-sprint/general/lollipop-hotspot-root-flashing-t3048163 . I tested it and it worked. No problems.
I really wanted to silence my shutter sound, and I happened upon this Galaxy S4 thread: http://forum.xda-developers.com/showthread.php?t=2261789 . It worked, and there were no issues. This was my first exposure to csc codes. I found a similar thread for the s6( http://forum.xda-developers.com/galaxy-s6-edge/general/quick-guide-enabling-hidden-features-t3087506 ), and followed the instructions. I was able to enable the camera during calls and enable call recording. No problems here. I tried a keyboard mod from the same thread, which had no effect at all(good or bad), so I reverted the code for that one back.
This is when I think I started to go off the rails a bit. I saw a thread for the Polish variant of the Note 3, N9005. http://forum.xda-developers.com/gal...camera-mod-note-3-n9005-lollipop-5-0-t3067827 -it had a neat sounding mod designed to improve camera quality, remove recording time and snapshot restrictions, and make 60fps HD the default camcorder mode. It took a little trial and error to get it installed, but I was making backups of files I was messing with, and was able to quickly and easily reverse any missteps. Again, the mod works fine, and I have noticed no issues. So, I started looking at the dev's other work. Which led me to this thread: http://forum.xda-developers.com/galaxy-note-3/themes-apps/secsettings-mod-17-swipe-charging-t3046032 . I wanted some different unlock effects, and I wasn't really finding them, so I tried his mod out. It was a 3 step process: replace a SecSettings app, copy paste some .ogg files, and finally, copy paste a SustemUI .apk. The first two steps went fine, but the third resulted in a persisitent, repetitive dialog box. I forget what this dialog box said, but it popped up almost as soon as I could press "OK", and I had to restore the backup of SystemUI to make it usable again. Oddly enough, about half of the new unlock animations still worked fine, and I wasn't seeing any problems after that, so I left everything else there. I liked the unlock animations, and they didn't seem to be causing any problems after I restored the original systemUi .apk.
Let's see, what else might be relevant? I was using the built-in task killer quite a bit. I'm also using SetCPU. I have 2 profiles: Screen on, 1728 MHz max, 300 MHz min, governor ondemand. And Screen off, 1036 MHz max, 300 MHz min, governor interactive. And I have installed the Material Power Menu from this thread: http://forum.xda-developers.com/android/apps-games/app-materialpowermenu-reveal-animations-t3059169 .
I started to notice the battery FC last bight. So, I wiped the battery stats as outlined above. Noticed it again today, wiped stats again, and kept checking it. After about an hour, it was force closing again. That's when I started poking around and found the others.
I dunno if anything can be done about this, or if anyone might know what's wrong. And, like I said, Aside from these FC's I'm not experiencing any real problems. I'm a little worried that they may get worse, or turn into something more serious, but I can always restore a backup if that happens. But if there is some kind of fix for these issues, I would use it. Thanks in advance to anyone who takes the time to read this wall of text, and tale of irresponsible phonery.
These are all settings that monitor usage.... should that tell me anything? I have tried wiping cache and dalvik, but that only seems to fix battery usage and data usage very temporarily(like, for a minute or less). And it doesn't seem to have effect on Process Stats.
My thoughts:
Seeing as you have flashed a lot of mods, it could be anything. If it were me, I'd start the rom from scratch. Then for the first step, instead of removing apps, I'd freeze them with titanium backup and give that a day or two to check the stability.
If that works, I'd continue with the mods one by one, giving a day or so for stability checks.
If you'd rather not do all that, you could use a logcat to find the origin of the problems.
Sent from my SM-N900P using XDA Free mobile app
jlechner said:
My thoughts:
Seeing as you have flashed a lot of mods, it could be anything. If it were me, I'd start the rom from scratch. Then for the first step, instead of removing apps, I'd freeze them with titanium backup and give that a day or two to check the stability.
If that works, I'd continue with the mods one by one, giving a day or so for stability checks.
If you'd rather not do all that, you could use a logcat to find the origin of the problems.
Sent from my SM-N900P using XDA Free mobile app
Click to expand...
Click to collapse
I'd probably try the logcat first. One, because I hate doing stuff over, and two, Ive neber done it before and it should be a learning experience. Is it complicated? I'm assuming there is a thread here on xda about it...
GAPO said:
I'd probably try the logcat first. One, because I hate doing stuff over, and two, Ive neber done it before and it should be a learning experience. Is it complicated? I'm assuming there is a thread here on xda about it...
Click to expand...
Click to collapse
It's fairly straight forward. I did one to see why an app wasn't loading, didn't need instructions. But that was a fairly simple check, yours sounds more complicated. I'd do a bit of reading on it.
Sent from my SM-N900P using XDA Free mobile app
jlechner said:
It's fairly straight forward. I did one to see why an app wasn't loading, didn't need instructions. But that was a fairly simple check, yours sounds more complicated. I'd do a bit of reading on it.
Sent from my SM-N900P using XDA Free mobile app
Click to expand...
Click to collapse
Will do. Thanks for your help!
Okay well I decided to re flash OC5 and start from scratch.
I took it back to stock and re rooted. Am now debloating....no isssues yet.
I have flashed everything except the Polish camera mod and the wallpapers. Having zero issues of any kind. I know it can take difficulties some time to manifest themselves, but I'm betting it is either the lock screen animations or the camera mod. Leaning towards the lock screen animations because it involves messing with system.ui...
Okay, made a new backup and flashed the camera mod. No issues. After every mod, I have been going back and checking for issues. This is all stil pretty new, but if everything is still fine after a couple of days, well, I will be convinced that it was the lock rings. Not surprising obviously that flashing stuff meant for foreign variants can wreck your sh*t, lol.

Battery life (wakelock), Amplify, SD Maid, Auto Call Recorder, Chrome, APUS Launcher

Hi,
This is my first time specifically posting a question as a Q&A style thread so I hope I'm doing this right.
I have been using the Redmi Note 2 for about a month now. Overall, it's been a great phone (especially considering the price). However, I've been experiencing a couple of issues and I am hoping that some of you may be able to help.
I have rooted the phone but have not installed a ROM/kernel.
I have been using Wakelock Detector to track my battery life. Of most significance is com.baidu.map.location (NetworkLocation). I have attached the two screenshots showing the frequency of how often it wakes up my device. I tried to greenify it but it wouldn't allow me - it says "Sorry, "NetworkLocation" is ingreenifiable". Does anyone have any idea for me?
I have also been trying to use Amplify as another means to try and improve battery life. As mentioned, my phone is rooted, and the app prompted me to install the Xposed app which I did. However, after installing the app, it wants me to install the framework but it does not allow me to. I have attached the screenshot of this too.
Nova Launcher - Sometimes when I open the app drawer, the resolution of the app launcher appears funny. To fix it, I normally just press back and go back into the app drawer and it goes back to normal. I have attached a screenshot of what this roughly looks like. This is not a big deal but can be a little annoying. Has anyone experienced this?
SD Maid - I used to use this app on my old Galaxy S3 i9305 to clear out storage space taken up by unnecessary stuff. This app no longer works on this phone. I have attached a screenshot of the issue that I am having.
I have downloaded Auto Call Recorder from the app store with the intention of having it automatically record my phone conversations. It does not work but I am unable to figure out why. I have checked the settings and I cannot identify any obvious setting that is incorrectly configured.
Flynx - I have been trying to use Flynx as it appears to be an incredibly useful app, but it seems something is not working correctly. In the screenshot that I have attached, where it says "Tap on the bubble to open it!" I am assuming there is a bubble that is supposed to appear for me to tap, but it does not appear.
APUS Launcher/Clean Master - finally and maybe most worryingly, I sometimes get 2 or 3 apps "pushed" to my device prompting me to install it. I can only remember 2 at the moment; APUS Launcher and Clean Master. Fortunately, I am asked to give the app permission for installation but it worries me because it has occurred a few times and I did not download it at all. I do not have a screenshot of this at the moment, but I will do it next time it occurs.
I have been told that my provider (Vaya in Australia) sends out a SMS for "automatic update" purposes. I only spotted this because I have noticed that I was charged for 2 separate international SMS on 2 occasions when I did not send them (to a UK number, +44 7786209730). I am not sure whether this one is a phone problem or something else.
I appreciate any of your assistance in advance and I am sorry if I have not provided enough information. I am also not sure as to which issues may simply be app problems as opposed to a problem with MIUI software or Xiaomi.
Hope I will be able to get some assistance!
SD Maid - I used to use this app on my old Galaxy S3 i9305 to clear out storage space taken up by unnecessary stuff. This app no longer works on this phone. I have attached a screenshot of the issue that I am having.
Click to expand...
Click to collapse
Does the crash happen when the dialog opens, or when you click the orange entry?
Try giving your sdcard a name, possibly doing it from a desktop computer.
Hi, the crash happens when I click on "Overview" then click on "To start press [refresh icon]" and then you just press there - what normally happens is it will give a overall summary of the phone.
However, I have just tried it again. When that error message comes up, instead of tapping on the listed entry (as is instructed), I press "Done" and it is able to give me a summary!
So for some reason it appears as though it doesn't work (at least from the error message), and I just press done and it still works.
Thanks for your reply nevertheless! Would not have figured that out had you not replied hahaha.
If you just press "done", SD Maid won't have access to your external sdcard.
Did you try installing the Xiaomi EU rom, since it's supposed to be cleaned from chinese apps (Like the baidu one).
Hi all,
Sorry it seems like I never came back to expand what I have done to try and fix these problems.
I ended up changing to Hermes ROM here http://www.smiui.net/redminote2_hermes.php
Most of the issues above are now solved, but there are some that are still present such as #2 and #5. So Amplify still doesn't work, but I think this is a hardware limitation and Auto Call Recorder still doesn't work. As for why Auto Call Recorder doesn't work, I don't know why, but I am not greatly bothered by it so I have not attempted to do anything to resolve that problem.

Security Notice with stang5litre

Hello everyone,
I installed stang5litre's ROM for my S4 with the OF1 bootloader. Let me just say, everything thus far has been great! Not having Verizon/Samsung built-in apps that monitor, slow down, or otherwise act in unwanted ways has been exactly the breath of fresh air my phone needed. Thus far I have only a single issue, per the title of this thread. About every two minutes, I get a notification: "Security notice, Unauthorized actions have been detected. Restart your phone to undo any unauthorized changes." (I note that I have most certainly authorized these changes) I have read through the specific thread for the stang5litre ROM, and came across post #3298 (http://forum.xda-developers.com/showpost.php?p=64140041&postcount=3298), which instructed me to disable a security setting in the Google Settings app. The indicating setting does not exist. I tried disabling the other settings here, with several reboots, to no avail. I went to the standard Settings app, into Security, but was unable to find anything useful, including in Security policy updates. I also enabled Developer options, hoping there was a settings that would help, but found nothing. For the last several hours, like clockwork every two minutes the notice comes up. Is there anything else I can try or something I am missing? I am a software engineer by trade, so technical ideas do not bother me, and I have no issue editing config files, providing debug dumps, or anything else.
Best regards
This notification comes from a security agent which is safe to delete. You can highlight the notification and see what app it is and go to its folder in the system/app directory to delete it. Which will make the notification disappear permanently (obviously)
Thank you. I did highlight the notification and found it comes from SecurityLogAgent. I used Titanium Backup to freeze this app, being always a little wary of deleting things from system straight out. Thanks again for pointing out such an easy method of eliminating this issue for me.
That issue has been fixed for a bit. Not sure why it keeps on popping back up.
v3 is live, and that 101% has SDM deleted
XxD34THxX said:
That issue has been fixed for a bit. Not sure why it keeps on popping back up.
v3 is live, and that 101% has SDM deleted
Click to expand...
Click to collapse
I am not aware of anything bad that could happen from deleting the apk itself. Is that not what you are doing?
Sent from my SCH-I545 using Tapatalk
I do not have that issue. I was commenting to the OP that the issue has been fixed in the latest release of the ROM, and there is no SDM to be popping up.

Categories

Resources