[TOOLS] Open Source Power Tools for Nexus 4 - Nexus 4 Android Development

This thread is dedicated for tools with are build with NDK.
The idea is run tools natively on Nexus 4 without chrooted Linux.
I usually prefer command line interface for many tasks, which gives more power and control over fancy interface.
Ported Tools
OpenSSH 5.1p (http://www.openssh.org)
Nmap 6.01 ( http://nmap.org )
Ncrack 0.4ALPHA ( http://ncrack.org )
ccrypt 1.10 (http://ccrypt.sourceforge.net)
curl 7.29.0 (http://curl.haxx.se)
RTMPDump (http://rtmpdump.mplayerhq.hu)
tcpdump 4.1.1 (http://www.tcpdump.org)
John The Ripper 1.7.8 (http://www.openwall.com/john/)
Stunnel 4.4.5 (http://www.stunnel.org)
Feel free to contribute in this thread.

John the Ripper, TCPDUMP and Stunnel Added.

JtR benchmark results with Stock ROM and Kernel on Nexus 4.
Code:
Benchmarking: Traditional DES [32/32 BS]... DONE
Many salts: 131396 c/s real, 135997 c/s virtual
Only one salt: 128655 c/s real, 129131 c/s virtual
Benchmarking: BSDI DES (x725) [32/32 BS]... DONE
Many salts: 4807 c/s real, 4807 c/s virtual
Only one salt: 4744 c/s real, 4744 c/s virtual
Benchmarking: FreeBSD MD5 [32/32 X2]... DONE
Raw: 2297 c/s real, 2297 c/s virtual
Benchmarking: OpenBSD Blowfish (x32) [32/32 X2]... DONE
Raw: 53.4 c/s real, 53.4 c/s virtual
Benchmarking: Kerberos AFS DES [24/32 128K]... DONE
Short: 18904 c/s real, 18931 c/s virtual
Long: 58616 c/s real, 58747 c/s virtual
Benchmarking: LM DES [32/32 BS]... DONE
Raw: 1724K c/s real, 1726K c/s virtual
Benchmarking: dummy [N/A]... DONE
Raw: 17684K c/s real, 17649K c/s virtual

I think this is great but I'm new to the nexus world and I'm not exactly sure what do do with the files. Do we need to extract them in the in a specific folder that the path is referenced?

Related

Apple doesnt copy?

Apple complains about people stealing their "intellectual property". Where did you guys come up with this name? HTC sue em for this.
http://www.apple.com/thunderbolt/
Fasinationinmotion said:
Apple complains about people stealing their "intellectual property". Where did you guys come up with this name? HTC sue em for this.
http://www.apple.com/thunderbolt/
Click to expand...
Click to collapse
I think that's not copying or stealing! because it's name is thunderbold it's only the name...
if it is HTC then it's more copying..
They copied with their 1GHz processors
More like:
"Notification Center" - Android
"iMessages" - BBM
"Notification Widgets" - Android
manumanfred said:
I think that's not copying or stealing! because it's name is thunderbold it's only the name...
if it is HTC then it's more copying..
Click to expand...
Click to collapse
Totally agreed..
Apple have already been found to be manipulating the images of case Apple vs Samsung Galaxy Tab, so why aren't they being charged for 'knowingly submitting evidence containing false information'
Fasinationinmotion said:
Apple complains about people stealing their "intellectual property". Where did you guys come up with this name? HTC sue em for this.
http://www.apple.com/thunderbolt/
Click to expand...
Click to collapse
I don't believe Apple copies others.
Err, first, Thunderbolt is Intel technology, not Apple's. Apple is just the first to widely deploy it. Second, it has nothing (directly) to do with phones, it's a data transfer thingy. Only if Apple made a phone and called it Thunderbolt would it be trademark infringement.
Now, Apple is completely insane and totally hypocritical. But let's not accuse them of things that aren't there.
MartyLK said:
I don't believe Apple copies others.
Click to expand...
Click to collapse
LOL
(10 chars)
Gusar321 said:
Err, first, Thunderbolt is Intel technology, not Apple's. Apple is just the first to widely deploy it. Second, it has nothing (directly) to do with phones, it's a data transfer thingy. Only if Apple made a phone and called it Thunderbolt would it be trademark infringement.
Now, Apple is completely insane and totally hypocritical. But let's not accuse them of things that aren't there.
Click to expand...
Click to collapse
On top of that, it was introduced before HTC even dreamed up the phone as marvelous as Thunderbolt is.
Thunderbolt (originally codenamed Light Peak) is an interface for connecting peripheral devices to a computer via an expansion bus. Thunderbolt was developed by Intel and brought to market with technical collaboration from Apple Inc. It was introduced commercially on Apple's updated MacBook Pro lineup on February 24, 2011, using the same port and connector as Mini DisplayPort.
.......
Intel introduced Light Peak at the 2009 Intel Developer Forum (IDF), using a prototype Mac Pro motherboard to run two 1080p video streams plus LAN and storage devices over a single 30-meter optical cable with modified USB ends. The system was driven by a prototype PCI Express card, with two optical buses powering four ports. At the show, Intel claimed that Light Peak-equipped systems would begin to appear in 2010.
....
But the question is; when did Apple name it "Thunderbolt". Either way, i don't think Apple looked at the HTC Thunderbolt and thought "We should call it Thunderbolt!".

[Q] Windows Embedded Compact 7 on HP TouchPad?

Has anyone attempted this? I have WEC7, and was wondering what the next step would be for attempting to load it on the TouchPad.
Thoughts? Help? Tips?
Does WEC7 even support the ARM architecture?
Yes. It does.
ARM, MIPS, x86
http://www.microsoft.com/windowsembedded/en-us/campaigns/compact7/default.aspx
Here is the link to check.it out devs
Sent from my SENSaYtion.
That would be awesome. I'm watching this thread fo sho!
I wish someone would initiate windows 7 CE development for HP touch as the MS link suggests its does support ARM v7
Id like this too.
If you're a student or a teacher you can legally get it for free from Dreamspark.com .....just have a hotmail email
maybe this would help some people that want it.
You realize that windows compact 7 is Windows CE variant and not the Desktop OS right? Like on the HTC HD7 phone.
Windows 8, the desktop version of the OS, does run on ARM architectures but that is not released yet.
Besides, each copy of the OS should to be licensed.
TheSilverRing said:
You realize that windows compact 7 is Windows CE variant and not the Desktop OS right? Like on the HTC HD7 phone.
Windows 8, the desktop version of the OS, does run on ARM architectures but that is not released yet.
Besides, each copy of the OS should to be licensed.
Click to expand...
Click to collapse
The Win8 intel and the arm versions of the OS are different.
You can run the web apps in x86 systems but not the opposite (x86 compiled applications in arm systems).
Varemenos said:
The Win8 intel and the arm versions of the OS are different.
You can run the web apps in x86 systems but not the opposite (x86 compiled applications in arm systems).
Click to expand...
Click to collapse
he means appearance wise.
Appearance wise will be different too cause the 'desktop mode' will be missing
ill have to double check... but i believe in my MSDN subscription i have access to this... and if the second fire sale goes my way i may be able to help.
bah... only Intel architecture versions. no arm for me
---------- Post added at 03:13 PM ---------- Previous post was at 02:36 PM ----------
ryanzion said:
If you're a student or a teacher you can legally get it for free from Dreamspark.com .....just have a hotmail email
maybe this would help some people that want it.
Click to expand...
Click to collapse
<<<--- That one is also the X86 Version
i have a copy of windows embedded but i just starting out on the development side of things :/

Compile in C on Windows RT

Hello, i would like learn langage C and use it. I watched video for learning and i woud like practise it on Windows rt.
I have a surface RT. I jailbreak it and i installed Notepad++. I can write but i can't test and compile...
I am a newbie so i tryed to :
- past mingw (install on Windows7) on my tablet and add variable on system. Don't work.
- use csbox for ARM proc don't work (i didn't know #C, i though it was like C )
- python. I don't understand anything
Help me :angel:
Sorry for my English, i am French.
please help :crying:
Go to code.org
Sent from my Nexus 4 using Tapatalk 2
it's british's humor ?
Noone know !!!!!
code.org is a website, it has instructional videos on java, c, python, and various other programing languages. So not British humor rather a suggestion on where to go to start learning
Sent from my Nexus 4 using Tapatalk 2
Ah ok
It's not really the problem. My problem is : i want compile my "file".c to exe.
And with Windows RT it's difficult. For writting the code, there is Notepad++ but for compiling, i don't find program for ARM !!!!
And i would like knowing if emulator x86 can read this exe in command
Have you gone through this
http://msdn.microsoft.com/library/windows/apps/bg125376
I've never made a windows app so I cant say what's all involved sorry but you'll have to Google search your answers
Sent from my Nexus 4 using Tapatalk 2
Microsoft Visual Studio Express 2012
JavaScript with HTML/CSS
C#, Visual Basic or C++ with XAML
C++ with DirectX
My answer :
1. there isn't langage C
2. It's for Windows 8... Windows RT (ARM) and Windows 8 (x86/x64), it's different.
anyone else ?
Notepad RT
apps.microsoft.com/windows/it-it/app/notepad-rt/592a5cf2-f685-49a2-9242-8aa7c284c333
but visual studio express edition is better because it's a full ide.
What are you doing to develop?
take a look here
infragistics.com/community/blogs/nick-landry/archive/2012/06/19/developing-apps-for-microsoft-surface-windows-8-windows-rt-and-windows-phone.aspx
sorry but i can't use links
if you can ok. But you must say me how do this because virtual studio express is not for Windows rt.
I think there is a method maybe but i think it's very complicated...
i shearch an IDE or a simple compiler for language C (not C++,#C,... -> if there are with C, no problem ) which can be to use with Windows RT Jailbreak. :good:
On the desktop will be top ! :good:
ps : I have an other pc (desktop) with Windows 7. I can copy/paste applis. But i tried virtual studio express 2012 and i can't install it on my desktop (maybe because it's not Windows 8, i have an error while installation)

LAPTOP for Linux

Hi,
Any good laptop configuration with company name, model etc which will be suitable for running Linux Ubuntu,
For Development purpose only, should be able to run DB(with average sized data), Webserver, IDE's etc concurrently.
What kind of laptop do you have?
santoshvaza said:
Hi,
Any good laptop configuration with company name, model etc which will be suitable for running Linux Ubuntu,
For Development purpose only, should be able to run DB(with average sized data), Webserver, IDE's etc concurrently.
Click to expand...
Click to collapse
I personally suggest any laptops with minimum intel I5 core, 2 gb memory and without operating system so you can boot up into your ubuntu live usb without dual booting with other OS. Me personally have no problems using Dell inspiron for 5 years. Hope it helps :good:
Intel i5
min. 4gb ram
hp, dell
Get an Intel-only laptop. The fewer 3rd party components (WiFi, sound,…) you have, the likelier is it that everything just works.
Please continue the discussion in the thread linked below.
http://forum.xda-developers.com/showthread.php?t=1765837
Thread closed.

Your most often used apps - Linux

I don't do a lot anymore on my system. I have a very basic Debian installation (config'd my way) which basically runs as a web server, file manager, web browser. 'Course, I'm on it all the time, but, I don't use many apps. I used to develop sites, manage clients, generate documentation, a bunch of related stuff - even graphical work and some audio (I play an instrument), but I no longer use my computer or any devices for business, or, work. Just a regular joe schmoe now.
You all probably do a whole lot more than I do, and use more and different apps. What are your most-used apps? My top apps are as follows:
terminal
firefox (tweaked and whatnot)
claws-mail
keepassXC
nextcloud (the server is no longer locally installed)
nano
geany
tellico (rare)
gimp (rare)
I was going to list 10, but, lol, I can't think of any more
basically, I'm just reading and writing now.
installed and running, but, I don't really 'use' them:
apache2
mysql
php-fpm
fail2ban
pi-hole
openbox
For me at work and at home I use these apps.
Firefox
Brave
VScode
DBeaver
Rider
Kdenlive
VMware
Virt-manager
Steam (w/ proton)
Yakuake
Thunderbird
KeePassXC
Vim
Gimp
Nginx
Postgres
SSH
Dotnet
React
Pycharm
Python
Timeshift
I'm a software developer at work and at home haha so I have fun!
Right on. Thanks for playing, lol. KeepassXC - there's dozens of us!
You should give one of the Arch based distros a whirl if you're looking to either challenge yourself.. plus on arch based distros, you don't have to worry with AS MANY dependencies as Debian based ones in my opinion.. I constantly bounce back and forth from Endeavour OS to Garuda Linux ..
DrScrad said:
You should give one of the Arch based distros a whirl if you're looking to either challenge yourself.. plus on arch based distros, you don't have to worry with AS MANY dependencies as Debian based ones in my opinion.. I constantly bounce back and forth from Endeavour OS to Garuda Linux ..
Click to expand...
Click to collapse
I forgot more than I'll ever know again about Linux, lol. I've used arch, actually, all of them, gentoo's stages.... Even while running Debian, from potato or something, I was distro-hopping and compiling this and that, rebuilding kernels - all the 'fun' stuff. I mean, you had to create your own floppy drive. I broke everything and got pretty damned savvy for the fixing. I ran every server, tweaked everything. I gotta be in neck-deep, it's a disease. I can still hear my ex wife, "you'll figure it out"' . No doubt after hearing me say - fuk'ing thing!
pffft. Nowadays I just want a handy script, if I need one, reliability, and I still want/maintain privacy. Debian and I have been gellin' just fine. I have a bash alias for installing apps which limits dependencies that I use by default, but, it's not as clean as compiling everything myself, which, pffft, get off my lawn!
alias install='sudo aptitude --without-recommends install'
I only use that alias because either aptitude or debian defaulted to --with-recommends and I'm not down with all that cruft.
Know what I used to love? Puppy Linux and Mepis. Also, aww, damn, what was it - this one distro you could boot to and fix everything. It was the first one, way back - damn I can't remember what it was. One of the first bootable and the first boot to for repairs and whatnot. If you say it I'll remember it. EDIT - you could even boot it to graphical!
'Nother EDIT - it was Knoppix! It just hit me.
DrScrad said:
You should give one of the Arch based distros a whirl if you're looking to either challenge yourself.. plus on arch based distros, you don't have to worry with AS MANY dependencies as Debian based ones in my opinion.. I constantly bounce back and forth from Endeavour OS to Garuda Linux ..
Click to expand...
Click to collapse
Ya I've done vanilla arch before and love it. On my servers I run arch. On my desktops I run Manjaro
Looks like Garuda is the new sexy.
bronkish said:
Looks like Garuda is the new sexy.
Click to expand...
Click to collapse
Yeah, I would have to agree that as an all around Arch Linux, it's by far one of themore aesthetically pleasing distros out... Unforunately, it's super resource heavy in comparison to others such as Endeavour, so i do what anyone that has a notion to critique something in Linux should do.. I went and cherry picked my favorite tools from their Gitlab page and now have the best of both worlds ...
NO CONDOM!
DrScrad said:
I went and cherry picked my favorite tools from their Gitlab page and now have the best of both worlds ...
Click to expand...
Click to collapse
Linux people get it done.
couple apps I didn't mention that I always install, but don't necessarily use, though they are always 'on': unclutter and redshift.
Unclutter takes the mouse out of the way after 10 seconds and redshift tones down the blue light as the sun descends. Indispensable apps as far as I am concerned.
One app I also failed to mention, that I use constantly, is scrot. Scrot takes screenshots in a number of ways via a handy keybind. AYFKM? Fabulous. In OpenBox I can add scrot commands to a menu as well as that handy keybind. Look... (~/.config/openbox/menu.xml)
Code:
<!--Scrot Menu-->
<menu id="scrot" label="Scrot" icon="/usr/share/icons/Tango/scalable/emotes/face-kiss.svg">
<item icon="/usr/share/icons/Faenza/devices/scalable/camera.svg" label="delay 5">
<action name="Execute">
<execute>
scrot '%Y-%m-%d_$wx$h_%X.jpg' -d 5 -e 'mv $f ~/scrots/'
</execute>
</action>
</item>
<item icon="/usr/share/icons/Faenza/devices/scalable/camera.svg" label="Select Area (Alt-PrtSc)">
<action name="Execute">
<execute>
scrot '%Y-%m-%d_$wx$h_%X.jpg' -s -e 'mv $f ~/scrots/'
</execute>
</action>
</item>
<item icon="/usr/share/icons/Faenza/devices/scalable/camera.svg" label="screen with 20% thumb">
<action name="Execute">
<execute>
scrot '%Y-%m-%d_$wx$h_%X.jpg' -t 30 -e 'mv $f ~/scrots/'
</execute>
</action>
</item>
</menu>
<!--end scrot menu-->
{
"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"
}
as for the keybind, look (~/.config/openbox/rc.xml):
Code:
<!--SCROT-->
<keybind key="W-Print">
<action name="Execute">
<execute>scrot '%Y-%m-%d_$wx$h_%X.jpg' -s -e 'mv $f ~/scrots/ & gpicview ~/scrots/$f'</execute>
</action>
</keybind>
<keybind key="W-Insert">
<action name="Execute">
<execute>scrot '%Y-%m-%d_$wx$h_%X.jpg' -e 'mv $f ~/scrots/'</execute>
</action>
</keybind>
<keybind key="Print">
<action name="Execute">
<execute>scrot '%Y-%m-%d--%s_$wx$h_scrot.jpg' -e 'mv $f ~/scrots/ & gpicview ~/scrots/$f'</execute>
</action>
</keybind>
<!--END SCROT-->
So, I use the menu entry in order to choose 'select area' if I only need a section of the screen, or I'll use win+insert on the keyboard if I want the entire screen. Of course, that 5 second delay is wicked, too.
Xfce4-Terminal (with Fish shell)
Firefox
OBS
Kdenlive
Davinci Resolve
VirtualBox
Virt-manager
Steam (w/ proton)
Vim
Gimp
Spotify
and Xmonad Window Manager with Arco Linux (Dual btrfs drive)
ironLink21 said:
Ya I've done vanilla arch before and love it. On my servers I run arch. On my desktops I run Manjaro
Click to expand...
Click to collapse
A few months ago, after having Manjaro as a dual boot, I made the move to just stay on that OS until I either learned to love it or couldn't live without WIndows.
I can't r remember the last time I logged into Windows.... Seriously, it's been weeks and even then it was for something I ended up figuring out on Manjaro
I last logged in to Windows in 2018... since then Ubuntu ----> Fedora ----> now ArchLinux... never going back..
archie05 said:
I last logged in to Windows in 2018... since then Ubuntu ----> Fedora ----> now ArchLinux... never going back..
Click to expand...
Click to collapse
Yah, my next step is wondering if sitting on Manjaro is enough, find a different Arch-based OS or take the plunge when I'm on my next vacation and try and build Arch from scratch.
HipKat said:
Yah, my next step is wondering if sitting on Manjaro is enough, find a different Arch-based OS or take the plunge when I'm on my next vacation and try and build Arch from scratch.
Click to expand...
Click to collapse
you can try EndeavourOS, ArcoLinux, GarudaLinux or straing out build arch...
HipKat said:
Yah, my next step is wondering if sitting on Manjaro is enough, find a different Arch-based OS or take the plunge when I'm on my next vacation and try and build Arch from scratch.
Click to expand...
Click to collapse
I've tried fedora for work when I got a new work laptop but I didn't stay with it I ended up switching back to Manjaro after a couple of months. I can't remember the reason but I think it was wondering to do with Nvidia + prime + displays not working?
I've heard good things about these other arch based distros but I haven't tried them yet. Looking at distro watch EndeavorOS has climbed to 2nd place over Manjaro (3rd place)
ironLink21 said:
I've tried fedora for work when I got a new work laptop but I didn't stay with it I ended up switching back to Manjaro after a couple of months. I can't remember the reason but I think it was wondering to do with Nvidia + prime + displays not working?
I've heard good things about these other arch based distros but I haven't tried them yet. Looking at distro watch EndeavorOS has climbed to 2nd place over Manjaro (3rd place)
Click to expand...
Click to collapse
Distrowatch is baseless and missleading... but yes if you want to try Arch based distro the you must go for Endeavour, Garuda or Arco
archie05 said:
Distrowatch is baseless and missleading... but yes if you want to try Arch based distro the you must go for Endeavour, Garuda or Arco
Click to expand...
Click to collapse
Totally agree but it's just fun to look at. There really isn't a way to determine what Linux distro is used most because there isn't any telemetry gathered on Linux haha, thank goodness!
ironLink21 said:
Totally agree but it's just fun to look at. There really isn't a way to determine what Linux distro is used most because there isn't any telemetry gathered on Linux haha, thank goodness!
Click to expand...
Click to collapse
it totally depends on the user.. some linux debian and debian based distros... and some usr arch and archbased distros... atleast you can totally kickout telemetry in linux unlike other os
@archie05
@ironLink21
I just watched a vid recently on the top 5 Arch-based Distros (Named Manjaro #1) but Garuda is starting to make some noise and I see it mentioned here. I really think that's going to be my next OS.
I have an old Mini laptop that came with Win 7 that I tried many different Distro's on, and Manjaro was the first one that ran smoothly. I think I'm going to have to break that one out and play with Garuda before I use it to practice building Arch from scratch

Categories

Resources