1. You want that $100.00 in your pocket or an Amazon Fire TV don't you? Well here's the deal. With our new updated look we are in desperate need of an updated logo. The 'old' one has certainly served us well, but it's time. Find all the details here: bit.ly/1q0k6Wa
  2. DroidForums.net is currently undergoing a major software upgrade. If you are experiencing any problems logging in please: Contact Us

Going back to stock.

Discussion in 'Droid X Tech Support' started by shadesdragon, Dec 24, 2010.

  1. shadesdragon
    Offline

    shadesdragon New Member

    Joined:
    Dec 23, 2010
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    0
    I rooted my droid x when froyo came out and it was great. Bloatware was frozen with tibackup. I unfroze the apps and I recently tried to do the new update and it downloads, reboots, triangle with ! droid comes out half way and eventually I get a message that the update failed. I went back and noticed that some of the applications were missing, found out that my room mate removed them... what they were I haven't a clue... so I decided the best thing to do was to go back to stock... and apparently I have no clue on how to do this. I tried the settings --> privacy --> factory data reset and I even tried the hard button hold power and home button method for resetting but the apps don't come back. What are my other options?
  2. joeshell20
    Offline

    joeshell20 Member

    Joined:
    Oct 29, 2010
    Messages:
    104
    Likes Received:
    0
    Trophy Points:
    16
    What you need to do is find out which apps your roomy removed.

    Then download the apk files from
    http://androidforums.com/droid-x-all-things-root/131207-full-list-apps-apks-removable-non-removable-root.html

    Then you will need to open a terminal and install each apk you removed to the /system/app directory.

    This happened to me as well so this is how I fixed it.
    1.Copy all the apks that you need to install to the root of your sdcard.
    2. Screenshot, and print the web page from above and highlight the names of the packages you need.
    3. Open terminal
    Su (hit enter)
    #mount -o remount,rw -t ext3 /dev/block/mmcblk lp21 /system (hit enter)
    chmod 777 /system/apps (hit enter)
    cat /sdcard/filename.apk > /system/apps/filename.apk (hit enter)
    4. After you have finished installing all the packages, type reboot and press enter.
    Hope this helps. Obviously you do this at your own risk. Make sure you spell the package names exactly as they appear.
    Sent from my DROIDX using DroidForums App
  3. shadesdragon
    Offline

    shadesdragon New Member

    Joined:
    Dec 23, 2010
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    0
    I appreciate your help. So I copy the files over by making /system/apps permissions 777, don't I have to set the original permission back before I reboot or undo something else?
    I ended up missing 4 apps with 2 that were "re-installed by him" from the market place. amazonmp3_1.8.11_signed_zipaligned.apk, Blockbuster.apk, CityID.apk and redding-7648-signed-zipped.apk

    What is redding-7648 ?
  4. joeshell20
    Offline

    joeshell20 Member

    Joined:
    Oct 29, 2010
    Messages:
    104
    Likes Received:
    0
    Trophy Points:
    16

    That is why you have to reboot. I am not an expert in any right. I was just trying to help. As far as what the redding-7648 is, you could just google it to find out what it is. And yes when you install apps from the market, they are not installed where the default apps are stored. So if you install cityid from market, then did a hard reset. It wouldn't be there. When you perform a hard reset, you are telling your phone to undo all the stuff I have done. So it wipes out all the apps you install, system settings, accounts and so on and so on. Using the method I gave you earlier would add the app to the system, and not the area that gets whipped out during a hard reset. Have you ever noticed that after you are rooted, when you attempt a hard reset, the superuser app is still there? The method I shared with you was pieced together from other post in the lg ally and droidx forums. So the information is available to anyone that can read and understand what they actually need to accomplish. Word of caution: If you ever run into a situation were you have done something that has bricked your phone, sbf files are supposedly there for you to unbrick. However, I attempted to flash the wrong file and I screwed myself. If you try to flash the sbf that is older than the version that was on your device, the flash will be successful, but your phone will still not boot.
    Sent from my DROIDX using DroidForums App
  5. shadesdragon
    Offline

    shadesdragon New Member

    Joined:
    Dec 23, 2010
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    0
    The mount command seems to need a different format. it's not working for me.
  6. joeshell20
    Offline

    joeshell20 Member

    Joined:
    Oct 29, 2010
    Messages:
    104
    Likes Received:
    0
    Trophy Points:
    16
    Ok try putting rw,remount instead of remount,rw

    Sent from my DROIDX using DroidForums App
  7. shadesdragon
    Offline

    shadesdragon New Member

    Joined:
    Dec 23, 2010
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    0
    Darn. Wish I had read that sooner. Well, here is what I did. I installed 3 free applications from the market place. BusyBox Installer, Super Manager and Terminal Emulator. I gave Super Manager root permissions in the settings section, I changed the permissions on /system/app and I copied the 4 missing .apk files over. Using Terminal Emulator I then went in and changed the owner and group to root and root like so:

    chown root.root insert_application_name.apk

    Now that everything is installed I want to make sure I don't end up in an endless reboot cycle if I ever have to turn off my phone because some file permissions were screwed up in the process.

    Respectively, what should the

    /system
    /system/app
    /system/app/*.apk

    users be and permissions be set to?
  8. maderschramm
    Offline

    maderschramm New Member

    Joined:
    Jul 2, 2010
    Messages:
    672
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Madison, WI
    man, this is way more complicated than just sbfing your phone. Follow my tutorial and use the right file, it'll take an hour if you do it right.

    all you need to know:
    30.04 bootloader - .320 full sbf
    30.03 bootloader - 2.2 full sbf or .320 sbf
  9. joeshell20
    Offline

    joeshell20 Member

    Joined:
    Oct 29, 2010
    Messages:
    104
    Likes Received:
    0
    Trophy Points:
    16
    Not sure why you would want to change permisions and groups. I would't go messing with that.

    Sent from my DROIDX using DroidForums App
  10. joeshell20
    Offline

    joeshell20 Member

    Joined:
    Oct 29, 2010
    Messages:
    104
    Likes Received:
    0
    Trophy Points:
    16
    And what if you already got vzw latest ota to .340? There is not an sbf for that yet. I spent two hours digging through the forums, and found out the hard way. I only had to sbf my phone because after this update, my phone became so slow I couldn't use it. Then guess what, brick a roo. Big red only sent me a replacement because I convinced them I had signal issues.



    Sent from my DROIDX using DroidForums App
  11. shadesdragon
    Offline

    shadesdragon New Member

    Joined:
    Dec 23, 2010
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    0
    Although complicated. For my own sanity of complications. :) I'd still like to know what the permissions should be set to. I also don't think that using the sbf method would work for my phone since the usb seems to disconnect at random probably due to a certain someone (I hate roommies) disconnecting the usb cable improperly so I don't want to risk it.
  12. joeshell20
    Offline

    joeshell20 Member

    Joined:
    Oct 29, 2010
    Messages:
    104
    Likes Received:
    0
    Trophy Points:
    16
    I really would not mess with ownership and groups, you are asking for it. The only reason that you chmod the system/apps folder is to write to it. After you reboot, the permission to /system/apps is reset to read only. Groups and file permissions are two separate parts that go together. But you are left to your own devices. If you brick your phone screwing with the file system. Big red will tell you do a hard reset.....oops that don't fix it. Sorry you will have to send it in, also sorry, you will have to pay for the cost of repair. I am just a guy that likes to fix his own problems, usually ones that I have caused. I have learned that you shouldn't remove bloatware, because if Verizon sends out an ota, the update will probably fail. When you get your phone back to stock, just use adw launcher to hide the apps you don't use. Just some friendly advise.

    Sent from my DROIDX using DroidForums App
  13. shadesdragon
    Offline

    shadesdragon New Member

    Joined:
    Dec 23, 2010
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    0
    It's pretty simple really. I just want to know if the below permissions match the permissions you have. In case there was something I did wrong.

    drwxr-xr-x root root 2010-12-26 23:59 system

    drwxr-xr-x root root 2010-12-26 23:40 app

    -rw-r--r-- root root 552247 2010-08-20 14:01 CityID.apk
  14. joeshell20
    Offline

    joeshell20 Member

    Joined:
    Oct 29, 2010
    Messages:
    104
    Likes Received:
    0
    Trophy Points:
    16
    That is something that I can honestly say that I know nothing about. I don't even know how you see permissions in terminal.


    Sent from my DROIDX using DroidForums App
  15. maderschramm
    Offline

    maderschramm New Member

    Joined:
    Jul 2, 2010
    Messages:
    672
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Madison, WI
    if you're on the newest update, use the .320 sbf then you can ota to .340 or flash the .340 system only sbf after the .320
    also, as long as you create a nand backup, you can nuke your bloatware, just restore to your clean backup before ota. that's how I roll


  16. shadesdragon
    Offline

    shadesdragon New Member

    Joined:
    Dec 23, 2010
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    0
    When you open up a terminal you can use the command pwd. pwd will tell you what your present working directory is.

    Example:
    $ pwd
    /
    This tells me I am at the root of the file system.


    To change to another directory you use the command cd

    Example:
    $cd /system
    $ pwd
    /system

    Once in that directory to see a listing on the terminal type the following command

    $ ls -l

    This will give you a long listing of all the files and permissions/ownership of each file in your current directory.

    If you want to send that output to a text file you can do this:

    ls -l >> /mnt/sdcard/mylisting.txt

    You can then open this document up in wordpad (note pad will give bad formatting unless you run something like a unix2dos tool on the document).
  17. shadesdragon
    Offline

    shadesdragon New Member

    Joined:
    Dec 23, 2010
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    0
    Ok maderschramm. I tried everything that these forums and others said about reinstalling the application and the error I get when updating is


    assert failed: apply_patch_check("system/app/CityID.apk",
    with a bunch of number and a blur issue.

    Seems like there is some version checks that the patch is looking for and failing on them. Doesn't look like I have a choice but to go with the sbf method and risk it with my usb issue.

    so here it goes...

    I have bootloader 30.03,
    System version 2.3.15
    Android 2.2

    downloaded rsdlite 4.8
    downloaded VRZ_MB810_2.3.15_1FF_01.sbf

    Sound about right?


    .........and all I need to do is follow your instructions to:


    • Install RSD_Lite
    • Boot your phone into the bootloader using the previous instructions (Hold Down + Camera Button while holding power)
    • Connect phone to computer using USB Cable
    • Open RSD_Lite (you must run as admin for it to work, 4.8 automatically runs as admin I believe)
    • Click the “...” button and select the .sbf file you placed on your desktop
    • Click start to begin the flashing process after you've confirmed your device and .sbf file with RSD_Lite (sometimes changing the Device ID helps RSD_Lite find the device)
  18. maderschramm
    Offline

    maderschramm New Member

    Joined:
    Jul 2, 2010
    Messages:
    672
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Madison, WI
    Looks like you got it straight my man. Good hunting.
  19. shadesdragon
    Offline

    shadesdragon New Member

    Joined:
    Dec 23, 2010
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    0
    Awesome. I'll give this a shot tonight.
  20. shadesdragon
    Offline

    shadesdragon New Member

    Joined:
    Dec 23, 2010
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    0
    Ok. Flashing seemed to have gone well. I received a blue triangle, can't browse the net and can't make calls so I dialed *228 and attempted to activate my phone. Said a special call needed to be made blah blah blah... then it immediately disconnected and said activation was unsuccessful. They seem to be doing maintenance or something so I will try again later today.