• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root How-to Thread For ADB SHELL

Is the Thread Helpful enough to sticky it?

  • Yes

    Votes: 48 96.0%
  • No

    Votes: 2 4.0%

  • Total voters
    50
I read the thread about removing some apps that's not needed.
I tried and it seems like I removed something important, so I'm reinstalling the device now.
I see apk and odex files. Do I remove both of them?
Do I have to remove everything in dalvik-cache?
Thanks.
 
how do i get mms.apk on my phone...im using app installer and its saying messaging could not be installed on this phone.

and i successfully delete twmms thru shell and now im stuck without a messaging app..!?!, yes i rebooted and tryed again
 
I just finished rooting and flashing my BH2. Now I'm trying to root and flash my wife's BH2 with the same BH_Man 1.6 ROM and using the same computer. When I connect my wife's phone and pull up Command Prompt and type the following : cd\
cd androidsdk\tools

then the command: adb devices

There's multiple devices listed all T939 but all are offline and it's not showing the one connected to the computer.

When can I do or do I even need to connect with ADB?

Thanks.
 
With task manager, kill adb and try again. Also toggle the usb debugging and/or use a different usb port. It will show up again, I know same thing has happened to me.
 
BH_MAN,
when i type in adb devices, it shows mine as offline...whats up with that?

list of devices attached
SGH-T939 offline

Sometimes from a soft reboot the ADB hangs and says it's Off line... This is due to the init.rc file in the ramdisk of the boot.img....... Not only does it initialize the init.rc, but there is a fota_init.rc that also takes place.. This was the issue getting ADB even working at Boot to begin with!

If you get an Offline status from ADB Shell, Just unplug the USB & wait like 10 seconds, then Plug back in the USB.. more-less, More Kernel modding underway..

Plus, I'm Happy with all the current Rom's I've put out, so likely I'll start looking into the Recovery & Kernel edits again...

Yeah yeah.... Rambling on I know...

~BH_MAN
 
ok, i am trying to get my faves back on my phone. i just installed the no_twix ROM from BH_MAN. MyFaves.apk is saved on my C: Drive (C:\MyFaves.apk) I have adb pushed it to system/app (even shows the file when i check using ASTRO, but no icon in my app drawer) what am i doing wrong? here is the command line i use:

adb push C:\MyFaves.apk /system/app/MyFaves.apk

which gives me this:
439 KB/s <1222389 bytes in 2.713s

so what am i missing?

also, i have both the odex and apk files related to MyFaves, but the odex file gives me the same message (with a different file size)
 
ok, i am trying to get my faves back on my phone. i just installed the no_twix ROM from BH_MAN. MyFaves.apk is saved on my C: Drive (C:\MyFaves.apk) I have adb pushed it to system/app (even shows the file when i check using ASTRO, but no icon in my app drawer) what am i doing wrong? here is the command line i use:

adb push C:\MyFaves.apk /system/app/MyFaves.apk

which gives me this:
439 KB/s <1222389 bytes in 2.713s

so what am i missing?

also, i have both the odex and apk files related to MyFaves, but the odex file gives me the same message (with a different file size)

Give me a Few & I'll upload the coreect file you need.... Working on the recovery in Linux atm & My file's are stored on my win7 drive that is encrypted.
 
when i adb push mms.apk /system/app
it will never let me send messages only receive i have to use like handcent to send messages....how do i fix that this happened on the last update also when i pushed it, it wont let me just install it either from app installer
 
when i adb push mms.apk /system/app
it will never let me send messages only receive i have to use like handcent to send messages....how do i fix that this happened on the last update also when i pushed it, it wont let me just install it either from app installer

Once again!!!

You have to Rename the Mms.apk to TwMms.apk before pushing the File....

You must remove Mms.apk as well if you pushed it
adb shell
rm -r Mms.apk
exit

After you Push the Newly renamed TwMms.apk you need to do a Factory Reset to clear out the old dalvik-cache!
 
ok, i am trying to get my faves back on my phone. i just installed the no_twix ROM from BH_MAN. MyFaves.apk is saved on my C: Drive (C:\MyFaves.apk) I have adb pushed it to system/app (even shows the file when i check using ASTRO, but no icon in my app drawer) what am i doing wrong? here is the command line i use:

adb push C:\MyFaves.apk /system/app/MyFaves.apk

which gives me this:
439 KB/s <1222389 bytes in 2.713s

so what am i missing?

also, i have both the odex and apk files related to MyFaves, but the odex file gives me the same message (with a different file size)

Here's the File you need...
Before pushing the App...
adb shell
cd /system/app
rm -r MyFaves.apk
rm -r MyFaves.odex
exit
Just run those to make sure you don't have any dirty file's in the /system/app.

Download MyFaves.apk

adb push ( File location of MyFaves ) /system/app
 
when i adb push mms.apk /system/app
it will never let me send messages only receive i have to use like handcent to send messages....how do i fix that this happened on the last update also when i pushed it, it wont let me just install it either from app installer

Once again!!!

You have to Rename the Mms.apk to TwMms.apk before pushing the File....

After you Push the Newly renamed TwMms.apk you need to do a Factory Reset to clear out the old dalvik-cache!

I noticed this too, I pushed it both ways, as Mms.apk, and TwMms.apk, and I couldn't send messages, only receive until I downloaded handcent. I wiped the data and everything, still no go. I prefer handcent anyway, which I why I replaced the original TwMms. so I'm not complaining or anything. ;)
 
I noticed this too, I pushed it both ways, as Mms.apk, and TwMms.apk, and I couldn't send messages, only receive until I downloaded handcent. I wiped the data and everything, still no go. I prefer handcent anyway, which I why I replaced the original TwMms. so I'm not complaining or anything. ;)

Make sure you don't have Mms.apk in the app folder or you will get the same issue

remove Mms.apk before pushing TwMms.apk
adb shell
cd /system/app
rm -r Mms.apk
rm -r TwMms.apk
rm -r TwMms.odex
exit

Then Push over the New Mms.apk that you renamed to TwMms.apk
 
Here's the File you need...
Before pushing the App...
Just run those to make sure you don't have any dirty file's in the /system/app.

Download MyFaves.apk

adb push ( File location of MyFaves ) /system/app

well the icon's there now, but when i try to open it, it says myFaves is off

NVM, got a message from t-mobile this morning saying myfaves had been refreshed..ITS ALL GOOD NOW
 
Ok new to android. I am trying to root my BH-II so I can install 1.6.
I am doing everything step by step in this thread How To: Root the Samsung Behold 2 | The Unlockr

Its not working. I try and run ADB and it just brings up the list of options and is not showing the phones serial number. I have tried uninstalling using USBDeview and also from device manager and its still not working. I am running XP.

I am sure I must be missing something but not sure what. I followed the Instructions to a T.

When I go into task manager the only place the Android Device shows up is under Disk Drives. Nothing else.

Read this thread. Got the BH2 drivers to install but get "this device cannot start"
 
Back
Top Bottom