[q] what is journaling? - Epic 4G Q&A, Help & Troubleshooting

can someone please explain to me what journaling means? what it does? and if needed how do i get it? im new to this and want to start flashing roms but im trying to collect as much info before i actually do something. thanks

halowizard said:
can someone please explain to me what journaling means? what it does? and if needed how do i get it? im new to this and want to start flashing roms but im trying to collect as much info before i actually do something. thanks
Click to expand...
Click to collapse
I am going to be nice and answer your question after 2 words 1)search and 2)Google
Journalling is when the phone writes all things back to the phone twice so that it verifies everything. Then if you drop your phone and the battery pops out and it corrupts your data, there is a non-corrupted version still on your phone and the operating system checks and uses that one. Journalling due to writing twice is supposed to slow down your performance some (I never noticed). Choice is yours. It takes me like a half hour to recover from multiple crashes from a dropped phone.

Oh and it depends on the ROM whether it is on, off or a choice is given. If you install a ROM with no journalling, it mostly can be turned on by doing a nand backup and restore. If you are stock, you are on.

Thanks that helped
Sent from my PC36100 using Tapatalk

kennyglass123 said:
I am going to be nice and answer your question after 2 words 1)search and 2)Google
Journalling is when the phone writes all things back to the phone twice so that it verifies everything. Then if you drop your phone and the battery pops out and it corrupts your data, there is a non-corrupted version still on your phone and the operating system checks and uses that one. Journalling due to writing twice is supposed to slow down your performance some (I never noticed). Choice is yours. It takes me like a half hour to recover from multiple crashes from a dropped phone.
Click to expand...
Click to collapse
this the q & a part of the forum right?.

halowizard said:
this the q & a part of the forum right?.
Click to expand...
Click to collapse
Indeed it is. But before you ask a Q, double check that there isn't already an A. Save yourself the trouble of waiting, and save the rest of us from repeatedly writing the same thing. 99.9% of the time you're asking something that's been answered many times and can be easily found.
This one, for example, Kenny himself answered a couple weeks ago HERE.
And someone else asked months ago HERE.
And all I had to do was Google "Journaling XDA".

Journaling file systems use various techniques to keep a log of changes to files as they are written, and in the event of data corruption these logs can be used to repair the damage. This makes it much more unlikely that a crash will corrupt data. Here's a link to Wikipedia's entry:
http://en.wikipedia.org/wiki/Journaling_file_system
Anyway, using a non-journaling file system on your phone can result in corrupt files if a program FC's or the phone is shut down by pulling the battery. The benefits are faster file writes and better battery life because there is less writing to disk with each file change.

Thank you...in my head I compare it to computer write verifies, but it is more like the backup copy of the master boot record...got it..thanks. Was just trying to keep it simple.

kennyglass123 said:
Thank you...in my head I compare it to computer write verifies, but it is more like the backup copy of the master boot record...got it..thanks. Was just trying to keep it simple.
Click to expand...
Click to collapse
Gota luv the high horse riding trolls in here. Guy comes in and asked a question and trolls tell him to google it. Lol. Trolololol

so do the stock roms use journaling? are the custom roms more prone to crashing and losing data?

SINNN said:
Gota luv the high horse riding trolls in here. Guy comes in and asked a question and trolls tell him to google it. Lol. Trolololol
Click to expand...
Click to collapse
Thanks for trolling. Feel free to criticize when you make a useful post this year.
You may notice that, despite asking he search ahead of time in the future, his question was answered twice, regardless.
Are you too high up on your horse to accept an answer given to someone else in an existing thread? Must you have your own, brand new, completely identical answer in a brand new, redundant and forum-flooding thread?
Thanks for playing!
murso4 said:
so do the stock roms use journaling? are the custom roms more prone to crashing and losing data?
Click to expand...
Click to collapse
Journaling is a stock feature, yes. Custom roms are not more prone to crashing, generally. It is apps that may crash, due to their own nature, or incompatibility with a rom, which will result in data loss in the absence of journaling.

SINNN said:
Gota luv the high horse riding trolls in here. Guy comes in and asked a question and trolls tell him to google it. Lol. Trolololol
Click to expand...
Click to collapse
If a question has been asked (and probably just freaking yesterday!) then yeah! SEARCH is your friend. Would you like to look for a thread you were posting in and see 20 questions on "what is an apk"? If people are able to find XDA they are able to use google. Not a high horse, but obviously can't teach basic knowledge here. And for the record, I answered the question as well...but as you were trolling too fast I guess you missed that.

halowizard said:
can someone please explain to me what journaling means? what it does?
Click to expand...
Click to collapse
It's already been posted, but journaling is a feature of journaling file systems.
Most operations performed by a file system consist of multiple fundamental "steps". Should the file system stop running (i.e., a bug causes the kernel to panic or the computer/phone loses power) before all the steps for a given operation completes, then the file system is left in an inconsistent state.
Consider the example of moving a file from one directory to another. In simplified terms, this consists of two steps: (i) copying the file to the destination directory, and (ii) deleting the file from the source directory. Now, suppose the phone crashes after copying the file (step i) but before deleting it (step ii). When the phone boots again, the file exists in both directories when it should only exist in one. That's the basic idea of file system inconsistency. Although that particular scenario is relatively harmless, there's more complicated situations in which a phone crash can result in deleted-but-not-freed data, half-written files, and all sorts of other inconsistencies.
Now, journaling file systems are different in that they maintain a transaction log (a journal) where the fundamental steps for operations are recorded before they are carried out. In the event of a crash, the file system replays the jounal on reboot and performs any outstanding operation that has been committed to the journal.
In the above example, a journaling file system would: (i) record in the journal that it is copying & deleting the file, (ii) commit the journal, then actually (iii) copy the file to the destionation directory, and (iv) delete the file from the source. In the event of a crash, the operation either has been committed to the journal, in which case it's verified that the subsequent steps were performed and are performed if not, or the operation hasn't been committed yet, in which case no changes have been made. This guarantees that, following a journal replay, the file system is always in a consistent state.
Now, it's true that maintaining a journal carries some performance penalty as operations have to be written to the file system twice. Modern file systems, like ext4, get around this by delaying the non-journal write operations until a later time when the file system is (relatively) idle. So the actual decrease in performance is minimal if any. This also means that running these file systems with journaling disabled is potentailly more dangerous than non-journaled file systems as operations may remain outstanding for far longer than they would otherwise, increasing their succeptability to loss in the event of a crash.
It's also worth noting that the primary purpose of file system journaling is to gurarantee file system consistency, not avoid data corruption. Most journaled file system only journal metadata, that is, only the operations carried out on a file are journaled, not the actual data content. This is why a battery pull is always a bad idea and should be avoided unless absolutely necessary.
Still, in the worst case, a journaling file system after reboot will only suffer data corruption in the files most recently modified before a crash, whereas a non-journaled file system may suffer corruption of the underlying file system structure, possibly rendering many non-recently modified files inaccessible. In other words, with a journaled file system, in the worst case you might have to "Clear data" on one or two apps to recover, whereas with a non-journaled one the entire file system might be hosed.
RandomKing said:
It is apps that may crash, due to their own nature, or incompatibility with a rom, which will result in data loss in the absence of journaling.
Click to expand...
Click to collapse
Just to note: journaling is irrelevant with regard to data corruption on an application-level crash. Any outstanding changes made by the application to the file system are still performed by the kernel, even after the application itself crashes.
Journaling protects in situation where the kernel itself is unable to complete any outstanding changes due to crash (kernel panic) or powerloss.

do you have to reenable journaling every time you flash a rom?

RandomKing said:
Journaling is a stock feature, yes. Custom roms are not more prone to crashing, generally. It is apps that may crash, due to their own nature, or incompatibility with a rom, which will result in data loss in the absence of journaling.
Click to expand...
Click to collapse
I would say, before rooting and after, before installing a custom rom, I got crashes all the time. About 70% were twLauncher (which is pathetic, this phone has convinced me I will never own another from Samsung - and I have a long history with Samsung phones) about 25% were from Maps (again, just sad) with the remaining 5% being other apps. twLauncher crashed more than any piece of software I have ever used on any electronics device in my life, something was wrong with it on this phone,i am quite sure it wasn't normal.
Either way, i am happy to say it wasn't the hardware (knock on wood). Not a single thing has crashed since installing Frankenstein Android. I am supremely happy with it.
In regards to three re-posting: I can't wait to hit 10 posts so that I can post in the thread about it Frankenstein. I have been lurking at xda a long time, finally decided I needed to post to share my experiences and gratitude to the developer. But I am having a hard time hitting the requisite 10 posts. Trying to post things that haven't been said before here is really hard if you aren't a developer yourself.
Sent from my Epic 4g with Frankenstein Froyo

murso74 said:
do you have to reenable journaling every time you flash a rom?
Click to expand...
Click to collapse
Mostly, if the ROM disables it. In other words every time you flash a no journal ROM it disables it.
The new Bonsai ROM will let you choose and then it will stick whether you reflash it or not.

Thanks for being all smart asses. You just ruined my birthday jerks
Sent from my SPH-D700 using XDA App

halowizard said:
Thanks for being all smart asses. You just ruined my birthday jerks
Sent from my SPH-D700 using XDA App
Click to expand...
Click to collapse
You're welcome...just remember to hit the thanks button.
Dude, seriously, we DID answer the question and also tried to point you in the right direction to avoid getting responses in the future like what happened here. I try to answer the question and remind the person to use the search function or even look at all the similiar threads that pop up before posting. And if we really ruined your birthday, you take life and these threads MUCH too seriously.
But Happy Birthday anyway.

Lol. Im jk dude. It was really my bday. I thought this thread was getting to heated so I made a joke.
Sent from my SPH-D700 using XDA App

halowizard said:
Lol. Im jk dude. It was really my bday. I thought this thread was getting to heated so I made a joke.
Sent from my SPH-D700 using XDA App
Click to expand...
Click to collapse
lol, So I can leave in my happy birthday wish.

Related

Quick question..

I'm new 2 the rooting and the Android itself.. I got the 2.2 on my EVO like most ppl have via update, I'm kinda skeptical of rooting it still.. I guess my question is, is it worth rooting it and what changes on the device itself?
Any information would and will be extremely appreciated..
Thanx in advance...
Sent from my PC36100 using XDA App
Good day to you.
First off. welcome. second, as its your FIRST post I hope you wont get flamed too hard because there are many many threads that cover the pros/cons of rooting.
I suggest next time you have a question, take a minute to use the search function (and post in the right forum! questions go in Q&A).
A few quick pros of rooting.
Free wireless tether (sharing your phones internet connection with a laptop or other wifi enabled device)
The ability to flash custom ROMs, these are the operating systems of the phone, they're all built off of (for the most part) stock htc/sprint images, but there are plenty and many options, find one that suits your needs and try it out.
Custom kernels, they are the set of drivers and the "brain" of your phone, want it overclocked? get a custom kernel, want it undervolted (Save battery) get a custom kernel. many options to choose from
Custom Boot screens.
Root only applications, titanium backup (backs up stuff, i dont use it so i cant elaborate), shootme (screenshot program) and others im sure.
Hope this clears up some stuff, welcome, use the search (really im just trying to help ya here) and have fun!
Round of applause for nenn. While I agree with your first few sentences, there aren't many "nice guys" on this site and especially on the Evo boards. People tend to forget that this phone is relatively new and has attracted many new people to the world of Android (like myself) who know nothing about anything.
OP: A few things you can do with root that nenn did not mention:
1) You can read/write from your SD card.
2) You can remove all the garbage that your phone came loaded with from Sprint and HTC (like Sprint Nascar and Peep).
3) With Titanium back-up, it allows you to transfer all user apps to the SD card keeping your phones internal memory clean, you can back up and restore all apps and system data, and you can use it to uninstall apps you don't want as mentioned in point #2.
4) Custom kernels also remove the 30 fps cap on our phones (I get 52 fps average with my set up).
5) You can use other root-only programs like ROM Manager which lets you flash files onto your phone easily via a custom recovery. Also, you can back up several ROM's and switch from one to the other, or go back to a previous working ROM if you flash something on your phone that doesn't sit well with it.
If everything that we have mentioned means nothing to you, then just enjoy your phone as it is. It is a great device and you can get plenty of use out if without rooting it.
*bow* thanks for the kind words rudegraw, its not a day from hell at work so im in a chipper mood for the most part, yesterday, i woulda ripped this yougin to shreads so i posted very little, lol.
rugedraw said:
1) You can read/write from your SD card.
Click to expand...
Click to collapse
eh? what do you mean? thats worded very oddly.
Thanx to the both of ya.. I do luv the phone the way it is and specially since yesterday I turned on the 4G and it actually came on, you can pretty much assume my excitement lol.. But I'll read up on the pros/cons of rooting before I make any decision as to root my Evo..
Thanx again..
Sent from my PC36100 using XDA App
nenn said:
*bow* thanks for the kind words rudegraw, its not a day from hell at work so im in a chipper mood for the most part, yesterday, i woulda ripped this yougin to shreads so i posted very little, lol.
eh? what do you mean? thats worded very oddly.
Click to expand...
Click to collapse
I'd rather not get into details about this on the thread. I worded it this way on purpose. PM me and I'd be more than happy to explain what I meant.
Rooting 2.2
I am rooting for the first time and I'm stuck now. I am in the section where you enter the commands into the cmd command box.
I just entered the ./rageagainstthecage-arm5.bin
and it says that it not found but when I entered it earlier it worke just fine, can anyone help me plz
rugedraw said:
Round of applause for nenn. While I agree with your first few sentences, there aren't many "nice guys" on this site and especially on the Evo boards. People tend to forget that this phone is relatively new and has attracted many new people to the world of Android (like myself) who know nothing about anything.
OP: A few things you can do with root that nenn did not mention:
1) You can read/write from your SD card.
2) You can remove all the garbage that your phone came loaded with from Sprint and HTC (like Sprint Nascar and Peep).
3) With Titanium back-up, it allows you to transfer all user apps to the SD card keeping your phones internal memory clean, you can back up and restore all apps and system data, and you can use it to uninstall apps you don't want as mentioned in point #2.
4) Custom kernels also remove the 30 fps cap on our phones (I get 52 fps average with my set up).
5) You can use other root-only programs like ROM Manager which lets you flash files onto your phone easily via a custom recovery. Also, you can back up several ROM's and switch from one to the other, or go back to a previous working ROM if you flash something on your phone that doesn't sit well with it.
If everything that we have mentioned means nothing to you, then just enjoy your phone as it is. It is a great device and you can get plenty of use out if without rooting it.
Click to expand...
Click to collapse
Recording at 720p, is it any better with 52 fps?

Dalvik Cache (Galaxy S and others)tdal

Sorry I'm a little bit new to this so if this thread should be removed then feel free.
I've been reading a lot of information on why a Samsung Galaxy S (and a few others) slow down after long term use (typically 3-4 weeks without reset). I know all about the RFS file system and it eventually becoming more and more corrupt resulting in slower operation.
Another thing I have noticed is that a good few users claim that such things as the Dalvik cache etc slow the device. If you hard reset the phone then the cache is cleared and things seem faster. If this is true, why use a cache? Surely you would create a cache in order to speed things up.
Also, if this isnt the case then what DOES eventually slow the phone. I have had two Android devices and they all seems to become a lot slower a few weeks down the line than after a reset. I do not really install/uninstall apps, I install a few on first hard reset and pretty much leave it.
Cheers and what an awesome forum, some serious talent here. Pitty Samsung couldn't pay you something to fix their firmwares.
Just dropping by to comment on the dalvik-cache.
It shouldn't be cleared. Theres no point because it holds the .dex's for all ur apks. If u wipe dalvik-cache system will just recreate it. If u want more space on /data, odex ur build.
ScottishGeek said:
Sorry I'm a little bit new to this so if this thread should be removed then feel free.
I've been reading a lot of information on why a Samsung Galaxy S (and a few others) slow down after long term use (typically 3-4 weeks without reset). I know all about the RFS file system and it eventually becoming more and more corrupt resulting in slower operation.
Another thing I have noticed is that a good few users claim that such things as the Dalvik cache etc slow the device. If you hard reset the phone then the cache is cleared and things seem faster. If this is true, why use a cache? Surely you would create a cache in order to speed things up.
Also, if this isnt the case then what DOES eventually slow the phone. I have had two Android devices and they all seems to become a lot slower a few weeks down the line than after a reset. I do not really install/uninstall apps, I install a few on first hard reset and pretty much leave it.
Cheers and what an awesome forum, some serious talent here. Pitty Samsung couldn't pay you something to fix their firmwares.
Click to expand...
Click to collapse
Its the guys like you that Samsung loves. Take it however you want.
Go ahead & ROOT it, play with it. Its a MARVEL. The BEST GADGET OUT THERE.
My kids are addicted to labyrinth & Unlock.
ragin said:
Its the guys like you that Samsung loves. Take it however you want.
Go ahead & ROOT it, play with it. Its a MARVEL. The BEST GADGET OUT THERE.
My kids are addicted to labyrinth & Unlock.
Click to expand...
Click to collapse
Hey, don't worry I'm no noob to Android. I'm rooted, voodoo'd and all the rest. I also develop for Android although not at the OS level which is why I'm here, to learn.
I'm no Samsung fanboy either, check facebook.com/SamsungUK/posts/1714342428736141.

Autotask Killer

I have tried to use this to stop the drm services from starting. I install and check all options to stop them from starting up. They still start up on reboot even though I check the option to not restart.
What can I use or how can I stop there since I seem to not need it.
mynewepic10 said:
I have tried to use this to stop the drm services from starting. I install and check all options to stop them from starting up. They still start up on reboot even though I check the option to not restart.
What can I use or how can I stop there since I seem to not need it.
Click to expand...
Click to collapse
Anyone have an idea?
mynewepic10 said:
Anyone have an idea?
Click to expand...
Click to collapse
Did you seriously just double post AND quote yourself simultaneously?
Is that another way to bump?
mynewepic10 said:
I have tried to use this to stop the drm services from starting. I install and check all options to stop them from starting up. They still start up on reboot even though I check the option to not restart.
What can I use or how can I stop there since I seem to not need it.
Click to expand...
Click to collapse
So I don't know the exact behavior of every single Task Manager, nor do I know what you mean by stopping the DRM(Digital Rights Management?) services.
For one, that sounds like an issue associated with pirateing, which is not tolerated for discussion here at XDA Devlopers.
And so to probably answer your question:
Especially with an Eclair 2.1 version of Android, Task Managers are not able to kill processes immediately as they are created. I know the one that I use only kills the Auto-Kill listed apps when I turn the screen off. So your Task Manager may not be able to successfully kill the aforementioned DRM process.
Hope that helps. Don't pirate. At least don't make it obvous...
Just use titanium backup to freeze the drm services. And he's not wanting to stop it fire piracy issues, its a known issue that drm services cause a huge battery drain on our phones
Sent from my SPH-D700 using XDA App
What i do is, i created a custom shortcut to settings - running services. Tap the icon, click the process. No extra killers needed. I do it once per boot.. and, having tried a million other methods, this works the best.
Doesn't freezing it in titanium cause the same problems as if it was removed?
To cyan crayon: do you have an epic?
..and just realized were replying to a post that's 3 months old.. selffail.
Sent from my SPH-D700 using Tapatalk
decalex said:
To cyan crayon: do you have an epic?
Click to expand...
Click to collapse
Yes, I have an Epic. If you use the desktop website you'll see it in my sig.
I haven't come across this DRM process issue yet, although I've only had my Epic for about two weeks. Regardless of the fact, when I do see problems I might be able to help with I will do my best to contribute.
Edit: Let me attempt to clarify what I have said.
I never guessed to check my processes, and whaddya know it's right there staring me right in the face.
The thing is task managers like Task Manager (which is what I use) only can target running apps. In case that wasn't apparent.
This process is starting along with the Android System, so unless you decide you don't want the system to start when the phone boots, it will start it every time.
The point is that task managers like Task Manager, cannot, and will not terminate processes other than its own, because (obvously for security reasons) the API for that behavior does not exist.
/lecture ^-^"
And I would imagine freezing it would cause issues. Just like decalex said. It does perhaps have a purpose.
Sent from my Epic4G using Tapatalk
decalex said:
What i do is, i created a custom shortcut to settings - running services. Tap the icon, click the process. No extra killers needed. I do it once per boot.. and, having tried a million other methods, this works the best.
Doesn't freezing it in titanium cause the same problems as if it was removed?
To cyan crayon: do you have an epic?
..and just realized were replying to a post that's 3 months old.. selffail.
Sent from my SPH-D700 using Tapatalk
Click to expand...
Click to collapse
I've never had any issues withe my phone at all, other than the known dk28 bugs and even then the worst bug is the occasional wfi error running midnight rom and I have tianium freezing all drm services. And I use the media player for about 7.5 hours of my day and pandora for about another hour with the occasional movie playing during breaks if I'm super bored lol
Sent from my SPH-D700 using XDA App
CyanCrayon said:
Yes, I have an Epic. If you use the desktop website you'll see it in my sig.
I haven't come across this DRM process issue yet, although I've only had my Epic for about two weeks. Regardless of the fact, when I do see problems I might be able to help with I will do my best to contribute.
Edit: Let me attempt to clarify what I have said.
I never guessed to check my processes, and whaddya know it's right there staring me right in the face.
The thing is task managers like Task Manager (which is what I use) only can target running apps. In case that wasn't apparent.
This process is starting along with the Android System, so unless you decide you don't want the system to start when the phone boots, it will start it every time.
The point is that task managers like Task Manager, cannot, and will not terminate processes other than its own, because (obvously for security reasons) the API for that behavior does not exist.
/lecture ^-^"
And I would imagine freezing it would cause issues. Just like decalex said. It does perhaps have a purpose.
Sent from my Epic4G using Tapatalk
Click to expand...
Click to collapse
[How] to remove the omadrmconfigservice.drm to get more battery life on epic:
http://forum.xda-developers.com/showthread.php?t=794010
Do you really think that someone that knows how to pirate would ask for advice/assistance on how to do it in this forum?
brickwall99 said:
[How] to remove the omadrmconfigservice.drm to get more battery life on epic:
http://forum.xda-developers.com/showthread.php?t=794010
Do you really think that someone that knows how to pirate would ask for advice/assistance on how to do it in this forum?
Click to expand...
Click to collapse
>.> There are some morons out there...
And you beat me to linking that.. ^^

Carrier IQ "Spyware" built into all Evo ROMs?! Also causes lag/CPU pegging?

I also have an Epic, and read about it in this post by k0nane.
On whether or not it's possible for Sprint to dig up data after a complete Odin wipe may be debatable, but I lean toward supporting the "yes, they can" side. Sprint has been, for - as far as I can tell - a while, since the Moment at least, been including Carrier IQ in Android ROMs. Carrier IQ - which you can get more info on here (browse around there) is highly invasive, to the level of being spyware. It tracks signal data, application usage, and much else - its services and libraries are tied deeply into the system, to the point that killing just the client (not the server) will destroy the battery meter.
We (ACS) made progress in rooting out Carrier IQ with SyndicateROM Shuriken and Xtreme Kernel 1.0.1, but we didn't get it completely removed just yet. We did, however, kill the 'iqmsd' service, which, if you run 'getprop', you can see automatically starts on all devices NOT running Xtreme Kernel.
Click to expand...
Click to collapse
More about Carrier IQ here
When I look at Evo's running tasks, I see HTC IQ/IQFD. I presume that is what it is.
I am wondering if the chefs for Evo ROMs also remove the Carrier IQ from the Evo's kernel. I, for one, would rather NOT have Sprint track data about my use patterns.
Thanks.
Hmm interesting. Definetly going to be keeping an eye on this thread
Edit:
This same program was on my Hero. I think I might do a Nandroid backup, and then go into the command prompt ADB and remove the files manually and see if it has any negative consequences. I killed the process, and it just starts right back up.
Edit 2: Just went in and removed some of the APK files directly. Here's what I removed:
IQRD.apk
FieldTest.apk (did this on my Hero with no negative problems)
FieldTrial.apk (same as above)
HtcIQAgent.apk
Going to do some testing now.
Edit: Dont remove the IQ files listed above, as I am now having issues pulling up the RTN and DATA menus from the dialer.
Here is how I removed them completely by the way. Android SDK is a folder on its own in my C drive
Code:
cd C:\android-sdk-windows\tools
Code:
adb devices
Code:
adb shell
Code:
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
Code:
cd /system/app
Code:
ls
This will now show a huge list of all applications on your phone, everything. You could pretty much mess up your phone here by removing the wrong items. Can always be fixed by doing a backup before or reflashing a ROM though. For the next steps you just need to do this
Code:
rm NAMEOFTHINGYOUWANTREMOVED.apk
You must follow capitalization and exact punctuation of the apk's you want to remove or it will say not found. Once done removing I personally like to exit and reboot
Code:
exit
Code:
adb reboot
Okay, after some quick testing, all my applications work, but I did find that going into the dialer and typing in
##DATA# and ##RTN# do not work anymore. I'm guessing removing the IQagents stops it from pulling the necessary data, and will no longer update these stats. Personally I want these, so I will be restoring my backup now.
Interesting. Thanks for doing all the testing. As k0nane wrote, it is deeply integrated with the kernel. I'm wondering the the kernel developers have any luck in cleanly extracting the Carrier IQ components. As much as I like running the stock kernel for stability, I would rather run one without all the Carrier IQ...
I just restored my backup, but my RTN and DATA menus are not working still. Just says initiating and then goes straight back to the dialer. Looks like I messed it up. Going to try reflashing the ROM next and see if that changes anything. Might have totally wiped it out and can no longer pull the data from Sprint or whoever keeps track of it.
Reflashing my Fresh ROM fixed it, but restoring a NAND did not.
danman132x said:
I just restored my backup, but my RTN and DATA menus are not working still. Just says initiating and then goes straight back to the dialer. Looks like I messed it up. Going to try reflashing the ROM next and see if that changes anything. Might have totally wiped it out and can no longer pull the data from Sprint or whoever keeps track of it.
Reflashing my Fresh ROM fixed it, but restoring a NAND did not.
Click to expand...
Click to collapse
Sorry to hear about your troubles. Glad you got it back. Still, do you know of any custom kernels that do not have Carrier IQ embedded?
It's no problem. Needed a fresh reflash anyways. Like to do it every so often to keep everything cleaned up on my phone. I don't know any others. I use FreshROM as my daily, and don't flash too many others to play around with. Flipz had me since the Hero lol
Fieldtrial shouldn't be removed, nor should the sprintzone stuff be removed.
Next time you do your testing, remove 1 item at a time to test with instead of 3 or 4 and make sure your nandroid backup is good.
Before anyone freaks out, and starts looking for their tin foil hats - the data that's collected is anonymous, and provides sprint (and google, and the other carriers that use the service on their android phones) with detailed metrics to identify issues with service and signal quality, location based services, and things like that. They're not tracking all of the porn sites you visit from your phone.
If you really care that much about it, a kernel dev posted this fix in a random thread on another forum;
To disable Carrier IQ in init.rc, just comment out the iqmsd lines at the end.
I'm not a kernel dev, and don't think there's anything nefarious going on, so I havent tested that, and don't know if it really works.
Just another thing that CyanogenMod already has fixed...
CM tells you up front that there's optional anonymous statistics gathering, and everyone can view those statistics, and what's sent. You can opt-out of the statistics, and it asks you if you want to when you boot up CM after flashing for the first time.
Today's scoreboard:
Stock: -23
CM: 748
fachadick said:
To disable Carrier IQ in init.rc, just comment out the iqmsd lines at the end.
I'm not a kernel dev, and don't think there's anything nefarious going on, so I havent tested that, and don't know if it really works.
Click to expand...
Click to collapse
there is nothing in the #10 htc stock kernel init.rc which shows carrier iq or iqmsd in the init.rc file
here is a link to the init.rc file for reference - http://pastebin.com/RiVDZTxZ
Aside from potential privacy and security issues, anonymous or not, my other important interest is to have the most efficient running phone possible. Every process/service takes some power, especially those that transmit. I've also read about IQ causing battery drain issues, so it would just be nice to be rid of it...
joeykrim said:
there is nothing in the #10 htc stock kernel init.rc which shows carrier iq or iqmsd in the init.rc file
here is a link to the init.rc file for reference - http://pastebin.com/RiVDZTxZ
Click to expand...
Click to collapse
I don't see it on my kernel 11 either. The last line is "service ipd /system/bin/ipd socket ipd stream 666 root inet".
God, you people are paranoid.
thetakara said:
God, you people are paranoid.
Click to expand...
Click to collapse
Not sure but, I think paranoia would entail thoughts of being billed for data which the phone sends without user acceptance. But since we all pay $10 a month extra anyway - wtf...lol !
When messing around with the Desire HD ROM it looked like there was a lot of data mining stuff built in, and that's from HTC not the carriers. The evo also has some stuff built in to the framework but not near as much as what Ive found in the new Sense ROMs.
HTC is a chinese company after all...
xHausx said:
When messing around with the Desire HD ROM it looked like there was a lot of data mining stuff built in, and that's from HTC not the carriers. The evo also has some stuff built in to the framework but not near as much as what Ive found in the new Sense ROMs.
HTC is a chinese company after all...
Click to expand...
Click to collapse
Interesting. I think the HTC pieces are in fact the integrated components from Carrier IQ. In this case, I think both Google and Sprint mine data.
BTW, I thought HTC was a Tawianese company? Big difference between Taiwan and China...
Here is the thread about Carrier IQ causing battery issues:
http://forum.xda-developers.com/showthread.php?t=760384&highlight=carrier+iq
If you search for IQFD in the Evo Forums, you will see many other threads talking about the process pegging the CPU and causing lag. It is not simply a privacy issue, I would like to see the overhead gone!
willy900wonka said:
Not sure but, I think paranoia would entail thoughts of being billed for data which the phone sends without user acceptance. But since we all pay $10 a month extra anyway - wtf...lol !
Click to expand...
Click to collapse
wait. you think its ok for them to charge us $10 a month for our data? that sounds a bit backwards to me! they should be paying US the $10 for our data. imho
edit: sorry didnt mean to hijack the thread lol

g pay on rooted phone

Has anyone gotten g pay to work on the q beta 6 while being rooted if so how did you achieve it
This work for me on custom rom:
https://forum.xda-developers.com/showpost.php?p=79643248
lavin40 said:
Has anyone gotten g pay to work on the q beta 6 while being rooted if so how did you achieve it
Click to expand...
Click to collapse
As far as I know it won't pass. Even while rooted/unrooted as it won't pass cts
Followed this process. Uses a few modules and I have had no issues since.
https://forum.xda-developers.com/showthread.php?p=79915863
Sent from my Pixel 2 XL using Tapatalk
alershka said:
Followed this process. Uses a few modules and I have had no issues since.
https://forum.xda-developers.com/showthread.php?p=79915863
Sent from my Pixel 2 XL using Tapatalk
Click to expand...
Click to collapse
Thank you for this....I really very much appreciate it! Seems the most complicated tutorial/walkthrough than most others (simple magiskhide and/or modifying certain files...), but it seems most promising as well.
I just wanted to ask (specifically a person who has experience with this successfully and is possibly continuing doing this) if you do the monthly updates and if it resets everything and you have to edit a database file via SQL editor every single time? I, myself, imagine that if you do a Full Factory flash-all update, it would overwrite either the permissions and/or the .db file, but I wanted to confirm with someone else as I've already updated to the August security patch...
Thank you again for posting your response here and I look forward to seeing my GPay work in the stores!
simplepinoi177 said:
Thank you for this....I really very much appreciate it! Seems the most complicated tutorial/walkthrough than most others (simple magiskhide and/or modifying certain files...), but it seems most promising as well.
I just wanted to ask (specifically a person who has experience with this successfully and is possibly continuing doing this) if you do the monthly updates and if it resets everything and you have to edit a database file via SQL editor every single time? I, myself, imagine that if you do a Full Factory flash-all update, it would overwrite either the permissions and/or the .db file, but I wanted to confirm with someone else as I've already updated to the August security patch...
Thank you again for posting your response here and I look forward to seeing my GPay work in the stores!
Click to expand...
Click to collapse
I have not done any sql editing. I deleted the db file then made it read only on next reboot. When taking the monthly Q beta update, via flash-all without -w, I redid the fingerprint with magisk props module then added my card back in. I do get an error every once in awhile due to the db being only read only but Pay works.
I have no idea what will need to be done when Q is finalized.
Sent from my Pixel 2 XL using Tapatalk
simplepinoi177 said:
alershka said:
Followed this process. Uses a few modules and I have had no issues since.
https://forum.xda-developers.com/showthread.php?p=79915863
Sent from my Pixel 2 XL using Tapatalk
Click to expand...
Click to collapse
Thank you for this....I really very much appreciate it! Seems the most complicated tutorial/walkthrough than most others (simple magiskhide and/or modifying certain files...), but it seems most promising as well.
I just wanted to ask (specifically a person who has experience with this successfully and is possibly continuing doing this) if you do the monthly updates and if it resets everything and you have to edit a database file via SQL editor every single time? I, myself, imagine that if you do a Full Factory flash-all update, it would overwrite either the permissions and/or the .db file, but I wanted to confirm with someone else as I've already updated to the August security patch...
Thank you again for posting your response here and I look forward to seeing my GPay work in the stores!
Click to expand...
Click to collapse
I just wanted to come back here and give my thanks to this thread and specifically to alershka!
I was able to finally try and pay for something at a store front and was so happy (and shocked tbh) when it worked flawlessly! As I've mentioned before, I've tried many other methods and "workarounds" ranging from simple to complicated, and I have been successful from searching, finding, installing the app up to running it successfully without errors or blocks and even successfully loading credit cards and verification for "in-store purchases"! But, in the end, I would be able to get that far, but still not be able to make a purchase as the app would come out with an error; which was weird because the NFC would still detect and vibrate so the signal and data would exchange, but would be stopped on the app end...I actually ended up giving up using the app/feature for the last couple of months with the compromise of keeping rooted.
Now I can breathe easy and relax with the knowledge that this is an open option available to me when I need/want it.
Now, the only thing I'm wondering/curious about is, as I update by using the Full Factory image and the flash-all way, that this usually formats and resets system files and permissions and if I'm going to have to re-do this workaround method every single time; although, if that's the way it has to be, I'll be glad and more than willing to if it saves me this...
but GOD! sifting through the SQL trying to find "attest" and changing things to "0" is sooooo damn tedious...!!!
Anyways....this is so great and after a considerable amount of time I'm super happy for this!
simplepinoi177 said:
I just wanted to come back here and give my thanks to this thread and specifically to alershka!
I was able to finally try and pay for something at a store front and was so happy (and shocked tbh) when it worked flawlessly! As I've mentioned before, I've tried many other methods and "workarounds" ranging from simple to complicated, and I have been successful from searching, finding, installing the app up to running it successfully without errors or blocks and even successfully loading credit cards and verification for "in-store purchases"! But, in the end, I would be able to get that far, but still not be able to make a purchase as the app would come out with an error; which was weird because the NFC would still detect and vibrate so the signal and data would exchange, but would be stopped on the app end...I actually ended up giving up using the app/feature for the last couple of months with the compromise of keeping rooted.
Now I can breathe easy and relax with the knowledge that this is an open option available to me when I need/want it.
Now, the only thing I'm wondering/curious about is, as I update by using the Full Factory image and the flash-all way, that this usually formats and resets system files and permissions and if I'm going to have to re-do this workaround method every single time; although, if that's the way it has to be, I'll be glad and more than willing to if it saves me this...
but GOD! sifting through the SQL trying to find "attest" and changing things to "0" is sooooo damn tedious...!!!
Anyways....this is so great and after a considerable amount of time I'm super happy for this!
Click to expand...
Click to collapse
If you do wipe, you will have to redo this each time. I have flashed but removed the -w from the bat file and did not have to do anything other than reflash Magisk.
Sent from my Pixel 2 XL using Tapatalk
alershka said:
If you do wipe, you will have to redo this each time. I have flashed but removed the -w from the bat file and did not have to do anything other than reflash Magisk.
Sent from my Pixel 2 XL using Tapatalk
Click to expand...
Click to collapse
Thank you (again)!!! I'll keep that in mind...I mean, it was very tedious when I edited the SQL....
Also, it seems you meant "you will [not] have to redo this each time; based off of your second sentence...
I was able to successfully use it at another credit card reader today! And it began because of you! So thank you again!
simplepinoi177 said:
Thank you (again)!!! I'll keep that in mind...I mean, it was very tedious when I edited the SQL....
Also, it seems you meant "you will [not] have to redo this each time; based off of your second sentence...
I was able to successfully use it at another credit card reader today! And it began because of you! So thank you again!
Click to expand...
Click to collapse
Either he means that or he's using sql modules like I am.
So it seems that you did it the long way lol, the modules have replaced the long process of editing the database...
Windroid-user said:
Either he means that or he's using sql modules like I am.
So it seems that you did it the long way lol, the modules have replaced the long process of editing the database...
Click to expand...
Click to collapse
Thanks for this! I hadn't read all of the thread and wasn't aware of the module that automates all of it by @73sydney! I'll consider utilizing it! Especially if it survives a Full Factory update and doing it manually wouldn't...
But, in the end, I don't mind that I did it manually; learned a considerable amount and, for all I know, it may be better or would work best if the module wouldn't work perfectly (maybe)...
simplepinoi177 said:
Thanks for this! I hadn't read all of the thread and wasn't aware of the module that automates all of it by @73sydney! I'll consider utilizing it! Especially if it survives a Full Factory update and doing it manually wouldn't...
But, in the end, I don't mind that I did it manually; learned a considerable amount and, for all I know, it may be better or would work best if the module wouldn't work perfectly (maybe)...
Click to expand...
Click to collapse
Sadly the modules wont be accepted into the Magisk Repo as they "dont do enough" (i.e. theyre considered no more than doing system property edits, and do not do enough to warrant adding to the repo, i did try), so theyre not easy to find unless you do read the whole thread, someone mentions them, or you see the link in my signature ...

Categories

Resources