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

This is a flashable zip to remove CarrierIQ from all parts of the stock AT&T rom.
You need a custom recovery in order to use this!
How to install:
Download and place on phone
Boot to Recovery
Flash
If you do not have a custom recovery or want to do it manually, you'll need a kernel that disables system write protection. These are the files that are removed/modified:
Code:
REMOVED:
system/app/HtcResetNotify.apk
system/app/HtcResetNotify.odex
system/bin/htc_ebdlogd
system/framework/ext.odex
system/framework/frameworkEDIAG.jar
system/framework/frameworkEDIAG.odex
system/framework/framework-res.odex
system/framework/telephony-common.odex
system/lib/libiq_client.so
system/lib/libiq_service.so
MODIFIED:
system/framework/ext.jar
system/framework/framework-res.apk
system/framework/telephony-common.jar
You can extract the three modified files from the zip.
CarrierIQ_Remover.zip
CarrierIQ_Remover_1.58.502.1.zip (thanks to @enewman17 for the files)

do you have any screenshots? and has any one tested yet?

Pure+ said:
do you have any screenshots? and has any one tested yet?
Click to expand...
Click to collapse
Yep!

enewman17 said:
Yep!
Click to expand...
Click to collapse
sweet. looks like I found my next mod.

Pure+ said:
sweet. looks like I found my next mod.
Click to expand...
Click to collapse
.......

enewman17 said:
Wanna test? Based on the ATT shipping ROM ver. 1.12.502.18 http://www.androidfilehost.com/?fid=23329332407588048
here is the beginnings of our ROM. M8Rx_HTC-One_M8_1.12.502.18
There are some AROMA mods Haven't tested all of them. The volume boost isn't finished, but it's an option, won't have any effect.
Deodexed
Debloated... but not any core functions so everything will work, just market apps and ATT bloat.
Carrier_IQ removed
Rooted
Busybox
init.d
system RW
Aroma has some extra apps
xposed
AOSP email clients... not tested yet.
Viper FX to add to this already great sounding phone.
Shouldn't have any problems dirty flashing over the stock odexed AT&T ROM
Click to expand...
Click to collapse
Yeah I might, I'm kind of holding off on roms right now. I'm assuming I can just flash over pure stock? and are you guys considering a brightness mod? One thing I'd love to see is higher brightness for when I'm outside...

Pure+ said:
Yeah I might, I'm kind of holding off on roms right now. I'm assuming I can just flash over pure stock? and are you guys considering a brightness mod? One thing I'd love to see is higher brightness for when I'm outside...
Click to expand...
Click to collapse
Yeah I flashed it off of the pure stock shipping rom odexed and everything. No problems yet. Just make those ever important Nandroids everyone keeps talking about. :laugh:
I'm not sure what we can do about the brightness yet, We're both new to the HTC one series. Loserskater and I were on the ATT Galaxy S3.
But for sure we'll look into seeing what we can do.

enewman17 said:
Yeah I flashed it off of the pure stock shipping rom odexed and everything. No problems yet. Just make those ever important Nandroids everyone keeps talking about. :laugh:
I'm not sure what we can do about the brightness yet, We're both new to the HTC one series. Loserskater and I were on the ATT Galaxy S3.
But for sure we'll look into seeing what we can do.
Click to expand...
Click to collapse
Sweet. If you could hit me up with a PM that has link and features I could probably flash it sometime this week. I'll probably flash another rom first just to "dip my toes in the water" get more accustomed to running roms on this machine. But I would love to test it all out.

enewman17 said:
Yeah I flashed it off of the pure stock shipping rom odexed and everything. No problems yet. Just make those ever important Nandroids everyone keeps talking about. :laugh:
I'm not sure what we can do about the brightness yet, We're both new to the HTC one series. Loserskater and I were on the ATT Galaxy S3.
But for sure we'll look into seeing what we can do.
Click to expand...
Click to collapse
Glad to see that you and looserskater migrated to the m8. You were one of the best teams on the gs3.
Sent from my HTC One_M8 using XDA Premium 4 mobile app

Something missing from the thread??? M8Rx_HTC-One_M8_1.12.502.18.... Haven't gotten my M8 yet, but it never takes me long to void a warranty.

Silverexp said:
Something missing from the thread??? M8Rx_HTC-One_M8_1.12.502.18.... Haven't gotten my M8 yet, but it never takes me long to void a warranty.
Click to expand...
Click to collapse
Didn't mean to take over the thread, check my Android file host I put up a new build, fixed a couple issues I found yesterday.
Sent from my Transformer TF101 using Tapatalk

enewman17 said:
Yeah I flashed it off of the pure stock shipping rom odexed and everything. No problems yet. Just make those ever important Nandroids everyone keeps talking about. :laugh:
I'm not sure what we can do about the brightness yet, We're both new to the HTC one series. Loserskater and I were on the ATT Galaxy S3.
But for sure we'll look into seeing what we can do.
Click to expand...
Click to collapse
I am glad I got the m8 you guys did a great job on the s3 looking forward to your Rom on the m8
Sent from my HTC One_M8 using XDA Premium 4 mobile app

enewman17 said:
Yeah I flashed it off of the pure stock shipping rom odexed and everything. No problems yet. Just make those ever important Nandroids everyone keeps talking about. :laugh:
I'm not sure what we can do about the brightness yet, We're both new to the HTC one series. Loserskater and I were on the ATT Galaxy S3.
But for sure we'll look into seeing what we can do.
Click to expand...
Click to collapse
And good to see both of you followed me over the the HTC One

I'm surprised that this thread veered off into a different topic and then just died. Is no one interested in removing the carrier iq? I was waiting to see what the results were for people who used this but there hasn't been any activity. Did no one try this?
R

racedog said:
I'm surprised that this thread veered off into a different topic and then just died. Is no one interested in removing the carrier iq? I was waiting to see what the results were for people who used this but there hasn't been any activity. Did no one try this?
R
Click to expand...
Click to collapse
Usually with threads like these if something works, people don't comment, but if it doesn't everybody will complain. So with post 3 saying it works and the lack of complaints, I think it's safe to assume it works.

And another success. AT&T M8 unlocked, S-Off, root.
Thanks loserskater :good:

Anyway to get the changes to ext.jar, framework-res, and telephony-common.Jar written out? These 3 files in your zip prevent my stock att ROM from booting ever. I know frameworkediag.jar controls all the carrier iq, remove that and none of it works but get system fc toast on startup. Maybe easier would be a way to edit just that file to not start the service?
Sent from my HTC One_M8 using XDA Premium 4 mobile app

HolyAngel said:
Anyway to get the changes to ext.jar, framework-res, and telephony-common.Jar written out? These 3 files in your zip prevent my stock att ROM from booting ever. I know frameworkediag.jar controls all the carrier iq, remove that and none of it works but get system fc toast on startup. Maybe easier would be a way to edit just that file to not start the service?
Sent from my HTC One_M8 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
In ext.jar just remove the entire carrierIQ directory (smali/com/carrieriq).
I used the framework-res from the international rom. The only differences were in the AndroidManifest.xml, and that's where the service is started in the AT&T build. If you want to remove that from the AT&T framework-res, you'd need to resign the apk which would cause a lot more troubles.
And telephony-common.jar was in the file smali/com/android/internal/telephony/InboundSmsHandler.
I removed the following lines in red:
Code:
[COLOR="red"].field protected mIQClient:Lcom/carrieriq/iqagent/client/IQClient;[/COLOR]
...
...
[COLOR="red"]new-instance v2, Lcom/carrieriq/iqagent/client/IQClient;
invoke-direct {v2}, Lcom/carrieriq/iqagent/client/IQClient;-><init>()V
iput-object v2, p0, Lcom/android/internal/telephony/InboundSmsHandler;->mIQClient:Lcom/carrieriq/iqagent/client/IQClient;[/COLOR]
...
...
[COLOR="Red"]iget-object v4, p0, Lcom/android/internal/telephony/InboundSmsHandler;->mIQClient:Lcom/carrieriq/iqagent/client/IQClient;
invoke-virtual {v3}, Landroid/telephony/SmsMessage;->getMessageBody()Ljava/lang/String;
move-result-object v5
invoke-virtual {v4, v5}, Lcom/carrieriq/iqagent/client/IQClient;->checkSMS(Ljava/lang/String;)Z
move-result v4
if-nez v4, :cond_2[/COLOR]
.line 556
iget-object v4, v3, Landroid/telephony/SmsMessage;->mWrappedSmsMessage:Lcom/android/internal/telephony/SmsMessageBase;
invoke-virtual {p0, v4}, Lcom/android/internal/telephony/InboundSmsHandler;->dispatchMessage(Lcom/android/internal/telephony/SmsMessageBase;)I
:try_end_0
.catch Ljava/lang/RuntimeException; {:try_start_0 .. :try_end_0} :catch_0
move-result v2
.line 569
[COLOR="red"]:cond_2[/COLOR]
:goto_1
const/4 v4, -0x1
...
...
[COLOR="red"]move-object/from16 v0, p0
iget-object v3, v0, Lcom/android/internal/telephony/InboundSmsHandler;->mIQClient:Lcom/carrieriq/iqagent/client/IQClient;
invoke-virtual/range {v42 .. v42}, Ljava/io/ByteArrayOutputStream;->toByteArray()[B
move-result-object v4
invoke-virtual {v3, v4}, Lcom/carrieriq/iqagent/client/IQClient;->checkWAPPush([B)Z
move-result v3
if-nez v3, :cond_f[/COLOR]
.line 890
move-object/from16 v0, p0
iget-object v3, v0, Lcom/android/internal/telephony/InboundSmsHandler;->mWapPush:Lcom/android/internal/telephony/WapPushOverSms;
invoke-virtual/range {v42 .. v42}, Ljava/io/ByteArrayOutputStream;->toByteArray()[B
move-result-object v4
move-object/from16 v0, v50
move-object/from16 v1, p0
move-object/from16 v2, v41
invoke-virtual {v3, v4, v0, v1, v2}, Lcom/android/internal/telephony/WapPushOverSms;->dispatchWapPdu([BLandroid/content/BroadcastReceiver;Lcom/android/internal/telephony/InboundSmsHandler;Ljava/lang/String;)I
move-result v49
.line 897
[COLOR="red"]:cond_f[/COLOR]
new-instance v3, Ljava/lang/StringBuilder;

enewman17 said:
Didn't mean to take over the thread, check my Android file host I put up a new build, fixed a couple issues I found yesterday.
Sent from my Transformer TF101 using Tapatalk
Click to expand...
Click to collapse
Big E did you move on to the M8?

tbird57 said:
Big E did you move on to the M8?
Click to expand...
Click to collapse
Yes

Related

HTC Sense 3.0 Camera APK with PANORAMA

Was wondering if anybody has tried this on their 3D seeing how HTC negelected to include this for some reason with Sense 3.0 on the 3D.
http://forum.xda-developers.com/showthread.php?t=1084195
klbjr said:
Was wondering if anybody has tried this on their 3D seeing how HTC negelected to include this for some reason with Sense 3.0 on the 3D.
http://forum.xda-developers.com/showthread.php?t=1084195
Click to expand...
Click to collapse
would like to see this working !
CheesyNutz said:
would like to see this working !
Click to expand...
Click to collapse
The Sony Panorama app is pretty awesome. I don't remember if the HTC version was as easy tho.
TMartin said:
The Sony Panorama app is pretty awesome. I don't remember if the HTC version was as easy tho.
Click to expand...
Click to collapse
is that in the market ?
CheesyNutz said:
is that in the market ?
Click to expand...
Click to collapse
It's here on xda. Check this post for the version for non-rooted phones.
Not 100% if this would enable the setting for us but this is missing from the PanoramaUI.smali in our APK:
Code:
.method static synthetic access$400(Lcom/android/camera/component/PanoramaUI;)Z
.locals 1
.parameter "x0"
.prologue
.line 33
iget-boolean v0, p0, Lcom/android/camera/component/PanoramaUI;->m_IsModeEntered:Z
return v0
.end method
TMartin said:
It's here on xda. Check this post for the version for non-rooted phones.
Not 100% if this would enable the setting for us but this is missing from the PanoramaUI.smali in our APK:
Code:
.method static synthetic access$400(Lcom/android/camera/component/PanoramaUI;)Z
.locals 1
.parameter "x0"
.prologue
.line 33
iget-boolean v0, p0, Lcom/android/camera/component/PanoramaUI;->m_IsModeEntered:Z
return v0
.end method
Click to expand...
Click to collapse
Worked perfect man. Thanks.
Sent from my PG86100 using XDA Premium App
Man the Sony app did work on the 3vo...look awesome. Installed it, and u just need to tap the arrow button for direction that you will be spanning. Then tap the on-screen camera to start capture and span. Tried it and it worked.
Sick! Works great!
klbjr said:
Was wondering if anybody has tried this on their 3D seeing how HTC negelected to include this for some reason with Sense 3.0 on the 3D.
http://forum.xda-developers.com/showthread.php?t=1084195
Click to expand...
Click to collapse
It won't install.
wacko11 said:
It won't install.
Click to expand...
Click to collapse
Download the Sony one further down the post....I installed it and it works great!!! the one in the op I believe is for rooted phones.
slayer69 said:
Download the Sony one further down the post....I installed it and it works great!!! the one in the op I believe is for rooted phones.
Click to expand...
Click to collapse
Aight.....thanks.
That's really cool. Thanks!
Fyi this works on the sensation also
Sent from my HTC Sensation 4G using XDA App
Loving the Sony Panorama app. Works without fail.
Sent from my PG86100 using XDA Premium App
it works but its blury every time
Same with me, it works on my HTC Sensation but the picture is blurry in places.
What post is it I can't find it
Pan slowly and keep level for less blur
clutch_08 said:
What post is it I can't find it
Click to expand...
Click to collapse
Link to sony beta panorama app
http://forum.xda-developers.com/attachment.php?attachmentid=633467&d=1308766475
how did you guys get this to install. I downloaded to phone and have Unknown Sources checked but it wont install. Thx

Face Unlock on Turl v8

Hey guys. So, on both Jokersax's thread, and Turl's thread, people speak of Face Unlock. Is it working for anyone? If so, how? Im running v8, and the option just doesnt show up, wondering if theres an extra zip im missing? Thanks
It works use the beta 0.0.1 I think
with Google apps V10 should work!
Sent from my MB860 using XDA App
ripin150 said:
Hey guys. So, on both Jokersax's thread, and Turl's thread, people speak of Face Unlock. Is it working for anyone? If so, how? Im running v8, and the option just doesnt show up, wondering if theres an extra zip im missing? Thanks
Click to expand...
Click to collapse
Settings -> Security -> Lock screen -> Screen lock -> Face Unlock
Don't forget to hit THANKS!

Memo File

I've saved the Memo APK and odex file from Gingerbread and wanted to use it on Miracle V4, can someone make the file compatible to be used on Miracle V4 please,
http://www.mediafire.com/?n37tfhctgt8ceni
Search THE FORUMs b4 posting
They are all here...................
http://forum.xda-developers.com/showthread.php?t=1324850
aditya_7298 said:
Search THE FORUMs b4 posting
They are all here...................
http://forum.xda-developers.com/showthread.php?t=1324850
Click to expand...
Click to collapse
I've already seen that topic, the Memo app is too big to fit onto the screen
Lither said:
I've already seen that topic, the Memo app is too big to fit onto the screen
Click to expand...
Click to collapse
I have used this one and it works fine : Memo
From this thread

[GUIDE] Make haptic feedback stronger

With the 2.13 base, haptic feedback of the capacitive keys was reduced significantly. I've gotten a few requests to "please find a way to put it back to the way it was on the prior base". I have to agree it's a bit "dainty" and difficult to detect on 2.13 and I found a simple solution to those of you with a little experience with decompiling and recompiling. As usual, this guide assumes you know how to decompile and recompile apk/jar files and is not intended as a primer on how to do that, yada, yada.
OK, this is really simple. Just decompile android.policy.jar and open \smali\com\android\internal\policy\impl\PhoneWindowManager.smali and search for this:
Code:
const v9, 0x409000f
replace that line with this:
Code:
const v9, 0x1070021
Save, recompile and you should be good to go.
Mike
reserved
Nice find mikey.
SteelH said:
Nice find mikey.
Click to expand...
Click to collapse
Hey Mikey, I think he likes it!
as do I. I thought it was weaker. Thanks
Sent from EVO LTE using the XDA app
I assume this is in services.jar? Didn't see it mentioned in the OP.
Sent from my EVO using Tapatalk 2
debarron said:
I assume this is in services.jar? Didn't see it mentioned in the OP.
Sent from my EVO using Tapatalk 2
Click to expand...
Click to collapse
Thanks. I added it to the OP: it's in android.policy.jar.
Mike
Sent from my EVO using xda premium

[MOD][HOW TO][LSJ] CRT-off

Hello xda'ers, here is a quick method to get CRT OFF working on LSJ roms.
Decompile services.jar and navigate to:
smali\com\android\server\PowerManagerService$ScreenBrightnessAnimator.smali
look for .line 3022
Code:
.line 3022
iget-object v7, p0, Lcom/android/server/PowerManagerService$ScreenBrightnessAnimator;->this$0:Lcom/android/server/PowerManagerService;
#getter for: Lcom/android/server/PowerManagerService;->mScreenBrightnessHandler:Landroid/os/Handler;
invoke-static {v7}, Lcom/android/server/PowerManagerService;->access$7200(Lcom/android/server/PowerManagerService;)Landroid/os/Handler;
move-result-object v7
const/16 v9, 0xa
invoke-virtual {v7, v9, p1, v3}, Landroid/os/Handler;->obtainMessage(III)Landroid/os/Message;
move-result-object v2
focus on "const/16 v9, 0xa" and take a look on static fields.
Code:
# static fields
.field static final ANIMATE_LIGHTS:I = 0xa
.field static final ANIMATE_POWER_OFF:I = 0xb
So we miss "ANIMATE_POWER_OFF:I = 0xb", let s add it
final code is this, add the red lines
Code:
.line 3022
iget-object v7, p0, Lcom/android/server/PowerManagerService$ScreenBrightnessAnimator;->this$0:Lcom/android/server/PowerManagerService;
#getter for: Lcom/android/server/PowerManagerService;->mScreenBrightnessHandler:Landroid/os/Handler;
invoke-static {v7}, Lcom/android/server/PowerManagerService;->access$7200(Lcom/android/server/PowerManagerService;)Landroid/os/Handler;
move-result-object v7
[COLOR="Red"] if-eqz p2, :cond_mi
const/16 v9, 0xb
const/4 v10, 0x0
const v2, 0x10
invoke-virtual {v7, v9, v2, v10}, Landroid/os/Handler;->obtainMessage(III)Landroid/os/Message;
move-result-object v9
invoke-virtual {v9}, Landroid/os/Message;->sendToTarget()V
:cond_mi[/COLOR]
const/16 v9, 0xa
invoke-virtual {v7, v9, p1, v3}, Landroid/os/Handler;->obtainMessage(III)Landroid/os/Message;
move-result-object v2
Recompile and you got it
for lazy ones here is the zip
DOWNLOAD
if u shouldn t like and want to restore download here
good
Thanks a lot mirco thanks great I ll port this to my rom soon thanks
Sent from my GT-I9100 using xda premium
ICS_XD said:
good
Click to expand...
Click to collapse
maybe now u r too famous too hit thanks button?
Biftor said:
Thanks a lot mirco thanks great I ll port this to my rom soon thanks
Sent from my GT-I9100 using xda premium
Click to expand...
Click to collapse
u r welcome
Nice. Looking forward for crt-ON too. XD
Sent from my GT-I9100 using Tapatalk
LexterAce said:
Nice. Looking forward for crt-ON too. XD
Sent from my GT-I9100 using Tapatalk
Click to expand...
Click to collapse
looking forward for a lot of thanks first then CRT-ON will come
Haha true. But somehow my crt doesnt work noe even after flashing. It works at first.
Edit: It look like only when i on wifi then there will be crt animation. I notice some other jb device has this issue at first too.
Sent from my GT-I9100 using Tapatalk
Mirko ddd
First thanks.
I made that for my rom is not work correctly if I enable Wifi crt effect is work but elas crt effect is not work
Mirko ddd have any ideas?
Goodluck
Sent from my GT-I9100 using xda premium
Biftor said:
Mirko ddd
First thanks.
I made that for my rom is not work correctly if I enable Wifi crt effect is work but elas crt effect is not work
Mirko ddd have any ideas?
Goodluck
Sent from my GT-I9100 using xda premium
Click to expand...
Click to collapse
Works here with and without wifi
Mirko ddd said:
looking forward for a lot of thanks first then CRT-ON will come
Click to expand...
Click to collapse
Mirko ddd said:
Works here with and without wifi
Click to expand...
Click to collapse
its good to hear this, mate..:good:
Mirko ddd said:
Works here with and without wifi
Click to expand...
Click to collapse
are you sure Mirko?????
i made my service.jar with this code for crt and its not work correctly!
i test your flashable zip!its not work correctly!
just i anable wifi is work!without wifi is not work!
i am sure i am Dev....
no need edit framework-res or any things??or no need any things to add?
i cant enable this correctly...
Mirko ddd said:
maybe now u r too famous too hit thanks button?
u r welcome
Click to expand...
Click to collapse
Lol you only work FOR THANKS ?
If yes i spend my all thanks for todat for you
Edit : 8 thanks given i wish i could give you more but m limited to 8
Sent from my GT-I9100G using Tapatalk 2
Biftor said:
are you sure Mirko?????
i made my service.jar with this code for crt and its not work correctly!
i test your flashable zip!its not work correctly!
just i anable wifi is work!without wifi is not work!
i am sure i am Dev....
no need edit framework-res or any things??or no need any things to add?
i cant enable this correctly...
Click to expand...
Click to collapse
Mate if you know everything, why you don't release your code for CRT? Why asking Mirko?
Mr.Greg said:
Mate if you know everything, why you don't release your code for CRT? Why asking Mirko?
Click to expand...
Click to collapse
Please read again what he said mate
Sent from my GT-I9100G using Tapatalk 2
CONFIRMED: Only working with Wifi on. Without Wifi, this doesn't work.
Biftor said:
are you sure Mirko?????
i made my service.jar with this code for crt and its not work correctly!
i test your flashable zip!its not work correctly!
just i anable wifi is work!without wifi is not work!
i am sure i am Dev....
no need edit framework-res or any things??or no need any things to add?
i cant enable this correctly...
Click to expand...
Click to collapse
Looks like you re pointing the finger at me xD
If u have better ideas just develop and share, and be grateful for gifts instead of complaining
ICS_XD said:
Lol you only work FOR THANKS ?
If yes i spend my all thanks for todat for you
Edit : 8 thanks given i wish i could give you more but m limited to 8
Sent from my GT-I9100G using Tapatalk 2
Click to expand...
Click to collapse
Of course, i work for thanks
Mirko ddd said:
Looks like you re pointing the finger at me xD
If u have better ideas just develop and share, and be grateful for gifts instead of complaining
Of course, i work for thanks
Click to expand...
Click to collapse
Ohhh okk
I develope for my passion too
Btw pls read again he is just saying that it has some problem he is not saying he has it fully working
Sent from my GT-I9100G using Tapatalk 2
Only working with Wifi On. Using disaster Rom v 6.0.
Thanks once again.
Same problem.. only works when WIFI is ON.
Im on Wanamlite 13.0
Either way, its still good than nothing.. thanks mate
Sent from my GT-I9100 using xda premium
Mr.Greg said:
Mate if you know everything, why you don't release your code for CRT? Why asking Mirko?
Click to expand...
Click to collapse
Mirko ddd said:
Looks like you re pointing the finger at me xD
If u have better ideas just develop and share, and be grateful for gifts instead of complaining
Of course, i work for thanks
Click to expand...
Click to collapse
Mr.Greg and Mirko pls read my post cerfully!
if i have any ideas for this i never asking about that!
good,work for thanks....
goodluck.
Armin.

Categories

Resources