Linux problem! (SOLVED) - Asus Transformer TF700

Could any linux experts or guru help me with this? I was using "make clean" in the ubuntu terminal and after that I had this error measage: "bin/sh: command not found". I use the "make clean" cmd many times before without any problem. This error message happened right after using the make clean cmd... I am totally new to linux and android and trying to learning them. Could someonepoint me to the right direction please? Thanks.

LetMeKnow said:
Could any linux experts or guru help me with this? I was using "make clean" in the ubuntu terminal and after that I had this error measage: "bin/sh: command not found". I use the "make clean" cmd many times before without any problem. This error message happened right after using the make clean cmd... I am totally new to linux and android and trying to learning them. Could someonepoint me to the right direction please? Thanks.
Click to expand...
Click to collapse
Your building a kernel??
Try this in the root of your kernel directory
Code:
make mrproper

lj50036 said:
Your building a kernel??
Try this in the root of your kernel directory
Code:
make mrproper
Click to expand...
Click to collapse
Yes, I am trying to learn.... I will try your cmd, thanks.. Do you know what cause that error message?

LetMeKnow said:
Yes, I am trying to learn.... I will try your cmd, thanks.. Do you know what cause that error message?
Click to expand...
Click to collapse
_that would know better then I :silly:

lj50036 said:
_that would know better then I :silly:
Click to expand...
Click to collapse
Thanks lj... A double troubles...:crying: I am trying to learn two environments at the same time,, haha...

LetMeKnow said:
Could any linux experts or guru help me with this? I was using "make clean" in the ubuntu terminal and after that I had this error measage: "bin/sh: command not found". I use the "make clean" cmd many times before without any problem. This error message happened right after using the make clean cmd....
Click to expand...
Click to collapse
Never seen this error when running "make clean". Were you in the correct directory?
(btw, I asked a moderator to move this question out of my kernel thread, as it is unrelated)

lj50036 said:
Your building a kernel??
Try this in the root of your kernel directory
Code:
make mrproper
Click to expand...
Click to collapse
Thanks lj. make mrproper did not solve my issue... I am ended up with a hard way to resolve my issue, hehe...

_that said:
Never seen this error when running "make clean". Were you in the correct directory?
Click to expand...
Click to collapse
Yes, I was in the right directory when I executed the cmd...
_that said:
(btw, I asked a moderator to move this question out of my kernel thread, as it is unrelated)
Click to expand...
Click to collapse
I should not ask the question on your thread from the beginning with any way, sorry. I thought that I could keep all the kernel related information in one place so if someone would like to learn how to build the kernel can access to all the information even with the issues. I am sorry. It is my bad but it is a good intended purpose...

Related

[Q] How to trace Kernel threads ??

Hi.
I'm a total newbie with a problem.
My Defy has a bug, I believe. When the phone should be on suspend mode, a process called "suspend" starts using a lor of CPU time, so the battery lasts for just a few hours.
This is, I suppose, not the forum for asking for help about this, so I'll just say I've tried everything I could think of... and now I would like to use "strace" to... trace what's going on.
There are two problems.
One, the bug dissapears when the phone is suspended but connected to USB... so issuing commands is a problem without connection ... I suppose I could try WiFi, but I haven't tried yet.
Two. What I call the "suspend" process seems to be a kernel thread... so, I can't use strace.
Could someone, please, explain me wich command (if any) can help me trace the activity of this kernel thread ? Or... well, any other way you can think of.
Good question and interesting one. Will wait for others to answer.
You have strace compiled for Android?
Try issuing the command via ConnectBot or any other free terminal so you don't need to be connected via USB...
That's part of the problem... I'm "hunting" a bug that only appears when the phone is suspended... If I use ConnectBot to write commands... the phone is, by definition, active. So...
Also... we have another problem: strace fails because "suspend" is not a process but a kernel thread... or that's what I've been told
OK... I've finally been able to set up adb over wireless.
But strace doesn't work, and "top" shows that suspend almost always uses around 5%.
But... I still can't trace what suspend is doing.
Would someone help me if I beg you on my knees ?
Use the dalvik debugger, open command window and type ddms (assuming you have android sdk).
Once open under the Device menu you can see running process's/track them.
Heh didnt see that it doesnt happen when connected to usb. Dont know if ddms works over wifi too, should, but give it a shot.
Why not just re-flash a stock SBF to get rid of the problem?
Beach_Head said:
Why not just re-flash a stock SBF to get rid of the problem?
Click to expand...
Click to collapse
Because, if it were that easy, the problem would have gone away sometime while flashing a sbf for the first 5 times...
Nope. It's either a bug or a hardware failure, I believe.
fritolays said:
Use the dalvik debugger, open command window and type ddms (assuming you have android sdk).
Once open under the Device menu you can see running process's/track them
Click to expand...
Click to collapse
You can't track kernel threads via ddms. Only userland processes.
Beach_Head said:
You have strace compiled for Android?
Try issuing the command via ConnectBot or any other free terminal so you don't need to be connected via USB...
Click to expand...
Click to collapse
All adlxmod roms, starting from my first Cliq rom have strace
Sent from my Defy running adlxmod using Tapatalk
adlx.xda said:
All adlxmod roms, starting from my first Cliq rom have strace
Click to expand...
Click to collapse
Can you trace the "suspend" kernel thread ?
bokeron2020 said:
Can you trace the "suspend" kernel thread ?
Click to expand...
Click to collapse
That was an easy question, wasn't it?
http://user-mode-linux.sourceforge.net/old/debugging.html
You can't because "(...) the kernel's threads are already being ptraced for system call interception, so gdb can't ptrace them"
Also, you could use KGDB, but it requires compiling your own kernel and a special setup, which is not possible in the Defy.

[Q] Run Exe in Android ...

Is there any way to run exe file in android with the help of cross platform/layer such as "wine layer" in Linux????
Biswajyoti said:
Is there any way to run exe file in android with the help of cross platform/layer such as "wine layer" in Linux????
Click to expand...
Click to collapse
Search before you make a thread - looks quite complicated, probably not worth it.
Xda Thread
Here is a way! According to what I know!
Biswajyoti said:
Is there any way to run exe file in android with the help of cross platform/layer such as "wine layer" in Linux????
Click to expand...
Click to collapse
What you can do is this, to run Ubuntu image on your android using any custom ROM kernel as the base i-e Cyanogen Mod! To have this you need to get the required Ubuntu image and also Busy box installed, Go to Google Play and search for ubuntu installer or something like this, there will be a free installed for android by XDA member, Grab that! Install that! Get Busy Box installer too from market! and install busy Box tools using that! After that open ubuntu installer read the instructions and using them you will be able to run ubuntu on your android phone using same base kernel.
Simply after having ubuntu on your screen go back to command application in your android phone Terminal Emulator and install wine using command sudo apt-get install wine amm! I don't remember the name exactly you need wine and wine trick both lol! Well Google this command and try this method it will help you! Best Of luck!
Don't forget to hit thanks after this valuable information! LOL
Great idea.....Thanks a lot....i will try this ...
Did it Worked???
Biswajyoti said:
Great idea.....Thanks a lot....i will try this ...
Click to expand...
Click to collapse
Hey could you tell me if that worked.
why do you want to run exe on android????
you have all the required apps in google play
Make sure it doen't ruin your phone/tablet
Biswajyoti said:
Great idea.....Thanks a lot....i will try this ...
Click to expand...
Click to collapse
Be careful not to damage ur phone/tablet bcuz running an .exe file on Linux (well in my case I don't wanna say about the others) created some stinky file that corrupted my Linux distribution (ubuntu) so I had to go to recovery everytime to restore it... On the other hand u have everything u need on the market or on google if the market banned it or something. Just be careful.
74274265j said:
Hey could you tell me if that worked.
Click to expand...
Click to collapse
illuminatic said:
why do you want to run exe on android????
you have all the required apps in google play
Click to expand...
Click to collapse
Do you have to have the custom kernal. Also how do you do this? (Noob).
Jf someone was to just make an app that let you run exe files they could probobly charge so much since its like impossible to do it.

[TOOL] One Click CWM Recovery Install

What will this do?This will install CWM recovery on your bootloader unlocked HTC One XL (AT&T, Rogers, Asia, etc.)​
DownloadDownload Tool​
Who do I thank?
Don't thank me. Thank Paul O'Brien of MoDaCo for creating a usable recovery image.​
Ty ;-)
Sent from my HTC One XL using Tapatalk 2
Is this for windows only?
Justjusten said:
Is this for windows only?
Click to expand...
Click to collapse
Yes right now. If someone wants to create a Mac/Linux version, that'd be awesome.
You can manually install by doing the following:
Code:
adb reboot bootloader
fastboot flash recovery recovery-clockwork-touch-5.8.3.1-evita-modaco.img
fastboot reboot
Justjusten said:
Is this for windows only?
Click to expand...
Click to collapse
yes
Thank you! Also thank you for the -5 Points, lol guess i got what i deserved
Installed works wonders! Thanks!
too bad recovery doesnt work yet for flashing roms....
hmm install now or wait until its 100% what are the benefits for installing now? wow file is 7.2mb took over 8 minutes to download on my comcast 50MBPS internet!! servers must be getting bogged! lol
Works perfectly... thank you!
We definitely need someone that can do these conversions for mac on board. Hard out here for a mac user. LOL
dscottjr81 said:
We definitely need someone that can do these conversions for mac on board. Hard out here for a mac user. LOL
Click to expand...
Click to collapse
Question, if you run virtualized windows in your mac, can you run adb commands and scripts just like it were a PC?
dscottjr81 said:
We definitely need someone that can do these conversions for mac on board. Hard out here for a mac user. LOL
Click to expand...
Click to collapse
Or the mac users can make a dual boot and use windows lol ....*runs and hides*
Sent from my HTC One XL using xda premium
dscottjr81 said:
We definitely need someone that can do these conversions for mac on board. Hard out here for a mac user. LOL
Click to expand...
Click to collapse
It's no harder than for the linux crowd. If you're familiar with Terminal, then adb commands should be second-nature.
That being said, if you look at the contents of the install.bat, you can see which commands are being run. Use those same commands from Terminal on your Mac, assuming you've already setup the Android SDK tools (adb and fastboot).
Here's where you get the Mac SDK: http://developer.android.com/sdk/index.html
You needn't worry about setting up the Eclipse plugin or anything like that. Once you unpack the zip, you should find an "android" binary, which when run, will launch the SDK Manager. From there you select the Android SDK Tools. That will install adb. Select Android SDK Platform Tools and that should install fastboot.
dscottjr81 said:
We definitely need someone that can do these conversions for mac on board. Hard out here for a mac user. LOL
Click to expand...
Click to collapse
Hey stop giving us a bad name, crack that .bat open and show the world your ADB terminal skills.
About to do the same myself.
hey i keep getting remote: signature verify fail. anyone else have this issue, is there a solution for it?
Thanks as usual ! Worked great
thatg said:
hey i keep getting remote: signature verify fail. anyone else have this issue, is there a solution for it?
Click to expand...
Click to collapse
Your device is not bootloader unlocked. Please read the instructions.
kennethpenn said:
Your device is not bootloader unlocked. Please read the instructions.
Click to expand...
Click to collapse
lol whoops sorry, up and running, need me some CM9!!!
Does this give you the ability to nandroid now?

[Q] cant flash my Rom

Hi so im a new developer and when i put
fastboot -w flashall a
ll it says is
error: neither -p product specified nor ANDROID_PRODUCT_OUT set
can anyone help
im im trying to make a rom for android 5.0
sorry i didn't post in the developers section but i havnt posted 10 times yet
poptarticus456 said:
Hi so im a new developer and when i put
fastboot -w flashall a
ll it says is
error: neither -p product specified nor ANDROID_PRODUCT_OUT set
can anyone help
im im trying to make a rom for android 5.0
sorry i didn't post in the developers section but i havnt posted 10 times yet
Click to expand...
Click to collapse
Well, I don't use the flash-all script so I can't say for certain, but it seems you need to tell it what to flash (the name of the file) and where it is (path to your out directory).
I would just fasboot flash the boot and system images.
Also, questions never go in the dev section. Q&A is the proper place.
poptarticus456 said:
Hi so im a new developer and when i put
fastboot -w flashall a
ll it says is
error: neither -p product specified nor ANDROID_PRODUCT_OUT set
can anyone help
im im trying to make a rom for android 5.0
sorry i didn't post in the developers section but i havnt posted 10 times yet
Click to expand...
Click to collapse
Just type in cmd: flash-all
gee2012 said:
Just type in cmd: flash-all
Click to expand...
Click to collapse
Ty for the help i ran out of space on my hard drive so i got a fresh Linux so i was wondering is a aosp ROM better or cyanogenmod better both would be lollipop
poptarticus456 said:
Ty for the help i ran out of space on my hard drive so i got a fresh Linux so i was wondering is a aosp ROM better or cyanogenmod better both would be lollipop
Click to expand...
Click to collapse
depends what you want. Its your choice really.
rootSU said:
depends what you want. Its your choice really.
Click to expand...
Click to collapse
I like alot of features
poptarticus456 said:
I like alot of features
Click to expand...
Click to collapse
Then you've answered your own question

Battery Status on computer

IGNORE THIS, NEWER VERSION(S) ARE HERE: http://forum.xda-developers.com/android/development/phone-s-battery-status-computer-screen-t3070549
I have made a program to display the percentage of your phone on your computer. Requirements:
Computer that can run bash
USB-to-phone cable
ADB enabled on phone
Has been tested on the following:
LG P716 Jelly bean stock- One Works the other doesn't
LG P716 KitKat - Works
LG P500 with CM11 and rooted- Works
Samsung S3 stock - Doesn't work
Your help is greatly appreciated to porting it to Windows/Mac and adding new devices.
wilk.gr76 said:
I have made a program to display the percentage of your phone on your computer. Requirements:
Computer that can run bash
USB-to-phone cable
ADB enabled on phone
Has been tested on the following:
LG P716 Jelly bean stock- One Works the other doesn't
LG P716 KitKat - Works
LG P500 with CM11 and rooted- Works
Samsung S3 stock - Doesn't work
Your help is greatly appreciated to porting it to Windows/Mac and adding new devices.
Click to expand...
Click to collapse
Don't get me wrong but do you really have a use for it or is it just about improving your development skills ?
LS.xD said:
Don't get me wrong but do you really have a use for it or is it just about improving your development skills ?
Click to expand...
Click to collapse
I do. If I plug my phone in, and then turn on the display to see how far it has charged, the battery percentage is DROPPING! So, I created this. If you want faster charging than your USB port, use ADB over WiFi. But this did help me hone my skills.
wilk.gr76 said:
I do. If I plug my phone in, and then turn on the display to see how far it has charged, the battery percentage is DROPPING! So, I created this. If you want faster charging than your USB port, use ADB over WiFi. But this did help me hone my skills.
Click to expand...
Click to collapse
Pretty cool for that specific purpose I just downloaded the zip and was just about starting my laptop to test it BUT the archive is damaged and i can't extract it May you please check the archive's integrity and upload it again?!
Sure!
LS.xD said:
Pretty cool for that specific purpose I just downloaded the zip and was just about starting my laptop to test it BUT the archive is damaged and i can't extract it May you please check the archive's integrity and upload it again?!
Click to expand...
Click to collapse
Did that! Just make sure you can run bash. Your computer'll need linux or mac os x (not sure about mac)
If it helps, please press thanks.
wilk.gr76 said:
Did that! Just make sure you can run bash. Your computer'll need linux or mac os x (not sure about mac)
Click to expand...
Click to collapse
BASH?! Never heard about it...
Manjaro Linux should be fine for it
LS.xD said:
Pretty cool for that specific purpose I just downloaded the zip and was just about starting my laptop to test it BUT the archive is damaged and i can't extract it May you please check the archive's integrity and upload it again?!
Click to expand...
Click to collapse
It is nice to get feedback so quicly! I expected to have no replies by Sunday, yet I get one in the first 5 mins! "Vielen Dank!" (I saw the german flag by your name...)
LS.xD said:
BASH?! Never heard about it...
Manjaro Linux should be fine for it
Click to expand...
Click to collapse
Open the terminal, and its most likely your using bash. Bourne-Again SHell.
Just wondering, what is the orange "OP" rectangle next to "Junior Member", to the left of my post?
wilk.gr76 said:
Open the terminal, and its most likely your using bash. Bourne-Again SHell.
Just wondering, what is the orange "OP" rectangle next to "Junior Member", to the left of my post?
Click to expand...
Click to collapse
OP = overpowered or may be "Original Poster"
Is it possible that your tool only runs on 32Bit systems? I use 64Bit OS with multilib and no chance to make it fly / run or whatever you like
LS.xD said:
OP = overpowered or may be "Original Poster"
Is it possible that your tool only runs on 32Bit systems? I use 64Bit OS with multilib and no chance to make it fly / run or whatever you like
Click to expand...
Click to collapse
Yes it is built for 32bit systems but you should be able to run it on 64 bit as well. You need to unzip everything of course and make adb and dialog (in the same folder as the script) executable. The command is chmod +x adb && chmod +x dialog
To change it to 64-bit, you'll need to replace the adb and dialog files with the 64-bit versions.
You might need ia32-libs or somthing like that.
Also, OP I think it overpowering. You shall port it to Windows. You shall thank me. LOL, don't have to do it.
wilk.gr76 said:
Yes it is built for 32bit systems but you should be able to run it on 64 bit as well. You need to unzip everything of course and make adb and dialog (in the same folder as the script) executable. The command is chmod +x adb && chmod +x dialog
To change it to 64-bit, you'll need to replace the adb and dialog files with the 64-bit versions.
You might need ia32-libs or somthing like that.
Also, OP I think it overpowering. You shall port it to Windows. You shall thank me. LOL, don't have to do it.
Click to expand...
Click to collapse
Im familiar with chmod Commandline version works well (see signature for phone's setups) while the guy version causes a never ending error output:
libgtk-3.so.0 shared libraries can't be found . All files are present in my Linux so I really have no clue, why i can't open it.
LS.xD said:
Im familiar with chmod Commandline version works well (see signature for phone's setups) while the guy version causes a never ending error output:
libgtk-3.so.0 shared libraries can't be found . All files are present in my Linux so I really have no clue, why i can't open it.
Click to expand...
Click to collapse
Are you using GNOME? You might need to install libgtk. But, like the readme file says, this is bit is still alpha (it's more beta than beta.. If that makes sense).
But if it helped, please press the " Thanks" button
wilk.gr76 said:
Are you using GNOME? You might need to install libgtk. But, like the readme file says, this is bit is still alpha (it's more beta than beta.. If that makes sense).
But if it helped, please press the " Thanks" button
Click to expand...
Click to collapse
Its really weird as the libs "missing" are all installed. I use KDE.
LS.xD said:
Its really weird as the libs "missing" are all installed. I use KDE.
Click to expand...
Click to collapse
It's pretty strange that it used "can't" instead of "cannot". Maybe try using gnome. I dunno, it works on mine.
I'm moving this to a DevDB now.
Has been moved to http://forum.xda-developers.com/and...ter-screen-t3070549/post59841376#post59841376

Categories

Resources