[REQUEST] script to remove google maps - G1 Android Development

Any chance someone cud put together a script to remove maps... so i can just execute it on my phone.
I need maps with navi, and am away from my pc.
Nav launcher installs the modded version but only if maps isnt present on the phone.
Thanks in advance

philicibine said:
Any chance someone cud put together a script to remove maps... so i can just execute it on my phone.
I need maps with navi, and am away from my pc.
Nav launcher installs the modded version but only if maps isnt present on the phone.
Thanks in advance
Click to expand...
Click to collapse
I don't see why you just don't open up terminal and remove it that way...?
rm -r /system/app/Maps.apk
that will not get it properly removed. but it will remove it.
If you need to get it properly removed ... try using the command above ... also clear the dalvik-cache or just find the maps cache and delete it.
also find your package.xml file and remove the permissions from there... (/data/packages.xml)
that will get it properly removed ... reboot after of course and then try doing what ever you are trying to do.
You can do this all on the device if you know proper linux commands like to move and remove and copy... etc ... you get the point ... and then use text editor from the market..
i hope i helped some ... i don't know if this is the right section for this though ... however i wouldn't have posted this in the first place.

Related

[Q] what is the process for upgrade pre-installed app?

Hi,
In my understand, the pre-installed apps are placed on path /system/app, and the /system partition should be read-only partition without rooted, right?
So how the pre-installed apps can be upgraded?
For example, the pre-installed Google Maps app can be updated from Android Market. How it can replace the old Google Maps app with a new one on /system/app? What is the process?
Can someone help me to understand it?
They're installed normally to /data/app, then system uses them instead of files from /system/app. You could have checked this out by yourself.
what is the details about Google maps upgrade?
Hi, Brut
Thank you.
But could you please explain more details? I'm using Motorola ME600, no built-in Google Maps and Android Market. I can't check it by myself.
If the updated apps are installed in /data/app, how can they do that? I mean they should not be installed successfully if the updated apps used the same package name as the olds. It should fail due to the old one still exist. And how about the signature of updated app? Should it same as the old one?
Even the update apps can be installed, how does the system use them to replace the built-ins? I think we should find 2 icons in the Lanucher if they have same main entry. But in fact, there is only one icon. Why?
PS: Sorry, I have no way to find the details by myself. Please give me a hand. Thanks in advance.
I think Android OS treats system apps differently. It knows these apps can't be overwritten directly, so it uses above technique for updating them. It permits to have these apps installed twice and then it ignores system ones. Of course both files have to be signed by the same key.
If you have root, then you could check this by yourself without Market or Maps.
Remount /system .
If you have 0 free space on this partition, then remove something to have at least 100KB.
Create empty app, build it and sign.
"adb push YourApp.apk /system/app/" - Android OS should detect this and install your app. You could see this in the logcat.
"adb install -r YourApp.apk" - Android will install it to /data and use it instead of version installed to /system .
Maybe Android not always prefers /data app, but one with greater versionCode. I don't know, didn't test this.
Thanks, Brut
I followed your suggestion and tried. Yes, system replace the /system one with /data one.
Thank you help me to know this behavior of Android system.

[HOW TO] Clean up system/app

On the german "android-hilfe"-forum the users managed to delete the default apps from the system/app folder. I'm going to translate it to english and post it here. Original thread: android-hilfe.de
All changes are done at own risk. I'm not responsible for a bricked phone. If you don't know what you do, stop reading here.
First of all you need to root your mobile: [HOW TO] Root Motorola Defy.
If you rooted with z4root: you need the androidSDK to go on with the next steps. So have a look at the link above and get the tools and information need to go ahead.
After that you need to:
1. type in the command line on your PC
Code:
adb shell
2. now you need to get super user rights:
Code:
su
3. you need to remount the system partition
Code:
mount -o rw,remount -t ext3 /dev/block/mmcblk1p21 /system
4. change to the /system/app directory and you can now rename/delete all files in there
I hope you make a copy of this folder, so you can always revert back to factory default. A hardreset doesn't restaure the deletet apps, so be carefull. Also you need to check on your own IF you can really delete a app or not. I don't know what features you use.
Successfull deletet apps:
- amazon
- adservice
- arcphotoworkshop
- arcvideoeditorlite
- bluremail
- blursnmessagingengine
- blurupdater
- cardock
- contactsunconnected
- es musica
- fota
- friendfeed
- hilfe center
- hiphop official
- kpt (kodak perfect touch)
- homesyncwizard
- livewallpapers
- livewallpaperspicker
- magicsmokewallpaper
- messageswidget
- newswidget
- protips (tips für den startbildschirm)
- quickcontactwidget
- quickoffice
- revolvertv
- socialmessaging
- sprachwahl
- statuswidget
- stk (sim-tool-kit)
- toggle widgets
- truecountry
- ttsservice
- visualizationwallpapers
- universalinbox
- weatherwidget
- workcontacts
Taken from android-hilfe.de
Click to expand...
Click to collapse
Stand by for more information
It will be great!
is it posible to replace any of the "blured" apps?
Code:
BlurAlarmClock - AlarmClock (whats special with blured AlarmClock?)
BlurCalendar - Calendar
BlurContacts - Contacts (I only want google contacts and groups)
BlurEmail - Email (what's the difference between default?)
BlurHome - I Assume this is MotoBlur launcher (Wild Guess; it's really bad idea to remove this)
BlurPhone - Dialer?
is it posible to stop services from starting?
I have this services started, I have removed ALL widgets on ALL motoblur-homescreens and rebooted my phone and using ZeamLauncher. Still I have a few services started that I don't like to have started.
FeedReciverService - Social networking (com.motorola.blur.friendfeed)
WeatherService - Weather (com.motorola.blur.home.other)
Click to expand...
Click to collapse
Considering the name of the services I don't use them. I have no Social Networking stuff on my phone and no weather widget.
When and where do services start? if apps can start services when needed (I assume they can) is it posible to track down which services an app starts?
Ok, a couple of noob-ish questions here...
Sqoerk said:
First of all you need to root your mobile: [HOW TO] Root Motorola Defy
Click to expand...
Click to collapse
I've done this, though not through the method listed in the thread that's linked-to.
I used z4root, which was significantly simpler but I'm wondering if it's left me poorer equipped to do what comes next.
Sqoerk said:
1. type in the command line
Code:
adb shell
2. now you need to get super user rights:
Code:
su
3. you need to remount the system partition
Code:
mount -o rw,remount -t ext3 /dev/block/mmcblk1p21 /system
4. change to the /system/app directory and you can now rename/delete all files in there
I hope you make a copy of this folder, so you can always revert back to factory default. A hardreset doesn't restaure the deletet apps, so be carefull. Also you need to check on your own IF you can really delete a app or not. I don't know what features you use.
Click to expand...
Click to collapse
Ok, so now we seem to have jumped forward a bit.
I assume by command line we're doing this on a PC, right?
If so, is there a particular mode I should select when connecting the handset?
And one last one - you list 'adservice' as something that's safe to remove, does what I suspect and kill off adverts on the handset?
Step666 said:
Ok, so now we seem to have jumped forward a bit.
I assume by command line we're doing this on a PC, right?
If so, is there a particular mode I should select when connecting the handset?
And one last one - you list 'adservice' as something that's safe to remove, does what I suspect and kill off adverts on the handset?
Click to expand...
Click to collapse
If you used the rooting method I've linked to, there wouldn't be a jump
Anyway you are right, its the command line from the PC. But you need the androiSDK for this commands. The adb.exe can be found in the tools subfolder. Go to the rooting method I've linked to and just get the infos missing here.
I don'T think that adservice will kill ALL your ad's on your phone. Those are included IN the games or apps. Have a look at adfree on the marked. This will work on your rooted phone.
Thanks for your respond...I've changed the first post a little bit.
deleted most of the stuff above...
CMP_AmazonFR_InternalFM_1.0.179.apk
what is exactly are?...
- bluremail
- blursnmessagingengine
- blurupdater
not sure.. i'd like to have blur email ... afterwards.. .so.. is it the app..?
crazyVII said:
deleted most of the stuff above...
CMP_AmazonFR_InternalFM_1.0.179.apk
Click to expand...
Click to collapse
That's the (awesome!) music player app
Deleting Blur
If you delete all the blur stuff, believe me I want to, how do you setup and get emails?
nickzee said:
If you delete all the blur stuff, believe me I want to, how do you setup and get emails?
Click to expand...
Click to collapse
I havn't deblured my phone, but I've added the 2.1 Mail.apk ...
The motorola mail app just synced my exchange once each time I've configured it. If you're interested in the apk....pm me or quicksearch at google
4. change to the /system/app directory and you can now rename/delete all files in there
Click to expand...
Click to collapse
So when I try to access the /system/app directory I get a "permission denied" message. I am rooted. Any advice?
blur... now you see it now you don't. ... goodbye
Homesicktexan said:
So when I try to access the /system/app directory I get a "permission denied" message. I am rooted. Any advice?
Click to expand...
Click to collapse
U did the remount? If not, follow all steps again. If you tried to access /system/app directly from you phone with a filemanager: it won't work until you use rootexplorer (payware).
You can use Titanium backup too (free)
Amazing how responsive the phone becomes after removing some of the bloat.
Interesting Topic, is this about deblurring or are there any more Motoblur Tasks running in the Background after the process?
I really want to get rid of Motoblur, (in my opinion it is just useless Crap running in the Background and collecting data) but I would still like to have my Android Updates. Is there any way to do this?
For you guys who have been de-bluring your phones which apps have you removed? It would be interesting to know which apps that are safe to remove and which that are not or have dependencies to other blur-apps. Thanks in advance!
Probably there's only a try and error you can do. I'e posted a list of apk's which are save to remove without going into bootloops. But there's no garuntee that this meets ALL your whishes of services to remove or to stay.
I think that you can give jboogie a try. Also you can try to make a nandroid backup befor starting to remove things. A titanium backup won't help, as it won't backup your system APKs. Don't rely on this.
If you miss a APK (cause you deleted it to fast) feel free to ask, I copied mine all to my SD Card.
Titanium backup will back up the data (edit: not apps) to your SD card and won't restore them to the system/app folder. (so be warned)
Personally I went for:
ESMusica (Didn't notice any difference)
HipHopOfficial (Didn't notice any difference)
TrueCountry (Didn't nitice any difference)
Social Networking 2.1 update 1 (big speed boost)
Social Status 2.1 update 1 (big speed boost)
Social Messaging service update 1 (big speed boost)
Social Messaging update 1 (big speed boost)
AmazonMP3 (nice speed boost)
News 2.1 update 1 (nice speed boost)
Weather 2.1 update 1 (nice speed boost)
CarDock 1.0 (Didn't notice any difference)
Sticky note 2.1 update 1 (Didn't notice much difference)
Browser Message 2.0.2 (Didn't notice much difference)
Connected Music player (nice speed boost) - Spotify + powerAMP user
At this stage the phone was running lag free, so I don't bother with anything else. (esp with custom ROMS on the horizon back then )
Sounds very interesting.
Would be really great if someone could put together a real Noob Tutorial.
I am not familiar with ADB
Here's what I renamed. I just changed the .apk file extension to .fix (just something easy to remember if I want to do a search and change them back)
AdService
ArcPhotoworkshop
ArcVideoEditorLite
blur-services
BlurDemo
BlurEmail
BlurEmailEngine
BlurSNMessagingEngine
ClockWidget
FriendFeed
NewsWidget
SocialMessaging
SocialShare
StatusWidget
VisualVoicemail
WeatherWidget
I have not experienced any problems yet. If I do I'll post what I find.
can i get some help here? how exactly do you change to /system/app? is it as simple as typing "/system/app"? and then what happens does ADB list all the files in there or is there another command you ahve to use?

[MOD!] GMail Application (GB + HC + ICS!) [EXTERNAL APP ACCESS ENABLED!]

UPDATE 3
--------------
Added modified GMail v3.2.1 for HC and GMail v4.0.3 for ICS based ROMs. Make sure you download the right one for your OS (GB, HC, or ICS).
--------------
Hey guys, for those of you who didn't know, the Gmail application now RESTRICTS access to your emails by third party apps. This basically means that any app that needs access to your email database (for example, Pure Messenger Widget) will be LOCKED OUT and therefore Gmail will be disabled in said application.
So I went ahead and modified the latest Gmail apk to ALLOW EXTERNAL ACCESS to re-enable support for apps that require it. Hope this helps anyone who needed it.
Install Instructions (YOU MUST BE ROOTED!)
--------------------------------------------------------------------------
0) DOWNLOAD CORRECT VERSION FOR YOUR OS AND RENAME TO Gmail.apk
1) Open Root Explorer (or any other root file manager you like)
2) NAVIGATE to /data/app
3) DELETE com.google.android.gm-1.apk (it might say com.google.android.gm-2.apk for some people or it may not exist at all)
4) NAVIGATE to /system/app
5) Mount Read/Write
6) DELETE Gmail.apk
7) COPY new modified Gmail.apk into /system/app
8) CHANGE permissions to Owner = read/write, Group = read, Others = read.
---(The following may not be necessary but its HIGHLY RECOMMENDED!)---
9) REBOOT into Recovery
10) Wipe Cache/Dalvik-Cache/Fix Permisions
------------------------------------------------------------------------
11) REBOOT!
NOTE: Some apps may require you to uninstall and reinstall the program before it is able to see the change in Gmail (for example, Pure Messenger Widget)
DON'T FORGET TO HIT THE THANKS BUTTON!
APK Re-added.
I was having issues with regards to getting the app to show up after reboot but realized it wasn't actually a problem with the modification, but it was a problem with the permissions.
lol guess i was the only one who needed this... ah well, if anyone needs it its here, hopefully people know how to use the search
lol...dont worry dude.. keep up the great work..!!
Thanks for this! Google are a bunch of tight ass losers for restricting access to Gmail...
Oz
BULL3TPR00F said:
lol guess i was the only one who needed this... ah well, if anyone needs it its here, hopefully people know how to use the search
Click to expand...
Click to collapse
Thanks for this, I've been looking for a way to make LED Flow change the LED color for emails from different contacts!
No problem everyone, I will keep this thread updated with newer modified versions as Google releases them.
What do you mean when you say "mount read/write" in step 5?
Nevermind, I figured it out. Explorer didnt allow me to mount r/w or change permissions so I installed Root Explorer and worked it out.....much better file system explorer btw. Thanks for the tutorial.
via x10i WB GB v4.0 edition
Uploaded hacked version of the newest Gmail application (v2.3.5.2).
Now we can have gmail timescape for the latest app
Yeah sorry i took so long to upload the new version, my phone has been disconnected for a few months now so i dont use it too much lol.
BULL3TPR00F said:
Yeah sorry i took so long to upload the new version, my phone has been disconnected for a few months now so i dont use it too much lol.
Click to expand...
Click to collapse
It doesn't seem to work with Launcher Pro's Gmail widget :/
Thanks for this. Just put it on my SGS, now SlideScreen works again, fully .
make sure keep this updated LOL
Slidescreen is back in businesssssss!
Subscribed
It works, thanks.
Working, nice job man, thanks!
Cant get this to work with slidescreen, but it works with launcherPro :s
THanks for this, it's exactly what I've been looking for however I seem to get stuck doing the steps involving pasting into system/data basically nothing ever pastes there despite me setting the read write permissions as suggested. Guy who got slidescreen working using this how exactly did you go about it? exactly as described?
Thanks so much for this fantastic hack!
Mind letting us know exactly what you did?
I ask because I'm using I'm already using a modded themed apk, and obviously I can't use both at the same time.

[Android-4.2][Google-Apps] Flashable zip for all Gapps from Android 4.2 !

** I didn't make this ***
Just thought of posting here.
Credits to OMG!Droid for Uploading and Making the Flashable Zip.
All Google Apps from Android 4.2.
DOWNLOAD LINK
Video-
http://www.youtube.com/watch?feature=player_embedded&v=00xUH86sJV0
Instructions:
Note: This APK should work on Android 4.0+. You do need to be rooted.
The Gmail 4.2 APK is signed by Google, but with a different key than the one in the Play Store (we checked the signatures - they differ). One is probably the test key and the other the production key. For this reason, you can't simply install it as an update and therefore need to be rooted with the ability to mount the /system directory for writing in order to remove the existing Gmail APK.
Important: Once Google updates Gmail in the Play Store, you will want to revert this process or at the very least delete the Gmail 4.2 APK you installed here if you want to update it from the Play Store.
OK, let's get down to it. You'll probably need ADB installed on your computer. There is a chance that this might work without ADB by just removing the APKs mentioned below and installing the new one, but it didn't seem to work reliably for everyone. This should, though:
1. Download Gmail 4.2 apk.
2. Rename it to Gmail2.apk.
3. Make a Nandroid backup in case something goes wrong (this is always a good thing to do before messing with your device).
4. Remount /system for writing (via your favorite root-aware file explorer).
5. Delete (or move if you want to save the APKs) all other versions of Gmail. Usually there are 2 or 3 copies. One will be in /system/app (that's the original Gmail that was pre-installed on the device) and there may be a few in /data/app (these are the updates installed from the Play Store). They'll be called "Gmail.apk," or "com.google.android.gm-[number].apk," An easy way to tell is to look for the Gmail icon.
6. You may need to delete the .odex files matching the APKs in step 5 too, if you have them. Neither I nor Artem had to do this, but there are many different ROMs out there, and we're trying to cover all bases. Ignore this step and only come back to it if something doesn't work later.
7. Reboot. Once you do, you should have no Gmail as far as Android is concerned.
8. You can try to install the Gmail 4.2 APK you downloaded at this point by tapping it in your favorite file explorer (move the APK to your device first, of course). If that doesn't work, or if you prefer ADB, fire up a command line and type adb install Gmail2.apk.
If you get an error message, you probably didn't delete all copies of Gmail. If you don't feel like playing with ADB for Step 8, I've also gotten it to work by just copying the APK to /data/app, but that's not as fool proof as "ADB install".
Click to expand...
Click to collapse
Courtesy: http://forum.xda-developers.com/showthread.php?t=1933225
Click to expand...
Click to collapse
Wooow .. well done ..
Its work perfect .. great..
Sent from my GT-I9003 using xda premium
hider7 said:
Wooow .. well done ..
Its work perfect .. great..
Sent from my GT-I9003 using xda premium
Click to expand...
Click to collapse
Ah.! Enjoy
Sent from GT-I9003 powered by Titanium ROM + Titanium Kernel.
Thank you so much work very well on RemICS-JB
Envoyé depuis mon GT-I9003 avec Tapatalk
works good

[Q] Problem with DOOGEE COLLO DG100 - Applications not running

I've installed new firmware and I've rooted my device however I'm not able to download new applications and my GPS doesn't seem to be working.
Error "Package file wasn not signed correctly. Uninstall the previous copy of the app and try again. (option to uninstall is available but never works)
Does anyone else have these issues and does anyone have a fix most importantly?
Thank you,
rci_canada said:
I've installed new firmware and I've rooted my device however I'm not able to download new applications and my GPS doesn't seem to be working.
Error "Package file wasn not signed correctly. Uninstall the previous copy of the app and try again. (option to uninstall is available but never works)
Does anyone else have these issues and does anyone have a fix most importantly?
Thank you,
Click to expand...
Click to collapse
Have a look at thread http://forum.xda-developers.com/showthread.php?t=2479695 which has quite a lot of information on rooting and flashing this phone. For this particular problem, try the following:
1. Use a Root Uninstaller (I use System App Safe Remover) to uninstall Documents to Go, Skype, Twitter, YouTube and WhatsApp. Don't uninstall Facebook - I can't get that one to reinstall properly yet.
2. You can also uninstall unwanted stuff like 3D Live Weather, Weather, Weather Service and the Chinese keyboard if you want - I've installed Google Keyboard instead which seems much better.
3. Reboot the phone
4. Go to Settings / Apps / All and, for Google Play Services and Google Play Store, Clear Cache, Clear Data and Force Stop
5. Reboot the phone
6. Reinstall the desired apps from the Play Store
Docstogo won't reinstall properly - it'll give an error about a shared ID. Have a look at this thread http://forum.xda-developers.com/showthread.php?t=1219029- use ADB (via MTKdroidTools) to copy packages.xml to your computer, edit it to remove the DocstoGo section, copy it back to the phone, reboot, and install from Play Store:
1. adb shell chmod 666 /data/system/packages.xml
2. adb pull /data/system/packages.xml
3. Now edit (notepad++) and remove the shared user in question xml block from the file:
Code:
<shared-user name="com.docstogo" userId="xxxxx"> (or whatever)
...
</shared-user>
4. adb push packages.xml /data/system
5. adb shell rm /data/dalvik-cache/*
6. adb reboot
Hope that helps.
Everything is working except facebook
serafis said:
Have a look at thread http://forum.xda-developers.com/showthread.php?t=2479695 which has quite a lot of information on rooting and flashing this phone. For this particular problem, try the following:
1. Use a Root Uninstaller (I use System App Safe Remover) to uninstall Documents to Go, Skype, Twitter, YouTube and WhatsApp. Don't uninstall Facebook - I can't get that one to reinstall properly yet.
2. You can also uninstall unwanted stuff like 3D Live Weather, Weather, Weather Service and the Chinese keyboard if you want - I've installed Google Keyboard instead which seems much better.
3. Reboot the phone
4. Go to Settings / Apps / All and, for Google Play Services and Google Play Store, Clear Cache, Clear Data and Force Stop
5. Reboot the phone
6. Reinstall the desired apps from the Play Store
Docstogo won't reinstall properly - it'll give an error about a shared ID. Have a look at this thread http://forum.xda-developers.com/showthread.php?t=1219029- use ADB (via MTKdroidTools) to copy packages.xml to your computer, edit it to remove the DocstoGo section, copy it back to the phone, reboot, and install from Play Store:
1. adb shell chmod 666 /data/system/packages.xml
2. adb pull /data/system/packages.xml
3. Now edit (notepad++) and remove the shared user in question xml block from the file:
Code:
<shared-user name="com.docstogo" userId="xxxxx"> (or whatever)
...
</shared-user>
4. adb push packages.xml /data/system
5. adb shell rm /data/dalvik-cache/*
6. adb reboot
Hope that helps.
Click to expand...
Click to collapse
Everything is great now ! The only problem I am currently having is my facebook app won't install. I tried to uninstall but the app isn't there. When I reinstall I receive a message that the package is not digitally signed. Anyone one else have a Facebook issue with there Doogee dg100 ?
Facebook won't install - Doogee DG100
rci_canada said:
Everything is great now ! The only problem I am currently having is my facebook app won't install. I tried to uninstall but the app isn't there. When I reinstall I receive a message that the package is not digitally signed. Anyone one else have a Facebook issue with there Doogee dg100 ?
Click to expand...
Click to collapse
Is there any solution to re-install Facebook app? My girlfriend is accidentally uninstall app and we cannot install it again, package is not digitally signed... thanks
Is the GPS fixed
rci_canada said:
Everything is great now ! The only problem I am currently having is my facebook app won't install. I tried to uninstall but the app isn't there. When I reinstall I receive a message that the package is not digitally signed. Anyone one else have a Facebook issue with there Doogee dg100 ?
Click to expand...
Click to collapse
Did the above cited procedure fixed you GPS as well?
GPS as well as magnetic sensor or out of order in my new DG100
Rooted with SRSroot and am having the latest firmwire from doogee site (20140317)
Thanks

Categories

Resources