Ok so here's this application that I made in Automator for myself and I figured that if anyone wants it, it's here. This is a Mac OS X only app. What does this app do? It wipes the data and dalvik cache on the phone twice. It is quite quick and easy. What will you need to do to your Mac before running this application? You simply need to add adb to the .bash_profile path settings. (This means that from anywhere in terminal, you can type adb and run adb.) Then just put your phone into recovery mode and run this app. This is an alpha build as I have not tried it on my own phone yet. However it should work as I've coded it and it has NO potential to brick the phone
Download Here!
EDIT: Currently the program is not working, I will make a new one and upload ASAP.
CPCookieMan said:
Ok so here's this application that I made in Automator for myself and I figured that if anyone wants it, it's here. This is a Mac OS X only app. What does this app do? It wipes the data and dalvik cache on the phone twice. It is quite quick and easy. What will you need to do to your Mac before running this application? You simply need to add adb to the .bash_profile path settings. (This means that from anywhere in terminal, you can type adb and run adb.) Then just put your phone into recovery mode and run this app. This is an alpha build as I have not tried it on my own phone yet. However it should work as I've coded it and it has NO potential to brick the phone
Download Here!
EDIT: Currently the program is not working, I will make a new one and upload ASAP.
Click to expand...
Click to collapse
Nice job CP... with a little editing, could I get this to work on Linux?
workshed said:
Nice job CP... with a little editing, could I get this to work on Linux?
Click to expand...
Click to collapse
Hmmm, thats a good question. (I'm just hopping in with what I know, so OP feel free to correct me if I'm wrong, which I probably am.)
From what I know, Automator is basically a workflow creation/utilization program. Do most Linux distros come packaged with anything like that, or does one exist?
This might be an alternative:
"GNU Xnee is a suite of programs that can record, replay and distribute user actions under the X11 environment. Think of it as a robot that can imitate the job you just did."
http://askubuntu.com/questions/343/alternative-for-mac-os-x-automator
Related
Here is basic program for your windows computer that just does basic stuff.
It can reboot your phone to wherever you want like recovery, bootloader.
It will wipe your ext2/3 from recovery if you choose and it will repair your ext2/3.
This is still beta, so far everything that is on the app works. But when I say beta I mean I still to implement alot more features so just use it and then tell me what you guys want. I am working on implementing switchrom into it.
This is just about 3 hours of work so you will see alot more in the future.
Screenshots Below!
*(For those of you wondering it is writen in a mix of C++,vb.net,python,and MS-DOS)*
Twitter: http://twitter.com/kickfliprock13
** Oh I forgot to mention you need to have adb set up for this to work if you don't have it set up than it wont work. So if you want to set up just go here: http://punk-in.com/driver_vista.html
Continued
Changelog:
9/8/09: Added a link to tell you how to install usb drivers for your phone
Added links to our twitter's and plurk's
Fixed a few small bugs
Continued Again
This is for problems and things I am changing!
Problems:
Can't get it to put arguments into adb commands, for example adb shell sh /system/sd/switchrom -s (then the name they want to name it)
I suck with ShellExecute commands so I need to get better at those
Need to learn how to add .exe's and other files into a C++ file and then run it.
Changing:
I will probably be changing the layout in the next update
I will be learning ShellExecute commands hopefully. So then it can set up adb for you and do a switchrom.sh for you
looks good dling now btw how many programming languages do you know lol
Languages
I know a couple. This program is written in C++. I have only done C++ for about a week so I am still kind of a noob. But other than that I know: html, MS-DOS,Python, I am learning java, I know some C and C#.
I am taking some visual stuff right now, like blender and game development.
After that I want to learn CSS, and learn the reset of java and C++
do you think you can make it that the program can flash the new spl and radio so the phone won't brick. Anyway awesome program
It looks like it's just issuing the non-response ADB commands. Do you have anything there to capture the commandline output from ADB? I'm trying to get the push and pull confirmations for mine. It seems the stream is immedately written as blank and then changed to the confirmation but the change is not rewritten to the stream.
Also ADB does not have to be in a specific directory in order to work. Just change the working direcory of your process to the folder where you have them stored. I bundled the files with mine so I didn't have to worry about if someone didn't have them in the right place.
M..N said:
do you think you can make it that the program can flash the new spl and radio so the phone won't brick. Anyway awesome program
Click to expand...
Click to collapse
Yes, we are working on making that happen very soon. It is difficult but yeah, we already figured out a way to apply new radio,spl and get to hero in about a minute now we just need to implement that into the app but I just can't figure out exactly how to include multiple files in my C++ project but once I figure that out I will tell you.
Excellent thanks very much
Hi so how is this program coming along
Very well I almost have rooting figured out
Cool would this work on uk phones and when is the estimated release time
Is it possible to mount the G1's filesystem (internal files, so you can move things around faster than entering every command in the Terminal) using Ubuntu and/or Windows?
Just checking, I know it's possible to do this with the PSP's flash firmware but wanted to know if you could with G1 as well.
If so, what command(s) do I enter to get it working?
Just wanted to bump this once to see if people would reply. If not, I get the message that it's not possible.
I'd also like a solution for Ubuntu/OS X. I doubt we will ever be able to integrate in to nautilus/finder, but I'm sure an app could be developed, as all it would need to do is display information collected via adb...
AdrianK said:
I'd also like a solution for Ubuntu/OS X. I doubt we will ever be able to integrate in to nautilus/finder, but I'm sure an app could be developed, as all it would need to do is display information collected via adb...
Click to expand...
Click to collapse
if this happens it will make things so much easier btw lol at your sig 'booty loops' classic
Ok so this started out as a small project to make my day to day phone functions easier and quicker but I thought I might share it incase anyone thought my AdbTool was helpful or just nice to have.
Functions so far:
1. Check for device
2. Push or Pull a File
3. Install .apk
4. Reboot
5. Root your Droid X
6. Change bootanimation
7. Push framework (specifically for framework)
8. issue whatever adb command you need to with out the extra typing
9. Set project
10. Error log
11. Clean up folder
There are more functions to come in the future so let me know if you like this script and what you wanna see added. There is no install just unzip and open the .bat file.
This sounds great! Though I'm on Linux machine, so I don't think ill be able to use it :/
Sent from my DROIDX using XDA App
No sorry, I should have specified. It is a Windows script... Just wait though, because Sunday I will be getting a desktop that is already running linux. If you really want I will take the time to make a script to run for linux?
Sent from my DROIDX using XDA App
rooting the dx doesnt work for me :/
Huh... what is happening when you enter that option? Sorry for the long time for me to post I missed the email alert.
Sent from my DROIDX using XDA App
I'm assuming this doesnt allow root for 2.3.3 ota correct?
since all I see is rageagainstthecage in the files
This looks like a really useful program! I might do some work this weekend on it and see if I can get it working for the DROID 2 and port it over to UNIX machines.
If I set it up for unix I will add an SBF option too.
Woa just realized this is a really old thread
ljbaumer said:
This looks like a really useful program! I might do some work this weekend on it and see if I can get it working for the DROID 2 and port it over to UNIX machines.
If I set it up for unix I will add an SBF option too.
Woa just realized this is a really old thread
Click to expand...
Click to collapse
Yeah, this thread is quite old (almost a year) and I am sure the program/script needs to be updated to work.
It is a good idea though (if it can be updated)
D.
I'd like to make a request for a Mount and UnMount command.
fyi....you spelled Folders wrong in the main menu "Floders"
.
I can make the program for yall. Yall just need something for shell or a gui for windows?
whatever's easier for you, either would be appreciated it
i have adb properly installed by doing adb devices in cmd it shows my dx
but when i use your tool it says it cannot find the path specific
Well to get a long story short,im not a complete noob in the rooting,optimising,flashing bussiness.
So dont tell me flash this kernel or this stock rom,or this or that.
The problem after hours of searching is a bad app.
I have bought over 500 apps cause i want to support the community.
So,when i restore all my apps,when the phone starts,after the home screen loads AT THE MOMENT WHERE IN TOUCHWIZ OR ADW OR WHATEVER THE APPS ARE FINALLY LOADED
REBOOT,hot reboot most of the times...
I tried everything...startup managers to block everything and i mean everything...
Rescan media root app to stop scanning of sdcard...
Everything,no matter if it froyo,ginger,ics,stock,rooted or WHATEVER.
Of course i can install one app at a time an reboot,to see what happens but that will take ages and also maybe one app 'hit' with another...
So help me find the bad app...
I am no noob but i am no pro either...
So how do i take a logcat? Will that help either way?
Do i have to use adb?
help....
You are kidding right? You have 500 apps installed at the same time? Why on Earth? I think you are lucky the phone even tries to boot...
On to your problem at hand - no one here will be able to help you with the info you provided.
I thought their was like a 30 app limit to android?
Adb is your best bet.
Sent from my HD2 using xda premium
kylew1212 said:
I thought their was like a 30 app limit to android?
Adb is your best bet.
Sent from my HD2 using xda premium
Click to expand...
Click to collapse
Yes,i have so many apps and i want to find which app 'collides' with another or at least which app causes problems.
I used logcat with semaphore kernel and i have taken out some txt files just before the soft reboots...
How adb will help me.
I will find how to install adb but what then?
What command should i use?
And the phoen will be open?In recovery? What?
Please help....
karapoutsoglou said:
Yes,i have so many apps and i want to find which app 'collides' with another or at least which app causes problems.
I used logcat with semaphore kernel and i have taken out some txt files just before the soft reboots...
How adb will help me.
I will find how to install adb but what then?
What command should i use?
And the phoen will be open?In recovery? What?
Please help....
Click to expand...
Click to collapse
Well you certainly need apps 2 SD ... but you probably already have that.
To use adb, download it firstly. Its in the Google developer tools.
Once downloaded open terminal. Alt+ctrl+t. Use CD to change to the directory that contains adb in the platform tools. Once your in the folder containing adb, type "./adb logcat" without the quotes. This is for a computer running Ubuntu Linux also
Sent from my HD2 using xda premium
kylew1212 said:
Well you certainly need apps 2 SD ... but you probably already have that.
To use adb, download it firstly. Its in the Google developer tools.
Once downloaded open terminal. Alt+ctrl+t. Use CD to change to the directory that contains adb in the platform tools. Once your in the folder containing adb, type "./adb logcat" without the quotes. This is for a computer running Ubuntu Linux also
Sent from my HD2 using xda premium
Click to expand...
Click to collapse
thanx for the response.
i have set adb succesfully and i see the logcat on my cmd window running like hell most of the time.
i read that you can use some commands like -w -e etc to narrow the results to important messages? is that correct?
if yes,how you can do that? i mean the full command adb logcat....etc
thanx in advance
karapoutsoglou said:
thanx for the response.
i have set adb succesfully and i see the logcat on my cmd window running like hell most of the time.
i read that you can use some commands like -w -e etc to narrow the results to important messages? is that correct?
if yes,how you can do that? i mean the full command adb logcat....etc
thanx in advance
Click to expand...
Click to collapse
Unfortunately I have very little adb experience...
Maybe try something like the same command you used
"./adb logcat"
I guess going by what you're saying you could try something like
"./adb logcat -w" try that then maybe replace the w with e..
Keep in mind these are just guesses because I do not know for certain
I will research as soon as possible and write a quide for it as this can benefit lots of people
Sent from my HD2 using xda premium
kylew1212 said:
I will research as soon as possible and write a quide for it as this can benefit lots of people
Click to expand...
Click to collapse
thanx.
i had the same in mind.maybe something good can come out of this
Another way would be using ddms - connect your phone in debug and run ddms (it's included in the SDK Tools). It provides an interface to browse your device's logs and filter them according to your needs. I think you'll be able to locate that one which explains why your phone is crashing.
On second thought however - is it possible for you to turn the debug on?
avltree said:
Another way would be using ddms - connect your phone in debug and run ddms (it's included in the SDK Tools). It provides an interface to browse your device's logs and filter them according to your needs. I think you'll be able to locate that one which explains why your phone is crashing.
On second thought however - is it possible for you to turn the debug on?
Click to expand...
Click to collapse
thank you!
great idea,i will test it
yes,i can turn the debug on,because the phone crashes just when all the apps are loaded in the drawer.
it must be a bad app because i used to have many apps since froyo times and no problem.
like 500...and the phone was fast.
i really want to find that bad app and kill it
edit
================================
wow,ddms is a dream! thats what i was looking for!!!
thank you
Sorry for the double post but i thought it needed a single post.
Well,the problem is fixed with the help of you guys!!!
I was getting a hell lot of warnings about watchdog_n and stuff.
I googled it and appeared that a whole bunch of people had the same problem especially with nexus s etc.
They said it was due to some crappy app wanting to auto-sync.
So i did a wipe cache,wipe dalvik cache,fix fc and then when the phone rebooted i disabled the auto-sync.
Guess what,no more loops and soft reboots!!!
I still dont know what app is causing all the problems and propably never will,if you thing that the same apps in my tablet dont cause a thing,but after the auto-sync off the problem is gone.
Good thing though i dont need auto-sync cause its not the best solution...
So, I am planning to install Ubuntu to run it alongside Win 7. The PC is broken now, but will be fixed in about 2 weeks. I have some questions about it, will have a lot of other when I install it, and will need tips and tricks for it.
So, I have a 1TB HD that, have 2 partitions: a 800 Gb for almot everything, and a 200 Gb partition that have most of my family personal files (music, videos, documents, photos and some other random files).
So, first question is: I want to partition my 1 TB HD so I have a good space for Windows (and programs), a good space for Ubuntu and the rest for files. How I should partition it? I can make a backup of everything, except Windows itself, but if I can keep everything on it's place, the better it is.
Second, how dual boot works exactly? After the PC boots, it will ask which OS I want or it will boot with a default OS and I have to do something to boot on the other one?
Third, as I Android phone owner, I need to set up everything for do Android things (ADB and related), PC Companion and Sony Update Service (Sony Mobile things). What I should do?
Forth, as Windows is the most used OS, almost everything is optimized to it. For programs, how it install things? Just like Windows (a .exe file for Ubuntu) or there is something like a store, where I just choose what to download, and then it do the job by itself. Or a mix from both? (just like Android, Market and .apk files).
Fifth, I saw there a lot of themes for it. How they work for a user? There is someway to quickly switch between them or something like that?
Sixth, coming from a 15 years experience with Windows, and 1 year from Android, I will get easily lot on it?
I think it's everything by now. As I said, when I install it, I will have a lot more of thing I don't know, so I come here again.
Thanks in advance, Felipe
I'm in a similar situation. ~15 years on Windows, power user / basically a MCSE without the certification. I've dabbled w/ linux over the years but never made the transition. I decided I wanted to dual boot vista and ubuntu. So far, it's going pretty smoothly. At first, it was difficult to configure things the way I like, but here's what I've done:
Although I liked Unity fine, I run Cinnamon instead of Unity. It's a bit more windows-like without being KDE (which I didn't care for). I installed a few tools, one is called Tweak, and the other is called Compiz Config Manager. These let you modify things a bit easier.
---------- Post added at 02:15 AM ---------- Previous post was at 02:06 AM ----------
I suppose I should have tried to answer a few of your specific questions, too.
Felimenta97 said:
How I should partition it?
Click to expand...
Click to collapse
I'm sure some expert will chime in too, but for me, just to explore Ubuntu, I installed it from inside of Windows. (So windows is "host", whatever that means). My Ubuntu boot can see all my windows files. I think I allocated about 20-30 gigs of HDD space for Ubuntu.
Felimenta97 said:
Second, how dual boot works exactly?
Click to expand...
Click to collapse
After the BIOS screen, you get a screen that lets you select which OS to boot to, Windows or Ubuntu. You can probably set the default for after timeout.
Felimenta97 said:
What I should do?
Click to expand...
Click to collapse
I don't really do any android dev so I didn't install the SDK yet. The other stuff, presuming those programs have a linux counterpart, you should be okay. Just google how to install in ubuntu from source.
Felimenta97 said:
Forth, as Windows is the most used OS, almost everything is optimized to it. For programs, how it install things? Just like Windows (a .exe file for Ubuntu) or there is something like a store, where I just choose what to download, and then it do the job by itself. Or a mix from both? (just like Android, Market and .apk files).
Click to expand...
Click to collapse
There is a ubuntu software center now that is similar to the Android Market, makes it pretty easy. You can also use the command apt-get install to install things from the command line. (generally you can google for it, like google for "apt-get install google music manager" and someone will have posted the answer in a forum. Be prepared to do a lot of this kind of discovery to get yourself up and running.
Felimenta97 said:
Fifth, I saw there a lot of themes for it. How they work for a user? There is someway to quickly switch between them or something like that?
Click to expand...
Click to collapse
Your desktop manager (I use Cinnamon) will probably have different themes available. I haven't messed with that too much, but those two programs I mentioned previously will help you customize the visual experience.
Felimenta97 said:
Sixth, coming from a 15 years experience with Windows, and 1 year from Android, I will get easily lot on it?
Click to expand...
Click to collapse
If you're willing to put the effort in at the beginning, it's not that hard. Google is your friend.
---------- Post added at 02:22 AM ---------- Previous post was at 02:15 AM ----------
Oh, I also found the #ubuntu-beginners IRC room on freenode to be helpful, but sometimes you have to ask your question and wait around a while before anyone is there to answer.
Just use wubi (windows ubuntu installer)
it partions and sets up dual boot perfectly. But one suggestion, I think you should wait for the Ubuntu 12.04 release to be finished. It is currently in a final beta but it will release later this month
Link to wubi : http://www.ubuntu.com/download/ubuntu/windows-installer
Sent from my Kindle Fire using Tapatalk
shravbits said:
Just use wubi (windows ubuntu installer)
Click to expand...
Click to collapse
Yes, that was the name of the thing I used,wubi. Very straightforward.
As for waiting for the new Ubuntu... too late for me, but might be a good idea if the release date is in the near future.
Oh, and another thing: How updates works?
Felimenta97 said:
Oh, and another thing: How updates works?
Click to expand...
Click to collapse
There is an update manager that seems to run in the background, it pops up for me from time to time when some software needs to be updated.
You can also do apt-get update. Google for this: "The Debian GNU/Linux FAQ
Chapter 9 - Keeping your Debian system up-to-date" That will take you to a good info page about it.
kindlezeb said:
There is an update manager that seems to run in the background, it pops up for me from time to time when some software needs to be updated.
You can also do apt-get update. Google for this: "The Debian GNU/Linux FAQ
Chapter 9 - Keeping your Debian system up-to-date" That will take you to a good info page about it.
Click to expand...
Click to collapse
No. I mean, on a big update (11.10 to 12.04), it's like a Windows Update Service, that may require a reboot, but will keep the system there?
Forth, as Windows is the most used OS, almost everything is optimized to it. For programs, how it install things? Just like Windows (a .exe file for Ubuntu) or there is something like a store, where I just choose what to download, and then it do the job by itself. Or a mix from both? (just like Android, Market and .apk files).
Click to expand...
Click to collapse
You have several ways of doing this.
1. You can go to the Software Center. That's like the Market/Play Store on your Android device. Search or find what you want and click install. You will not find everything since Ubuntu/Linux depends on sources. The Software Center does have the Ubuntu source and that's about it. You can add more if you want to.
2. You can use the Terminal.
"Sudo apt-get install (enter package name here)", so if you want to install Opera (which will already be in the Ubuntu app source i believe) then type "sudo apt-get install opera". That's it.
If you want to remove it (or another app) then type "sudo apt-get purge opera", and if you want to remove all of the app content then you type "sudo apt-get autoremove opera" (after purge). You can also do this with one command, and that would look something like this: "sudo apt-get purge opera -y && sudo apt-get autoremove opera -y".
3. You can use Synaptics (not installed by default anymore). With Synaptics you'll get a list and a more advanced approch to app installations. You can sort by date, size, versions, packages that's missing, broken packages and many more.
I will personally recommend you using the Software Center for app installation, but the terminal is really great to do things fast. But it takes some learning so just start by remembering some easy commands like how to install and remove apps.
I would answer your questions, but I have to get up early in the morning. For now, see this. http://www.psychocats.net/ubuntu/ I will try to help you tomorrow.