Linux and windows - Hardware Hacking General

Why linux doesn't take a new step to run all exe files (for small and big software)
?
We all knw that linux is best os but if it can run all windows apps , it leads the window nd bcom a alone king in os market.
Sent from my Q600 using XDA Premium 4 mobile app

<sarcasm>
Seems linux is not the best os if it cannot even open exe files
</sarcasm>

gr8 idea! we shall drop this pathetic posix thing and forget fhs to be able to run all kind of viruses, malwares, trojans, etc.
Sent from my JY-G5 using Tapatalk

Linux running exe files would ultimately defeat the purpose of using the os in the first place. Linux is a secure operating system because it does not open those files. If every thing you need is an exe, use Windows...
Sent from my VS980 4G using xda app-developers app

buffercode said:
Why linux doesn't take a new step to run all exe files (for small and big software)
?
We all knw that linux is best os but if it can run all windows apps , it leads the window nd bcom a alone king in os market.
Sent from my Q600 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Uh.... what in the world?

haha nice joke..one of the things that make Linux better OS than Windows is the fact that it doesn't open .exe files.
Enviado desde mi LG-P760 mediante Tapatalk

InfamusOne said:
Linux running exe files would ultimately defeat the purpose of using the os in the first place. Linux is a secure operating system because it does not open those files. If every thing you need is an exe, use Windows...
Sent from my VS980 4G using xda app-developers app
Click to expand...
Click to collapse
Lolz do you really think that Linux is secure because we can't run exe file there :laugh:?
It is just secure because linux has less users than windows and also it's users are smart enough to differentiate between virus and normal app.
Ok let's take a example of most used linux based mobile O.S, off-course that is Android , Now please tell me android don't have virus ??
I think there are lots of viruses for android and it just because there are lots of android users, offcourse more than IOS.
See here famous buffercode.in/stagefright-2-0-fixed-google-released-an-ota-for-nexus-devices/StageFright bug in Android , for which there are already lots of viruses.

Jocker111 said:
<sarcasm>
Seems linux is not the best os if it cannot even open exe files
</sarcasm>
Click to expand...
Click to collapse
I wrote best not excellent . It can't run exe doesn't mean that it is not best, even window can't run .sh, both have different architecture. There is always room for improvement even in best product. Best is always considered relatively . And yaa you can manage to run exe through wine in Linux wwithout any security flaw.

Related

[Q] [INFO]Need a wing to be taken under.

Ok XDA im fairly new to this but have a decent background with software and such. And i am looking for a bit of assistance on cooking/modding my own rom. and just wondering if you guys have any pointer? Thank you!
A few questions, mostly for others to help:
Do you have some sort of Linux distribution installed on your computer, such as Ubuntu? If you are, do you feel comfortable with terminal commands?
If not, do you run Windows or OS X? Would you be willing to install Ubuntu or something similar through alongside, or us Wubi if you would like to use it inside your current OS?
Are you planning on compiling AOSP, port from other phones, or base it on stock?
Are you going to be theming and/or optimizing?
Do you have a 32- or 64- bit-capable computer?
I'll post some links in a minute to what I use
Sent from my PC36100 using xda premium
i think paul at modaco may even have a kitchen available. that makes things easy.
lithid has a compiler for android <3.0, i believe. use your powers of google-fu
tropicalbrit said:
A few questions, mostly for others to help:
Do you have some sort of Linux distribution installed on your computer, such as Ubuntu? If you are, do you feel comfortable with terminal commands?
If not, do you run Windows or OS X? Would you be willing to install Ubuntu or something similar through alongside, or us Wubi if you would like to use it inside your current OS?
Are you planning on compiling AOSP, port from other phones, or base it on stock?
Are you going to be theming and/or optimizing?
Do you have a 32- or 64- bit-capable computer?
I'll post some links in a minute to what I use
Sent from my PC36100 using xda premium
Click to expand...
Click to collapse
I have a basic knowedge of commands. really basic. i run windows 7 on a 64 bit. and as for what i want to do? well im looking to learn it all. ive mostly been tinkering with sense roms. ive been using Team Nocturnals Shooter for E4G as my daily. good place to start?
Need Java JDK first: here
Definitely need ADB and Fastboot, great YouTube video by QBKing here
7-Zip and/or WinRAR. I have both, but I prefer 7-Zip. Get the 64-bit beta version here. WinRAR here too, get the 64-bit
UOT Kitchen for some theming here
Gimp, for theming
Notepad++ for editing text
Of course, a kitchen: Custom ROM Creator Studios here . Has many tools that you will need, including APK Tool and deodexing tools.
Great for Sense, "What You Know about Rosie?" And more by Tommy here
Chef Central for Android
so i followed the adb video to a t and it isnt workin?

LINUX on Xoom

Ive got a 4g upgraded 32gb Xoom. i saw that it is possible to run linux on the tablet but i had a few questions. i know i have to be rooted (i have a droid x that i rooted) but once i do that, is it still possible to run the android o.s. also? can i choose which to boot in? also how reliable is it on a tablet and is it worth it? Thanks!
You have vastly misunderstood the Linux on Android concept.
You download the Linux image to your tablet. While Android is running, you execute a script that then "boots" the Linux image. You can then access it via terminal or VNC. You aren't natively running Linux.
Sent from my MB860 using xda premium
d3athsd00r said:
You have vastly misunderstood the Linux on Android concept.
You download the Linux image to your tablet. While Android is running, you execute a script that then "boots" the Linux image. You can then access it via terminal or VNC. You aren't natively running Linux.
Sent from my MB860 using xda premium
Click to expand...
Click to collapse
Other devices do although, xoom has just been left out for some reason
Sent from my ADR6425LVW using Tapatalk
Hi,
Im also interested in linux on xoom, opensuse for example ...
i ve seen backtrack running on xoom but like it was mentioned b4 its only a image or accessed via VNC but whats the point running backtrack linux if network card is not supported....
Any way if you ve heard of any linux concept since just let us know
Surely it must be possible if the advent vega can handle it!
http://android.modaco.com/topic/332887-ubuntu-linux-1104-natty-on-vega-update-134/
this has already been done. try search....
http://forum.xda-developers.com/showthread.php?t=1138661
try Linux Installer from the google play store. its a very nice app and free, allows you to setup linux in a chrooted environment. i also have tried the paid ubuntu installer app but not as many options. there is a way to run it outside of android as well, but im not planning on ever doing this, not at least until ubuntu makes a touch tablet input feature

[TOOL][WINDOWS] ADB Graphical User Interface GUI

Hey guys I know I have posted some other similar programs, but hopefully this will raise the bar on how people use Android Debug Bridge.
So To start off, this program will not root any phone, but can easily break a phone if used improperly.
Secondly, If you need to ask what a button in the program THEN DO NOT USE IT!
I will only answer questions if they involve drivers or programming bugs, NOT for something like "What is Sync?" because If you do not know, then you do not need to know now.
SEE LINKS BELOW FOR MORE RECENT UPDATES!
This program has some built in ADB functions:
Rebooting- Recovery/Bootloader/Fastboot.
Sync from a folder (If you don't know or have to ask do not use!)
Use logcat
Start up a shell instance (With root if possible.)
Remount (Needs root also)
Flash(Recovery/Boot.img)
Root SOME devices(Using Bin4ry Script Credit to him)
Auto Download Root script
adb shell built in now
cmd shell built in
automatic updates
push files
install apks
get misc system information
Download ODIN for Samsung devices
Detect HTC device correctly for once lol
Application Manager
ADB Learning Center (Under Construction but not beta)
4.0-4.3 Backup Manager (Using adb backup NOT Nandroid)
0Nandroid intergration
Build.PROP veiwer (Soon to be editor too!)
Free device ram and kill background process
MORE TO COME!
___________________________________________________________________
Also a BIG thing for this program is the ability to install ADB and Fastboot into Windows as a command in Command Prompt.
This would allow one to use adb as a normal command from CMD.
E.G "C:\Users\Lab\>adb shell"
Instead of having to CD to C:\android\and all that.
Download the program: Version 5.0.2.26:New Download link[/COLOR]
As far as the newest huge feature in ADBGUI goes, the Application Manager is to be considered Pre-beta and should be used with extreme caution.
Requirements for the Application Manager:
> You need root
> It only works with 3rd Party (Downloaded from google play or other source)
> It does not work with all devices and has some major bugs.
Come on guys give some feed back!
Well enjoy!
Have questions or maybe want to report an issue?
Check out my Discussions Forum here otherwise you can post here at XDA Forums
About ClickOnce:
The core principle of ClickOnce is to ease the deployment of Windows applications. In addition, ClickOnce aims to solve three other problems with conventional deployment models: the difficulty in updating a deployed application, the impact of an application on the user's computer, and the need for administrator permissions to install applications.
ClickOnce-deployed applications are considered 'low impact', in that they are installed per-user, not per-machine. No administrator privileges are required to install one of these applications. Each ClickOnce application is isolated from the other. This means one ClickOnce application is not able to 'break' another. ClickOnce employs Code Access Security (CAS) to ensure that system functions cannot be called by a ClickOnce application from the web, ensuring the security of data and the client system in general.
Some other thinks about ClickOnce:
My ClickOnce application is personally signed, so windows will tell you the publisher is "Unknown" but that is OK. It will install just fine.
[UPDATE Nov. 21st 2013]
Hey guys!!
Just wanted to share some news for all you linux users!
I will be starting a linux conversion for ADBGUI to be fully compatible with Ubuntu/Debian/Arch Linux Distros!
Details: Click Here!
Looks great! Will try as quickly as possible.
Sent from my U20i using xda app-developers app
Is this ADB GUI project open source?
I think this is a really cool idea. Might also help get more users into ADB and willing to learn what things do. (sometimes it's scary when thinking of command line)
Shifted from the bottom of the rabbit hole
thronnos said:
Is this ADB GUI project open source?
I think this is a really cool idea. Might also help get more users into ADB and willing to learn what things do. (sometimes it's scary when thinking of command line)
Shifted from the bottom of the rabbit hole
Click to expand...
Click to collapse
I will be posting the source on github but it is written in VB.NET. I am also happy to answer questions about the source code.
Required program for the source is
visual studio 2012.
Sent from my SCH-R530U using xda premium
Just updated to version 2
Read about it at urgero.org/node/5
Sent from my SCH-R530U using xda premium
Hey guys!!
Just fixed a bug in ADBGUI about a file not found.
Download Fix
Can also be found Here
Fixed bug with version 2.1:
Would still try to download, even if you selected no.
and added Android Device Discovery
currently working on adding an option to browse sd card and to get device information and battery levels.
Tonight around 11pm central time I will be uploading the source code for this project.
Sent from my SCH-R530U using xda premium
UPDATE:
Check out the new updates at http://urgero.org/node/5!!
Added rooting scripts!!
With downloader (No need to hunt down the scripts!!)
Just updated to 2.4!
added:
Automatic updates!!
Over 400 dpwnloads and no one has anything to comment about?
Sent from my SCH-R530U using xda premium
sandix said:
Over 400 dpwnloads and no one has anything to comment about?
Sent from my SCH-R530U using xda premium
Click to expand...
Click to collapse
Sorry, bro, I thought the same after releasing my first few works... Sadly, that how it seems to be.
To the tool: I think its awesome, haven't had any problems so far. Don't give up!
Sent from my U20i using xda app-developers app
Thank you!
Does anyone have any feature requests?
Sent from my SCH-R530U using xda premium
Just Updated to V2.6:
Added F-Droid for all you Open Source fans!
Also fixed a bug where applications would not install correctly for some devices(Still does not fix all of them)
Download: http://urgero.org/node/5
If you already have 2.4 or higher, just launch the program as administrator and it will prompt you to update, otherwise download 2.4 aat the link above to upgrade to 2.6!
sandix said:
Thank you!
Does anyone have any feature requests?
Sent from my SCH-R530U using xda premium
Click to expand...
Click to collapse
Can you add a file manager to see from your tool all the folders and modify them and files
Inviato dal mio GT-I9070 con Tapatalk 2
I am currently in the process of doing so yes.
Sent from my SCH-R530U using xda premium
Does not work on mine. Dont know why.
it says: "is not valid s Win32."
Please help.
i have winxp 32 bit.
Make sure you run as administrator and that all the files are extracted from the archive. Also make sure they are all in the same folder.
If you could post a screenshot that would be great help
Sent from my SCH-R530U using xda premium
mr_itou said:
Does not work on mine. Dont know why.
it says: "is not valid s Win32."
Please help.
i have winxp 32 bit.
Click to expand...
Click to collapse
I for got to add:
You NEED .NET Framework 4.5, download from microsoft here

Android Studio and additional downloading

Hi
I downloaded and installed Android Studio today . I installed JDK 7 befor that .
Android Studio runs , but when i click new project and compelet wizard , my computer attempts to download something from Internet and my connection speed is very low . How I can run Androd Studio without downloading exceesive materials from Internet ???
I don't know if you can use Android Studio without this download (I don't think so) but it's about 30-40 mb... Even if you have a bad connection, I think you can download it.
Did you do this?
Follow the setup wizard to install Android Studio.
Known issue: On some Windows systems, the launcher script does not find where Java is installed. If you encounter this problem, you need to set an environment variable indicating the correct location.
Select Start menu > Computer > System Properties > Advanced System Properties. Then open Advanced tab > Environment Variables and add a new system variable JAVA_HOME that points to your JDK folder, for example C:\Program Files\Java\jdk1.7.0_21.
Click to expand...
Click to collapse
(http://developer.android.com/sdk/installing/studio.html#Installing)
Tried the Android Studio today. I think that it is great.
It downloaded some things related to the build system but it did not take long for me. :good:
nikwen said:
Did you do this?
(http://developer.android.com/sdk/installing/studio.html#Installing)
Click to expand...
Click to collapse
So does this now mean Android supports Java 7? If not how does android studio get around the compiler problem?
Sent from my SC-06D using XDA Premium HD app
DroidZombie said:
So does this now mean Android supports Java 7? If not how does android studio get around the compiler problem?
Sent from my SC-06D using XDA Premium HD app
Click to expand...
Click to collapse
I think that it does. However, it might be compiled as Java 6 but you can use the JDK 7.
nikwen said:
I think that it does. However, it might be compiled as Java 6 but you can use the JDK 7.
Click to expand...
Click to collapse
So this is how they will get people to switch away from eclipse.
Sent from my SC-06D using XDA Premium HD app
DroidZombie said:
So this is how they will get people to switch away from eclipse.
Sent from my SC-06D using XDA Premium HD app
Click to expand...
Click to collapse
They say that they want to support both Eclipse and Android Studio. However, in my opinion Android Studio is already better than Eclipse.
And they said that they will focus on Android Studio in the next time to add all necessary features. :good:
nikwen said:
Tried the Android Studio today. I think that it is great.
It downloaded some things related to the build system but it did not take long for me. :good:
Click to expand...
Click to collapse
It downloads the gradle package..:good:
What is android studio?
bitator said:
What is android studio?
Click to expand...
Click to collapse
it as Intelijj IDEA, but reworked specifically for android developers.
lonesaint said:
It downloads the gradle package..:good:
Click to expand...
Click to collapse
Right!
So you have to wait until it is completed.

[Q] Native programs

I tried to install an application for a raspberry pi on my nexus 7. I extracted it, but when I tried to run it, it failed with:
No such file or directory
Any solutions?
Sounds like it is meant to be run on the pi. Not the Nexus 7.
Sent from my Nexus 7 using xda premium
you can't just arbitrarily run any application. it needs to be an android app.
Pirateghost said:
you can't just arbitrarily run any application. it needs to be an android app.
Click to expand...
Click to collapse
What he said, and usually the system says that when the file is not marked as an executable.
Even if the binary was designed to run on ARM-based processors, it needs to be compiled for that operating system.
For example you cannot take a console binary made for Mac OSX (identifier Mach-O), and run it on a FreeBSD system even though OSX was originally based on FreeBSD4 (much the same as how Android was originally based on linux variations, and is still technically linux, but technically not).
I mean unless someone wants to write some kind of binary compatibility setup, much like how I can run *some* linux binaries on FreeBSD using the Linux Binary Compatibility port. But out of the box, not going to happen unless it was written for Android.
PS: Easier Analogy... trying to run a windows EXE on Android.
So how do I install the proper libraries? My device has the stock rom and it is rooted.
You learn how to code and port it.
Sent from my Nexus 7 using xda premium
monster860 said:
So how do I install the proper libraries? My device has the stock rom and it is rooted.
Click to expand...
Click to collapse
Wtf? You should read up on how applications work. Installing libraries is the least of your concerns. If the application had not been compiled to run on android it won't run. Period. Its not a difficult concept to comprehend.
Sent from my Nexus 7 using Tapatalk HD
monster860 said:
So how do I install the proper libraries? My device has the stock rom and it is rooted.
Click to expand...
Click to collapse
Doesn't work that way, differnet binary code won't run on a system it's not compiled for, choice is to recode I yourself or hope someone has a battery sucking emulator for android.
Sent from my Nexus 7 using XDA Premium HD app

Categories

Resources