Now that im rooted....... - Droid X Android Development

How do I remove the bloatware, I am looking for specific instructions. I know that I need to open cmd and get into shell, what do I type to remove them and which ones are ok to remove?
Thanks for any help relating to this.

Ok so open up your cmd window, navigate into your tools directory of the android sdk and then type: adb shell
Next: cd /system/app
Then: ls
Then: rm appname.apk

or just rename it from Appname.apk > appname.apk.bak just in case...
Code:
mv appname.apk appname.apk.bak
this will prevent it from being available on your device. It will save memory but still be in storage.

mrweeeedbirdman via tweet
"DO NOT REMOVE BACKUPASSISTANTCLIENT if you do, get it back on there NOW! a factory reset will result in a near brick."

what are the commends to block adds? and can it be run via X or do i need to hook up laptop? also will any of the other commends like free100 work?

moosc said:
what are the commends to block adds? and can it be run via X or do i need to hook up laptop? also will any of the other commends like free100 work?
Click to expand...
Click to collapse
Get adfree fromt he market.

I just used root explorer and renamed some apps just in case. They are not in the drawer anymore so I would expect them to be gone
Sent from my DROIDX using Tapatalk

Not as good
rolandroland said:
Get adfree fromt he market.
Click to expand...
Click to collapse
Sent from my DROIDX using XDA App

Related

SOLVED - Pull an APK from unrooted phone

I have a Motorola Cliq, Also a G1. I was wondering. Is there a way to pull an APK from an unrooted phone? I can "adb shell" into the phone and look at it's contents. I see the APK i want to copy but since i don't have root, it says "CP Permission Denied"... Is there a way of pulling or copying an APK if the phone is not rooted???
Did you try adb remount first?
Karolis said:
Did you try adb remount first?
Click to expand...
Click to collapse
yes, I tried ADB remount but it doesn't work... I can do adb devices and it'll show but it won't mount it as rw... it just lists the contents but can't copy,move,pull or push.
Where is the apk located? If it's in /system and it's read-only in theory you should still be able to pull it. Don't know why you're using 'cp' rather than adb pull.. If it's in data/app-private then no you won't be able to pull it. Hence the ADP1 has root but can't download paid apps (to prevent piracy)..
Solved
I tried CP, MV, PULL, PUSH... nothing worked because the phone is not rooted... BUT I SOLVED THE PROBLEM!
Here's what my goal was. My wife got a Motorola Cliq. It came with the TeleNav program and i wanted to put it on my G1... I couldn't get it out because the phone's not rooted....
I fixed the problem though...
I installed ASTRO File Manager on the Motorola Cliq, located the APK and used the e-mail option to e-mail it to myself... that actually worked... woot woot!
Installed it on the G1 and it works like a charm... so now I have Turn by Turn directions on my G1.
follow up question because i'm attempting to do the same thing, just trying to extract the apk. where exactly did you find that file using astro, i've been looking but haven't seen it
jbearamus said:
follow up question because i'm attempting to do the same thing, just trying to extract the apk. where exactly did you find that file using astro, i've been looking but haven't seen it
Click to expand...
Click to collapse
Apps should be in /data/app.
Also, you could have used ADB
Code:
adb pull /data/app/app.to.pull.apk C:\apps
Ooglez said:
Apps should be in /data/app.
Also, you could have used ADB
Code:
adb pull /data/app/app.to.pull.apk C:\apps
Click to expand...
Click to collapse
now i understand the fact that i have a different device may screw things up, but when i look in the data file it says "directory is empty" and when i executed that command via cmd prompt it says remote object...does not exist
the new google maps in market hs turn by turns as well...
Problem solved through other means, thanks for the help!

how to upgrade to setCPU 2.0?

I try to download install it but I get error saying it couldnt be installed.
On the main page it says I need to manually update it? I dont know how to do that. Emailed the dev 2 times with no luck. Anybody can help me please?
Thanks
sti-06 said:
I try to download install it but I get error saying it couldnt be installed.
On the main page it says I need to manually update it? I dont know how to do that. Emailed the dev 2 times with no luck. Anybody can help me please?
Thanks
Click to expand...
Click to collapse
uninstall the old one first....
flybyme said:
uninstall the old one first....
Click to expand...
Click to collapse
that is the thing, when I went under "Manage Applications" setCPU is not even listed in there to uninstall it...
Under the same place I went under "All" clicked on setCPU and uninstall button is not highlighted
sti-06 said:
that is the thing, when I went under "Manage Applications" setCPU is not even listed in there to uninstall it...
Under the same place I went under "All" clicked on setCPU and uninstall button is not highlighted
Click to expand...
Click to collapse
try this in terminal
su
rm /system/app/setcpu.apk
sti-06 said:
that is the thing, when I went under "Manage Applications" setCPU is not even listed in there to uninstall it...
Under the same place I went under "All" clicked on setCPU and uninstall button is not highlighted
Click to expand...
Click to collapse
What ROM are you running? The ROM you are running probably installed setcpu to system so you would have to pull the old version using adb or you might be able to use a file explorer to find it and delete it.
flybyme said:
try this in terminal
su
rm /system/app/setcpu.apk
Click to expand...
Click to collapse
Didnt work, it said "rm failed for /systesm/app/setcpu/setcpu.apk, Read0only file system"
irishrally said:
What ROM are you running? The ROM you are running probably installed setcpu to system so you would have to pull the old version using adb or you might be able to use a file explorer to find it and delete it.
Click to expand...
Click to collapse
I am using kang-o-rama 0.9
I went under /system/app and all I see is setCpuWidgetMod. There is not an app called just setCPU
sti-06 said:
Didnt work, it said "rm failed for /systesm/app/setcpu/setcpu.apk, Read0only file system"
Click to expand...
Click to collapse
Remount and then do it again.
Or download root explorer and browse to /system/app and delete the .apk from there.
mortzz said:
Remount and then do it again.
Or download root explorer and browse to /system/app and delete the .apk from there.
Click to expand...
Click to collapse
I have the astro mananger, browsed inside /system/app but there is not a file called setcpu.apk....
If you have root explorer, do a search for setcpu
Sent from my Liquid using Tapatalk
sti-06 said:
I have the astro mananger, browsed inside /system/app but there is not a file called setcpu.apk....
Click to expand...
Click to collapse
why does it say you cannot install? its the fault of the rom dev of including it in his build. see if you can find and delete the app from /system/app
it may be that mod that you mentioned
su
remount
rm /system/app/setCpuWidgetMod.apk
flybyme said:
why does it say you cannot install? its the fault of the rom dev of including it in his build. see if you can find and delete the app from /system/app
it may be that mod that you mentioned
su
remount
rm /system/app/setCpuWidgetMod.apk
Click to expand...
Click to collapse
From what I see it does not give me reason it just says "Install unsuccessful"
tried:
su
remount
rm /system/app/setCpuWidgetMod.apk
on terminal and gave me same error "Read only file system"
also, when I typed "remount, it said "remount not found"...
If u install it, and while its downloading click the progress bar to get to the setcpu description screen in market, it'll show u the reason it failed.
Most likely it'll say something like insufficient space - which actually is a result of it not being able to overwrite the existing apk thats installed. To find the actual apk try this
find / -name *setcpu*
You should get a list of all files with setcpu on your phone. rm -F the correct apk. If its on /system you will need to do 'adb remount' from your windows command prompt, then open a adb shell before you can delete it.
btw it may actually be these two:
rm /data/data/com.mhuang.overclocking
rm /data/app/com.mhuang.overclocking-1.apk
kam187 said:
If u install it, and while its downloading click the progress bar to get to the setcpu description screen in market, it'll show u the reason it failed.
Most likely it'll say something like insufficient space - which actually is a result of it not being able to overwrite the existing apk thats installed. To find the actual apk try this
find / -name *setcpu*
You should get a list of all files with setcpu on your phone. rm -F the correct apk. If its on /system you will need to do 'adb remount' from your windows command prompt, then open a adb shell before you can delete it.
Click to expand...
Click to collapse
Thanks. It says: "Package file was not signed correctly"
kam187 said:
btw it may actually be these two:
rm /data/data/com.mhuang.overclocking
rm /data/app/com.mhuang.overclocking-1.apk
Click to expand...
Click to collapse
I looked inside the /data/ with ASTRO but there is nothing in there...
Yeah not sure why astro shows it empty. It may be because it doesnt run with root privaledges and only requests them when you try to delete something.
Use adb to check.
sti-06 said:
Thanks. It says: "Package file was not signed correctly"
Click to expand...
Click to collapse
yes this is because the old one is installed.
Use ES file explorer...not sure if its root access will work on that rom but it should
flybyme said:
yes this is because the old one is installed.
Use ES file explorer...not sure if its root access will work on that rom but it should
Click to expand...
Click to collapse
U mean EStrongs File Explorer right?
sti-06 said:
U mean EStrongs File Explorer right?
Click to expand...
Click to collapse
yes
it would be best if you do it through adb though

[Q] Deleted LG-home, no backup.. now what?

First post! So hello,
I made a big screwup. First i rooted my lg-p990, next i deleted lg-home using Titatium Free. I did not backup my file. Also i never installed a new homescreen.
When finishing this action, the phone didnt respond anymore. Now it wont restart. It is still possible to connect to pc and view sd cards. Also it will restart bringing the installation sequence, but when finishing it, the phone stops responding again.
I realise i havent been very smart. But does anybody have a solution?
Im guessing you will have to push the apk through adb.... but as i have limited knowledge on this i would wait until someone more experienced gives you help!
Moonie17 said:
Im guessing you will have to push the apk through adb.... but as i have limited knowledge on this i would wait until someone more experienced gives you help!
Click to expand...
Click to collapse
thanks for your reply. I heard about this before, but dont have they faintest clue about how to deal with it.. I hope sombody can help me out
goaner33 said:
thanks for your reply. I heard about this before, but dont have they faintest clue about how to deal with it.. I hope sombody can help me out
Click to expand...
Click to collapse
Short answer for you:
1) Download my attachement
2) Rename it from .zip to .apk
3) Put in adb folder
4) Run:
adb remount
adb push LGLauncher.apk /system/app/
adb reboot
doesn't pushing apks to system/app require root? Correct me if I'm wrong
aMpeX said:
doesn't pushing apks to system/app require root? Correct me if I'm wrong
Click to expand...
Click to collapse
Yes it does, as well as removing /system apps
Piter1225 said:
Short answer for you:
1) Download my attachement
2) Rename it from .zip to .apk
3) Put in adb folder
4) Run:
adb remount
adb push LGLauncher.apk /system/app/
adb reboot
Click to expand...
Click to collapse
Thanks again for your reply.
My next problem is that i dont know how to operate adb. I've got android sdk installed, but cant find how to work with adb.. What to do?
-edit-
I did some more research, and i cant use the commandline to acces :\android-sdk-windows\tool. This path doesn excist. Neither am i sure if USB-debugging is activated on the phone. I cannot acces the phones menu, so i cannot check..
what to do....
goaner33 said:
Thanks again for your reply.
My next problem is that i dont know how to operate adb. I've got android sdk installed, but cant find how to work with adb.. What to do?
Click to expand...
Click to collapse
You need to use command line to enter the lines I've written
Piter1225 said:
You need to use command line to enter the lines I've written
Click to expand...
Click to collapse
There are a few problems:
First is that there is no adb map to be found. Second is that when i for example enter the command "adb remount" my system doesnt recognise the command..
Thanks for your efforts though
Well. You rooted the phone. So usb debugging is enabled. It has to be for super one click to work.
Sent from my LG-P990 using XDA Premium App
Try that
Go to C:/Windows/System32
Copy cmd.exe
Paste it in SDK folder, where the ADB.exe is
Than enter my commands
gensplejs said:
Well. You rooted the phone. So usb debugging is enabled. It has to be for super one click to work.
Sent from my LG-P990 using XDA Premium App
Click to expand...
Click to collapse
And what when i... and i dont know this for sure, turned usb debugging off...
goaner33 said:
There are a few problems:
First is that there is no adb map to be found. Second is that when i for example enter the command "adb remount" my system doesnt recognise the command..
Thanks for your efforts though
Click to expand...
Click to collapse
"adb remount" wont work untill we have a modded boot image.
anyway. I can help you remotely if you want. just write me a PM.
gensplejs said:
"adb remount" wont work untill we have a modded boot image.
anyway. I can help you remotely if you want. just write me a PM.
Click to expand...
Click to collapse
Dam... my bomgar server seems to be down... or i locked myself out :-(
But i can help you remotely tomorrow.
gensplejs said:
Dam... my bomgar server seems to be down... or i locked myself out :-(
But i can help you remotely tomorrow.
Click to expand...
Click to collapse
Wow, that would be great! i'll pm you for my contactinfo!
Piter1225 said:
Try that
Go to C:/Windows/System32
Copy cmd.exe
Paste it in SDK folder, where the ADB.exe is
Than enter my commands
Click to expand...
Click to collapse
Okee, i must sound liek a real noob. I cannot find this SDK folder and the only file that i can find that relates to adb is adb_usb.exe..
i know that i am a real pain in the ass
If you manage to get a working adb connection the commands you need to execute are. Please make sure that the phone is unlocked when typing su (you will get a su access prompt on the phone and need to press allow)
adb push LGLauncher.apk /sdcard/
adb shell
su
busybox mount -o,remount -rw /system
stop
cp /sdcard/LGLauncher.apk /system/app/
reboot
problem solve
E-mail download link of the LGhomeLaunger.apk
Download on you phone and install.
It works as new!
Ok i solved the problem, thanks for thinking along with me..
It seemed i could still recieve emails, so i just sent the lghome.apk as a downloadlink true email..
it worked!
i guess sometimes solutions are not always as dificult!
goaner33 said:
Ok i solved the problem, thanks for thinking along with me..
It seemed i could still recieve emails, so i just sent the lghome.apk as a downloadlink true email..
it worked!
i guess sometimes solutions are not always as dificult!
Click to expand...
Click to collapse
well...
that is not a permanent fix.
when you install that way it is only installed in user space... If you ever factory reset the phone you will be stuck without a launcher again... and probably no way to config ur email :-(
you need to put the launcher apk file on your sd card... and then copy it to the /system/app folder using root explorer.
If you do this it will be fixed even after a factory reset...
anyway. Next time just freez apps. Dont uninstall them. If they are only frozen you can allways factory reset to get them back.

[Q] Remove Android Market App - Yes, seriously!

OK, sounds like the most stupid question ever, but is there a way to remove the google android market from the vegan 5.1 build? I've tried the obvious (i.e uninstall through app manager) but it's greyed out.
I know most people are desperate to get the market app on and working, but I need it removed
Any ideas...? Thanks
Can't see why but...
From pc
adb remount
adb rm /system/app/Vending.apk
adb reboot
Or in shell
#su
#cd /system/data
#rm Vending.apk
#reboot
Sent from my HTC Vision using XDA App
connoisseur said:
Can't see why but...
From pc
adb remount
adb rm /system/app/Vending.apk
adb reboot
Or in shell
#su
#cd /system/data
#rm Vending.apk
#reboot
Sent from my HTC Vision using XDA App
Click to expand...
Click to collapse
fab, thanks! I know it's crazy, but there is method in my madness
Cheers
archos 101
hey
i am maybe the bigest noob in developing in android. but where do i put those commands on my pc?
Easiest way to do it is to download a root browser from the market or sideload it. Open root browser. Go ti root. System. Data. Apps. Delete vending.apk.
Sent from my DROID3 using xda premium
thnx for the fast reply
but if i open the root folder it is empty. do i need to root my device for this of something like this or is it something else?'
btw i use an archos 101 g9 whit android 3.2 honeycomb
sacratus91 said:
thnx for the fast reply
but if i open the root folder it is empty. do i need to root my device for this of something like this or is it something else?'
btw i use an archos 101 g9 whit android 3.2 honeycomb
Click to expand...
Click to collapse
Yes, you will need to be rooted to remove System apps.

ADB and Ubuntu 11.04

First thanks to the guys helping with this in a thread that was started for another problem.
But, I still can't get adb to work. I've installed jre,jdk, and sdk with a lot of packages ( all from the Android repo and a couple from the 3rd party one). My problem isn't having the right software. My problem is I don't know how to you're out the file path in Ubuntu. On my windows position, I know that it's C:/adb. But I don't know how to type my file location in Linux. Right now, the Android-sdk-linux_x86 folder is in my home folder. I can navigate there by pointing and clicking, but how do I type that in my terminal?
Cd /home/android adb location
Sent from my GT-I9000 using xda premium
Someone with more Linux experience will probably correct me, but I believe it's:
cd /home/(your username)/adb
(bulletproof caught the CD thing)
And/or you can add that to your path...or you can move adb to something like /usr/bin...
Sent from my GT-I9000 using xda premium
mrhaley30705 said:
First thanks to the guys helping with this in a thread that was started for another problem.
But, I still can't get adb to work. I've installed jre,jdk, and sdk with a lot of packages ( all from the Android repo and a couple from the 3rd party one). My problem isn't having the right software. My problem is I don't know how to you're out the file path in Ubuntu. On my windows position, I know that it's C:/adb. But I don't know how to type my file location in Linux. Right now, the Android-sdk-linux_x86 folder is in my home folder. I can navigate there by pointing and clicking, but how do I type that in my terminal?
Click to expand...
Click to collapse
As bulletproof said, you can add it to your path, which if you're going to be using it a lot is the best solution. Then you could type adb from anywhere you are and it would work. Otherwise, you cd ~/Android-sdk-linux_x86/platform-tools, then the first time you run it do sudo ./adb start-server. From there on, you can just do ./adb insertcommandhere if you don't add it to your path. If you do add it to your path, you don't need the ./
ok, tried that, and i keep getting no such file or directory.
mrhaley30705 said:
ok, tried that, and i keep getting no such file or directory.
Click to expand...
Click to collapse
first off.
rename your SDK folder
keep it simple. i just name mine sdk in my home directory
then i add it to my path
i want to point you to a thread that i have been pushing a lot lately. it is how to setup and configure your ubuntu machine to compile CM7. it is oriented to htc devices, and more specifically the Desire Z/G2
http://forum.xda-developers.com/showthread.php?t=915435
the key part to read and comprehend is the part where you configure your ADB. you dont HAVE to do all the other stuff, but its all good info to have for the future.
its not as complicated as you are making it out to be, you just need to take the few extra minutes to understand it.
~ represents your home folder
cd ~/sdk/platform-tools
takes me to my adb executable, although by following the guide i mentioned above, i can run adb commands from anywhere within my OS, and i dont have to use sudo.
That no such directory IS due to there being spaces in the file path
Sent from my I897 using xda premium
Ok, I think I understand. I will give ita shot tomorrow. Would hit both of you with another thanks, but i've ran out today.
Update:
Thanks Pirateghost, that got it for me. Between you and sixstring I have adb working. One more question, do I have to restart the adb server everytime I use adb?
mrhaley30705 said:
Update:
Thanks Pirateghost, that got it for me. Between you and sixstring I have adb working. One more question, do I have to restart the adb server everytime I use adb?
Click to expand...
Click to collapse
you shouldnt.
Bump........
You shouldn't have to restart the server. When I switch between my phone and tablet, I just type adb devices to make sure its seeing the new device.
Sent from my SGH-I897 using Tapatalk

Categories

Resources