[Q] Command line tools on sense - Sprint HTC One (M7)

I have been searching around with little luck. Is there a flashable zip floating around that has some basic command line tools (htop, rsync, openvpn) for our device (Sense based). I know these are included in CM roms and some other aosp's.
EDIT: I know Terminal IDE in the appstore has this but that's not what I am looking for.

raidzx said:
I have been searching around with little luck. Is there a flashable zip floating around that has some basic command line tools (htop, rsync, openvpn) for our device (Sense based). I know these are included in CM roms and some other aosp's.
EDIT: I know Terminal IDE in the appstore has this but that's not what I am looking for.
Click to expand...
Click to collapse
Try using busybox installer from the market and using advance install to add symlinks for the additional applets that you need.

Related

youADB - Android Tool - v1.0

youAdb is a very convenient tool for you android device which allows you to do various actions by just a couple of clicks.
Some features:
- SD-Partition-Manager (FAT32, EXT2/3/5, Linux Swap etc.!)
- App Manager (FULL BACKUP function!)
- File Manager (Push, Pull, Delete folders/files...)
- Reboot, Reboot Recovery, Adb Remount...
- View and automatically SAVE LOGS
- custom adb commands (like a shell)
- Install recovery images!
- Shows device's state and Serial Number
In contrast to most other android tools this tool is stable, leightweight (less than 1MB!) and easy to set up!
Watch a video tour: http://www.screentoaster.com/watch/stU0xUQ0VLQ1tZQl9UWVtf (ya, i know, my mic sucks.)
Screenshots:
DOWNLOAD: youadb.4shared.com
Nicely done.
It works great on my G1. I've not tested the partitioning section yet, but everything else works fine!
good job!
I keep getting ADB server is out of date
idbl_fanatic said:
I keep getting ADB server is out of date
Click to expand...
Click to collapse
..but you don't get this if you manually use adb via cmd?
try using sdk 1.6 and android 1.6
Works great on my G1.
A few suggestions:
Apps window, make the sections scalable because some app names are larger than the widow size.
Push/Pull window, allow double click to open the folder instad of having to go to enter to open it.
Reorder list by name
evilkorn said:
Apps window, make the sections scalable because some app names are larger than the widow size.
Click to expand...
Click to collapse
actually i'm reworking the whole gui right now to be fully scalable!
Push/Pull window, allow double click to open the folder instad of having to go to enter to open it.
Reorder list by name
Click to expand...
Click to collapse
ok i'm gonna do that too. good ideas.
fabsn said:
..but you don't get this if you manually use adb via cmd?
try using sdk 1.6 and android 1.6
Click to expand...
Click to collapse
I am such a noob for android, where would I get this?
Pretty cool, man. Good job on this!
idbl_fanatic said:
I am such a noob for android, where would I get this?
Click to expand...
Click to collapse
Get the sdk here:
http://developer.android.com/sdk/1.6_r1/index.html
(the adb file your looking for is in the tools directory)
i also recommend using the latest version of android (have a look at the development secion of the board) because i'm developing the software using a android 1.6 (donut) phone.
Pretty cool, man. Good job on this!
Click to expand...
Click to collapse
Thanks.
fabsn said:
Get the sdk here:
http://developer.android.com/sdk/1.6_r1/index.html
(the adb file your looking for is in the tools directory)
i also recommend using the latest version of android (have a look at the development secion of the board) because i'm developing the software using a android 1.6 (donut) phone.
Thanks.
Click to expand...
Click to collapse
My bad, I didn't have my phone in debugger mode.
New release. Build 01711.
Changelog:
-Scalable gui. you can adjust the fileviewers size to the size you want. very useful, especially if there are many long filenames.
as requested by evilkron.
get it here:
youadb.4shared.com
Nice changes
But one problem: The push/pull tab gets stuck and won't go back in folders after going a few folders deep and won't go back with the ...
I noticed that too. I'm gonna fix that right away...
---
fixed.
build 01711b
changelog: fixed filebrowser's "..." (go back) button.
download: youadb.4shared.com
Its working great on my G1, at least the first version, just dl'ed the new edition. Great job on this...keep up the awesome work.
Any feature requests?
I need something to work on
Question. I ran Google app backup.
Where does it backup too?
kizer said:
Where does it backup too?
Click to expand...
Click to collapse
I have no idea (i dont use it) and i dont understand how this question is connected with this thread.
great app clean and simple to use, keep up the great work
Joe333x said:
great app clean and simple to use
Click to expand...
Click to collapse
i really appreciate this comment as thats exactly what this app is supposed to be: fast, easy and functional.
there might be some other tools which have more functions (which i'm going to implement too) but they're not as fast and stable as mine is / will be!
NEW RELEASE: build 02111
changelog:
-push/pull file function updated
-MAJOR speed and stability improvements: app starts in less than 1sec and uses multitasking so that it will stay stable and is faster (especially when pushing files or searching fo .apks on ur computer!)
Download: youadb.4shared.com
________________________
NEW release: build 02211
changelog:
- added remount button
- slight ui changes
- fixed assemblyinformation
- improved "custom adb command" dialog
edit: fixed 1 more bug (you dont have to manually refresh the device stat to use the partitioning tool anymore)
=> build 02211b
Download: youadb.4shared.com

Newbie AOSP question and sharing

Hi all,
Having a rooted Nexus one in my hand, I have been playing around with many of the custom ROMs and kernel over the past few months. (Thanks to nandroid backup)
For ROMs, I have been playing around with CM, LeoFroyo, Modaco, Kang-o-rama, ... stock FRF91 deoxed by Geo411m...etc.
For kernel, have been happy in using the intersectRaven's one dated at 0802 (stable one for me...)
Just a few days before, I have setup a Ubuntu... install the jdk 1.5; git; repo; .... and all necessary files for compiling the source from git://android.git.kernel.org/platform/manifest.git -b froyo
Getting the source and compiling are very time consuming jobs because my network speed and computer are not very fast
So, I have successful compile the source, running lunch full_passion-userdebug ; make -j4 for my dual core machine, and find the system.img
I also download and install the dsixda kitchen, based on Leo's ROM, I have replaced it with my newest compiled apps (apks..) and pngs (black status bar ) and also replace the zImage from intersectRaven's kernel into my boot.img. After flashing the ROM in recovery, I am so lucky that my phone can boot up =_= with everything very smooth and OK.
Now, I have a few questions, as a newbie developer (sincerely asking for help~)
1) How can I get the latest google apps (gapps), and where can I get it? Are there any 'source code' for gapps? How to compile them?
2) If I want to get the source again (e.g. get the newest source of browser.apk), how & what command should I use?
3) If I want to modify the system settings, that is "Settings -> About Phone", which file should I modify?
4) After I get the source of AOSP, compilied them, is it mean that I have the rom deoxed? (Because I can see system/apps/ and all apps are breaking down into apks)
5) I enjoy using good things from others (e.g. LeoParts from Leo's ROM. Can I merge it into my rom and re-distribute after that? How?)
6) Is it necessary to sign *all* apk before they can be run on the phone?
7) I use dsixda kitchen and use testsign.jar. Just want to ask will the signing expires? And is it OK to distribute the ROM using test signing?
I know I get so many questions and they are so 'newbie...'. Sincerely hope that experts in this forum can answer my questions.
Once again, thanks all the ROM / Kernel makers in motivating me to custom the AOSP ROM myself.
Many thanks for all of your help.
ardatdat said:
1) How can I get the latest google apps (gapps), and where can I get it? Are there any 'source code' for gapps? How to compile them?
Click to expand...
Click to collapse
GApps are proprietary, closed-source applications... you can get them from http://mirror.kanged.net/gapps/gapps-hdpi-20100814-signed.zip
ardatdat said:
2) If I want to get the source again (e.g. get the newest source of browser.apk), how & what command should I use?
Click to expand...
Click to collapse
repo sync and then rebuild
ardatdat said:
3) If I want to modify the system settings, that is "Settings -> About Phone", which file should I modify?
Click to expand...
Click to collapse
Change the values in build.prop in /system or system.img
ardatdat said:
4) After I get the source of AOSP, compilied them, is it mean that I have the rom deoxed? (Because I can see system/apps/ and all apps are breaking down into apks)
Click to expand...
Click to collapse
AFAIK, yes, they are de-odexed. I believe you need to odex them later if you wish.
ardatdat said:
5) I enjoy using good things from others (e.g. LeoParts from Leo's ROM. Can I merge it into my rom and re-distribute after that? How?)
Click to expand...
Click to collapse
git merge (I forgot the detailed steps), repo sync and build
ardatdat said:
6) Is it necessary to sign *all* apk before they can be run on the phone?
Click to expand...
Click to collapse
Yes, I believe this is a must.
ardatdat said:
7) I use dsixda kitchen and use testsign.jar. Just want to ask will the signing expires? And is it OK to distribute the ROM using test signing?
Click to expand...
Click to collapse
This should be fine... most, if not all, custom ROMs are signed with test keys...
Hope I've been able to help a bit, if not much... have fun building!!! Ask the ROM gurus on twitter...
Thanks, a quick question:
Will repo sync re-download all the source???
I remember I need many hours in download the -b froyo branch.
Any get latest command that only get the difference?
Also, if I only want to get a particular folder, e.g. packages/apps/Browser, what is the command? Thanks.
repo sync takes several hours the first time... but every successive sync is a delta/differential sync... depending on the number of changes in the repository, it could finish in a few minutes. I'm not sure about syncing a particular folder, I just know about syncing a particular branch (which you have done using -b). Need to look it up...

Compiling only selected system apps in Eclipse - how?

Hi,
I have successfully set up FRG83 and Cyanogen repositories, I've compiled the whole ROM, and I've compiled specific apps (make Gallery3D, for example).
Now I'm trying to start working with Eclipse. I've installed it and imported Cyanogen repo into it as a project - worked fine. The problem is - what if I want to compile a single package from it, say, Calendar app only? What is the equivalent of "make Calendar" in Eclipse, and is there any?
Thanks.
Bump. I don't believe no developers pass around here..
Don't believe many people in here know as much as you... xD
I know you shouldn't post questions in the dev section, but it may be a better option?
Sent from my Nexus One using XDA App
Unfortunately there are still plenty of internal-only API calls in the AOSP system apps. This means that many of them will not compile using the SDK.
So the right way to work with them would be editing in Eclipse and building in command line, like I did. Oh well... Thanks

MetaSploit on Galaxy Tab

Since we have the ability to install the full ARM-based distribution of Ubuntu Linux (in a "chroot", similar concept to a Virtual Machine), I think we may have the ability to install MetaSploit on the Galaxy Tab.
Can anyone provide any pointers on how to get started with this kind of effort? The instructions to install full Ubuntu Linux in a chroot are at http://forum.xda-developers.com/showthread.php?t=836022&page=4
From within this Ubuntu Linux environment we can "apt-get install" just about anything from the ARM-architecture based Ubuntu Linux repositories using the Terminal Emulator. This means we could probably "apt-get install" most of the MetaSploit components, if they are available in ARM-architecture form.
Any thoughts on this are much welcomed. Thank you.
This should be no problem, it has been done on other devices, for pieces that are not already in package form you'll have to find and compile source....a good hint for the packages you'll want to look for a guide on how to install it on a Nokia N900
What has this got to do with Android development??
This should be in Genera section.
hey dude, i've been looking to port this for awhile without success, i can't understand how the guys at rapid7 did the port for IOS and not for Android... I've read that the key is to get ruby working on Android so far there is jruby i believe that isn't fully functional yet...
I heart your name atheist
Sent from my SCH-I800 using XDA App
I found a link to an article which seems to explain how to do this...
http://r00tsec.blogspot.com/2011/05/metasploit-on-android-htc-desire-hd.html
We should try this on the Tab.
Update:
I got MetaSploit working on the Tab! I needed to follow the instructions mostly from http://r00tsec.blogspot.com/2011/05/metasploit-on-android-htc-desire-hd.html
I did have to install ruby ("apt-get install ruby" at the command line) and Ruby Gems (search for the exact apt-get name) inside the chroot'd Ubuntu environment though.
I was able to enlarge the 2 GB Ubuntu image to almost 4 GB using the instructions posted on the blog shown above which provided plenty of space to install MetaSploit and other InfoSec tools.
The next goal is to get BackTrack 5 (ARM) running.
http://www.androidng.com/install-backtrack-5-linux-on-android-phone
Any input is welcome.
mail_e60 said:
I found a link to an article which seems to explain how to do this...
http://r00tsec.blogspot.com/2011/05/metasploit-on-android-htc-desire-hd.html
We should try this on the Tab.
Click to expand...
Click to collapse

[Q] Importing XposedBridgeAPI in Android Studio

I'm having problems in creating an Xposed module, especially in importing the XposedBridgeAPI in Android Studio.
Since the development tutorial is made for Eclipse, I don't have any reference points...
At first, I tried to import it the "normal" way in gradle build script, with different locations for the XposedBridgeApi.jar, first in libs/ folder, then outside the project folder, both times including it in build.gradle with:
Code:
compile files('libs/XposedBridgeApi-54.jar')
It built successfully, and I could install and activate in Xposed Installer, but after rebooting the module didn't work and I got a "java.lang.IllegalAccessError: Class ref in pre-verified class resolved to unexpected implementation".
I googled it, and found this: Same problem, @rovo89's answer.
So I tried to find a different way of including the XposedBridgeApi, without including it into the apk, and found this: Link
Sadly, it didn't work, I couldn't do the last step with compileSdkVersion, it said the this target isn't available...
So, is anyone successfully using Android Studio for making Xposed modules? Anybody having same problem?
Cheers, and thanks in advance,
Max
Replace "compile" with "provided".
GermainZ said:
Replace "compile" with "provided".
Click to expand...
Click to collapse
Oh my god that is simple...why I didn't find that? Thank you very much, you're the best!

Categories

Resources