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

Root Flashing Rom, Trackball not working!

I think I might be making progress....

PHP:
hislap-mb-c:sdk-tools dmacy$ ./adb shell
-bash: ./adb: No such file or directory
hislap-mb-c:sdk-tools dmacy$ ./adb-mac devices
adb server is out of date.  killing...
cannot bind 'tcp:5037'
ADB server didn't ACK
* failed to start daemon *
error: 
hislap-mb-c:sdk-tools dmacy$

you might need to be root (I'm not sure about the privilege system on OS/X), but the only other reason you might have got a tcp socket binding error is because another copy of adb was already running.

you are not experiencing anything which is unique - folks new to using command line are always mystified how things work until they find out about:

- what the "cd", "pwd", and "ls" commands do,
- what the PATH variable is all about,
- how to distinguish shorthand program and file names from relative or absolute file names.

See this link for example.

When using the command line, you start a program by typing it's name, and then adding to that (typed command name) a list of "arguments" which are passed to that program as soon as it starts up, e.g.

myprogram -edit myfile

you can either specify the exact location of the program you want to run and the exact location of any file names you use, for instance:

/myprogs/are/installed/here/myprogram -edit /home/user/job7/myfile

OR, you can specify things relative to your current directory:

/myprogs/are/installed/here/myprogram -edit ./job7/myfile

(In the above example, it is presumed that the current working directory is /home/user)



In addition, you can try to let the command interpreter (terminal) find programs for you:

myprogram -edit ./job7/myfile

In this very last case, the directory "/myprogs/are/installed/here" would have to be listed in what is called a "PATH" variable - it is just a list of locations where the command interpreter (terminal) looks for programs to match the "short" or abbreviated names you type in for programs (as in the last example above).

A simple alternative to mucking around with the PATH variable is to simply "cd" (Change Directories) so that your "pwd" (print Working Directory) is the location of the program you want to run:

cd /myprogs/are/installed/here/

./myprogram -edit /home/user/job7/myfile

(the leading "." character tells the command interpreter (terminal) to look in the current directory for the program "myprogram".

So, for instance, if you wanted to use ADB without worrying about PATH, or having to type in big long (complete) file pathnames, you would "cd" to the tools folder containing the adb program and then run adb with the shorthand notation

./adb kill-server
./adb shell


Hope that helps. Do a little search on "basics of using a command line" for OS/X and you'll probably see how it goes rather quickly. To get around with a command line, you really only need to know the "cd", "pwd", and "ls" commands.
 
Okay, well, you could (and still can) read through the above notes for trying to flash a ROM manually through the adb that's started from custom recovery.

You could also try something like this:

- download the following file: View attachment files-for-slimee.zip

- extract / move its contents (flash_image and recovery-RA-eris-v1.6.2-trackball-optional.img) to the same folder where you're adb-mac binary exists

- boot your phone into Amon_RA custom recovery

- carefully copy and paste the following commands into your Terminal window:

./adb-mac push flash_image /cache/flash_image

./adb-mac push recovery-RA-eris-v1.6.2-trackball-optional.img /cache/am-tbo.img

./adb-mac shell chmod 777 /cache/flash_image

./adb-mac shell /cache/flash_image recovery /cache/am-tbo.img


After that, assuming you don't get any errors or see any issues, let's see if the new recovery flashed okay:

./adb-mac reboot recovery

Hopefully, you'll see a newly-flashed version of the trackball-optional Amon_RA custom recovery (it should say "trackball optional" or "trackball not required" at the bottom of the main menu in the custom recovery screen).

Let me know how this goes.
 
PHP:
hislap-mb-c:sdk-tools dmacy$ ./adb-mac push flash_image /cache/flash_image
478 KB/s (76044 bytes in 0.155s)
hislap-mb-c:sdk-tools dmacy$ ./adb-mac push recovery-RA-eris-v1.6.2-trackball-optional.img /cache/am-tbo.img
658 KB/s (3926016 bytes in 5.824s)
hislap-mb-c:sdk-tools dmacy$ ./adb-mac shell chmod 777 /cache/flash_image
hislap-mb-c:sdk-tools dmacy$ ./adb-mac shell /cache/flash_image recovery /cache/am-tbo.img
hislap-mb-c:sdk-tools dmacy$ ./adb-mac reboot recovery
error: closed
hislap-mb-c:sdk-tools dmacy$
 
I tried to run a Nandroid backup (although at this point I dont think I care enough) and it gave me an error

Create Nandroid backup?
PRess Trackball or END/PWR to confirm
any other key to abort

[[trackball press]]

Performing backup....................

Error: Run "nandroid-mobile.sh" via adb!
 
I tried to run a Nandroid backup (although at this point I dont think I care enough) and it gave me an error

Create Nandroid backup?
PRess Trackball or END/PWR to confirm
any other key to abort

[[trackball press]]

Performing backup....................

Error: Run "nandroid-mobile.sh" via adb!

Make sure you've got enough free space on your /sdcard (that's usually what causes this issue).

Cheers and I'll check back in the morning :).
 
I can't keep the OS running long enough to free up space...I think I'm just going to forgo a backup and simply rely on my year old backups (better than nothing), let me see how I make out wiping and reflashing the phone
 
I've got a fresh rom running, oh boy!!!!! THANKS FOR THE HELP ALIEN and EU1!!!! Alien that custom amon_rom. The ROM I flashed kinda sucks, so I gotta find a better one, but I'm at least up and running again!
 
I tried to run a Nandroid backup (although at this point I dont think I care enough) and it gave me an error

Create Nandroid backup?
PRess Trackball or END/PWR to confirm
any other key to aborty

[[trackball press]]

Performing backup....................

Error: Run "nandroid-mobile.sh" via adb!




The exact error which caused the trouble can be found in the recovery log file at

/cache/recovery/log

But if it seemed like the backup was running for a while before the error occurred, scary alien's suggestion is very likely.

Good luck - and don't forget to do backups, restores, or other flashing operations with a well-charged battery to stay clear of problems.


eu1
 
i too had this problem, first i tried alcohol while it was on, that didnt bugde it one bit, then i tried pulling the bottom of the usb connector forward towards teh frotn of the phone while moving the track ball down, and it started moving. GREAT!
 
Back
Top Bottom