yashsingh1/xdaforums huggingface dataset:
[HD2 Android Q&A, Help & Troubleshooting and Genera] Nemesis1278:
In my experience in order to restore a backup you need to have a rom installed or else the backup will not restore correctly and it wont boot. The backup basically restores the settings of the way you had the rom at a certain point you can think of it as a restore point or with mac when you use time machine. Basically anything new will be erased and your phone is restored to a previous state but it needs a base rom installed in order for it to know where to start.
[HD2 Android Q&A, Help & Troubleshooting and Genera] Bib_x:
Si i first have allways to install the exact same rom and same partition layout i had before, when i backed up my phone?

I thought, this nandroid-backup would be a complete image of all partitions and i only have to flash it back, so it wouldn´t matter which rom i have installed between.

So it is much work, if i only want to test a new rom. Now i use gingerbread from tytung with clk and i want to test an ics-rom with magldr and a bigger partition size.
[HD2 Android Q&A, Help & Troubleshooting and Genera] Nemesis1278:
Since certain aspects of the roms are different this is what causes the problem. As when you restore some of the previous settings may be retained either on nand or on the info stored on your sd card. Your best bet is to install a rom that you used to backup and then restore. You can try restoring with the new rom installed but I believe it will not work correctly but you can try it and let me know.
[Motorola Atrix 2] toastthemost:
So, looks like we have Carrier IQ on our phones, thanks to AT&T. Any luck on getting a 3rd party ROM on here yet? Any estimates as to when?
[Motorola Atrix 2] jimbridgman:
Can you give us more information? like how you found it on the phone, what steps did you take?

With more info, those of us in the know can figure out how to disable it, or remove it, without having to resort to waiting for a rom.

I have been looking for it for quite some time without much luck.
[Motorola Atrix 2] mtnlion:
It's the device health app.it calls the ciq agent . Easily frozen.

Sent from my MB865
[Motorola Atrix 2] jimbridgman:
Thanks, I will see what else I can come up with for the ciq agent, maybe a way I can fake it out on the *NIX side of the house.
[Motorola Atrix 2] unsivil_audio:
Yep first thing I went looking for after I got root.
[Motorola Atrix 2] Douchewithaphone:
Bloat freezer. It's free, finds it fast. When you freeze device health it doesn't want to close and keeps force closing, just reboot, it will be frozen and not running.
[Motorola Atrix 2] holeshot77:
Must be rooted.

Sent from my mAtrix2!!
[Motorola Atrix 2] jimbridgman:
Well, I have found a way from the UNIX end to stop this thing in it's tracks, but it is not pretty for those unfamiliar with command line....

What we have to do is uncompress the kernel image in the boot.img remove the sys.DeviceHealth from the init.rc file there, then compress the kernel back up, all using cpio.... now to see if I can possibly make it work, and not brick any phones in the process, maybe I can throw a quick apk together next week.

I have tried the bloat freezer and the android assistant and I can still find the sys.DeviceHealth running on the UNIX side with the ps command, so this is a nasty one.

I will keep you guys posted, If I can find a better way.
[Motorola Atrix 2] jimbridgman:
Here is the link I saw, and how I figured out where sys.DeviceHealth is starting from.

For those interested ONLY. PLEASE do not try this yet, give me some more time to play with this in an emulator and see what I can come up with.

I am just sharing information at this time. BTW Zygote is the process that is calling the sys.DeviceHealth on the Atrix 2.

To see this Do the following from the terminal emulator app on your phone or though adb shell.

ps | grep -i Heal

ps | grep -i zygote

If you notice on the sys.DeviceHealth process that the second number is the same number as the first number of the zygote process.... What that means is that the zygote process starts the sys.DeviceHealth process. The first number is process ID (the processes "adress" so to speak), and the second number is the Parent process ID (The process that started the next one).

http://vinnysoft.blogspot.com/2009/12/zygote-system-process.html
[Motorola Atrix 2] razholio:
zygote appears to be a process respawner (watchdog) of some type. The trick is to find out where its config lies and tweak that to prevent the launching of sys.DeviceHealth.

I've just got the busybox installed that came with TiBackup and the shell tools are sorely limited (no grep for eg.). The shell itself is also pretty limited (no pipe??? WTF?). I had a version of bash on my atrix4g, and I'm wondering if you know of a reliable source for bash and shell tools for the atrix2?
[Motorola Atrix 2] JRW 28:
A lil info on what AT&T says and how it uses Carrier IQ and some of the devices it is on can be read here http://m.androidcentral.com/atts-us...its-own-analytics-app-not-just-embedded-phone
[Motorola Atrix 2] jimbridgman:
Yes that is exactly what zygote is. You would disable the sys.DeviceHealth in the EXACT way it says in the in link I posted, but you have to uncompress the kernel image, and extract the init.rc in there, then edit it to not include the sys.DeviceHealth, then re-compress it with cpio. This is just for information right now, so that later on when the ROM developers get started, they can use this info for their ROMs. I am testing this using a couple Android emulators to see what I can do with this.

As for a reliable busybox, I like the version from JRummy16 in the market, go grab that an install the latest version of busybox from his installer you downloaded (I think it is 1.19.3 or something similar).

also go get the hackers keyboard in the market, it helps a lot if you EVER use the terminal app ON the phone, heck I like for text and typing as well.
[Motorola Atrix 2] razholio:
Jim: I'm assuming you mean the initrd image and not the kernel, or is that all wrapped up into one in android? the initrd is an odd place for the system's watchdog config. I suppose putting it in the kernel image prevents disabling it because presumably we don't have the key to sign the new image...

that's a new version of busybox, but I'm more interested in one with all of the options compiled in. What I have is pretty bare-bones... Does his busybox have grep at least? what do you do for a decent shell?
[Motorola Atrix 2] jimbridgman:
Yes in the initrd image the kernel is packed in there, as well as the init.rc file on Android, as well the filesystem subset, etc.

The init.rc file in / on the phone is NOT the one the kernel itself executes, take a look at that link I posted, Here is the excerpt we are interested in, I am pretty sure that the sys.DeviceHealth is in the exact same place:

Yes both the stericson and JRummy16 busybox have most every command in the busybox you really need, oh and they create links in /system/bin for you, so that you can run commands without needing to always type busybox in front of the command.

As far as shells, I am a bourne or korn guy, so I just use the default /system/bin/sh, since I am closely intimate with bourne, being the UNIX Engineer that I am, and handling anything at the lowest level of the OS still requires bourne. But I love to program in korn (ksh), but I have not found any android shells that are useable beyond the basics, since we really are not going to spend much time there, it does not matter much. I would get aquainted the bourne, that android uses, since android seems be using the old school UNIX style bourne, more and more, yes there is some bourne again in there too.

P.S. pipe is in the /system/bin/sh, just make sure you source the /osh/apath.sh file, to get the /system/bin and /system/xbin in the shell...

The hackers keyboard has things like the arrow keys so that you can command recall, and other helpful things.

If you really need to run something, from the shell, just make sure put sh in front of it, or it won't run in a shell, one of the oddities about Android.
[Motorola Atrix 2] jimbridgman:
I have tested the method I mentioned before, and uncompressing the ramdisk that holds the kernel, and removing the sys.DeviceHealth from the init,rc, and it does work, after packaging it back up with CPIO. I tested this on an older phone that does not have a locked bootloader.

I am afraid to test it on the Atrix 2 since we still do not have a true way to get back after a soft brick at that low level.

Given the fact that this was another style of phone, and an unlocked bootloader, and the fact that the process name is a little different, I am still confident we can do something similar for our phone.
[Motorola Atrix 2] mrpoet:
If you follow the directions on my post, you'll find it much easier to disable the Carrier IQ.

http://xdaforums.com/show...6#post20281786
[Motorola Atrix 2] kirkgbr:
^^^^^^^^^^^Page not found^^^^^^^^^^^
[Motorola Atrix 2] jimbridgman:
Try this Link. I am not sure if it will do the job for us or not, because we don't have the same Apps installed as the Epic 4g that this original post was copied from.

Here is the thread, mrpoet created and pointed to:

http://xdaforums.com/showthread.php?t=1390874

Here is the original one, that he does link to in his references:

http://xdaforums.com/showthread.php?t=1373394

I am going to see if it works.

----Edit---

I just gave this a try and all the commands ran successfully, but sys.DeviceHealth is still running after following the above post.
[Motorola Atrix 2] jimbridgman:
Just to let everyone know, the information contained in the link that JRW 28 posted, is an accurate statement from AT&T.

I have inside information that, that is BS. There are 100's of Terrabytes of Disk Storage just for this purpose.
[Motorola Atrix 2] Douchewithaphone:
They're a pack of bastards.
[Motorola Atrix 2] mtnlion:
+1

Sent from my MB865
[Motorola Atrix 2] thekurrgan:
Not that I am by any means defending, think well of att or saying they ARENT collecting information against our will illegally, but if they are they only transmit it over their own 3G connection.

I've had a packet dump running on my wireless AP logging all packets from the phones mac, and it never sends anything across the wireless that isnt easily determined what it is.

This would however make sense, since if AT&T was logging stuff like that they wouldnt want it to go over anything but their own network that cannot be monitored. Which perhaps is the only reason they havent been smacked hard with a giant injunction or cease and desist order, which would royally screw AT&T.

This whole thing is a giant fiasco any way, since carrieriq has a stated purpose that isnt really needed in the first place. Knowing what the client device is doing is nice, however it doesnt really tell you much you didnt already know. Any one who knows anything about the cellular radio equipment can see and diagnose how their network is performing from the tower top equipment, which is all centrally managed. This info is quite easy to get when there is an active session, such as a phone or data connection (voice call being the best for diagnosis since its a continuous stream, whereas data tends to be bursty)

AT&T has clandestine motives behind this I am sure. Probably simply to sell user habits to marketing companies, which seems to be validated in the AT&T contract as I read it, falling under the terms of "Diagnostic information"

Screw AT&T, and any one else who uses this damned thing.
[Motorola Atrix 2] jimbridgman:
Her is how to stop Carrier IQ on the Atriz2 without having to hack the kernel

Ok, here it is, this will completely stop Carrier IQ on our phones, but it takes BOTH parts to fully disable it.

Part 1:

Go download bloat freezer from the market:

https://market.android.com/details?id=com.bloatfreezer.free

Open the App:

Find Device Health Application, touch this apps name in the list, then click freeze. Your phone will freak out and keep telling you that the device health app stopped and ask to FC, you HAVE to do a battery pull now, an then put the battery back in, and turn the phone back on.

When your phone comes back up, the Device Health app will be frozen, to get proof of this do the following using the terminal app on the phone, or through adb shell.

ps -ef | grep -i heal

This should return nothing.

Part 2:

Now to disable the services that the Carrier IQ service uses to send all the data. If you decide not to do the second part of this because you are cautious then you have to run these commands after every reboot, or script it and run that script after a reboot.

Run the following commands on the phone, either with adb or from the terminal app AS ROOT, after each reboot, or put them in /system/etc/init.goldfish.sh. I put them in /system/etc/init.goldfish.sh, and that works.

setprop service.iq.active 0

pm disable android/com.carrieriq.iqagent.service.IQService

pm disable android/com.carrieriq.iqagent.service.receivers.BootCompletedReceiver

pm disable android/com.carrieriq.iqagent.service.ui.DebugSettings

pm disable android/com.carrieriq.iqagent.service.ui.ShowMessage

pm disable android/com.carrieriq.iqagent.client.NativeClient

pm disable android/com.carrieriq.iqagent.stdmetrics.survey.android.QuestionnaireLaunchActivity

pm disable android/com.carrieriq.iqagent.stdmetrics.survey.android.QuestionnaireActivity

I Will see if I can get a script and a modified init.goldfish.sh file out tomorrow, and paste a link to grab it from my dropbox then.

Remember both steps HAVE to be done to COMPLETELY disable Carrier IQ on our phones, since there are two parts to the implementation on our phones, one is the one AT&T requested, the other is in the kernel, that is part of the Carrier IQ services, that sends the data out, if you only turn off one and not the other, somethings are still transferred and sent out by one part or the other, but to turn it ALL off, you need to do both.

-----EDIT-----

I have found out that this can and will restart....

There is a way we can have cron working using the busybox install, and run this hourly. I will add the hack for that to this one tomorrow, as well.
[Motorola Atrix 2] kirkgbr:
Jim, I'm curious. I used Titanium Back Pro and froze the Device Health app and I am not showing those services running on my phone. Is this because I froze a different way or are those services something that starts temporarily and then stops after some time period.

BTW, thanks for all you hard work.
[Motorola Atrix 2] jimbridgman:
No, the services for Carrier IQ, can be restarted remotely, and don't always run, so a check is always a good idea, hence why I will get the cron hack working for us, just to make sure.

I have had mine restart 4 times since freezing Device Health. I read somewhere that the part of the Country you are in might also be a part of why it might restart, or not. Since I am in Dallas, and the home of AT&T, they might have it scripted to restart more often, and I have only found it to restart when I am not on wifi, and only on 4G, that those services start back up.

----EDIT----
[Motorola Atrix 2] mtnlion:
Hey Jim I've got data collection, kpi logger and device statistics services firewalled from communicating.If these are the other parts of carrier IQ they can be rendered harmless through the app quarantine app

They'll still run but won't be a security threat.might be a decent stop gap until we can get a custom rom.

Sent from my MB865
[Motorola Atrix 2] jimbridgman:
Nope, that is not going to completely stop this one, maybe most of it, but not all.

There is an important "control" service in Android for all of this. All of those things you have either Frozen or firewalled are at a much higher level in OSI model, they are at the software / application layer, we are looking one to three layers below that here. We are in the transport through the presentation layer. Remember most of the user function stuff and app level in android does not go down quite to the kernel layer. Most of the apps written for android try to keep all of that away from the end user, I know that things like bloat freezer and the like go a little deeper, but they are not looking at actual "kernel" level and OS level tasks and services. I have looked at the code in the SDK that allows an app to run command line "apps" / scripts, and it is not very easy to do, from what I have seen. I think they have made it purposefully hard to do that.

Saying all that, Carrier IQ has embedded this thing deep in the OS on purpose, and it even has kernel hooks from what I can see. The only real way you are going to get this thing to kill off those services is to talk to it directly. Using all the other things to try and get around the real issue, is I think masking some of what this thing can still do in the background, it is real nasty, the more I read on it.
[Motorola Atrix 2] mtnlion:
I think nasty is an understatement.

Sent from my MB865
[Motorola Atrix 2] jimbridgman:
Yep it is, and we can stop it with some very easy things. We don't have to wait for a new ROM, or hack the kernel, or anything else.

Three files are all I have to distribute to eveyone, one for the script to stop this stuff. The second to replace the initrc.goldfish.sh file with the one I am making and has the script in it, to stop this thing on boot. Then a script to enable cron to continue to check the command line for these things restarting, and then stop them again, if they do restart.

I was hoping to get to them today, but I just have not had a chance yet since I am sure you heard the AT&T TMo thing is officially dead today, and there is clean up from that right now that my company has to do.
[Motorola Atrix 2] jimbridgman:
Thanks but I have beat them at thier own game and have disabled it on our ATRIX 2, and shared the code freely in the Dev forum here.

Jim
[Motorola Atrix 2] Akbar1786:
Carrier IQ.....Got rid of of them and the rest of the atat bloat with system tuner had a force close on "device health" taken off the battery reboot and everything went fine. I also changed the boot animation Live Dmesg or Live Logcat went ok on that also the cpu settings to performance.. Loving the phone so far
[Motorola Atrix 2] crombiecrunch:
Anyone else going to join a class action on this?
[Motorola Atrix 2] tylercarter:
Naw. We won by disabling ciq. Eventually ciq will be out of business with the bad rap they now have plus now that devs are breaking it. Not a single carrier will want to use it anymore.
[Motorola Atrix 2] Akbar1786:
Agreed :D

sent from my speedy atrix
[Motorola Atrix 2] toastthemost:
I've been hearing Sprint has been trying to update their devices to remove it due to customer dissatisfaction. Think that we could do the same with AT&T? Maybe that could help them push out an ICS update sooner...
[Motorola Atrix 2] JustEric:
Anyone else smell a scam here? A professional in 2012 that uses GMail instead of their own, $5 domain? A lawyer claiming to want to file a class action suit against CIQ, and not against the carriers themselves (the ones that ACTUALLY wronged us)?

Even if it's not a scam, I know I'd never send my personal info to a lawyer that couldn't even figure out which entity to sue. God only knows what he'd do with it.

And why is his message not deleted? Isn't there a rule against soliciting business? (To say nothing about trying to scam people.)
[Motorola Atrix 2] Atrixed2:
I wouldn't judge a person just by email. A professional by 2012 using a gmail is smart ^_^ it is connected to all your android devices and it is free.

He is not breaking the rule by soliciting because he just wanted to see how many people would want to file a case against companies that are using CIQ. At most he only needs your name and phone number or email as contact info if they have enough people to follow through the case. I believe when you signed up for an email account you gave your full location to the email provider >.<. If he is asking for your credit card info then something might be wrong ^_^. Until then refrain for calling people scammer ^_^v.
[Motorola Atrix 2] JustEric:
It's shady to me. If you're serious about your business, spend the $5 to get a domain. ANY free e-mail service says, AT BEST, "fly by night" to me -- and a LOT of other people. It's like writing the sign on your storefront yourself...in crayon.

And Android, among other platforms, can tie into most any e-mail service. There's no need to be connected to GMail to get your e-mail on the go.

Is he not in this to make money? Unless he's doing this pro bono, it sounds like a business proposition to me.

Still more information than I care to give to some random stranger on the Internet who has a very shady-sounding claim that he's a lawyer filing a class action suit on my behalf.

Yes. I gave my information to Google. A company with stated privacy policies and federal laws to follow. I'm not worried about Larry Page trying to steal my identity.

I didn't call him a scammer. I'm calling the legitimacy of his claims into question. The whole thing smells fishy to me, that's all.
[Motorola Atrix 2] jimbridgman:
Look guys this whole back and forth is against the rules here, and totally off topic. Please keep this to the topic in the OP, or I will report this to the MODs and have this thread locked.
[Motorola Atrix 2] tylercarter:
Instead of bickering back and forth why not redirect your effort to helping find a way to unlock the bootloader or why not try project cheesecake and maybe you'll find a new update. Anyone can do it and its easy. Who knows? Maybe you'll be the one to find that unlocked bootloader.
[Motorola Atrix 2] Atrixed2:
not bickering back and forth ^_^ he/she might, I'm just replying to a post. I can't contribute to dev because I'm still taking classes on java and C++ maybe in a the future i will. I just feel sad when I see someone trying to offer a help and they get a bad rep. This malley guy is just offering another solution to a problem that already has a solution. Just keep it open unless proven that Malley is up to no good.
[Motorola Atrix 2] jimbridgman:
My post was not to malley law. It was a post to those that did not read the rules. Number 15 in the rules states no off topic posting. The fact that this went as far is it did off topic, and the fact that this was negative and not helpful to the OP, is why I said what I said. Now everyone let it die. If I see one more person mention this again, I will report it. I spoke to the first person who posted the off topic post, over PM.

I know tylercarter feels similar, and was noting a way for those to help out and focus some of that energy, and you don't need to be a dev to help look for updates, then upload the files for us to look at.

Jim
[Motorola Atrix 2] tylercarter:
My bad. I may have misinterpreted things wrong.

Whether I understood or misunderstood is not relative. I would just like to see the effort chit chatting redirected towards bringing this device to its full potential. I mean no harm. Just a helpful suggestion.
[About XDA developers] R3D X:
Hello all of xda.

okay so I was looking all over these android theme sites and they had a whole bunch of contests. And I thought it's near Christmas time so XDA should start one of their own. You start a thread and sticky maybe. People donate to a contest prize and nominate their favorite themer in a thread. Then a poll is made and the leader gets prize money. Contests brought alot of activity to Rootzwiki. Make a banner and make it look official and imagine how much more a site like xda will get!!!! Even if I don't win I'll still be happy cause the chance for people to see my work in the themes section will be increased There was something similar here before.

http://xdaforums.com/showthread.php?t=493829

http://xdaforums.com/showthread.php?t=482227

Please hear me out thank you!
[About XDA developers] orb3000:
I´ll flag the admins
[About XDA developers] R3D X:
Thank you :)