Welcome to the Android Central Forums Create Your Account or Ask a Question Answers in 5 minutes - no registration required!
Results 1 to 19 of 19
  1. Thread Author  Thread Author    #1  

    Question How to uninstall youtube

    Hi guys,
    I have just bought my wife a fascinate and i have managed to root it. Now she does not wnat youtube as she never uses it. Can someone tell me what the command line should be for uninstalling it or even what the apk name for it is? Thanks so much.
    By the way I am a noob to android so thanks for a great site and awesome info. Here is where I learned to root.
  2. #2  

    Default

    I havent gotten into any of this yet, but I assume from a command line you should just be able to rename it to whatever.

    eg. "mv name.name" to "name.name.bak"

    perhaps? not sure without researching.
    Thanked by:
    jhm83 
  3. #3  

    Default

    sdmf has the right idea.

    ** You need a root-enabled File-manager or terminal **

    Navigate to /system/app
    Rename Youtube.apk to Youtube.apk.bak (or whatever)

    Youtube app should now be gone from app list. It's still taking up space, but its best to leave it as is, as I've heard of some phones refusing to accept OTA firmware updates if all the stock apps are not found. You can just rename it back from "Youtube.apk.bak" to "Youtube.apk" if she ever wants it back / need to update stock firmware.
  4. Thread Author  Thread Author    #4  

    Default

    Quote Originally Posted by Japots View Post
    sdmf has the right idea.

    ** You need a root-enabled File-manager or terminal **

    Navigate to /system/app
    Rename Youtube.apk to Youtube.apk.bak (or whatever)

    Youtube app should now be gone from app list. It's still taking up space, but its best to leave it as is, as I've heard of some phones refusing to accept OTA firmware updates if all the stock apps are not found. You can just rename it back from "Youtube.apk.bak" to "Youtube.apk" if she ever wants it back / need to update stock firmware.
    ok I tried the rename command and it said rename not found. i am using terminal emulator. I also tried the /system/app and that brought up permission denied. Not sure what to do now? I think I may be using the wrong command lines or something.
  5. #5  

    Default

    rename command in unix is "mv"
    /system/app/ folder is owned by root, hence why you need a root-enabled file-manager or terminal. I used "Root Explorer" from the marketplace, but it isnt free. I'm fairly sure theres a free alternative there somewhere.
  6. #6  

    Default

    yah no rename command. If rooted you should be able to type this (provided the app you want to remove is youtube.

    eg

    mv youtube.apk youtube.apk.bak
    Thanked by:
    jhm83 
  7. Thread Author  Thread Author    #7  

    Default

    ok i tried the command line mv youtube.apk youtube.apk.bak. After i pressed enter it said failed on 'youtube.apk' - no such line or directory
    I am now trying to use android terminal off of the market. Do I have to cd to a different directory or what am I doing wrong.
    I also tried to navigate to /system/app and it said permission denied. I am rooted because i have superuser installed as well as busybox.
    I also tried ls/data/app and ls/system/bin and it brought up cd: HOME not set. Sorry but I am thoroughly lost.
  8. #8  

    Default

    You need to.be in the correct dir to be able to rename. If i get some time later i will investigate and report back. Ls to list diectory...

    Sent from my SGH-T959D using Tapatalk
    Thanked by:
    jhm83 
  9. #9  

    Default

    Quote Originally Posted by jhm83 View Post
    ok i tried the command line mv youtube.apk youtube.apk.bak. After i pressed enter it said failed on 'youtube.apk' - no such line or directory
    You're in the wrong directory. Are you doing the command in /system/app ? Furthermore, Unix is case sensitive, and it's "Youtube.apk" with a capital Y

    Quote Originally Posted by jhm83 View Post
    I am now trying to use android terminal off of the market. Do I have to cd to a different directory or what am I doing wrong.
    I also tried to navigate to /system/app and it said permission denied.
    /system/app is owned by root. You need root privileges to cd into it. Check the android terminal app settings to see how you can enable root.

    Quote Originally Posted by jhm83 View Post
    I am rooted because i have superuser installed as well as busybox.
    I also tried ls/data/app and ls/system/bin and it brought up cd: HOME not set. Sorry but I am thoroughly lost.
    It's good that you're rooted. When running an application that requires root, a notification should pop up saying "<application name> has been granted SuperUser permissions. When running the terminal or a backup app with a gui, you need to see that notification to know that it's using root privileges.

    Otherwise, you're not able to access /system/app folder. You need to be in that folder before you do the mv command.
    Thanked by:
    jhm83 
  10. Thread Author  Thread Author    #10  

    Default

    Quote Originally Posted by Japots View Post
    You're in the wrong directory. Are you doing the command in /system/app ? Furthermore, Unix is case sensitive, and it's "Youtube.apk" with a capital Y



    /system/app is owned by root. You need root privileges to cd into it. Check the android terminal app settings to see how you can enable root.



    It's good that you're rooted. When running an application that requires root, a notification should pop up saying "<application name> has been granted SuperUser permissions. When running the terminal or a backup app with a gui, you need to see that notification to know that it's using root privileges.

    Otherwise, you're not able to access /system/app folder. You need to be in that folder before you do the mv command.
    Ok thanks so much. I love playing with tech stuff but am really lost with Linux. I will try this tomorrow and let you all know how it went. Thanks again for all the great help. The people on this forum are great.

    I just quick tried it here and where I was going wrong was that I did not type in su first. When i did that it granted me superuser permission. I tried the rename command ( mv ) and remove command ( rv ) and i keep getting read only file system messages. any sugestions?
  11. #11  

    Default

    I downloaded the terminal emulator just to try it out for myself. Used su to get superuser permissions and tried to do the mv and got the same error. Turns out the entire /system/ folder is mounted to be read-only. I used Root Explorer (paid app) to remount it to read-write so I could rename but I always assumed that was just a safety net of the app.

    Try the command below at your own risk

    su
    mount -o remount,rw /dev/mtdblock3 /system
    cd /system/app/
    mv Youtube.apk Youtube.apk.bak
    mount -o remount,ro /dev/mtdblock3 /system

    su gives you superuser permissions
    mount remounts the entire /system/ folder with read/write access which should allow the mv
    second mount command returns the system back to normal
  12. #12  

    Default

    Hmph - weird. Im rooted and when I try to 'su' in terminal I get permission denied. Strange days these are....
  13. #13  

    Default

    Do you have the SuperUser app installed? Most root methods install the app for you, but if it didn't you can download it from the market.
  14. #14  

    Default

    Doh! Thats right I manually rooted. Thanks bud

    Sent from my SGH-T959D using Tapatalk
  15. Thread Author  Thread Author    #15  

    Thumbs up

    Quote Originally Posted by Japots View Post
    I downloaded the terminal emulator just to try it out for myself. Used su to get superuser permissions and tried to do the mv and got the same error. Turns out the entire /system/ folder is mounted to be read-only. I used Root Explorer (paid app) to remount it to read-write so I could rename but I always assumed that was just a safety net of the app.

    Try the command below at your own risk




    su gives you superuser permissions
    mount remounts the entire /system/ folder with read/write access which should allow the mv
    second mount command returns the system back to normal
    Thanks for the help. I finally got my copy of root explorer ( it took forever for the transaction to go through google checkout ) and used it to remount the system file to RW. Then I tried the command above and it gave me a no such file message. So I looked again through root explorer at the youtube app name and it turns out that on this phone it was named YouTube.apk.

    So if anyone wants to do the above command and you get a no such file message just try YouTube.apk instead of Youtube.apk

    Not knocking you at all Japots Thanks for all the help resolving my isssues and putting up with a newbie.
  16. #16  

    Default

    You can actually rename files from within root explorer (long press on file name). I used it to rename a bunch of crap that came pre-installed. Much easier than typing on a touchscreen

    I should have double checked the actual apk name before posting those instructions, haha. Either way, good to hear you finally got it resolved.
  17. Thread Author  Thread Author    #17  

    Default

    thanks for the tip about root explorer. I might have to try that out. I want to learn how to use Linux code so maybe do it manually till I am a little better at it lol.

    So just wondering if I rename a buch of files does it actually mean that they are no longer using memory or are they just not visible anymore?
  18. #18  

    Default

    Renaming .apk files is equivalent to deleting/moving them. Since the Android OS is expecting .apk extension to signify application packages, changing the extension will prevent the OS from finding/running it.

    You can verify by going into Settings > Applications > Manage Applications and checking the "Running" tab.

    As a result, be sure that what you're renaming is safe to disable, otherwise, you might unknowingly disable some core functionality.
    Thanked by:
    jhm83 
  19. #19  

    Default can you please do me a quick favor

    I've rooted my phone and flashed a custom ROM (AOKP) and it does come with the original YouTube app that came on our nexus 4 and I wish to install that one than the one that is on the play store. Their different because it does come with connect TV option can you please send me it at [email removed] thanks.

Posting Permissions