yashsingh1/xdaforums huggingface dataset:
[HTC Vivid, Raider, Velocity] backtothemac:
When I type in mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 I get the following.

c:\Android>adb shell

$ su

su

# mount -o rw,remount -t yaffs2 /dev/block/mtdblock3

mount -o rw,remount -t yaffs2 /dev/block/mtdblock3

Usage: mount [-r] [-w] [-o options] [-t type] device directory
[HTC Vivid, Raider, Velocity] kxhawkins:
It's "mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system".

You missed the "/system".
[HTC Vivid, Raider, Velocity] 8125Omnimax:
After you type su then enter, check your phone if it has a superuser prompt, if it does select yes. Did you update your su binary?
[HTC Vivid, Raider, Velocity] Aus_Azn:
How do you get it to purge the logcat? I just want to make sure that I'm in shape for the 150 and am as CIQ-free as possible.

I tried adb logcat -c, but it didn't seem to do anything. USB debugging is on.
[HTC Vivid, Raider, Velocity] backtothemac:
Thanks for the help. When I tell it to go to system/lib it says it can't. hmmm

---------- Post added at 12:31 AM ---------- Previous post was at 12:25 AM ----------

Here is what I am getting. I am lost. Don't you guys hate noobs like me lol.

rm-tools>adb shell

$ su

su

# mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system

mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system

# cd system/bin

cd system/bin

# rm iqd

rm iqd

rm failed for iqd, No such file or directory

# rm iqfd

rm iqfd

rm failed for iqfd, No such file or directory

# cd system/lib

cd system/lib

cd: can't cd to system/lib

# rm libhtciqagent.so

rm libhtciqagent.so

rm failed for libhtciqagent.so, No such file or directory

---------- Post added at 12:34 AM ---------- Previous post was at 12:31 AM ----------

The phone does say that su permissions are granted when I enter SU into the cmd prompt
[HTC Vivid, Raider, Velocity] 8125Omnimax:
My main focus was to make it as simple as possible without having people tinker too much in the settings folder. The two linux kernel drivers are built into the kernel, just like every stock htc device that included ciq. You could switch out the kernel with holicakes kernel 1224 so that they dont show up anymore, but there are high risks involved in that process. The log file is harmless, so are the ciq linux kernel drivers after.

Follow the post step by step and youll see the only scores that should remain are 100 for the linux kernel drivers and 50 for the logcat file. totalling to 150

On the top screen of supercurios app youll see a message in yellow "Carrier IQ elements found - however it seems inactive"
[HTC Vivid, Raider, Velocity] backtothemac:
I did update my binary. Should I reset the phone and try again?
[HTC Vivid, Raider, Velocity] 8125Omnimax:
make sure youre in the specified directory by typing :

cd system

cd bin

ls

the ls command will show you a list of the files in the chosen directory. then scroll up to see the entries, try it again. Do this for each of the three folders and rm each of the files i specified. PM me if youre having difficulty, i dont flame adb noobies lol
[HTC Vivid, Raider, Velocity] 3f62011:
Response time seems to be better.
[HTC Vivid, Raider, Velocity] kxhawkins:
Your best bet is to use absolute paths, just "cd /system/lib".
[HTC Vivid, Raider, Velocity] 8125Omnimax:
turns out backtothemac had a score of 150 on supercurios app already. I initially wanted to make a bat file with absolute paths, but i will keep it this way so if any of the devs wish to use this in their own "tool" bat files they can. Plus it encourages the noobies to learn the adb commands. i can only count how many times people run into errors ( especialy on the mac ) when running adb.
[HTC Vivid, Raider, Velocity] :
testing kernel now that has it disabled there as well....have to finish some other stuff first but it will all be removed shortly
[HTC Vivid, Raider, Velocity] MazinDLX:
Does your kernel have loop device support?
[HTC Vivid, Raider, Velocity] slinkygn:
Anybody else getting a score of 250 after trying this?

Went over the instructions three times, so not sure what I'm missing...

Other than the logcat log and the kernel drivers, it's giving me 100pts for the dmesg log:

<6>[ xx.xxxxx][SDAL_24]:Channel=SDIO_CIQ,is_valid=1

I'm still getting the yellow "elements found, seems inactive" message up top, though.
[HTC Vivid, Raider, Velocity] 8125Omnimax:
Did you remove iqprofile.pro? And did you reboot!
[HTC Vivid, Raider, Velocity] slinkygn:
Yup. My iqprofile.pro file was also in system/etc, not system/pro, so I didn't at first but I found it after I saw the post. ("find"... duh, should've thought of that myself) And rebooted multiple times; even pulled the battery to see if it'd make a difference.
[HTC Vivid, Raider, Velocity] 8125Omnimax:
Make sure your have deleted the two entries HtcIQAgent ( com.htc.android.iqagent ) & IQRD (com.htc.android.iqrd )

" I/ActivityManager( 277): Process com.htc.android.iqagent (pid 1808) has died" = HtcIQAgent...you have to remove this
[HTC Vivid, Raider, Velocity] friedice:
How do I delete them?
[HTC Vivid, Raider, Velocity] 8125Omnimax:
Instructions are in the first post
[HTC Vivid, Raider, Velocity] 3f62011:
I've used NoBloat (free) APP from the android market, as directed in the first post (OP)
[HTC Vivid, Raider, Velocity] friedice:
Thanks guys. Didn't read the first post carefully. Feel a lil stupid now. :o
[HTC Vivid, Raider, Velocity] slinkygn:
Best I can surmise, this doesn't actually have an effect... can someone confirm that this is just the SDIO driver trying to report something to the CIQ drivers that no longer exist? *fingers crossed*
[HTC Vivid, Raider, Velocity] 8125Omnimax:
Exactly, the linux kernel drivers are calling for programs that dont exist after deletion

The two orphaned linux kernel drivers for CIQ are built into the kernel. they request the command interface of the CIQ files you have just removed but cant find them. The only way to get rid of the linux kernel drivers is to compile a new kernel without them included.

in terminal while your phone is on type this

dmesg -c

this will clear the kernel log, your score will drop from 250 to 150 when you use supercurios app.
[HTC Vivid, Raider, Velocity] Jirv311:
Do you have to use:

adb shell

su

or anything like that or just dmesg -c with phone plugged in?
[HTC Vivid, Raider, Velocity] 8125Omnimax:
you can use both adb shell while connected or any run of the mill terminal emulator apk to execute dmesg -c
[HTC Vivid, Raider, Velocity] Jirv311:
That worked, thank you.
[HTC Vivid, Raider, Velocity] slinkygn:
Yup, worked perfectly. Thank you! :)
[HTC Vivid, Raider, Velocity] markjo:
Everything works fine up until "cd system/lib", at which point it says "cd: can't cd to system/lib"

:(
[HTC Vivid, Raider, Velocity] Pirateghost:
try cd /system/lib/ instead of system/lib
[HTC Vivid, Raider, Velocity] markjo:
Thanks a lot, tried that and everything else completed without error. Just wondering why my score is still 250.
[HTC Vivid, Raider, Velocity] 8125Omnimax:
exit out of adb, restart adb shell, cd system/lib
[HTC Vivid, Raider, Velocity] akcooper9:
Instructions worked good. Took me a bit to read and figure out but I am not scoring a 150! FUCIQ!
[HTC Vivid, Raider, Velocity] duckredbeard:
So I did the no bloat backup and delete. Then I have a question...please flame me if this has already been discussed. I am not familar with "terminal" and want some clarification.

I am a windows user, and i'm not sure about doing this "terminal" stuff. Can someone hold my hand and give me more info on the "go to your terminal...adb shell" stuff? I installed terminal emulator app thinking that would be something to use, but then I got nervous. Only had the phone a few hours (and already rooted, thanks to xda) and I don't want to screw it up. I have done the backup and delete of the two items mentioned, using nobloat free.

Edit: I am thinking I should be in mount menu of recovery, with mount selected (and showing unmount option) of system. Then to cmd prompt for adb commands. This is where I balked. I got something about sh bin not found when I typed su.
[HTC Vivid, Raider, Velocity] akcooper9:
Terminal is the command prompt. Remember the C:/Andriod folder you setup with adb.exe and such to root? That is what the OP is talking about.
[HTC Vivid, Raider, Velocity] duckredbeard:
Cool...so I'll be in recovery, and "mount system" selected first, then the adb commands?
[HTC Vivid, Raider, Velocity] Whafrodamus:
Hey guys,

I just rooted my droid (a vivid of course) yesterday and am in the process of removing CIQ. I am running into some roadblocks though. I figured out the very basics of the adb and the terminal thang. After I rooted, I went into the command prompt (phone has USB debugging on, at the home screen), and I can get adb shell, and then SU, but when I go to remove rm the iqd and the iqfd it says "rm failed for iqd, read-only file system". Additionally, when I type in "adb root", I get the error message "adbd cannot run as root in production builds". I'm assuming I get this message because I'm running the OS and not in recovery mode.

Here's a copy of the console says:

c:\Droid>adb shell

adb server is out of date. killing...

* daemon started successfully *

su$

su

# mount -o rw,remount -t yaffs2/dev/block/mtdblock3/system

mount -o rw,remount -t yaffs2/dev/block/mtdblock3/system

Usage: mount [-r] [-w] [-o options] [-t type] device directory

# cd system/bin

cd system/bin

# rm iqd

rm iqd

rm failed for iqd, Read-only file system

#

Now after some reading I thought it might be beneficial for me to do all the steps while at the recovery screen, so I turned the phone off, held the power and vol-down button, and went to the recovery screen. Now when I type in adb root, I don't get the "adbd cannot run in production builds" error, instead I get "adbd is already running as root". Now when I did this, it start out with the $, instead it started out with ~# (superuser just has #).

c:\Droid>adb root

adb server is out of date. killing...

* daemon started successfully *

adbd is already running as root

c:\Droid>adb shell

adb server is out of date. killing...

* daemon started successfully *

~ # mount -o rw,remount -t yaffs2/dev/block/mtdblock3

mount -o rw,remount -t yaffs2/dev/block/mtdblock3/sys

~ # cd system/bin

cd system/bin

/system/bin # rm iqd

rm iqd

rm: can't remove 'iqd': No such file or directory

/system/bin # rm iqfd

rm iqfd

rm: can't remove 'iqfd': No such file or directory

/system/bin # cd system/lib

cd system/lib

/sbin/sh: cd: can't cd to system/lib

/system/bin # cd system/lib/

cd system/lib/

/sbin/sh: cd: can't cd to system/lib/

/system/bin #

Can anyone offer me any advice to get CIQ off my phone? Sorry if I missed something n00bish.
[HTC Vivid, Raider, Velocity] 3f62011:
It seems like your adb version is in conflict with su. Where did you get your adb? Also, make sure to stop any adb process on your windows machine before running adb.

I used adb which was provided in a temp root thread.
[HTC Vivid, Raider, Velocity] Pirateghost:
get rid of HTC Sync service and/or droid explorer. those will cause the adb killing server errors
[HTC Vivid, Raider, Velocity] Whafrodamus:
I will try this! Thanks.

I got the adb from the most recent android sdk, I followed the instructions at the top of this forum and had no problems rooting.
[HTC Vivid, Raider, Velocity] Whafrodamus:
Quick update. I reverted to 100% out of the box stock, followed the instructions exactly (did zergrush root, downloaded nobloat free and removed the two entries), went to the terminal, typed in exactly what was posted here, and I STILL get the read only error with iqd and iqfd. I don't have HTC sync installed, and I'm positive I have the right adb.exe

Any suggestions?
[HTC Vivid, Raider, Velocity] 3f62011:
I used to get the same error as you, while using adb.exe that came along with android SDK.
[HTC Vivid, Raider, Velocity] Whafrodamus:
I just got rid of CIQ using the app from this thread:

http://xdaforums.com/showpost.php?p=17612559&postcount=110

I paid the 1$ and now CIQ is gone! Worth it.
[HTC Vivid, Raider, Velocity] megatronisabeast:
I have the same problem as well. Decided to give the app a try, it worked. The only thing I don't like about the app is that the score was 250 instead of 150 although the IQ Carrier app I used to check said it was inactive.
[HTC Vivid, Raider, Velocity] 8125Omnimax:
I haven't tested the app but I don't believe you should pay a $1 for something you could do for free
[HTC Vivid, Raider, Velocity] 8125Omnimax:
I have read reports that updates are being rolled out for stock firmware that completely erase ciq. For the vivid we are expecting an is update this month and I do hope there is no funny business in that rom
[HTC Vivid, Raider, Velocity] duckredbeard:
A stock rooted ROM is succeptable to this update?

You can't know your limits until you exceed them.
[HTC Vivid, Raider, Velocity] 8125Omnimax:
The HTC evo 3d just had an update rolled out that completely erase ciq. I would say other models will follow in time but in cases of the new phones, and we may end up seeing ics ciq free
[HTC Vivid, Raider, Velocity] jebise101:
I have the Canadian Raider when i tried to use NoBloat Free i did not find the 2 htc files. I then started the adb shell and followed all the steps but most said "no such file or directory" except for "rm iqfd" which it found and removed.

I tried multiple times and got the same results. Few times i could not cd to a different directory and had to restart adb, this seem a bit weird to me and i feel like the files are still there. But when i ran the Supercurio CIQ detector App the results are not the same as all your. It seems i'm safe or HTC/Bell don't do this in Canada or is the new recovery removing this?

Should i be worried about the Linux Drivers?

Voodoo Carrier IQ Detector report:

Build fingerprint:
bm/htc_holiday/holiday:2.3.4/GRJ22/175411.3:user/release-keys

Carrier IQ elements found
− however it seems inactive
Detection score: 50

Test for: Linux kernel interfaces
(KERNEL_INTERFACES, weight 50)

nothing found

Test for: Android logcat debugging log
(LOGCAT, weight 100)

nothing found

Test for: Linux kernel drivers
(KERNEL_DRIVERS, weight 50)

found: c04bd020 t __param_str_ciq_info
found: c062d614 r __param_ciq_info

Test for: System services
(SERVICES, weight 70)

nothing found

Test for: ROM binaries and daemons
(SYSTEM_BINARIES, weight 70)

nothing found

Test for: ROM configs
(ETC_CONFIG, weight 0)

nothing found

Test for: Packages
(PACKAGES, weight 70)

nothing found

Test for: Running processes
(RUNNING_PROCESSES, weight 200)

nothing found

Test for: Suspicious classes
(SUSPICIOUS_CLASSES, weight 0)

nothing found

Test for: Linux kernel dmesg log
(DMESG, weight 100)

nothing found

--
Voodoo CarrierIQ Detector 2.0.5

Sent from my HTC

EDIT:

Please ignore i should learn to read all of the first post regarding my question for Linux drivers.
[HTC Vivid, Raider, Velocity] 8125Omnimax:
Basically my process removes the primary components of CIQ, the linux drivers are orphaned and cant do anything when you follow each step.
[HTC Vivid, Raider, Velocity] dandv:
Update OP?

8125Omnimax, can you please update the OP to use absolute system paths? (a few users ran into that issue).

BTW I used Titanium Backup to remove the HtcIQAgent and IQRD apps. If that's ok, would be good to mention in the OP so users won't have to install No Bloat (which if you do from your bugged phone, Carrier IQ could snoop your Google/Market user/pass!)

PS: someone else in the thread had a problem with the ZERGRUSH root method. I just wrote a very clear guide on how to get root on the Vivid, http://xdaforums.com/showthread.php?t=1450396
[HTC Vivid, Raider, Velocity] 8125Omnimax:
Carrier iq had been intentionally disabled by default on the vivid and other models by att due to performance issues experienced. So no matter what you use, whether its the no bloat app or root explorer or astro to delete the files, ciq cant do much. HTC is releasing hotfixes and new firmware ciq free.

Some users don't read the post carefully or don't follow instruction, that's why they run into problems. I have revised my op plenty. There are many who follow to the point and reach success.

This mod is not for the noob, but for the experienced xda member
[HTC Vivid, Raider, Velocity] dandv:
All I'm suggesting is to fix the path to system from your otherwise great original post. I.e. /system instead of system.
[HTC Vivid, Raider, Velocity] 8125Omnimax:
Forum Mods please lock this thread, I have created a tool that simplifies the process of my original post

http://xdaforums.com/showpost.php?p=21566003&postcount=1

The tool will be constantly updated and a GUI version is in the works. Thank you to all who contributed and I look forward to your feedback.
[Motorola Atrix 2] daywalker04:
[Fastboot Files] Gingerbread 2.3.5 for ATRIX 2 MB865 AT&T USA [Fastboot Files]

Android 2.3.5 ---- Blur_Version.55.11.16.MB865.ATT.en.US

InlineFlashing_edison_5.5.175.16_cfc_p3_APBP_CID285.zip

http://www.filefactory.com/file/2zx...hing_edison_5.5.175.16_cfc_p3_APBP_CID285.zip

SHA1 - D227B4F31E88EA64D4E2DF5B6E5696232310970E

MD5 - 293E0F7E89DC9FA54F612C1A83FE69D8

Firmware Downloads:

Atrix 2 Firmware---ATRIX Froyo Firmware---ATRIX Gingerbread Firmware---Defy Plus MB526 Firmware---Defy MB525 Firmware---Milestone 2 A953 Firmware---MB632 Pro Plus GSM---Verizon Firmware---XOOM 3G---XOOM WiFi---Milestone 3 Firmware---XT910 Firmware
[Motorola Atrix 2] mtnlion:
Thank You! You are the man!
[Motorola Atrix 2] tylercarter:
Sorta new to Motorola. Is this a way to go back to stock in case something goes wrong?
[Motorola Atrix 2] jimbridgman:
Yes!!!!! Thank you!!

We have a way back from soft brick everyone!!!

Show some love here for daywalker04, and hit that thanks button for him.

---Edit---

Mods please sticky this.
[Motorola Atrix 2] tylercarter:
I'm all over it. if i could hit the thanks button 100 times i would. thanks so much.

so we just use edison file and flash it with fastboot?

if so how exactly can i do this? i mean what commands? i did a little reading but i was still a bit confused with what exactly to do and i dont want to do something wrong. thanks
[Motorola Atrix 2] tzones:
Can anyone please post few instructions on how to flash these files? I can't wait to flash them to release my atrix 2 from soft brick.

thanks & appreciate
[Motorola Atrix 2] mtnlion:
place the rom in the same directory as your fastboot tools are located

Fastboot erase system

Fastboot erase userdata

Fastboot update romfilename.zip

Fastboot reboot
[Motorola Atrix 2] tylercarter:
Haha that's one big file name. I don't suppose we could shorten it up to stock.zip? Would that still be OK?
[Motorola Atrix 2] mtnlion:
that would require Jim's input not sure if renaming it affects it.
[Motorola Atrix 2] Jimmy273:
This is huge! Thank you so much!
[Motorola Atrix 2] lfaber06:
THANK YOU!!!!!!
[Motorola Atrix 2] JRW 28:
Man this is awesome !! Great work Daywalker04 :)

I will get this into to noob and beginners post as soon as I get back on a computer.......let the fun begin!!!
[Motorola Atrix 2] jimbridgman:
I don't think that is a problem, as long as the file is intact, but I am testing my theory right now, I will let you all know my findings.

I don't think that you flash the zip file though, I think there should be the individual files like boot.img, system.img, data.img, etc. that need to be flashed one at a time. Again once I play with it, I let everyone know exactly what needs to be done, to make it work.
[Motorola Atrix 2] JRW 28:
To use this right now you would flash with RSD lite unless I'm mistaking. Someone would have to change it around to make it flashable with CWM.
[Motorola Atrix 2] tzones:
On Windows, when I put the phone in AP Fastboot mode, do I need to install fastboot USB drivers? Where can I find them?

thanks
[Motorola Atrix 2] lfaber06:
http://www.motorola.com/Support/US-...tware_and_Drivers/USB-and-PC-Charging-Drivers

http://db.tt/soiQUcni <--moto site seems to be having issues, here is 5.2.0

fastboot drivers are included in the download.
[Motorola Atrix 2] jimbridgman:
I am not sure if this is the fxz or not. This might be a "retail" / service center fastboot restore image. They actually use the fastboot command from the sdk for those type of situations. RSD lite is technically a Motorola thing, and for the "AT&T" people to be able to help customers at their "repair" centers they will have something like this. I have seen them do this before when I was given a tour of one of them last year.

I am finishing the download, so I will still let everyone know what I figure out here soon.
[Motorola Atrix 2] JRW 28:
Ok gotcha ...
[Motorola Atrix 2] lfaber06:
RSD lite seems to do the trick! I'm gonna try making a backup and flashing it!
[Motorola Atrix 2] jimbridgman:
Awesome That means this is the fxz. and no need for messing with fastboot commands, so this is noob friendly. :)
[Motorola Atrix 2] PeteSeiler2010:
Great news Jim, now if only the download link would stop cutting me off, lol...
[Motorola Atrix 2] jimbridgman:
Well now that we have the fxz, it is time to pull this thing apart, and see what we can blow up with it. I am guessing even without looking that the bootloader is the same as we have on the phone already, so...

We will just be able to use this for restore, and ROM building. I already have our first two ROMs ready to test. I am flashing the "stock" deodexed one on my phone today, so I will keep everyone up to date about it in the WIP thread I created.
[Motorola Atrix 2] moofree:
I just finished flashing using RSD Lite 5.6, and everything is back to stock.

I had been running 55.13.16, with the corresponding kernel, baseband, webtop, etc... versions. No longer!

It even comes with the new phone smell.
[Motorola Atrix 2] JRW 28:
^^^ LoL ^^^

Good news RSD works...I will get the beginners post updated as soon as I can.

Jim I'm ready for some testing. :D
[Motorola Atrix 2] kirkgbr:
I guess I'm confused... Newb question: Are there different drivers for different purposes? I mean, if we currently are able to connect in mass storage mode without problem, do we still need to load these above?
[Motorola Atrix 2] tzones:
RSD lite 5.6 did the trick!! I can't believe that my Atrix 2 is back to life and I am really really thankful for everyone of you in this forum for being so helpful and for all of your hard work.

thanks

TZ
[Motorola Atrix 2] PeteSeiler2010:
Me too Jim, sign me up for ROM testing for you.
[Motorola Atrix 2] tylercarter:
so we use rsd lite? im having trouble finding a good download link for it. thanks:)
[Motorola Atrix 2] moofree:
This is where I found mine IIRC.
[Motorola Atrix 2] koriflame:
Wootttt :D
[Motorola Atrix 2] tylercarter:
cant get it to install. error code: 2738 :(
[Motorola Atrix 2] moofree:
Maybe...

Also you should probably be running it as administrator. I have Win7 X64 with UAC disabled outright for convenience :cool:
[Motorola Atrix 2] tylercarter:
still didnt work. ive googled and tried a few things. still confused

Tried disabling uac and still didn't work. This is so frustrating.
[Motorola Atrix 2] rdhoggattjr:
THANK YOU!! Now I can really dig around in my phone.
[Motorola Atrix 2] Calundle:
Okay, so what does this exactly do? Is this the stock ROM for our phone? And before I flash it, am I able to do a backup of mine?
[Motorola Atrix 2] jimbridgman:
Yes this is the 100% stock restore. I would not backup your phone, because if you are having anything odd, or you did something like upgrade from one of the cheesecake updates, it could mess this all up.

If you do restore it will be restored to just like it came out of the box.

Just make sure all of your important stuff is on your SDcard, and pull it out of the phone before you do this.

If you are not having any issues, and you did not mess your phone up, then don't flash this.
[Motorola Atrix 2] Calundle:
I have the ICS SystemUI update on mine, but that's it. Yea, no reason for me to flash this atm, but what does this mean exactly in the way of custom ROMs? Also, does this do the same thing as factory reset? It's just helpful for people who have soft-bricked?