Posted this on my Twitter (@ruqqq) yesterday. Not sure how many people use ConnectBot (like I do). But anyway, I took a whole day to learn Fragment API and decided to use ConnectBot as my "test subject". Below is the result:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Code:
[B]Features:[/B]
- Standard ConnectBot features
- ActionBar UI
- Fragments UI
[B]Known bug:[/B]
- While a console is open, if you click the EditText on bottom right, the console will lose focus. When that happens, click the list item of the current console to regain focus.
YOU NEED TO UNINSTALL THE CURRENT CONNECTBOT ON YOUR DEVICE BEFORE INSTALLING THIS VERSION BECAUSE OF DIFFERENT SIGNATURES
GitHub Link: https://github.com/ruqqq/connectbot
APK Link: REUPLOADED
I won't continue developing this and I hope somebody out there would improve the code. I've also mention ConnectBot lead developer in my tweet in hope he see this link and would merge my changes.
I get a force close when I 'sudo tail'
sudo tail?
EDIT: Reuploaded with major bugfix thanks to @mattyboy247 report
Attempting to 'sudo tail -f /var/log/apache2/error.log'
FC's at 'sudo tail'
you meant you ran the command on your server? anyway.. try the reuploaded apk.
With the first APK uploaded, after a connection to the server, I would attempt to view its apache2 error log. imediately after typing 'sudo tail ' it would FC.
The re uploaded one seems to be working now. Thanks for this.
I'll fork your Git for future reference to the code, that way I am not depending on you to see why I'm having problems, and can attempt to correct them
sure. please do. i'm only porting the UI for my use and for learning fragment api. i don't intend to further develop or maintain this.
Love the app,
but is there anyway to disable volume control for the control the text size?
is there a way to hide the host list?
What does this do if I may ask?
much apreaciated man, it works wonderfull on my gtab 10.1v.
gqstatus0685 said:
What does this do if I may ask?
Click to expand...
Click to collapse
yeah what does it do? Oo
same thing as connectbot, SSH terminal connections but with a modified UI for honeycomb tablets.
Did you send a pull request on github? Best way to get him to merge things. I know for a fact he watches those.
I have a fork with modification to use Search key on a Transformer for ESC. So I'll learn how to use the pull request function with you.
Great app idea! I love it. One problem though - didn't install for me. Running rooted stock HC 3.1 on Asus Transformer. I do have the original Connectbot installed, would that have anything to do with it?
TimD123 said:
Great app idea! I love it. One problem though - didn't install for me. Running rooted stock HC 3.1 on Asus Transformer. I do have the original Connectbot installed, would that have anything to do with it?
Click to expand...
Click to collapse
Yes, in the OP he says in big red letters:
YOU NEED TO UNINSTALL THE CURRENT CONNECTBOT ON YOUR DEVICE BEFORE INSTALLING THIS VERSION BECAUSE OF DIFFERENT SIGNATURES
Click to expand...
Click to collapse
ViViDboarder said:
Yes, in the OP he says in big red letters:
Click to expand...
Click to collapse
D'OH! my bad - thanks for the heads up.
hey arctu, thanks for this, i use connectbot almost every day!
Hello there,
can anybody upload apk somewhere and make a mirror? OP's link doesn't work for me ATM.
TIA
Hi arctu
I just wonder why you used the base ConnectBot.
I prefer the already modified version, Irssi ConnectBot, which sports a bunch of features such as the long touch menu, symbols, device and language specific fixes, etc.
I used to use ConnectBot for local terminal emulating, but then I discovered that one modified for irssi and now I can't do a lot of things on my X10i without it.
I hope you will start to modify Irssi ConnectBot as well.
Related
Finished writing up the Screenshot application this evening. You must have root to use this application:
If you want to know how I did it, just read from /dev/graphics/fb0
Screenshot application:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Choose how long to wait before taking a screenshot:
Once the screenshot is taken, you will get a toast on the bottom of your screen.
You can view the screenshot and save it to your SD card (from the menu):
Download it off the Market!
Koush said:
Before we had root, it was impossible to write a screenshot application because when trying to use the ACCESS_SURFACE_FLINGER permission, you would get denied. However, now that we have it, it obviously works.
The application needs to be compiled in the Android build environment to access some of the internal classes. I started with a modified version of monkey at first (similar to how I made the screen autorotate work). I'm working on stripping out the junk now.
Click to expand...
Click to collapse
You rock....Keep it up!
You know you can take screenshots with ddms (included in the sdk), right? I think it works even on a stock phone (although I'm not positive).
Granted, you have to have the phone plugged into your computer to take a screenshot with ddms, where your app would be able to take one anytime. So your approach would still be useful
JesusFreke said:
You know you can take screenshots with ddms (included in the sdk), right? I think it works even on a stock phone (although I'm not positive).
Granted, you have to have the phone plugged into your computer to take a screenshot with ddms, where your app would be able to take one anytime. So your approach would still be useful
Click to expand...
Click to collapse
Yeah, thats actually how I figured out how to take screenshots: I dug through the DDMS code till I ended up at the SurfaceFlinger IPC Server.
But as you said, it is not ideal.
Awww. I was expecting to see a preview inside a preview inside a preview.. etc.
JesusFreke said:
Awww. I was expecting to see a preview inside a preview inside a preview.. etc.
Click to expand...
Click to collapse
Hahha, that's actually what I had screenshotted at first, but then then I realized it looked really confusing.
Once Screenshot Application is ready it will be easy to make Application which can Record Screen activities in Video for Possibly making Video Tutorial of Softwares, OS etc.
Well done koush.
Finished the application tonight. Enjoy guys! Check the first post for instructions/download.
i keep gettn a message that says "broken pipe" ??????? any idea??
*NEVER MIND FIGURED IT OUT MYSELF..... HAD TO TAKE OFF MY PASSWORD*
GREAT APP !!!!! : )
usmc2k said:
i keep gettn a message that says "broken pipe" ??????? any idea??
*NEVER MIND FIGURED IT OUT MYSELF..... HAD TO TAKE OFF MY PASSWORD*
GREAT APP !!!!! : )
Click to expand...
Click to collapse
You should download Superuser off this forum. It will ask for permission whenever su is used, and also won't break applications that use su.
Koush said:
You should download Superuser off this forum. It will ask for permission whenever su is used, and also won't break applications that use su.
Click to expand...
Click to collapse
I have superuser..... but do i have to delete my supassword to use it or can i use both programs ? Couldnt figure out how to set tha password thats y i dont use it .....
Is it possible to make a version for users without root access?
stats555 said:
Is it possible to make a version for users without root access?
Click to expand...
Click to collapse
No, you need root access to read from /dev/graphics/fb0
When ever I try to take a screen shot it says:
Screenshot.raw file not found
Any ideas what's wrong?
koush thx for the great apps. i installed your superuser app and it works great and i installed your screenshot app which works great for people having a hard time with screenshot app to get it to work after you set in the time to take it you have to go to the screen you wont a pick of before the time is up or you will get a pick of the android with blue background koush can you if it is possible to make a app that can edit the apk files so images can be replaced in the phone i have had no luck resigning the apk. files using the signapk tool
koush, any chance you would release the source ?
Koush said:
No, you need root access to read from /dev/graphics/fb0
Click to expand...
Click to collapse
I figured it might not be but hey worth asking anyways
neerhaj said:
koush, any chance you would release the source ?
Click to expand...
Click to collapse
Sure. The C portion with the interesting bits is attached. It's pretty messy. I never bothered to clean it up after I got it working (lot of trial and error).
I've gotta optimize the pixel format conversion loop sometime. It's unnecessarily slow right now.
haitiankid4lyf said:
When ever I try to take a screen shot it says:
Screenshot.raw file not found
Any ideas what's wrong?
Click to expand...
Click to collapse
koush, i get the same error.
Lieu10ant said:
koush, i get the same error.
Click to expand...
Click to collapse
You have root, and no password protection on your su right? I would recommend installing Modified RC 30 v1.2 and Superuser.
Can you verify that the following file exists:
/system/bin/screenshot
Also, try running it. That is the native executable I wrote that scrapes the screen and writes screenshot.raw.
This patch will allow you to see all apps in Android Market - not just QVGA resolution. Most of the apps will work just fine because Android downscales them automatically, it's just some developers are so lazy.
On the screenshots you can see Market search for "video":
1. Original Market -before applying patch
2. Patched Market v1
3. Patched Market v2
4. Patched Market v2 and Market Enabler (set to T-Mobile US)
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
What does it do?
- fakes resolution 320x480 instead of 240x320 (changed constant)
- fakes camera autofocus support (disabled reading noautofocus workaround)
Installation: Root your Tattoo, copy patched Market to the device and reboot.
Android 1.6 (stock ROM with root)
Code:
adb push Vending-Tattoo-patched.apk /system/app/Vending.apk
Android 2.1 (cooked ROM)
Code:
adb push Vending-Tattoo-patched.apk /system/app/com.android.vending.apk
Android 2.2 - Market for 2.2 has to be signed with the same certificate as other system components. Your chef has to cook it for you...
(Based on reports from users: You may be required to change system language to English before launching the patched Market and re-accepting ToS. I have no idea why...)
You may have to remount /system for rw access.
Code:
adb shell mount -o rw,remount /dev/block/mtdblock3 /system
You may consider adding this patch to cooked ROMs (just don't forget credit to moneytoo).
Update Google Goggles and Twidroid now visible! Both apps work flawlessly on Tattoo.
If you don't see these apps, delete Market data ("rm -r /data/data/com.android.vending") and reboot.
Enjoy!
Works great! Thanks!
Thanks!
Thanks bro!
What program do you use for take the screenshots?
arturo025 said:
What program do you use for take the screenshots?
Click to expand...
Click to collapse
Screen Capture tool that is part of the Android SDK (or the Eclipse plugin).
moneytoo said:
Screen Capture tool that is part of the Android SDK (or the Eclipse plugin).
Click to expand...
Click to collapse
Thanks man!
BTW, do you know any way to enable the bluetooth file transfer on the Tattoo?
great!
i'm going to post it on androidiani.com italian forum) !
thank you
I should first root my tattoo, but really great work!!!
great!!its works!!thanks so much
dude... u dont have any idea how many persons out there was hoping and looking for this patch... thank u so much
works great let's see do the games work ?
Very very thanks man, really
Nice.
Thanks man.
Any way to do this without root?
It is not possible without root.
if i run market ,it always show the market-tos.html page now!!!!!
Hi,
Thanks a lot! I will add this patch to my customized ROM.
luobailiang said:
if i run market ,it always show the market-tos.html page now!!!!!
Click to expand...
Click to collapse
I got it!!!
If you language is non-english,you need change to english before first run marker!!!
Great man
brilliant
hi.
what is surprising is how many apps that arent officialy supported do actually work fine !. the app writers need to be aware of this, they will be missing some of their market share otherwise.
anyways- great work, the whole tattoo progress thing is looking good right now, happy times fellow tatto owners..
=====PEACE=====
Hello all Legend owners =)
The popular kitchen is coming to Legend!
I will be opening this kitchen within the next couple of days,
I will try to get it running within 24h.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Special thanks to HNH992 that developed the scripts and the site :=)
If you are a developer and want your ROM here please let me know.
I will be adding the most popular ROMs for Legend that i can see at least.
Current working URL is Cookmyrom.se
A small dns issue at the moment causing some people to get webpage not found but getting it fixed.
Any questions please send me a PM or post here.
IT's ONLINE now!
Feel free to try it out :=)
http://cookmyrom.se/Legend/index.php
Guys here you go :=)
Temp solution until we find a way to add it to the main script :=)
enjoy
HUGE UPDATE!
All new website design soon released for Cookmyrom.se :=)
Stay tuned and keep an eye on it.
Design will be made by nicolajreck
I will also update and adding ROMs :=)
And apps ofc
UPDATE!:
Temp fix have been released.
Go to cookmyrom.se
Type in the security numbers and continue,
Next step you can select phone/ROM
Great!
Look forward to this
Very nice news! THX a lot for your work!
that will be very nice............
FOLLOW ME http://smartsreenath.blogspot.com/
It's up and running now,
please give it a try and report errors.
Not working, i tried to cook a rom, and it seem'd to go fine, gott this error when i tried to download "The requested URL /Legend/18mclmqnkxv76537cnga.zip was not found on this server.". ( tried it 3 times ) and same error every time..
Same as above, not found when trying to download the ROM :/
Btw, on the "Do you want to upload programs?"-thingy, can I use i.e. gapps?
This looks great, thx a lot!
Thanks for update,
Its not making the ROM for some reason
Will have it solved soon.
UPDATE!
Use Cookmyrom.se
If you continue on there you will get the option to add Legend rom instead of Desire and so on.
l1nuxfre4k said:
UPDATE!
Use Cookmyrom.se
If you continue on there you will get the option to add Legend rom instead of Desire and so on.
Click to expand...
Click to collapse
umm... where's the option to add legend rom?
Sorry guys, kitchen down for a shorter time,
recoding some parts at the moment so it works.
Ok its done :=)
Temporary fix for the kitchen is relased.
Go to Cookmyrom.se and when you get to step1.php you have drop down list where you can select phone/ROM
Will have a go. When prompted to add apps, can I upload a gapps-package?
greenolive said:
Will have a go. When prompted to add apps, can I upload a gapps-package?
Click to expand...
Click to collapse
yes
just add it :=)
you can add any app you want
Hi m8,
Here www.cookmyrom.se still can not resolve...
Im updating the DNS.
Please try visiting the site again and report if it works
Also try a few times during the day
Can you actually dig cookmyrom.se. through some Swedish ISP? I tried like four Slovenian ISPs and noone resolves it.
BlaY0 said:
Can you actually dig cookmyrom.se. through some Swedish ISP? I tried like four Slovenian ISPs and noone resolves it.
Click to expand...
Click to collapse
the issue should now be resolved
im using a secondary hosts nameservers,
it just need to be updated.
usually takes 24h before it works good everywhere
Download worked perfectly now!
However, I got an ERROR 1 when I tried to browse and select the gapps.zip DL'd from the Azure website.
pesaroso said:
Download worked perfectly now!
However, I got an ERROR 1 when I tried to browse and select the gapps.zip DL'd from the Azure website.
Click to expand...
Click to collapse
Would you mind linking that error? :=)
Just stumbled across THIS.
Sounds fun
lithid-cm said:
Cyanogenmod Compiler (CMC)
Build cyanogenmod with a cli interface.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
If you are wondering how you can use this software its easy. You can clone my repo for now. and run the CMCompiler script:
Code:
git clone https://github.com/lithid/CMC.git
cd CMC
./CMCompiler
Features:
- Check for repo installation on startup / or create a repo
- Add and remove devices quickly and easily.
- Remove all non english languages.
- Remove live wallpapers
- Remove cm wallpapers
- Check if adb is running or not.
- Update the repo
- Compile cyanogenmod
- Built in color themes. > http://goo.gl/cED8t
- Plugin support. (More information on this to come)
- local config file for saving settings or manually editing them.
- Odex plugin built into the package. This will take your connected cyanogemod installed phone and odex the rom on the phone.
Known Issues:
- There is nothing under the menu option 99. This is a placeholder for information about me and the compiler. If you select it it will just exit you out of the script.
- There is no checking for installed software. You will need to install the needed packages on your own to compile. Check post 2 for needed software.
- I have only tested this with ubuntu 11.04.
- Removing the CM wallpapers from the build only works with gingerbread for now. Everything else is working as expected for me.
- I don't check for open ports on your network, so there might be issues connecting to the repos and syncing. I have not built error checking for that.
Features to come:
- Check for installed tools and tell you which are still needed
- Installer/Remover
- Updated information about CMC and plugin support.
- Pure AOSP via plugin
- Adb installer
- Better error checking support.
- Check for errors during compile and point to places to fix.
- Edit the name of your kanged rom!
- I will also take requests!
Please any issue that should arise, I apologize in advanced. Please let me know with as much detail as possible to replicate the issue and I will resolve it.
You can follow me on google+ I tend to talk about it a bit on there as well.
Click to expand...
Click to collapse
ok, i'm not sure...
-it has to be installed on your pc
-it connects to your repo
-it lets you choose which is your device
-it lets you choose which feature to compile
-it downloads the compiled package
-it pushes to your device which is connected via usb
am i right?
bye
alessandro_xda said:
ok, i'm not sure...
-it has to be installed on your pc
-it connects to your repo
-it lets you choose which is your device
-it lets you choose which feature to compile
-it downloads the compiled package
-it pushes to your device which is connected via usb
am i right?
bye
Click to expand...
Click to collapse
From the screenshot it looks like a script being run in Ubuntu. I think the OP means that his script and whatever resources will be cloned from his repo with the given command, but then it will pull the cyanogenmod sources required for your device from their servers. It then compiles on YOUR machine.
Well I could try finishing it. Not sure. I am learning bash scripting at school so
sorry for dumb question but: is there a way to have something like that on Windows?
provolinoo said:
sorry for dumb question but: is there a way to have something like that on Windows?
Click to expand...
Click to collapse
nope probably will never happen. the work needed to even attempt would be retarded
you can use an emulator to VM a linux box. as long as your pc is fast enough.
Thats what im doing anyways
nice tool, im gonna clone the repo after and take a whack at the tool - thanks !
This looks interesting. Will give it a try, but hoping to see a beta/release candidate soon
is there any version for windows???
Read two post up
This is a tool for windows. The purpose of this application is to view, sort, filter and install Ouya market apps from a PC.
*This is a Beta release, please post any issues! Also looking for some verification that all is well at this point, so feel free to post. Thanks.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Lets say you have kids or other family members on the tv that the Ouya is hooked up to. This application will allow you browse and install games from the Ouya market from your PC so you can spend those precious gaming minutes/hours actually gaming rather than looking for, downloading or installing your games. It also has my favorite feature, a complete list of all games in alphabetical order! You can also use this to install any apk file or reboot your ouya.
Basic usage-
- Select a game to view the image.
- Click "download" to save the selected game apk file to disk.
- Click "install" to browse for a .apk file to install
... That's all you need to get going, the rest kind of just make sense, but feel free to ask if you have any questions.
Notes-
If you want to use the wifi adb support, please make sure that you have tcpip support enabled on your ouya.
For stability the adb server is killed on every button click before it issues any new adb commands, which means even the reboot will take about 15-20 sec while the server comes back up to respond.
More sorting and filtering to come...
Install Instructions-
-Extract the files and run the setup.exe, after which it will be accessible from the start menu (under ProfessorPopTart).
-For updates please uninstall the previous version.
-Use the "nonInstall" version for a standalone executable.
*This is a Beta release, please post any issues! Thanks.
** updated to version 0.2
- Update json responce methods
- Added game list on load
** If you want to check out the source or follow development. (currently working on sorting...)
https://github.com/ProfessorPopTart/OuyaApkDownloader
IRC - FreeNode #ouya-dev
I don't know how yet but if they are letting third party access to their store then we can make our own store that looks good and has a listing of all apps.
Very good, thanks for development!!
Asadullah said:
we can make our own store that looks good and has a listing of all apps.
Click to expand...
Click to collapse
Actually working on that now... at least the listing of all apps... no promises on the "looks good" part! lol
professorpoptart said:
Actually working on that now... at least the listing of all apps... no promises on the "looks good" part! lol
Click to expand...
Click to collapse
Make it open source and it'll happen
Asadullah said:
Make it open source and it'll happen
Click to expand...
Click to collapse
Fyi, just finished an alpha build of this to run on the Ouya. Its just a simple app that lists the games and shows you the image when you select it. You can then download the apk for install. Basically the same thing this one does... I have been testing it on cm10 and seems to be working fine. I need a few days for code cleanup/documentation so its at least presentable for a beta, then I'll post the apk for general testing and such.
Asadullah said:
Make it open source and it'll happen
Click to expand...
Click to collapse
Released it under GNU GPL with Github link, have at'er!
http://forum.xda-developers.com/showthread.php?t=2385950
Add this to my github (link in first post) in case anyone wants to check out the source or follow development.
Edit - Sorry please remove post (Wrong section).
this site basically does this http://www.totalouya.com/apps-and-games/