**UPDATE**SuperG1-Computer 9/8/09 4:03am - G1 Apps and Games

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

Related

Noob question about guide

I am wondering if there is any literature online about a simple guideline or something of that nature about the adb shell and commands and all that. I have rooted my phone and used the adb, but dont really understand it just basically copying off guides that were on here. also like loading apks through the shell and taking apks off, and having to rename zips all this stuff im kinda gray on but if someone could maybe point me in the direction of a good place to understand all this i would be very grateful....i am new to this but am very addicted to xda now modifying my phone I am currently using darch's 2.1 and really want to add all the additions but need to know about using the shell thanks in advance guys...people on xda rule the world
aauussttiinn88 said:
I am wondering if there is any literature online about a simple guideline or something of that nature about the adb shell and commands and all that. I have rooted my phone and used the adb, but dont really understand it just basically copying off guides that were on here. also like loading apks through the shell and taking apks off, and having to rename zips all this stuff im kinda gray on but if someone could maybe point me in the direction of a good place to understand all this i would be very grateful....i am new to this but am very addicted to xda now modifying my phone I am currently using darch's 2.1 and really want to add all the additions but need to know about using the shell thanks in advance guys...people on xda rule the world
Click to expand...
Click to collapse
Well id say if your very addicted to xda then you should know there's these things called Sticky's at the top of page very useful info could of answered your own question.
forum.xda-developers.com/showthread.php?t=603052
When you use the command "adb shell", that is simply dropping you into the shell of the phone. The phone runs Android, which is a version of Linux. Since almost EVERY ROM has "busybox" installed, you are able to run Linux shell commands on the phone, just as if you were on a Linux install on a computer. So just learn basic Linux commands, and you'll be fine
yea bertman in the stickies there is nothing what im asking about but thanks for your help anyway....mrhinehart so instead of running the cmd promt from my pc i can just run busy box or do i run busy box from reboot recovery?......................ohh snap i found it in the stickes thanks bertman that actually exactly what i was looking for just didnt think it would be in something that had to do with rooting....thanks a bunch man
ADB / 101 Info from Nexus One Forum
Here's some information from the Nexus One forum. Hopefully you'll find it useful.
http://forum.xda-developers.com/showthread.php?t=619153
I seriously apreesh all the help that last post was like the icing on the cake.Roundaway i see that you have darch's 2.1 seriously a badd ace rom. i have v3 of the rom and the aosp 2.1 kernal and thats all and i have really been wanting to add the jit and fix the whitelist etc etc all that awsome stuff that people have been finding at that thread and i would real remount this or rename the zip to this and just never understood why but that clears up alotta things and connects alot of bridges for me so no on to playing with the adb thanks again everyone

AdbTool: The Automated Life

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

[APP] SuperWipe for Mac [ALPHA]

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

[q] i'm so confused i could scream!

Okay, I'm looking for a way to have all of my homescreens looking similar. I have been looking for some dark, smoky widgets and I found them here:
http://forum.xda-developers.com/showthread.php?t=731625
But, I have no idea how to install them.
-I tried using Astro. That didn't work.
-I tried an installer program. That didn't work.
-I have no idea what it means to push anything.
-Does pushing require a rooted phone, because I attempted to root, and failed.
Maybe I just suck at the android platform. Or maybe I'm just overthinking everything. Please, someone explain it to me like a five year old, because I really want to be able to customize my phone like I do my computer, but it's all so new to me.
Also, I have a MyTouch 3G Slide, if that means anything.
yo.... first.. i was in your spot once.... brand new EVO user, from a dumb reclaim~....biggest advice i "read" was to read~.......all the answers ar at your fingertips!!...
get root~... z4root.... ..do a seach.....
second, astro will only install apk files...
installer program?
push is to use ADB and do shell commands... thats how i rooted... sucked but i made it through...
pushing requires root....
its about learning... .your in XDA, so your first step was correct..... good luck man!..

Bash replace sh?

Id love to replace sh with bash. sh is becoming a pain. What would I have to do to complete this process? Sorry, I'm a n00b to android in many aspects as I know plenty of linux, but I've never done any deving for arm or android.
I'd also like to add support for bash profiles and the best location would be /sdcard/Android/data. To be clear, I'm not looking to add bash, but to replace sh with bash.
A very easy way to have bash is the app "Better Terminal Emulator Pro", it's included there. The app is not free, but worth the few bucks.
I guess it would be quite easy to replace sh with the files included there, but I wouldn't recommend this. I change as little as possible of the system, and for me it was always enough to be able to call bash.
It's hard to predict what could happen after a replacement of sh ...
I agree with the warning, and with the recommendation. Better Terminal Emulator is great and the most well featured terminal that I have been able to find. It also puts the extra files it needs for the enhanced shell in /data/ instead of crowding up the system directory with extra binaries etc.
actually its not that bad if I can get bash built. you can rename sh to sh0 then create a symbolic link called sh to bash. instant replacement and bash will be called instead of sh.
I just need to know how to get to that point. I don't need a better terminal, I paid for sufbs and love it. it would just be better all around to have bash instead of sh.
Sent from my DROID3 using xda premium
So just do it.. It's your phone.
I told you where you can get a bash binary. Or you could compile it, shouldn't be very hard.
I just say I wouldn't, no way. You have no rescue CD.
(OK, thanks to a few people we now can re-install the system -- most likely)
rweb said:
So just do it.. It's your phone.
I told you where you can get a bash binary. Or you could compile it, shouldn't be very hard.
I just say I wouldn't, no way. You have no rescue CD.
(OK, thanks to a few people we now can re-install the system -- most likely)
Click to expand...
Click to collapse
I actually think I may have found a way. I've never cross-compiled software before so was hoping someone who has knew what I wanted and could tell me what I need to do. I've downloaded bash and am going to give it a try. I will test it before actually applying the replacement idea, but I think I can do this
I thought cross-compiling would be harder than this, but who knows? According to this source it isn't all that bad...
And of course it doesn't work
./configure --host=arm-linux --enable-static-link --without-bash-mollac
configure: WARNING: unrecognized options: --without-bash-mollac
configure: WARNING: If you wanted to set the --build type, don't use --host.
If a cross compiler is detected then cross compile mode will be used.
checking build system type... x86_64-unknown-linux-gnu
checking host system type... arm-unknown-linux-gnu
Beginning configuration for bash-4.2-release for arm-unknown-linux-gnu
checking for arm-linux-gcc... arm-none-linux-gnueabi-gcc
checking for C compiler default output file name...
configure: error: in `/home/darksurf/Downloads/bash-4.2':
configure: error: C compiler cannot create executables
See `config.log' for more details.
any ideas? I'm using a gentoo based system.
There is a binary in the link YOU posted above, this binary works on D3. What's wrong with this?
Frankly, I do not understand you. Maybe your real goal is to learn how to compile Android binaries, but then you give up way to early.
rweb said:
There is a binary in the link YOU posted above, this binary works on D3. What's wrong with this?
Frankly, I do not understand you. Maybe your real goal is to learn how to compile Android binaries, but then you give up way to early.
Click to expand...
Click to collapse
In addition to that link, I had compiled it for us about a month back: http://www.mediafire.com/?b71lcdpnqn07egj
I highly advise not modifying /system/bin. I've bricked my phone several times doing that. Best option is to put bash in /system/xbin and modify /etc/profile to set the PATH variable to /system/xbin:/system/bin:$PATH
Darksurf said:
And of course it doesn't work
./configure --host=arm-linux --enable-static-link --without-bash-mollac
configure: WARNING: unrecognized options: --without-bash-mollac
configure: WARNING: If you wanted to set the --build type, don't use --host.
If a cross compiler is detected then cross compile mode will be used.
checking build system type... x86_64-unknown-linux-gnu
checking host system type... arm-unknown-linux-gnu
Beginning configuration for bash-4.2-release for arm-unknown-linux-gnu
checking for arm-linux-gcc... arm-none-linux-gnueabi-gcc
checking for C compiler default output file name...
configure: error: in `/home/darksurf/Downloads/bash-4.2':
configure: error: C compiler cannot create executables
See `config.log' for more details.
any ideas? I'm using a gentoo based system.
Click to expand...
Click to collapse
I use gentoo myself, I recognize that error "C compiler cannot create executables" as one caused by gcc upgrades (changing gcc versions w/out updating environment variables etc but I've only seen it when not cross-compiling). Also, are you trying to use crossdev or Codesourcery? Codesourcery seems to generate less errors and there are many many guides for it available on google (I always get errors w/crossdev but the same code will compile error free w/codesourcery).
thanx, im using crossdev. ill give code sourcery a try. im asking because im not near my computer now, but is there an ebuild.
Sent from my DROID3 using xda premium
No, you have to grab the files off their website. Codesourcery.com or wget http://www.codesourcery.com/sgpp/li...-none-linux-gnueabi-i686-pc-linux-gnu.tar.bz2 if you need a quick link, I think this is the version I have installed..
dude, u r my hero thanx.
Sent from my DROID3 using xda premium
Darksurf said:
dude, u r my hero thanx.
Sent from my DROID3 using xda premium
Click to expand...
Click to collapse
I assume it's compiling or your at least beyond your previous error. Glad to hear it.
Shenanigans?
I'm thinking... maybe you *don't* know a lot of Linux. But I admire your courage. We're here to help. And when you figure out how to push bash there, try ksh next.
--#
7April said:
I'm thinking... maybe you *don't* know a lot of Linux. But I admire your courage. We're here to help. And when you figure out how to push bash there, try ksh next.
--#
Click to expand...
Click to collapse
And ohh how helpful and informative that post was! Pretty sure pushing files to your phone has nothing to do with linux all. Pretty sure your not here to help at all but just to ridicule and also play the fool. When you figure out the difference between push and compile ....
Anyways, i just noticed that codesourcery is in portage now though i do know that some versions will cause compile errors where others wont not sure why, probably because i'm not a 31337 linux guru like april7, sigh someday

Categories

Resources