[Q] Unrooted and needing help removing ClockworkMod Recovery. - Droid X General

I've rooted then unrooted with super one click but still had superuser icon so I just dropped into trash. All was good then so I decided to uninstall/delete everything associated with root including going into astro and deleting (hope this isn't the downfall) clockwork folder holding backup... Now 1st time shutting down after doing all this last night then booting up this morning I'm still getting the clockworkmod recovery green screen to reboot system now. Only thing I can see left is in phone settings>applications>mng apps>all tab> is Terminal Emulator. So of course my ? is how the hell do I get rid of this?? Someone recommended reroot then delete logwrapper.bin to logwrapper. I really don't want to SBF flash so any other recommendations would be greatly appreciated.
Running OTA 2.2

i would sbf just to be safe man if you try deleting stuff and accidently delete something wrong it wouldnt be good and then you would have to sbf anyways so i say just sbf and start from a clean slate. besides that i got nothing!

Try the following:
UNINSTALL the Recovery APK (Droid X Bootstrapper) in Settings, Applications
Reboot
Root Phone
Run "adb shell"
Run "su"
Run "mount -o remount,rw /dev/block/mmcblk1p21 /system"
Run "cp /system/bin/logwrapper.bin /system/bin/logwrapper"
Reboot

GSBJackson said:
Try the following:
UNINSTALL the Recovery APK (Droid X Bootstrapper) in Settings, Applications
Reboot
Root Phone
Run "adb shell"
Run "su"
Run "mount -o remount,rw /dev/block/mmcblk1p21 /system"
Run "cp /system/bin/logwrapper.bin /system/bin/logwrapper"
Reboot
Click to expand...
Click to collapse
Does this work??

TheSwig said:
Does this work??
Click to expand...
Click to collapse
Yes, this will work.
Removing BOOTSTRAP COMPLETELY
If you would like to completely remove Droid X bootstrap from your phone, here is what you need to do:
1) connect your phone to ur pc in charge only mode. Make sure it is recognized by adb
A) open command prompt and type "adb devices" (hit enter, your phone should show up)
2) in the command prompt, type "adb shell" (press enter)
3) type "su" (press enter)
4) type "mount -o rw, remount /dev/block/mtdblock4 /system" (press enter)
5) type "cp /system/bin/logwrapper.bin /system/bin/logwrapper"(press enter)
6) type "adb reboot" (press enter)
Your phone will reboot after typing adb reboot, and may take a little bit longer to boot the first time after bootstrap is removed (it may not, I just haven't gone through this process in a while).
Bootstrap should now be completely removed.
Note: all text in quotes is just what you should type...do not include the quotation marks when entering commands.
Disclaimer: I take no responsibility if you mess up your phone. Typing these commands incorrectly CAN mess up your phone. By following these directions, you do so at your own risk.

What can i use to do this? I dled terminal emulator but i cant get it root access for some reason, also tried sshdroid but i dont know how to connect to it from my mac....any help?

Nope, im not getting anything...i granted terminal emulator super user permissions and i tried it through sshdroid, but when i type mount -o .... all i get is the mount usage script...

I don't think he meant for you to use terminal emulator on your phone. Try using command prompt on a PC or terminal on a Mac.
Sent from my DROIDX using XDA App

dwray said:
I don't think he meant for you to use terminal emulator on your phone. Try using command prompt on a PC or terminal on a Mac.
Sent from my DROIDX using XDA App
Click to expand...
Click to collapse
Yes, use a command prompt or terminal on Mac

GSBJackson said:
Try the following:
UNINSTALL the Recovery APK (Droid X Bootstrapper) in Settings, Applications
Reboot
Root Phone
Run "adb shell"
Run "su"
Run "mount -o remount,rw /dev/block/mmcblk1p21 /system"
Run "cp /system/bin/logwrapper.bin /system/bin/logwrapper"
Reboot
Click to expand...
Click to collapse
Welp...I tried this...guess what...stuck in a boot loop. Any suggestions?
I have the r2d2 droid 2. I suppose I'll have to SBF it...I'm looking for the file now (if it's even available.)

osufans said:
Welp...I tried this...guess what...stuck in a boot loop. Any suggestions?
I have the r2d2 droid 2. I suppose I'll have to SBF it...I'm looking for the file now (if it's even available.)
Click to expand...
Click to collapse
Yes there should be one you can find on mydroidworld I believe
Sent from my DROIDX using XDA App

SBF is the way to go

Related

[SOLVED]Just flashed latest 0.3 ROM - no root?

EDIT: SOLVED
I just flashed the latest ROM but when I enable debugging and type "adb shell" im getting "$" instead of "#"...? I'm trying to remount the filesystem "mount -o rw,remount /dev/block/mtdblock3 /system" but am getting access denied because of this.
Do I need to try reflashing?
you need to adb shell then type "su" to get to a root shell i believe
EDIT: SOLVED! I was too blind to notice i had to allow the root request on my phone. thanks!
after i type 'adb shell' and get "$" everything i type next just gets echoed
ex:
Code:
$ su
su
test
test
etc
gohamstergo said:
EDIT: SOLVED! I was too blind to notice i had to allow the root request on my phone. thanks!
after i type 'adb shell' and get "$" everything i type next just gets echoed
ex:
Code:
$ su
su
test
test
etc
Click to expand...
Click to collapse
Usually if you have root, adb shell will automatically grant root access...the notification on the phone is a new one to me...
xsnipuhx said:
Usually if you have root, adb shell will automatically grant root access...the notification on the phone is a new one to me...
Click to expand...
Click to collapse
It seems to be caused by the "Superuser Permissions" app, included with the ROM

unrevoked + hosts editing "Directory not empty"

Hello, I rooted with unrevoked and then flashed the rom liberated_aria_FR006_signed.
I booted through clockwork and mounted /system /data /sdcard and then connected to my pc via usb, through the command prompt and adb I tried:
cp /sdcard/hosts /data/data/hosts
rm /system/etc/hosts
ln -s /data/data/hosts /system/etc/hosts
when I do rm /system/etc/hosts it says:
rm: can't remove '/system/etc/hosts': Directory not empty
What's wrong? Is /system not full perms through clockwork or is it a unrevoked root problem.
Thanks!
G226 said:
Hello, I rooted with unrevoked and then flashed the rom liberated_aria_FR006_signed.
I booted through clockwork and mounted /system /data /sdcard and then connected to my pc via usb, through the command prompt and adb I tried:
cp /sdcard/hosts /data/data/hosts
rm /system/etc/hosts
ln -s /data/data/hosts /system/etc/hosts
when I do rm /system/etc/hosts it says:
rm: can't remove '/system/etc/hosts': Directory not empty
What's wrong? Is /system not full perms through clockwork or is it a unrevoked root problem.
Thanks!
Click to expand...
Click to collapse
Lol...the error tells you exactly what's wrong...but kinda weird since the hosts is a file not a directory...so I can only assume that there are some permission issues...navigate to the /system/etc directory and do a "ls -al" and see what the permissions are for the hosts file...it'll be on the left side of the results of the ls.
Sent From My HTC Aria Using XDA App
Oh fyi...I'm dumb...are you already rooted? I dunno much about adb but you MIGHT have to run the above command through a terminal program on your phone...
Sent From My HTC Aria Using XDA App
I'm rooted but it's through unrevoked as mentioned, does that give me the proper permissions if I adb through clockwork recovery?
If not what would? I'll do a "ls -al" in a little.
G226 said:
I'm rooted but it's through unrevoked as mentioned, does that give me the proper permissions if I adb through clockwork recovery?
If not what would? I'll do a "ls -al" in a little.
Click to expand...
Click to collapse
I'm not sure...as I said im not too familiar with adb...I do know if you have a terminal program on your phone just open it, type the following:
su
cd /system/etc
ls -al
Once you so the ls, if you aren't familiar with *nix, you'll see the following:
-rw-r--r-- 1 root root 25 Aug 1 2008 hosts
Along with a bunch of other lines similar to this, this is the line I'd like to see though
Sent From My HTC Aria Using XDA App
Thanks for the help so far, I did what you said and after doing "ls -al" it said :
-al: No such file or directory
If I do a plain "ls" command it'll list all the files/folders in the system dir.
G226 said:
Thanks for the help so far, I did what you said and after doing "ls -al" it said :
-al: No such file or directory
If I do a plain "ls" command it'll list all the files/folders in the system dir.
Click to expand...
Click to collapse
1 are you doing this in adb or terminal?
2 are you typing "ls -al" with a space? And "al" as in alpha lima?
3 are you in the etc directory?
Sent From My HTC Aria Using XDA App
I did as you instructed, used the terminal program app and tried these commands through there, I'll try adb.
Thanks.
Well the only reason I asked was because ls -al is a legit command lol...I dunno of another way to view the permissions of files...I also don't know if there is a way or not through adb, Google may be your friend in regards to that...
Sent From My HTC Aria Using XDA App
This may be related to busybox on the phone. Can you do an "echo $PATH" from the adb shell and paste the results here?
So from the command prompt you would enter "adb shell" this should give you a new prompt like this #. At this prompt type "echo $PATH" without the quotes. Maybe you do not need all these instructions, sorry.
I see this all the time, from all the noobs (myself included)
First off the ARIA still has S-ON security, so if you are writing to /system/ you _NEED_ to be properly booted into recovery - otherwise you will not have write permissions. its in the FAQ but still completely overlooked. There is a post about this every day i swear.
STEP 1) UNPLUG THE USB <----- CRITICAL
STEP 2) POWER DOWN THE PHONE <----- AFTER STEP 1!!!!!!
STEP 3) HOLD VOLUME DOWN + PRESS POWER to load hboot
STEP 4) SELECT recovery to start clockwork
STEP 5) partitions --> mount --> /system/
STEP 6) connect USB
STEP 7) adb shell
edit: if you shortcut into recovery by just leaving the USB plugged in while you power down - you will not have full permissions.
dexmix said:
I see this all the time, from all the noobs (myself included)
First off the ARIA still has S-ON security, so if you are writing to /system/ you _NEED_ to be properly booted into recovery - otherwise you will not have write permissions. its in the FAQ but still completely overlooked. There is a post about this every day i swear.
STEP 1) UNPLUG THE USB <----- CRITICAL
STEP 2) POWER DOWN THE PHONE <----- AFTER STEP 1!!!!!!
STEP 3) HOLD VOLUME DOWN + PRESS POWER to load hboot
STEP 4) SELECT recovery to start clockwork
STEP 5) partitions --> mount --> /system/
STEP 6) connect USB
STEP 7) adb shell
edit: if you shortcut into recovery by just leaving the USB plugged in while you power down - you will not have full permissions.
Click to expand...
Click to collapse
3 sleepless nights later and dexmix comes to the rescue. This drove me crazy man, I just could not find the answer. Thanks!! Bed time!

Uninstall WaveSecure system app?

Hi I have been trying all evening to remove com.wsandroid.apk from my phone, using terminal but I simply cannot. I've tried many different commands and I'm just being told either permission denied, directory not found/not empty. I have a Wildfire which is obviously rooted. Please help me out, tearing my hair out here.
So you're using modaco custom rom?
Download the latest version of HTC Sync and install. This will also install the adb drivers. (I presume you use windows, if not, I apologise)
Download the Android SDK
Put the phone in fastboot mode (Power+Volume down) and plug it into your computer.
When the drivers are installed, use the command prompt to navigate to the tools folder within the android sdk folder.
Type the following commands, pressing enter at the end of each line:
adb shell
mount -o rw,remount -t yaffs2 /dev/block/mtdblock03 /system
cd app
rm -r com.wsandroid.apk
That should do it
I'm using the stock ROM but it is rooted with Unrevoked. I'll try these instructions anyway.
- Connect your phone to the PC
- Clear WaveScure's cache on the phone
- Open a command prompt
- go to run go to C:\androidSDK\tools and then run these 2 commands
1. adb remount
2. adb shell rm /system/app/*wsandroid*
Click to expand...
Click to collapse
I'm trying these settings, but when I get to adb remount, I get this error: remount failed: Operation not permitted
EDIT: I put the phone into recovery mode and mounted it and it said remount succeeded, I then followed step 2. both *wsandroid* and com.wsandroid.apk and it says that they cannot be found.
EDIT: Nevermind, deleted it
There's currently no write access to system partition using Unrevoked on Wildfire. So you can't remove it. You flashed it with update.zip? I'm not an expert (yet) but I assume the only way (or easiest way) to remove it is to flash your stock ROM again.

[Q] Need help with 2.3.340 notification

I have a rooted deodexed phone and I keep getting the notification to update to 2.3.340 which I don't want to do. My phone runs flawlessly as it is and I don't want to change it. How do I stop the notification from asking me every hour if I want to update now or later?
Thanks
I take it there is no choice except do the update or be nagged by the phone every hour saying an update needs to be installed. If the update fails will it ask to update again? If not could I just force a failure to stop it from nagging me?
I just used root explorer to delete the update from /cache and I have/n't had any issues. I'm still on2.3.15
If you don't have ro ot explorer, you could try this:
1) connect your x to your computer so it is recognized by adb
2) type adb shell (press enter)
3) type su (press enter)
4) type cd /cache (press enter),. It may be \cache, i can't remember which is correct off the to of my head.
5) type ls (press enter)
6) look for two files that will have 2.3.40 in their name.
7) type rm "the full filename" (press enter)
8) repeat step 7 for the 2nd file.
Make sure to take a backup of your phone using clockwork before attempting this.
Hope this helps!
Sent from my DROIDX using XDA App

[Q] Need Stock Youtube App for Fission

I'm usually over at android forums but I recently got Fission and realized I should venture over to here. I installed Fission and I tried the google youtube app and hate it. I was wondering if anyone could guide me on installing the stock app. And because im new, I'm not sure if this is the section to post this thread.
apavolka said:
I'm usually over at android forums but I recently got Fission and realized I should venture over to here. I installed Fission and I tried the google youtube app and hate it. I was wondering if anyone could guide me on installing the stock app. And because im new, I'm not sure if this is the section to post this thread.
Click to expand...
Click to collapse
attached is an older version of youtube, but still stock.
To have used the following method with re-installing the stock facebook apk, but I recommend that you take a nandroid backup before attempting anything
Save the .apk to your sdk\tools folder.
Open up 2 command prompt windows.
In the first do the following (with the phone connected via Charge Only mode for usb connection):
1) type: adb shell (press enter)
2) type: su (press enter)
3) type: mount -o rw,remount /dev/block/mtdblock4 /system
Switch to the second command prompt window
Change directory to your sdk\tools folder where you should have saved the .apk file
1) type: adb push Facebook.apk /system/app/Facebook.apk (press enter)
Switch back to the first command prompt
4) type: cd /system/app (press enter)
5) type: chmod 644 Facebook.apk
6) type: exit (press enter. you made need to do this 2x to get back to the regular command prompt.
when back at the regular command prompt
7) type: adb remount (press enter. This will remount the system partition as read-only)
8) type: adb reboot (press enter. This will reboot your phone. When it reboots, the youtube app should be reinstalled as a system application.
NOTE: i take no responsibility for any damage this may cause. I have not tested this method on a custom ROM, only on my own device when I have removed applications from the default 2.3.15 OTA.

Categories

Resources