yashsingh1/xdaforums huggingface dataset:
[G2 and Desire Z Android Development] ikarma:
How will this affect the OTA should they decide to include a fix for the goggles problem. Could there be a problem patching files that aren't there?
[G2 and Desire Z Android Development] trazipomoc:
Thanks for all your hard work
[G2 and Desire Z Android Development] ~~Tito~~:
I tip the burger I am eating in your favor! Awesome work!! I already used it, and updated goggles.
[G2 and Desire Z Android Development] cmstlist:
This is terribly brilliant. I read the explanation of the mechanism on the other forum - fooling the G2 into deleting files permanently from /system.

So the question is, are there any specific files in /system that, if deleted, could open up a further vulnerability to full root? This just got a lot more interesting :D
[G2 and Desire Z Android Development] Markley02:
Any change of getting an app to remove all the bloatware in one shot?
[G2 and Desire Z Android Development] franky1029:
No, when the phone is turned on, at some point the filesystem is turned to read only. As i understand it, they dont know what flips the switch at this point. esentially, we do actually know how to root the device, we just dont know how to accept writes to the system. paul has simply figured out how to trick the system into deleting files before the system turns into write protected. we still cant add anything to it, though.
[G2 and Desire Z Android Development] Girlypeekaboo:
Wow you are truly awesome
[G2 and Desire Z Android Development] cmstlist:
Ooh, maybe this trick could be used to delete:

/system/etc/install-recovery.sh

/system/recovery-from-boot.p

which would remove one more barrier to a custom recovery... just thinkin'. :)

Another thought is, what if a key file exists somewhere on the phone that, if deleted, causes the phone to boot into some sort of super-recovery mode where it is vulnerable to attack? Of course, this sort of trial-and-error is very risky because you could brick your phone without having a way to restore the missing files.
[G2 and Desire Z Android Development] willham:
Awesome! Now ill need nine more of these to get rid of the other lame apps!
[G2 and Desire Z Android Development] androidtoy09:
Ditto. Allow me to name these suckas

Amazonmp3

Photobucket

My Account (Useless)

Googles finance ( i have no business with this app)

Twitter (I have an irrational hatred for Twitter)

Google Earth (If I wanna peak at someone's roof, I rather do it on my desktop)

Google Sky Map (I love the night sky, but no thanks)

Google Shopper (No thanks, this only keeps me tempting to spend more money on things I don't need)

Thank you for your awesome work Paul! you deserve a beer or two :D
[G2 and Desire Z Android Development] ultma75:
Works great paul
[G2 and Desire Z Android Development] gilbertp23:
Just ran the app.. seeing how it deleted Goggles.. seemingly after a reboot, makes me believe we are finally inching closer to a full root. Paul just might be the one to do it! Awesome stuff man, thanks for sharing.
[G2 and Desire Z Android Development] Hosermage:
I share the same concern, that's why I haven't run this yet...
[G2 and Desire Z Android Development] PAVNEET101:
So when are we going to see the permanent root and finally the desire z rom !!!
[G2 and Desire Z Android Development] vdub804:
Worked like a charm, good work
[G2 and Desire Z Android Development] willham:
Crap! Why didn't I think about that before I ran the app... I hope we still get the OTA
[G2 and Desire Z Android Development] rhcp011235:
Full source code posted here:

Fully de0xed and ready for you hackers. if you cannot wait. :)

Note: Rename to .tar to expand.
[G2 and Desire Z Android Development] adwinp:
service flash_recovery /system/etc/install-recovery.sh

# exec /system/bin/e2fsck_recvy -p emmc@system

exec /system/bin/e2fsck_recvy -p emmc@userdata

exec /system/bin/e2fsck_recvy -p emmc@cache

exec /system/bin/e2fsck_recvy -p emmc@devlog

See how the fsck'ing of /system is hashed?

I'm curious if we could force checking of /system (which would NEED to be rw during that time)

For example_ mount it as rw (with option sync set at 10s), remove battery, reboot phone...

I guess that won't work, since every write since it's mounted ro is to the cache, but we could time (checking dmesg/logcat) when the system is mounted rw till ro by init.rc, THEN remove the battery, which would require some trial and error, but in theory, that MIGHT give us an additional attack vector...

The only sure-time the filesystem is open and written to (which would result in a dirty filesystem) is while flashing system.img
[G2 and Desire Z Android Development] Reignzone:
Okay, popular question here:

After having used this application to "properly" remove the Google Goggles (outdated) system application, will it prevent the OTA from actually providing the updated materials or whatever to my handset?

I mean, it's expected to hit our phones within the next 7 days. :rolleyes:

Is there a chance we may completely be "opted" out of receiving this thing or what? I hope not...
[G2 and Desire Z Android Development] sino8r:
Are you kidding or what?! Of course not! People, please stopping asking this stupid question! Besides... you should wait and find out if the ota closes our temp root access before accepting it.

Okay... maybe that was a bit harsh and I do understand the concern for use of the ota. Heck, I really need the newer radio version that is included with it while many need the uma. If you used the fix and updated the goggles version, the ota will be of no concern. Like I said before, we need to be more concerned about saving the update.zip from the ota and finding out whether they patched the temp root access so everyone can enjoy it with no fears, waiting in line, or concerns.
[G2 and Desire Z Android Development] cpgifford:
There is an app on the android market that removes the google goggles app so that it can be updated or left off. Search G2 and it will pop up. It looks to have been posted a week or two ago.. Donno if this helps
[G2 and Desire Z Android Development] paulobrien:
Er, what? That's what this topic is about no?

P
[G2 and Desire Z Android Development] Mftek1:
LOL!

Sent from my T-Mobile G2
[G2 and Desire Z Android Development] texasaggie1:
umm

umm That is the OP's app. He said in post 1 he uploaded it to the market...
[G2 and Desire Z Android Development] Davidion:
Just wanted to show some appreciation and thanks for this. I'm grabbing the app as I type this.
[G2 and Desire Z Android Development] mattseg:
That was kinda scary.

FYI I reboots, then flashes a startup icon saying there is nothing to load.
[G2 and Desire Z Android Development] strazzere:
Thats not really the "source" that just a baksmali dump.

The important info if anyones interested is essentially;

su; mkdir -p /cache/recovery; echo
"--update_package=SYSTEM:app/GoogleGoggles.apk" >
/cache/recovery/command; reboot recovery

Nifty, since the recovery will attempt to update using GoogleGoggles.apk - though since this isn't a proper update.zip it fails (what that bad looking icon is for at the recovery menu) and removes the update file (which is GoogleGoggles.apk).

Bravo for finding that one Paul :)
[G2 and Desire Z Android Development] ikarma:
Want to retract that statement now?

Its not updating for those of us who removed goggles. :-(
[G2 and Desire Z Android Development] franky1029:
Yeah. I figured the most it would do was spit out an error that the app wasn't found, didn't think it would abort though. Lame!
[G2 and Desire Z Android Development] paulobrien:
Fix: http://android.modaco.com/content/t...ng-to-stock-1-19-before-applying-the-new-ota/

P
[G2 and Desire Z Android Development] willham:
Why does this seem so difficult for me?
[G2 and Desire Z Android Development] tubaking182:
prolly sound ignorant right now but i've been smoking, would this sort of thing help us flash clockwork? Chiefz has had pics of G2 with clockwork, and today he had one of G2 with S-off security. we are getting closer it seems
[G2 and Desire Z Android Development] elracing21:
I'm new to android flashing and all of that I really don't understand how to revert. I don't want to lose anything on my phone so what am I suppose to do now =/

Posted on my T-mobile G(spot)2 xD

Please check out my amazing blog- http://elgamerlife.blogspot.com/
[G2 and Desire Z Android Development] sino8r:
Why yes I would! LOL! I screwed myself too so dont feel too bad;)

oh well, I like resetting all my stuff secretly:D. gives me excuses to play with the phone all night.
[G2 and Desire Z Android Development] havikx:
ya know...i feel the same way. even though newer hacks and whatnot take time to figure out first... i'm always down to do it! i look forward to it! great excuse to have phone in hand all night.
[G2 and Desire Z Android Development] elracing21:
I don't understand what to do. So a facroty reset won't work? I'm trying to find a easier way around this. I hate myself for letting all these goodies get to me

Posted on my T-mobile G(spot)2 xD

Please check out my amazing blog- http://elgamerlife.blogspot.com/
[G2 and Desire Z Android Development] sino8r:
Check the thread Paul set up in general. Basically, download the fastboot & rom. Extract the fastboot zip into a folder and move the rom.zip into that folder. Don't extract the rom. Load the phone into fastboot (turn phone off and hold power and trackpad button until you see the fastboot screen) hook up phone to pc. Type the commands in command prompt. If the terminal says waiting on device... manually install drivers from sdk. Phone should flash into htc screen. Watch the terminal for instructions. It may ask you to reflush. Enter 2nd command again. When terminal says finished... type fastboot reboot. That's it.
[G2 and Desire Z Android Development] Mftek1:
Why does fastboot always say extract error??

Sent from my T-Mobile G2
[G2 and Desire Z Android Development] havikx:
i tried to his method of flashing thru recovery but am getting errors at google goggles and error on sdcard. need to try fastboot.
[G2 and Desire Z Android Development] havikx:
some guide me thru fastboot on a mac? im on terminal app now on the mac and when i type fastboot, it says command not found. i have all the files i need, both on my sd and on my mac.

my phones is in fastboot usb mobe.

what am i missin?
[G2 and Desire Z Android Development] 280zfan:
Be very careful

I installed this last night, and now the OTA update will not apply to my phone.

It's giving me an error stating that googlegoggles doesn't match what it expects to see. Since we're actually deleting from the protected space here, once you run this program there is no way to go back until such time as they create a full root option, if that ever even happens.

I hope I'm wrong on this, because I was really looking forward to WiFi calling. :-(
[G2 and Desire Z Android Development] dynamikd:
I installed the update and used the google goggles remover and it's all good! Great job with this!
[G2 and Desire Z Android Development] ikarma:
Are you adding a ./ before fastboot?
[G2 and Desire Z Android Development] jpc2190:
There is a fix here http://android.modaco.com/content/t...ng-to-stock-1-19-before-applying-the-new-ota/
[G2 and Desire Z Android Development] Mftek1:
Download the link on the bottom to your computer. Rename the file to "PC10IMG.zip" not .zip.zip! Connect youe phone to the computer and move that renamed file to the root of your sd card. Now disconnect your phone and turn it off. Hold volume down then power till u get to the fastboot screen. It will find the program and click yes to run it........ go from there bro...... hope this helps....
[G2 and Desire Z Android Development] Girlypeekaboo:
Ok aft freaking out all day, i finally got my phone to go back to Stock after the google goggle removal....but now I just have a quick question....Do i need to remove the Pc10img.zip from my sd card or can i just leave it there??
[G2 and Desire Z Android Development] Mftek1:
I removed it... really no need for it
[G2 and Desire Z Android Development] Girlypeekaboo:
Ok thanx :) i just wasnt sure if it would mess with anything, im new to all this stuff, but im tryin to learn teehee
[G2 and Desire Z Android Development] joemm:
Hi noob here, which file are you talk about here to rename as PC10IMG.zip and could you please repost a link to this file , will this revert back to original goggle goggles? Thanks
[G2 and Desire Z Android Development] mflawler10:
ugh. I have spend all day and night trying to figure our how to revert back to the stock and have read many different threads. I wish I had not used the Goggles remover, but being as it was a one click deal, I didn't know what I was getting myself into here. I have downloaded the fastboot file and the stock file from the OP. I realize I must extract fastboot into the same "directory" as the stock file, but what does that mean? Just make a new folder under sdcard and put them both in there?

And then I understand I should power up my phone using the power button and the volume down button which puts it in "fastboot" (although I don't know what that means.)

Now I assume I should be hooking up my phone to my PC with the USB cable. I notice when I do this my phone says "fastboot use". Where is the "command prompt to type the commands for my phone." I am assuming not the same command prompt to give commands to my PC....

And when I plug my phone into my PC via the USB initially, it says tells me to install driver software for my ADB (??? no idea) but when I tell it to locate and install driver software, it asks me to insert the disk that came with my ADB.

Sorry I am a complete imbecile. I didnt realize something so easy to do would become this hard to revert. If anybody is willing to help me or just pm me to avoid clutter here, I would appreciate it immensely. I have reached total frusturation and am ready to go explore whether any tmo reps at a store could just do this for me.
[G2 and Desire Z Android Development] ZeroSX:
Forget the command prompt stuff. Just forget it exists.

(Backup everything you deem important before reading below this)

Download the original rom from the thread and rename it PC10IMG.zip. Put that in the root of your SD card (not in any folder, at the top level of the sd card). Power off your device. Hold the volume down button and power up your device, keep the volume down button held until you see a white screen that says hboot pop up. Leave the phone alone for a minute while it checks for the zip file. It'll pop up a dialog asking if you want to update. Hit yes. Wait for a few minutes, it'll flash everything and reboot a few times and you'll be back to stock, fully cleared out and ready to flash the OTA.
[G2 and Desire Z Android Development] mflawler10:
Thanks zero, I had tried this way originally, but when the white screen popped up it would quickly say checking PC10IMG.zip and then nothing would happen. I will try it again, maybe I need to wait longer or something
[G2 and Desire Z Android Development] mflawler10:
Ok, tried it again. it briefly says its loading the file on the white screen, but then says "no image or wrong image" or something similar about 4 times and goes back to Hboot screen without asking me if I want to update.
[G2 and Desire Z Android Development] mflawler10:
OMG. I must have redone all of these instructions like 100 times, downloaded from different links for different stock files...I have no idea what I did different the 100th time, but it worked! Thanks to all of you smart people for putting up with morons like myself and making these phones so awesome
[G2 and Desire Z Android Development] joemm:
same thing happened to me. you have the file named PC10IMG.zip.zip trust me its name this. you need to rename it PC10IMG.zip use astro file manager to open the file on your sd card and rename it PC10IMG.zip. I did this and bam it work.
[G2 and Desire Z Android Development] ccb04:
I was about to use the G2 googles app to remove it but then read that the update wasn't working for those of you who did..Lol sucks for you..But I already updated my phone last night..So my question is if the googles app has been fixed with the update??
[G2 and Desire Z Android Development] elracing21:
Yes

Posted on my T-mobile G(spot)2 xD

Please check out my amazing blog- http://elgamerlife.blogspot.com/
[G2 and Desire Z Android Development] KShatzkes:
Hey Paul, so I got a quick theory question here. So we have been discussing in this thread how the new OTA brought about the a new Email.apk, which now has the new Exchange ActiveSync email policy that requires us an annoying password to open our screens. The G2 won't allow us to install another Email.apk to replace the new one. This is a huge hinderance to all of us that use the Email app, which I'm guessing is quite a bit of people.

So I was wondering, would the way your Google Goggles app works, work with the Email.apk. As in, can we trick the G2 system into deleting the current Email.apk, and then we should be able to install the old Email.apk? And if so, would it be difficult to do so?
[G2 and Desire Z Android Development] InGeNeTiCs:
I'm trying to run this through terminal and even with su, it can't make the directory. When I do it using adb shell, it starts, but can't access /cache/recovery...

Any ideas?
[G2 and Desire Z Android Development] Ssantos6981:
I used titanium backup and it erased pretty much all the apps I don't use (email.apk, finance, earth, listen, web2go, setup, photobucket and prolly a couple other) but I can't get it to uninstall my account. That is the only one giving me trouble. I unroot and reset, all the deleted apps stay gone, so I root again and try the my account but that is the only one that won't stay gone. Anyone else getting this issue?
[G2 and Desire Z Android Development] dynamikd:
That's interesting because I used titanium backup and removed some apps but when I restarted, it all came back. How did you get yours to stay removed?
[G2 and Desire Z Android Development] wilnotdie:
Are you using the updated beta version posted, on twitter? That version utilized pauls method to remove things from system. Ill see if I can find the link.

EDIT: Couldn't find it :( perhaps when I get to a computer...sry.
[G2 and Desire Z Android Development] paulobrien:
Yes, that should work fine.

P
[G2 and Desire Z Android Development] dynamikd:
No I surely am not. When you do find the link, let me know? It would be greatly appreciated!
[G2 and Desire Z Android Development] willham:
Thank you so much!!!!!!! it worked first try!
[G2 and Desire Z Android Development] InGeNeTiCs:
New version is in the market. I'm removing apps in titanium and they're coming back as well. What are the steps you used?

Nevermind, you have to long-press on the app you want to remove and 'Force remove app'.
[G2 and Desire Z Android Development] Stryder5:
Wow, I finally got around to manually installing the OTA and did the Goggles fix first. Didn't realize that would mess it up. Working on fastbooting the stock ROM back now.

Regardless, great method you discovered there Paul!
[G2 and Desire Z Android Development] thundertroy:
Hey, is it supposed to remove the icons? Cuz it rebooted the phone for me then went to the red screen, the phone and a red "!" Then rebooted and then it my phone started like normal. But the icons are still there. I got the OTA today, will it work on the OTA or no?
[G2 and Desire Z Android Development] Stryder5:
Paul's Goggles remover will get rid of the icon as well. You can check to see if it'll load for you. But don't use it if you plan on getting the OTA. It will mess it up (at least it will if you update manually).
[G2 and Desire Z Android Development] dynamikd:
Thank you. I will try this immediately.
[G2 and Desire Z Android Development] wilnotdie:
Paul,

Is there anyway u can provide steps to reinstall the original goggles app, so we can continue with the OTA....since we have perm root/nand access now.

I was waiting for perm root so I didn't have to revert to stock lol
[Epic 4G General] Geekybiker:
So my epic seems to like to reset its 3g radio randomly. It does it more often when on a charger, but also does it when on battery. Its the same thing that happens when you update PRL, you get the little double beep and the radio is back on again. Anyone have any idea if this could be a software thing, or is it time to go exchange at the sprint store?
[Epic 4G General] dwallersv:
Isn't this the problem that's addressed by the "Airplane Mode" fix? (fyi -- toggle AM off and then back on after boot and the problem you describe won't happen)
[Epic 4G General] Geekybiker:
Ahhhh. I thought that was just about tws. I haven't had an issue with tws so haven't been bothering with it. I'll give it a shot.
[Epic 4G General] MysteryEmotionz:
Are you using a task killer?

Sent from my Emotionless Beast of an Epic using the XDA App
[Epic 4G General] Sh0wNuF:
Or juice defender?
[Epic 4G General] crayak:
I've noticed th same thing it seems to happen most often when I'm on the move, driving, walking, etc. I notice it most because it interupts audio. I don't want to shutdown my phone right now but ill try this later
[Epic 4G General] cholterh:
This happened to me as well. Around the clock, I'd get a double beep as the 3G turned off and flicked back on. It started after I rooted and installed Wifi Tether. I also noticed that the Wifi was constantly scanning for networks, which was causing some seriously terrible battery usage.

I reset the phone to factory stock and the problem went away. Rooted again, still good, installed Juice Defender and Juice Plotter, and everything has been great since.

When I get a chance or have the need, I'll reinstall the Wifi Tether (the "pre-10" build was the one that worked for me a couple of weeks ago) and see if that was what was causing it. I think that some setting on Wifi Tether was constantly turning the 3G off and looking for a WiFi network to plug into, then reinitializing the 3G data connection.

Anyhow, since the wipe and re-installation of droid apps that I know work well with my phone, the radio beeps have been completely absent and battery life is now 36-48hrs per charge, depending on how much I use. Juice Plotter has my battery going down 10% over 8 hours of standby-only use, meaning I could get as much as 80+hrs of standby time, which makes me really happy.

So: I'd suggest backing up your contacts and data, doing the factory reinstall, then slowly reinstalling a few apps at a time and seeing if it's one of them that's messing with the radio. You might also want to grab a battery charting app and see if one of your apps saps your battery super quick, because I do believe it's the on/off/on/off toggling that chugs through the battery.
[XPERIA X10 Themes and Apps] SXUsr:
As users keep deleting them, I've uploaded my system/app folder for you.

2.1.A.0.435​

Apps

-	Download via Mediafire

Framework

Download via Mediafire
[XPERIA X10 Themes and Apps] kill3rmus:
lol which one is for trackID?
[XPERIA X10 Themes and Apps] freco:
None. Try soundhound. It s better and free. Ha ha.

Thanks xperiaX10iuser.
[XPERIA X10 Themes and Apps] vatis24:
Thanks XperiaX10iUser , i am sure that someone will need them :P

Cheers

Vatis
[XPERIA X10 Themes and Apps] naveen_reloaded:
problem is when u delete some system files , as is did with out knowingly , the system wont boot and u cant flash using binary .. only way is thru SEUS repair/reinstall the whole firmware.. so might be useful if the phone is still bootable but gives some error or force close warning or missing file ...
[XPERIA X10 Themes and Apps] Astral07:
thanks man, will donload those :)
[XPERIA X10 Themes and Apps] SXUsr:
Like I said, I had deleted some so one or two won't be there.
[XPERIA X10 Themes and Apps] philipp01:
i accidentally deleted my market and then i saw your thread and downloaded the folder, but now everytime i install "vending.apk" it installs fine, also when i open the market. but then when i try downloading an app it force closes when it attempts to start the download... :mad:

do i have to install something different too?:confused: i have no idea what the problem is...

please help me!