Linux commands on developer mode on Chromebook - Chromebooks

My localhost or when I'm root absolutely every command I use in the terminal is not in directory,not found,error do I need to erase everything or is there a way I can fix it ?

What Linux is installed?

Sorry for late reply Debian 10 (Buster) environment à

Sorry about that a at the end

Related

a little help please guys

right here is the back ground
htc hero running vinnalian 1.1 with amon recovery image
windows running 64bit ultimate
8 gig micro sd card with ext3 partion
now to the problem i have the sdk but every time i try to run adb remount it says remount command unknown this is when the phone is on, if i boot into recovery mode and type adb shell it finds the phone , but any other command throws up a /sh: adb error
can i enable apps2sd just buy running terminal on the phone its self via subfs and type su followed buy apps2sd on or do i have to use adb via windows
please help me out guys buy 1) telling me what is wrong with adb setup and 2) if i can do this just via the phone
thanks in advance
Have you enabled USB debugging on the phone itself?
Regards,
Dave
yes mate sorry i forgot to mention that didnt i lol
I also use Windows 7 64-bit, so have the same type of adb issues. To get around this, I use a Ubuntu (32-bit) VMWare machine that I wake up whenever I need to do adb things. Works like a charm.

[Q] Setting up Android SDK on Ubuntu 10.4 x64

Alrighty, I am new to the linux world and I am trying to setup my beloved adb on my Ubuntu. Java is there, SDK in in /opt/androidsdk. Do I need something more? I read that people install Eclipse also but since I am not a developer I don't need it, do I? I only need to execute very simple adb commands like push.
With Windows I needed the HTC Hero drivers and then it worked like a charm. Do I need something similar here?
I tried to run adb devices while my phone was connected and I get a phone with ?????????? as a name.
Is adb going to work or do I miss something?
Thanks in advance!
Adb works fine on x64 Ubuntu. I know there is a guide for it on www.villainrom.co.uk/wiki, but then search "adb" and it should bring up the entry.
I'm installing Ubuntu again today anyway, so I can check it works (which it does btw)
theodore80 said:
Alrighty, I am new to the linux world and I am trying to setup my beloved adb on my Ubuntu. Java is there, SDK in in /opt/androidsdk. Do I need something more? I read that people install Eclipse also but since I am not a developer I don't need it, do I? I only need to execute very simple adb commands like push.
With Windows I needed the HTC Hero drivers and then it worked like a charm. Do I need something similar here?
I tried to run adb devices while my phone was connected and I get a phone with ?????????? as a name.
Is adb going to work or do I miss something?
Thanks in advance!
Click to expand...
Click to collapse
Try doing this.
sudo adb kill-server
sudo adb root
then do w/e you need to do. This worked for me.
Not sure if you need to sudo kill-server, if it doesnt kill it, try without
ante0 said:
Try doing this.
sudo adb kill-server
sudo adb root
then do w/e you need to do. This worked for me.
Not sure if you need to sudo kill-server, if it doesnt kill it, try without
Click to expand...
Click to collapse
I did this followed by adb devices and I now get the correct device name.
I guess that it works though I didn't try to push any app
Another question: how do I add adb to the path? I currently need to type in the full adb path. It is linux related but I am new into this exciting world!!
Thanks for helping me out!
Google "Ubuntu add to path" and it will tell you

[Q] Linux

I was wondering if it would be possible to use any linux distribution on the folio 100?
Like ubuntu netbook, meego?
Moved to general as not android development.
Mr. Clown said:
Moved to general as not android development.
Click to expand...
Click to collapse
Sorry (silly me! ^^)
Hi,
i was able to boot the nvidia linux4tegra from a SD using fastboot and modifying the kernel command line. So i think it's possible to get a working linux on the tab.
(Sorry for my bad englinsh)
wolfx said:
Hi,
i was able to boot the nvidia linux4tegra from a SD using fastboot and modifying the kernel command line. So i think it's possible to get a working linux on the tab.
(Sorry for my bad englinsh)
Click to expand...
Click to collapse
Do you know if there is a how-to guide we can follow??
Thanks
1) Download the Linux for Tegra 10.9.3 at http://tegradeveloper.nvidia.com/tegra/downloads
2) Follow the PDF doc to prepare your SD
3) You need to extract the kernel from any folio 100 roms to use it with fastboot. Place it in the same directory as fastboot.
4) start the tab in fastboot mod : Power X3 + Vol up
5) From a shell use the following command :
Code:
./fastboot -c "root=/dev/mmcblk1p1 rootdelay=15 rw [email protected] noinitrd [email protected] vmalloc=192M video=tegrafb console=tty0,115200n8 fbcon=rotate:1 fbcon=font:VGA8x8 usbcore.old_scheme_first=1 debug" boot <kernel_name>
that 's what i've done if it can help you
Ok, thank you
Sent from my Folio 100 using Tapatalk
Linux is good for desktop enviroments for tablets I am not so sure.
It will be great to have dual boot on folio. For instance when we connect to external large display we could use Linux, and Android the rest of the time
Regards,
Bastospn
Ubuntu for tablet
Canonical is developing a tablet version of Ubuntu, it should be available soon.
It could be a good starting point for folio Linux mod. Or not ?

[Q] Mount linux from TWRP

U have 2 ways If u want linux on ur Android device :
1. "Native" way. Individual device have individual tools for booting linux.
2. Mount linux on top of Android.
I have some smartphones that im not using. And I want to install linux on it (some small linux, maybe without gui, just for linux terminal).
This smartphones dont have "individual tools". So without knowledge how to port Multiboot or Kexecboot (etc.) this way cant be used.
(I have native linux on my ASUS tablet, so I understand a little about "what I want")
But I dont want to install linux on top of Android (LinuxOnAndroid, Linux Deploy etc.).
So my question is :
TWRP have Terminal Command (In Advanced menu) that can run .sh scripts. Can I mount linux inside of "recovery" (throught the TWRP Terminal Command) ? (On the Android, linux can be mounted throught the Terminal Emulator)
I wanted to test it by myself, but I havent the time for this. So maybe someone already experiment with this.
PS. All I really need its native linux terminal (not terminal emulator, or some another terminal with ported utilities). So maybe someone know easy way how to "replace" android with native linux ?
bump

[problems with adb]

Operating System in use:
Debian GNU/Linux 9.4 (stretch)
Linux 4.9.0-6-amd64
Telephone model to be used: ZTE Z5s mini NX406E
Processor: Qualcomm Snapdragon 400/410 1,21 GHz
Android 4.4.4 KitKat
I try to make a backup using the adb, using the command:
adb backup all or adb backup -all
example:
[email protected]:/home/life/adb# adb backup -all
Now unlock your device and confirm the backup operation...
I go to the phone screen, I enter the password and the copy continues, Hard pains about 3 seconds this, I only create a file of barely weighs about 549 bytes, when I review the adb versions, performing the following steps:
[email protected]:/home/life/adb# adb version
Android Debug Bridge version 1.0.36
Revision 1:7.0.0+r33-1
[email protected]:/home/life/adb# adb shell
[email protected]:/ $ adb version
Android Debug Bridge version 1.0.31
[email protected]:/ $ exit
Question # 1: They are different versions, for that reason I can not make the backup?
Question # 2: I need to have in Debian the same version that has the phone to make the backup, is it the only way if I want to use the adb?
Question # 3: How can I locate and install version 1.0.31 of the adb in my debian?
Question # 4: Can I have different installed versions of the adb at the same time in my debian without having any kind of problems?
Note: I am learning to disarm ROM, to study them and start creating new ones.
Thanks in advance for any assistance.
sorry my bad english, I use google translate
Question.
I forced myself to use Windows 7 to be able to have part of the answers I'm looking for, even though using Windows 7 I was able to make the copies, having the same version of the mobile in Windows 7, I am interested in knowing in what way using Debian I can do it. I know at least that if the versions are different there are limitations. But Windows is easy to have a folder with each version of adb, however in Linux is not so easy, at least for those who do not have much experience in this field.
Thanks in advance for any assistance.
sorry my bad english, I use google translate

Categories

Resources