[Q] Disabling location consent dialog - Galaxy S 5 Q&A, Help & Troubleshooting

I followed the guide from the unified dev forum : http://forum.xda-developers.com/showthread.php?t=2799050 and made the necessary changes to the smali files and recompiled everything back into the classes.dex as the guide states and then replaced the existing classes.dex with the modified one, but I'm still getting the location consent nag whenever I enable GPS. I'm running a TMO S5 rooted stock TW ROM. Anyone successfully been able to get that location consent to go away or have any ideas on why it might not be working as it should be with the modified classes.dex?
Thanks for any hints, advice or help in advance

It worked for me and I don't recall deviating from their edits.
I'm using a custom ROM, so possibly you took an OTA update that modified your apk. Impossible to say since you didn't state your build version or any other details. Still seems a stretch and I'd think that there would be more reports if the method wasn't working. More likely you had a typo or some such.
.

The only thing I did notice was that the line numbers didn't match up but I assumed it was due to updates to the apk. No OTA update since trying the modified one. I'm definitely going to go back through and make sure I didn't typo something which is certainly a possibility. I'm also feeling rather dumb for not having posted build info and more details, I know better than that. Good to know it does indeed work and almost certainly rests on something I've overlooked somehow.
Sent from my SM-G900T using XDA Premium 4 mobile app

gotissues68 said:
The only thing I did notice was that the line numbers didn't match up
Click to expand...
Click to collapse
Line numbers not lining up are not a problem per se. The edits needed to be in the correct spot /expression irrespective of the line number. And barring an accidental typo, I'm sure that you did that.
The potential problem with line numbers not lining up is the implication that the remaining code in the apk is somehow different. And a concern that might interfere somehow. If the code near the edits was identical to the tutorial, it's probably not an issue. But that is the potential concern.
.

I'm beginning to believe that there may be changes as you mentioned in other areas of the APK causing the issue. I ran a diff against the edits and the original files and they match that of the tutorial in terms of where they should be and the surrounding code matched the tutorial as well. I'm on the NF6 firmware at the moment but I may flash back to NE6 and extract the apk from that release and see if there have been changes that could account for this. Thanks for getting me thinking about it being possible changes in the surrounding code from updates causing it to fail.
Sent from my SM-G900T using XDA Premium 4 mobile app

I wanted to say thank you again fffft. It wasn't an issue with guide or the rebuilt apk. I ended up misunderstanding what the consent dialog was doing. I feel rather stupid now. Thanks again for the advice and ideas.
Sent from my SM-G900T using XDA Premium 4 mobile app

Glad that you got it sorted one way or the other.
.

It boiled down to me thinking that it disabled the notification when enabling/disabling the gps radio itself and after reading more on topic I understand now that the way consent notifications are handled without the change in place is any app that would request consent would cause the dialog to show up. As soon as I realized that I totally facepalmed myself for being an idiot
Sent from my SM-G900T using XDA Premium 4 mobile app

Related

Ummm does this worry anyone else?

I've been up late tonight, and just so happened to stumble across this article over at AndroidPolice. Figured it might interest some people here since it includes our phone.
http://www.androidpolice.com/2011/1...e-numbers-gps-sms-emails-addresses-much-more/
Here's the thing, though. They recommend uninstalling the offending apk immediately, which I tried.....Unfortunately that gives me repeated force closes over and over and over while the system tries to run it, to the point where I had to restore to a backup. So what do we do about this?
UPDATE: You can remove HTCloggers.apk...all you have to do is restart afterwards.
Evo4gLI said:
I've been up late tonight, and just so happened to stumble across this article over at AndroidPolice. Figured it might interest some people here since it includes our phone.
http://www.androidpolice.com/2011/1...e-numbers-gps-sms-emails-addresses-much-more/
Here's the thing, though. They recommend uninstalling the offending apk immediately, which I tried.....Unfortunately that gives me repeated force closes over and over and over while the system tries to run it, to the point where I had to restore to a backup. So what do we do about this?
Click to expand...
Click to collapse
Yes and no.
Yes because so many users run Sense.
No because I run AOSP.
Frankly, I wonder how many other serious flaws there are.
I can name several apps that want their hands on permissions they have no business in [Facebook for one]
Its like 1984 for sure. There's an article in the new section here at xda that talks about some of the other vulnerabilities as well.
Sent from my PC36100 using xda premium
Thanks for sharing. Another reason why we root our phones
Sent from my PC36100 using XDA Premium App
Many devs remove these programs and such to remove ciq. I can't find the thread right now, but it reads just about everything. It's so deeply imbedded into the framework.
It reads every button you press on your keyboard.
Every text you send and receive.
Every app you use and download.
The pages you browse on using the internet browser.
It even goes as far to read any spot on your screen that you touch.
This is spyware to the extreme. Sprint and HTC will say its not "spyware" and say its used only for marketing to determine how phones are being used to further develop for the current trends in smartphones. It's very possible they could steal personal info with this. Is it currently happening? Uhh...probably not, but there will still be a lot of paranoia about it.
Sent from my PC36100 using XDA App
Sounds like a really good reason to stay with AOSP to me...
very True Haha
Sent from my GT-I5800 using XDA App
Some of us haven't forgotten the XCP rootkit that was on some Sony BMG titles in 2005... hope HTC doesnt suffer a similar demise like Sony eventually has of late.
This has been removed from MikG.
This is exactly why I'm AOSP. (that and sub-100MB ROM files)
I read the article too- (I have an Androidpolice/Android Central) feed in my Pulse reader....
I already knew CIQ and such were slimy embedded spyware...but the Treve app- spotted stuff I hadnt deleted already... Sprint sent me a "letter" about bandwidth usage and We-KNOW-what-Your-Doing" ----
I'm not amused by HTC/Sprint's collusion... leaving our bottoms out there in the cold for anyone to do whatever with.....
I bet even money my phones been cloned... sometimes I can't use it for calls .. recently -and I'd not had a single missed call or problem in a year.
I'm not a happy camper.. worried about my credit card #'s and really really am annoyed by HTC sliming us this way...
to the tune- that it'll be an icey cold day in hell before I'd consider buying another HTC phone for anyone in my family- (my family has 3 Evo 4g)...
We are not amused.....
HipKat said:
Sounds like a really good reason to stay with AOSP to me...
Click to expand...
Click to collapse
AMEN
it appears to me that this file has already been removed from MikFroyo. At least, I can't find it...
BTW, you can just remove it using TIbackup, but you'll have to restart to get rid of the repeated force closes. Simple fix, and I've done the same for CarrierIQ as well.
It was removed from sprint lovers rom as well... I couldnt find it at least
I removed HtcLoggers.apk from mine and after rebooting (force close loop) it seems to be working fine. However, is there an old log file still on the phone that can be read by some Spyware app that needs to be removed or does all this data need to come from the logger app itself? If there still is a log, I'm sure it has enough info to still steal my ESN and other stuff.
Wow! Glad I run custom ROMS

BUSTED! Secret app on millions of phones logs key taps

An Android app developer has published what he says is conclusive proof that millions of smartphones are secretly monitoring the key presses, geographic locations, and received messages of its users.
http://www.theregister.co.uk/2011/11/30/smartphone_spying_app/
You can download the app to see if you have CIQ from here:
http://forum.xda-developers.com/showpost.php?p=17612559&postcount=110
Im running Miui and came out ok. Need root to run the app / clean it out.
http://forum.xda-developers.com/showthread.php?t=1122569&highlight=ciq
That's pretty f**ked up. This logs keys as they are pressed, even in dialer. It doesn't appear to be installed on all android builds, seems to be carrier dependant.
I ran TrevE_Logging_TestApp_v7 to check for CIQ on my SGHT959 stock froyo.uvka6 rooted (Tmobile USA) and it came back clean, no CIQ found.
It would be good to post a list of which carriers/phone manufacturers are utilizing this rootkit so they can be avoided.
Anyway I think the only ones affected would be users of stock roms like me, CM7/MIUI and other custom roms should be fine.
Vibrant
just ran it on my Samsung Vibrant running Trigger 3.2 and it came up clean...
Phrack said:
It would be good to post a list of which carriers/phone manufacturers are utilizing this rootkit so they can be avoided.
Click to expand...
Click to collapse
Agree!
I found it on my T-Mobile SGS2.... :/ I killed it with Titanium backup and rebooted. So far so good. I backed it up just in case it does mess up the phone by removing it.
Cool thanks.
sw20 said:
Agree!
I found it on my T-Mobile SGS2.... :/ I killed it with Titanium backup and rebooted. So far so good. I backed it up just in case it does mess up the phone by removing it.
Click to expand...
Click to collapse
From my research the only way to tell if your phone has icq is to run log cat on your phone. Also just uninstalling the visible program didn't stop the program. I have found that asop and Muiu roms do not have ciq installed and only custom roms or kernels (in sgs2 case) which specifically removes listed as it removed.
I talked to a customer rep @ T-Mobile and she had no idea what I was talking about when I asked about ciq.
Can't wait for the class action law suit against ciq and see if this company can survive especially after eckhart's new video showing the program logging everything.
Sent from my SGH-T959 using xda premium
Does anyone know how i get sqlite3?
Hey man! this is ****ed up. How do we remove this?
It depends on which rom you are using. If you are using CM7/MIUI they don't have CIQ because they are based on open source android builds. CIQ is added by carriers and some phone manufacturers so if you are running stock rom or hacked rom based on a stock rom there is a good chance you have CIQ.
You need to download TrevE's Logging Test App to check for CIQ:
http://forum.xda-developers.com/showpost.php?p=17612559&postcount=110
There's different versions, try them until you find one that works for your phone. This will tell you if CIQ is found. To remove it you need to pay 99 cents for pro version of app and your phone needs to be rooted.
**EDIT
Here's some more info on Carrier IQ from the author of Logging Test App. It details what Carrier IQ does and logs.
http://androidsecuritytest.com/features/logs-and-services/loggers/carrieriq/
IMHO CIQ would probably be useful software if
A) Subcribers voluntarily participated
B) The software can easily be removed
As it stands this is classified as a rootkit because it is carefully hidden with no way for an average person to remove or disable it.
**EDIT ++
On the plus side there seems to be a plethora of apps available in Android Market for checking if Carrier IQ exists on your phone.
https://market.android.com/search?q=carrier+iq&so=1&c=apps
I have a feeling there will be eventually a simplified method for removing CIQ. Just be patient.
vibrant doesn't have it...
Sent from my SGH-T959 using xda premium
im glad mine doesn't have it. i put important stuff like mine and my moms bank accounts on my phone. cm7 is a safe choice

Carrier IQ

All right the company Carrier IQ is suddenly popping up in news stories everywhere. I assume I am safe from this garbage if I am using Cyanogenmod but how do I make sure my Wife's shift is clean of this if she's using Stock rooted 2.2? She will not let me change roms or even upgrade her to 2.3 so I would like to know what I need to delete to make sure Carrier IQ is not installed on her Shift or at least not sending any info back to it's mother ship.
If you haven't heard Carrier IQ is installed on millions of phones of different manufacturer's and is supported by many carriers including HTC and Sprint. It collects data and sends it back to Sprint or who knows who. Apparently it can log everything and it ignores any permissions or security you have set up or something like that. It is installed "invisibly" and you do not have the option to opt in or out. I assume Titanium or some other program can see the pieces I would need to delete but I don't know what they are.
Here's where I read about it and it does list an app that may be able to take care of it but I would rather know how to do it manually:
http://www.engadget.com/2011/12/01/carrier-iq-what-it-is-what-it-isnt-and-what-you-need-to/#comments
Thanks
Evo_Shift said:
All right the company Carrier IQ is suddenly popping up in news stories everywhere. I assume I am safe from this garbage if I am using Cyanogenmod but how do I make sure my Wife's shift is clean of this if she's using Stock rooted 2.2? She will not let me change roms or even upgrade her to 2.3 so I would like to know what I need to delete to make sure Carrier IQ is not installed on her Shift or at least not sending any info back to it's mother ship.
If you haven't heard Carrier IQ is installed on millions of phones of different manufacturer's and is supported by many carriers including HTC and Sprint. It collects data and sends it back to Sprint or who knows who. Apparently it can log everything and it ignores any permissions or security you have set up or something like that. It is installed "invisibly" and you do not have the option to opt in or out. I assume Titanium or some other program can see the pieces I would need to delete but I don't know what they are.
Here's where I read about it and it does list an app that may be able to take care of it but I would rather know how to do it manually:
http://www.engadget.com/2011/12/01/carrier-iq-what-it-is-what-it-isnt-and-what-you-need-to/#comments
Thanks
Click to expand...
Click to collapse
Run supreme sense
VICODAN said:
Run supreme sense
Click to expand...
Click to collapse
I know! I told my wife it is better...she still says no
You can use Treve's app http://forum.xda-developers.com/showpost.php?p=17612559
https://market.android.com/details?id=com.treve.loggingkey
Evo_Shift said:
I know! I told my wife it is better...she still says no
Click to expand...
Click to collapse
Show her that video and tell her you want a divorce if she doesn't agree.
lol jk about the divorce part but seriously I just watched that video and im so glad im not on stock sense.
Flash MikShifted G v1.76 or Supreme Sense, then hand her back the phone. If she doesn't like them better than stock there is something wrong
i think people over think things too much about these little threats
+1 OP, I'm in exactly the same boat!
Unfortunately it seems at this point, no way to remove CIQ without root
guyandhisdog said:
+1 OP, I'm in exactly the same boat!
Unfortunately it seems at this point, no way to remove CIQ without root
Click to expand...
Click to collapse
I think he already mentioned that yes she does have root on stock if you read the OP. So yes titanium backup should be able to remove it no problem. Use the app carrier IQ detector to find out how much of it needs to be removed.
CIQ is built into the kernel too. He needs to swap kernels as well as remove the apps.
Sent from my PG06100 using XDA App
Ron Overdrive said:
CIQ is built into the kernel too. He needs to swap kernels as well as remove the apps.
Sent from my PG06100 using XDA App
Click to expand...
Click to collapse
I looked at the kernel. All there is in the kernel is bug fixes to allow CIQ to run properly. If you remove the system apps there is nothing for the bug fixes in the kernel to use.
Sent from my PG06100 using xda premium
has anyone used the advanced version of treve's app on a shift successfully?
or removed the the ciq stuff manually with success? if so is there anything that needs to stay on the device so it doesn't brick.
i'm using a stock rooted rom and kind of want to stick with it.

SmithMicro replaces CIQ?

SmithMicro replaces CIQ?
Sent from my PC36100 using XDA App
Why is the sky blue?
(See, we both provided no content worthy of discussion and just asked a seemingly random question...)
KaptainRandom said:
SmithMicro replaces CIQ?
Sent from my PC36100 using XDA App
Click to expand...
Click to collapse
In simple words, no.
I'll link you to a thread with discussion about the SmithMicro Application, enjoy!
http://forum.xda-developers.com/showthread.php?t=1444332
Smith micro is used to control gapps and their updates not spy on u
Edit: I believe it controls other firmware as well unlike ciq if removed at all it causes firmware errors
-EViL-KoNCEPTz- said:
Smith micro is used to control gapps and their updates not spy on u
Edit: I believe it controls other firmware as well unlike ciq if removed at all it causes firmware errors
Click to expand...
Click to collapse
I pulled that apk apart right after the ota to determine what it was and if it was safe to remove for my own senseless rom. I believe you are correct in the features of what it is there for. I did notice some xmls, and smali that referred to logging, and writing "user logs" to sd. At first Ithought it was a ciq replacement, so I pulled it when I cooked that first rom. I did not experience any ill effects. Although tbh I only ran the rom for about a day, missed Tommy's extended quick settings. There was also a welcomed lack of any ciq, in lib or bin, very good sign.
Anyways, I'm still in the debug process with my rom, but I will report back after I have more uptime w/o Smith.
Sent from my PC36100 using xda premium
I know removing it affects certain apps and doesn't affect others you may or may not bump into an issue depending on what you're running I found out about it when I was stripping a rom and saw the service running and it piqued my curiosity this was on synergy when I discovered ciq and began the battle with removing it and HTCloggers that was a fun experience I soft bricked my phone about 100x trying to get rid of that crap, this was before treve had released any info on it so I was going at it blindly
Edit: I forgot to add the service SmithMicroDM is a download manager for firmware updates I believe it controls OTAs prls and profile updates as well as a few other apps
We are legion, for we are many.
-EViL-KoNCEPTz- said:
I know removing it affects certain apps and doesn't affect others you may or may not bump into an issue depending on what you're running I found out about it when I was stripping a rom and saw the service running and it piqued my curiosity this was on synergy when I discovered ciq and began the battle with removing it and HTCloggers that was a fun experience I soft bricked my phone about 100x trying to get rid of that crap, this was before treve had released any info on it so I was going at it blindly
Edit: I forgot to add the service SmithMicroDM is a download manager for firmware updates I believe it controls OTAs prls and profile updates as well as a few other apps
We are legion, for we are many.
Click to expand...
Click to collapse
If it controls OTAs I'm definitely leaving it out. Lol
It could be that I removed any apps it was joined to. I was down to 115MB zipped last time I cooked. I will say this, 4.67 makes for one hellaciously fast stripped down rom. Couple edits to init.rc in the boot.img, and it feels like an aosp rom.
Sent from my PC36100 using xda premium
You will know when it causes an error it will say something like process com.smithmirco.xxx force closed the xxx being replaced with a specific process such as DM or service and then the app will crash I had issues with things locking up and requiring a battery pull HTCLoggers.apk was the worst as soon as I tried to freeze or delete it in tibu the damn thing would FC every 1/10th of a second making it impossible to restore with out flashing a backup or reflashing the rom over itself to replace the logger I finally found it embedded in several system files like frameworks-res.apk and systemui.apk which required removal from the code itself I never could get it removed without some sort of error before TrevE released his removal info, I was about ready to pull my hair out after about 60 hrs of deleting code and having to restore backup after backup when I couldn't boot or it would boot and immediately go ape**** force closing or locking up I ended up giving up and switching to a rom without ciq the first few I tried had serious wakelock issues from improper removal then the classic came out and it was ciq and wakelock free. I was able to tell how invasive ciq and htcloggers was when I found it I dumped a few logs and found IQ hits popping up attached to almost everything data or input related it was in SMS, keyboard, call history, dialer etc pretty scary especially since I had no idea what exactly it was logging or what it was doing with those logs, TrevE was lightyears ahead of me in tracking down that info, however I would personally classify ciq and loggers as malware/spyware glad sprint listened and got rid of it unlike big red who just flat out lied and said they didn't use it, which they didn't they used the same idea different name and figured no one would notice *rolls eyes*
We are legion, for we are many.

[Q] Where is the LTE related files found in system?

I am working on a theory for my sgh-i337m, but I am still pretty new to all android programming.
Here is my situation:
I am working on modifying a custom ROM that is meant for the I9505 S4, I got it working pretty much flawlessly aside from some of the major reprogramming things(renaming device model etc.)
what I need is to find the location of the Modem/Driver for LTE. so far i have up to 4G and wifi working.
my bad, I figured it out, this question i asked is pretty much pointless, i already found the files before i asked this, just didn't realise it
Buddyjohn said:
I am working on a theory for my sgh-i337m, but I am still pretty new to all android programming.
Here is my situation:
I am working on modifying a custom ROM that is meant for the I9505 S4, I got it working pretty much flawlessly aside from some of the major reprogramming things(renaming device model etc.)
what I need is to find the location of the Modem/Driver for LTE. so far i have up to 4G and wifi working.
Click to expand...
Click to collapse
Renaming the device model is fairly simple, out just need to edit the build.prop, towards the top you'll see multiple references to model number and what not...just change it to yours....you can also just compare the two different build.props for a better understanding always nice to see new people trying to dev, look forward to your progress
Sent from my SGH-I997 using Tapatalk 2
mg2195 said:
Renaming the device model is fairly simple, out just need to edit the build.prop, towards the top you'll see multiple references to model number and what not...just change it to yours....you can also just compare the two different build.props for a better understanding always nice to see new people trying to dev, look forward to your progress
Sent from my SGH-I997 using Tapatalk 2
Click to expand...
Click to collapse
Thanks! I am actually talking with one of the members of the rom I'm working on, basically if I can get everything to work, without any problems of crashing/random reboots/etc. They may do those edits and touch ups and release it as an official device for their rom.

Categories

Resources