Termux Packages - Linux

I am looking for a list of all termux Packages and what there functions are, I am knew to the Linux and termux world and trying to learn anything and everything I can, any directions will be greatly appreciated, I'm trying to focus on learning termux right this moment. Thank you everyone and God Bless.

Package Management - Termux Wiki
wiki.termux.com
pkg list-all

Does list them all. Get to about half the alphabet and then no more why cause it cant keep going. So honestly someone needs to help with it.

well
termux package based on AUR (maybe)
and make sure u installed it from Fdroid
try this
Code:
apt update && apt upgrade
apt install x11-utils
apt install root-utils
#for x11 and root are showed from frist you open termux
apt list
# marked as comment, ignore it

Termux | F-Droid - Free and Open Source Android App Repository
Emulator terminala z pakietami
f-droid.org

Avisadius said:
(...)
apt install x11-utils
apt install root-utils
(...)
Click to expand...
Click to collapse
E: Unable to locate package x11-utils
E: Unable to locate package root-utils
A termux-setup-storage should be performed before use, but even that doesn't help.

ze7zez said:
E: Unable to locate package x11-utils
E: Unable to locate package root-utils
A termux-setup-storage should be performed before use, but even that doesn't help.
Click to expand...
Click to collapse
true

Make the command output to a text file, then it will contain all the lines.
First, make sure termux has storage permission (or maybe it will ask when you run this command, not sure)
pkg list-all >> /storage/emulated/0/Download/all.txt

cybercme2aT said:
(...) I am knew to the Linux and termux world and trying to learn anything and everything I can, any directions will be greatly appreciated, I'm trying to focus on learning termux right this moment. Thank you everyone and God Bless.
Click to expand...
Click to collapse
For you and for everyone who came across this thread, I recommend learning about the tremendous opportunities that come with using termux on your phone.
[GUIDE][NO-ROOT] How to install Ubuntu and other Linux Distros on Your Phone or Android TV Box, using Termux
NOTICE: THIS METHOD IS ONLY FOR NON ROOTED DEVICES PROOT-DISTRO GITHUB PAGE Hello Friends! Today I wanted to start a thread that will house prebuilt Linux environments, as well as instructions for building the Linux environments yourself...
forum.xda-developers.com
jenneh's other threads are also very informative.​

Related

Setting Up NDK on Window

Looking for some assistance getting the NDK working properly on Windows 7 (64).
I followed all of the instructions to set up the NDK in windows but am running into an issue.
Per the instructions you need to install CYGWIN which i did and then go to the root NDK folder and run build/host-setup.sh.
Once I run this i get the following error;
ERROR: Could not find a valid GNU make executable.
Please ensure GNU Make 3.81 or later is installed.
Click to expand...
Click to collapse
I do have GNU make 3.81 installed for windows.
If i try to use cygwin to run a make APP=hello-jni as a test as it states i get the error;
bash: make: command not found
Click to expand...
Click to collapse
if i use windows command prompt i can run the make.exe fine.
I'm thinking the issue is because its trying to use a Linux based make since i would assume Cygwin cannot rune EXE files.
Could anyone assist me with this that has it set up and working properly in windows?
Any takers please?
Check 'Make' package in Cygwin setup.
Do yourself a favor and use a real operating system. Ditch that MSJUNK.
On top of that, I *strongly* suggest that NOBODY EVER use windoze for compiling ANYTHING. When you are building software for other people to use, you most *definitely* do NOT want to build software that has been compromised. Windoze is the world's number ONE compromised platform. It about as save as having your way with a 50 year old street corner hooker without protection.

[Dev Only] Lets Get a Fully working version of Jaunty Starting With apt-get

OK now that the first hard part is over (getting Webtop running with out dock) now its time to push this to the limits ... I am Currently working on getting apt-get installed and running on Jaunty ... I would love to get some help with all this, obviousy this wont replace my laptop or Desktop, but it would be nice to know that anywhere i am i have a fully function linux machine in my pocket... so lets keep up the good work and push forward, CHARGE !!!
FIRST try and fail... prayed it would be as easy as pushing apt-get to /system/bin and executing ... it was not ... well not with this try anyhow getting a apt-get: cannot execute binary file error
Open a second adb shell and monitor dmesg | grep TOMOYO to see if the MAC is preventing you from executing files not listed in the policy. I had to muck around with it earlier today to get it to run lxterminal.
agentdr8 said:
Open a second adb shell and monitor dmesg | grep TOMOYO to see if the MAC is preventing you from executing files not listed in the policy. I had to muck around with it earlier today to get it to run lxterminal.
Click to expand...
Click to collapse
will do !! first thing im doing right now is installing a virtual machine jaunty on my machine to compare and test with figure that will be the most helpful !!
Anyone working on this, be very careful, as the default adbd location is in /sbin, which symlinks to /osh/sbin.
Its possible to use adb to interact with the webtop, its probably easier for these initial command line stages too.
t0dbld said:
FIRST try and fail... prayed it would be as easy as pushing apt-get to /system/bin and executing ... it was not ... well not with this try anyhow getting a apt-get: cannot execute binary file error
Click to expand...
Click to collapse
Why did you have to push apt-get to the box? apt and dpkg are already there.
I had this earlier, but reverted due to problems (I tried to uninstall rootfs). The first thing that needs to be taken care of is missing package dependencies, and file collisions. The package rootfs provides the functionality of the packages that are missing, but apt doesn't know that.
Also, consider moving /usr to the /data partition to save space. /osh is pretty cramped as is, and resolving the dependencies will fill it up pretty quickly.
droidbird said:
Why did you have to push apt-get to the box? apt and dpkg are already there.
Click to expand...
Click to collapse
I saw a dpkg something cant rmember but wasnt the same thing i see no apt-get either. Also even when running in root apt-get did not exist i used echo $PATH Folowed it and did not see any apt files. If i am wrong and you kniw of there existence and how to make them execute please inform us all as if we have a working apt-get well its all but over
t0dbld said:
I saw a dpkg something cant rmember but wasnt the same thing i see no apt-get either. Also even when running in root apt-get did not exist i used echo $PATH Folowed it and did not see any apt files. If i am wrong and you kniw of there existence and how to make them execute please inform us all as if we have a working apt-get well its all but over
Click to expand...
Click to collapse
it's already there:
Code:
[email protected]:/osh/usr/bin# ./apt-get moo
./apt-get moo
(__)
(oo)
/------\/
/ | ||
* /\---/\
~~ ~~
...."Have you mooed today?"...
but /osh/etc/apt/sources.list has garbage mirrors listed... They point to 10.77.32.150, which is obviously not a real IP. You could try commenting out what's in there and add in a working jaunty repo.
If you're going to use dpkg to install .debs manually, remember that they'll need to be compiled for arm processors.
Unfortunately my PC monitor doesn't do HDMI, so I can't run webtop right now. I'll play around more tomorrow when I can hook up my atrix to the TV
t0dbld said:
I saw a dpkg something cant rmember but wasnt the same thing i see no apt-get either. Also even when running in root apt-get did not exist i used echo $PATH Folowed it and did not see any apt files. If i am wrong and you kniw of there existence and how to make them execute please inform us all as if we have a working apt-get well its all but over
Click to expand...
Click to collapse
Apt and dpkg have been verified in this forum to be there for a week, search gets us that as well as some of the dependency issues.
Think about what you are suggesting
Be mindful that when pointing people down the road of running apt and dpkg that the very first thing they should have is a way to recover to stock. It is quite possible and likely that running apt-get or dpkg that you may twiddle some bits on your /osh partition that make webtop fail or unusable.
Have a backout method
At minimum, I would grab a dd of your /osh partition or one from here in the forums and keep it around. In addition, I would suggest you have a way to execute dd (if that is the route you choose to go for backup) outside of the /osh partion in the event you screw /osh up and need to dd back the old working /osh. Is the dd in /bin statically linked? If so, then the plan can be as easy as copying dd to some other partition where it can be executed from. If it is not static, you need one that is or a runtime environment where it can execute.
Have a plan
Why are we trying to get apt working? Is there some goal besides filling up /osh's remaining 77MB of space?
I'll start with a couple of options:
We want a working apt so we can install a less heavy browser than firefox.
We want to be able to replace the awn launcher with something snappier and that does not require compositing, again lowering memory usage and increasing performance.
A working dependency resolving package manager is "the right thing(tm)" to do as opposed to running around with zip files. Zip file are no way to keep a working system.
Exploring and discovering is cool and very fun, but either heading that direction or suggesting others do without a plan is to invite disaster.
If you change sources.lst, please make sure you use ARM repos and not x86 repos. X86 software will break the Webtop if you load it.
For anyone that wants to try, here is the correct repo to use:
Code:
deb http://ports.ubuntu.com/ jaunty main security universe multiverse restricted
Always make sure /osh can mount on boot, and that /osh/sbin/adbd remains intact. Without it, you have no way of recovering
perkz said:
it's already there:
Code:
[email protected]:/osh/usr/bin# ./apt-get moo
./apt-get moo
(__)
(oo)
/------\/
/ | ||
* /\---/\
~~ ~~
...."Have you mooed today?"...
but /osh/etc/apt/sources.list has garbage mirrors listed... They point to 10.77.32.150, which is obviously not a real IP. You could try commenting out what's in there and add in a working jaunty repo.
If you're going to use dpkg to install .debs manually, remember that they'll need to be compiled for arm processors.
Unfortunately my PC monitor doesn't do HDMI, so I can't run webtop right now. I'll play around more tomorrow when I can hook up my atrix to the TV
Click to expand...
Click to collapse
well i stand corrected, thank you sir.... although mine doesn't execute, still the same error:
./apt-get: cannot execute binary file
Are you sure you were in /usr/bin when you ran ./apt-get since you were specifiying that it execute from the current directory? Failing that, were you root and/or you might need to adjust your TOMOYO settings, but mine executes just fine as root as long as it is in the path and my /osh is fairly stock outside of the TOMOYO settings I have mucked with and a couple of other changes like adding a password for adas. If you still have problems, can you reload your /osh and start fresh?
i was in right dir , i am reboot it all now and will start over
Suggestion to anyone working this, take a dd copy of /dev/block/mmcblk0p13, and use losetup to mount it on /osh when experimenting.
Edit: the kernel lacks a loop device, working on that now.
t0dbld said:
OK now that the first hard part is over (getting Webtop running with out dock) now its time to push this to the limits ... I am Currently working on getting apt-get installed and running on Jaunty ... I would love to get some help with all this, obviousy this wont replace my laptop or Desktop, but it would be nice to know that anywhere i am i have a fully function linux machine in my pocket... so lets keep up the good work and push forward, CHARGE !!!
Click to expand...
Click to collapse
When you say " but it would be nice to know that anywhere i am i have a fully function linux machine in my pocket" do you mean being able to run Jaunty on just the phone itself, not hooked up to a dock? Or do you mean hooked up to a dock, just Jaunty replacing Webtop?
BravoMotorola said:
When you say " but it would be nice to know that anywhere i am i have a fully function linux machine in my pocket" do you mean being able to run Jaunty on just the phone itself, not hooked up to a dock? Or do you mean hooked up to a dock, just Jaunty replacing Webtop?
Click to expand...
Click to collapse
well i dont own a dock but i do not plan on running jaunty on a 4" screen
t0dbld said:
well i dont own a dock but i do not plan on running jaunty on a 4" screen
Click to expand...
Click to collapse
Yea thats what I thought. That would be sweet though. People think I'm crazy when I run Win95 on my phone, I think it's awesome though. So Jaunty or just Webtop IMO would be REALLY awesome to run on the little 4 inch screen! But most people just think it's a stupid, and pointless idea
shawnbuck said:
Suggestion to anyone working this, take a dd copy of /dev/block/mmcblk0p13, and use losetup to mount it on /osh when experimenting.
Edit: the kernel lacks a loop device, working on that now.
Click to expand...
Click to collapse
The loop devices are in /dev/block/loop[X].

[GUIDE] Learn about Linux/Ubuntu development commands [UPDATED]

Hey guys! This guide is surely gonna help a lot of people who build/compile ROMs, to understand the hidden meaning behind most of the common commands associated with the building stuff.
{
"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"
}
SO STARTING WITH THE COMMANDS GENERALLY USED FOR BUILDING DEVELOPMENT ENVIRONMENT:
We type the command sudo a lot of times and it asks for our desktop's password.
What is 'sudo'?
sudo is a Linux command used to execute programs as the root, or "super user." sudo is a shortening of "substitute user do."
One uses sudo when they need to run a command or program as root, but do not wish to log out or switch their entire shell to root privileges (like they could do with the su command).
Click to expand...
Click to collapse
What is 'mkdir'?
The 'mkdir' (make directory) command in the Linux or Ubuntu operating systems and in the PHP scripting language is used to make a new directory.
eg: mkdir -p ~/bin
Click to expand...
Click to collapse
What is 'cd'?
Besides listing the command "change directory" command "cd" is used.
The cd command, also known as chdir (change directory), is a command-line OS shell command used to change the current working directory in operating systems such as Ubuntu or Linux.
eg: cd ******(folder name)
Click to expand...
Click to collapse
What does './configure' do?
Typically the configure script when run will check some details about the machine on which the software is going to be installed. This script checks for lots of dependencies on your system. For the particular software to work properly, it may be requiring a lot of things to be existing on your machine already. If any of the major requirements are missing on your system, the configure script would exit and you cannot proceed with the installation, until you get those required things.
Click to expand...
Click to collapse
What is 'make'?
the make command accepts targets as command line arguments. These targets are usually specified in a file named 'Makefile', which also contains the associated action corresponding to the targets.
When the make command is executed for the very first time, it scans the Makefile to find the target (supplied to it) and then reads its dependencies. If these dependencies are targets themselves, it scans the Makefile for these targets and builds their dependencies (if any), and then builds them. Once the main dependencies are build, it then builds the main target (that was passed to the make command).
Click to expand...
Click to collapse
What does 'sudo apt-get' do?
Now there are a lot of things that are done with the command 'sudo apt-get'. Some common ones are:
'apt-get update' downloads the package lists from the repositories and "updates" them to get information on the newest versions of packages and their dependencies. It will do this for all repositories and PPAs.
'apt-get upgrade' will fetch new versions of packages existing on the machine if APT knows about these new versions by way of apt-get update.
'apt-get install': This option is followed by one or more packages desired for installation. Each package is a package name, not a fully qualified filename.
Click to expand...
Click to collapse
MOVING ON TO THE COMMANDS USED FOR COMPILING PROCESS:
What is 'curl'?
'curl' is a client to get documents/files from or send documents to a server, using any of the supported protocols (HTTP, HTTPS, FTP, GOPHER, DICT, TELNET, LDAP or FILE). The command is designed to work without user interaction or any kind of interactivity.
eg curl http://commondatastorage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
Click to expand...
Click to collapse
Why do we use 'chmod' command?
In Linux or Ubuntu, 'chmod' changes the permissions for a file; permissions should include a letter designating who gets permissions ('u' for the user, 'g' for the group, 'o' for others, or 'a' for all) followed by a '+' or '-' (to give or take away the permission) followed by the kind of permission ('r' for read access, 'w' for write access, 'x' for execute if the file is a program or script).
eg: chmod a+x ~/bin/repo
Click to expand...
Click to collapse
Why do we use 'export' command?
When you use export, you are adding the variable to the environment variables list of the shell in which the export command was called and all the environment variables of a shell are passed to the child processes.
eg: export PATH=${PATH}:~/bin
Click to expand...
Click to collapse
What is 'gedit'?
'gedit' is a light-weight text editor. Gedit has all the basic features you come to expect from a simple text editor, but Gedit has a native graphic user interface (GUI). Gedit also has command line arguments available to users to quickly and easily view and edit files from a terminal. Overall, Gedit is an easy to use text editor with utilizing the powerful capabilities of the desktop.
Click to expand...
Click to collapse
Why is 'repo init -u url -b branch' used?
This would initialize a new local source repository. This will create a new place to hold your local copy of the source tree. “url” should point to a Manifest repository that describes the whole sources. It is a special project with a file (default.xml) that lists all the projects that Android is made of. In the Manifest file, each projects has attributes about: where to place it in the tree, where to download it from (git server), revision that will be used (usually a branch name, tag or commit sha-id).
eg:repo init -u git://github.com/CyanogenMod/android.git -b cm-11.0
Click to expand...
Click to collapse
What is 'repo sync'?
After the repo initialization, this command downloads all the sources to your local directory. The first time you run this command, it will download the sources. Android sources are huge, for example, CM11 (KitKat) sources are approximately 12GiB. So, be prepared: you’ll need space in your hard drive, and time (possibly several hours)-depending on you ISP.
Click to expand...
Click to collapse
What is 'mka'?
This little gem of a command is basically equivalent to a super-charged version of 'make'. Problem is, make is SLOW in its default configuration. It can take hours longer depending on your hardware.So, mka is like a cheetah. What this means is that ALL of your processor is working, not just one small part of it(which is used with 'make' command).
Click to expand...
Click to collapse
What is 'breakfast'?
In order to explain brunch, we have to explain breakfast first. Breakfast is a function used to configure your build. It keeps track of a list of officially-supported devices to build for, and allows you to choose one. You can do this two ways,
1) breakfast [device name]
or
2) breakfast
Now, the first method is a shortcut to your device. If you don't know your device's name, then you can probably choose the second method which would display all the officially supported devices.
Breakfast then goes on to configure your build environment with the correct variables to create your device-specific rom.
Click to expand...
Click to collapse
Why do we use 'brunch'?
brunch followed by your device's codename is used to tell the system to start building/compiling from the sources.
eg: brunch ****(device codename: eg pico for HTC Explorer)
Click to expand...
Click to collapse
What is 'lunch'?
Lunch is used EXACTLY like breakfast, the only difference being the choices you have to build with it. Using lunch, you can choose non-official or non-standard builds for your device. This includes special debug versions and also allows you to build CyanogenMod for use on the Android Emulator. To build after running lunch, simply issue the command mka.
Click to expand...
Click to collapse
THANK YOU GUYS FOR READING IT. HOPE IT COMES HANDY TO YOU!
XDA-Portal: http://www.xda-developers.com/android/basic-linux-commands/
Source: http://www.google.com/
Nice overview for people new to Linux, but I'm afraid I'm going to have to disagree on your explanation of the sudo command. Contrary to your explanation, the name of the sudo command is actually derived from the su command (sudo homepage), which means: ”substitute user”. When taking this into account the meaning of sudo becomes: ”substitute user do”.
The reason I'm saying this, is because sudo, just like su, can be used to execute commands as/switch to any user present on the system.
Do note that apt-get and dpkg are distro-specific, not Linux-specific. If you're using Ubuntu, Debian or elementary, apt-get is there, but on Fedora you'll find yum, on Arch you've got pacman, on Gentoo you end up with emerge and so on.
is this an example of the real guide?
i mean there are so many more thing you need to explain
1.rm
2.ls
3.pwd
4.cp/mv
5.lunch
6.breakfast(i mean you mention brunch ,without breakfast?)
7.mka
more i can't remember
and all of this i have used while building.
Imposible to read on mobile
You know this is very hard to read on a phone? I mean, those boxes are for code, no? Any way, good post.
Erackron said:
Nice overview for people new to Linux, but I'm afraid I'm going to have to disagree on your explanation of the sudo command. Contrary to your explanation, the name of the sudo command is actually derived from the su command, which means: ”substitute user”. When taking this into account the meaning of sudo becomes: ”substitute user do”.
The reason I'm saying this, is because sudo, just like su, can be used to execute commands as/switch to any user present on the system.
Click to expand...
Click to collapse
This was a great overview, it did teach me a few things. Just one minor thing, in my Linux class we were taught that su meant 'switch user' and the other meanings were actually wrong. Then sudo would become: 'switch user do'. Which meaning is it then?
ruledrbrt1 said:
This was a great overview, it did teach me a few things. Just one minor thing, in my Linux class we were taught that su meant 'switch user' and the other meanings were actually wrong. Then sudo would become: 'switch user do'. Which meaning is it then?
Click to expand...
Click to collapse
I'm pretty sure sudo is something else. Ex: You can do sudo su - to switch to root.
You dont have automatikli sudo rights. The configuration file for sudo is*/etc/sudoers wich u can edit with visudoers.
The distinction between sudo and su is that with sudo, you need to have a user configured in a system wide configuration file (/etc/sudoers) to actually have him use the command and if someone attempts to use it without having permission, a log email will be sent to the email address configured for the root user.
When your account has been configured to allow sudo usage, you can then switch to any user/perform any command as the other user, but you only need to enter your own password when executing a command/switching to another user.
The su command is not really configurable, and only allows you to switch to another user if you enter that user's password.
So while
Code:
sudo -s someuser
and
Code:
su someuser
have the same effect, the sudo version asks for the password of the current user (and fails if the current user has no sudo rights) while the latter asks for the password of someuser.
For more on su and sudo.
cybervibin said:
is this an example of the real guide?
i mean there are so many more thing you need to explain
1.rm
2.ls
3.pwd
4.cp/mv
5.lunch
6.breakfast(i mean you mention brunch ,without breakfast?)
7.mka
more i can't remember
and all of this i have used while building.
Click to expand...
Click to collapse
To be honest if people don't understand what 1 through 4 mean in your list, then most likely they shouldn't be trying to develop anything IMHO
mjwhirly said:
To be honest if people don't understand what 1 through 4 mean in your list, then most likely they shouldn't be trying to develop anything IMHO
Click to expand...
Click to collapse
well he included 'cd' and 'mkdir'
so i just mentioned
Erackron said:
Nice overview for people new to Linux, but I'm afraid I'm going to have to disagree on your explanation of the sudo command. Contrary to your explanation, the name of the sudo command is actually derived from the su command (sudo homepage), which means: ”substitute user”. When taking this into account the meaning of sudo becomes: ”substitute user do”.
The reason I'm saying this, is because sudo, just like su, can be used to execute commands as/switch to any user present on the system.
Click to expand...
Click to collapse
Corrected it. Thanks!
cybervibin said:
is this an example of the real guide?
i mean there are so many more thing you need to explain
1.rm
2.ls
3.pwd
4.cp/mv
5.lunch
6.breakfast(i mean you mention brunch ,without breakfast?)
7.mka
more i can't remember
and all of this i have used while building.
Click to expand...
Click to collapse
Well, added the last three. Thanks!
letoloke said:
You know this is very hard to read on a phone? I mean, those boxes are for code, no? Any way, good post.
Click to expand...
Click to collapse
Now, I guess it would be readable on phones as well, since I have changed code to quotes. Hope it works now. Thanks!
Thanks for the knowledge
Easy to digest explanations.
I'd like to link this free course by Linux Foundation - https://www.edx.org/course/linuxfoundationx/linuxfoundationx-lfs101x-2-introduction-5386
I am full time linux user and linux is much much better when it comes to developement/re-engineering stuffs. This free course gives deep introduction to linux and basic info to bash scripting.
Thanks bro, much appreciated work, just started to build ROM from source for i9100 android lollypop named "CodeROM"
this tutorial is really helpful... thanks added... & keep updating the thread whenever new commands arrives.... so people like me can get most out of it
warrior1208 said:
Hey guys! This guide is surely gonna help a lot of people who build/compile ROMs, to understand the hidden meaning behind most of the common commands associated with the building stuff.
SO STARTING WITH THE COMMANDS GENERALLY USED FOR BUILDING DEVELOPMENT ENVIRONMENT:
We type the command sudo a lot of times and it asks for our desktop's password.
What is 'sudo'?
What is 'mkdir'?
What is 'cd'?
What does './configure' do?
What is 'make'?
What does 'sudo apt-get' do?
MOVING ON TO THE COMMANDS USED FOR COMPILING PROCESS:
What is 'curl'?
Why do we use 'chmod' command?
Why do we use 'export' command?
What is 'gedit'?
Why is 'repo init -u url -b branch' used?
What is 'repo sync'?
What is 'mka'?
What is 'breakfast'?
Why do we use 'brunch'?
What is 'lunch'?
THANK YOU GUYS FOR READING IT. HOPE IT COMES HANDY TO YOU!
XDA-Portal: http://www.xda-developers.com/android/basic-linux-commands/
Source: http://www.google.com/
Click to expand...
Click to collapse
How to pause repo sync????
My pc was shut down bcoz electricity gone and i was rezume rwpo sync plz tell me how to reaume repo synce fast
I get this error plz fix
Sent from my Xperia M2 Dual using XDA Free mobile app
manask002 said:
I get this error plz fix
Sent from my Xperia M2 Dual using XDA Free mobile app
Click to expand...
Click to collapse
You need to add yoour sources to the local_maifest.xml or you have to create a room service xml because your device is not supported officially.
Check this helpful guide on how to make a local manifest.
http://forum.xda-developers.com/showthread.php?t=2329228
Hope this helps you.
My device is xperia m2 its officially support aosp xperia
Sent from my Xperia M2 Dual using XDA Free mobile app
Noob on Linux
I want to try to build a rom for my Nexus 5 but want too also better understand Linux eg Ububtu 14.10 and not just copy text given in a buildingmanual so where is the best place to start really understanding Ubuntu?

A Complete Guide To Disable JIT Compiler??

I have heard that disabling it can make Oreo ROMs faster. Also, can someone help me with screenshots of using those commands on a computer?? I don't know if I'm doing it right.
Basically, tell me everything bout it.
Regards
@m00nlighter can help, he seems to know bout thjs
Dude, just wait for the Pie ROMs to become mature.
Oreo ROMs for Titan were simply not on par with Nougat ones, and a debloated stock Marshmallow ROM with ZRAM disabled will beat both Nougat and Oreo ROMs in terms of performance and stability.
So for now it's either stock or Pie, Oreo is history.
But I want to use Oreo, they ain't that bad for me. Could you please help me??
Detailed instructions are below. Please don't ask for further explanations, this is as simple as I can make it.
It's somewhat complicated and requires adb access and root permissions, so you have to be rooted.
Moreover, you have to have some free space on /system partition (I'd say around 300 megabytes) because ALL packages (apps) will be recompiled, including system apps. As for the data partition, it is hard to tell, depends on what apps you have. I recommend starting with minimum required apps.
First, disable the JIT compiler
adb root
adb shell stop
adb shell setprop dalvik.vm.usejit false
adb shell start
Click to expand...
Click to collapse
Second, clear profile data and remove compiled code for all packages
adb root
adb shell cmd package compile --reset -a
Click to expand...
Click to collapse
Third, force compile all packages using "speed" compiler profile (AOT-compiles all methods in app code)
adb root
adb shell cmd package compile -m speed -f -a
Click to expand...
Click to collapse
And finally, add/edit the following two properties to system.prop:
dalvik.vm.usejit=false
Click to expand...
Click to collapse
This will permanently disable the JIT compiler.
pm.dexopt.install=everything
Click to expand...
Click to collapse
This will force AOT compilation for apps, including updates and new installs.
After that, reboot and enjoy your FAST Oreo ROM
Why JIT compiler should be disabled on old devices like Titan?
Read the excellent post by Farhan on Stack Overflow here:
https://stackoverflow.com/questions/40336455/difference-between-aot-and-jit-compiler-android#
Where did I get this info from?
Official Android docs. See
https://source.android.com/devices/tech/dalvik/configure
and
https://source.android.com/devices/tech/dalvik/jit-compiler
m00nlighter said:
Detailed instructions are below. Please don't ask for further explanations, this is as simple as I can make it.
It's somewhat complicated and requires adb access and root permissions, so you have to be rooted.
Moreover, you have to have some free space on /system partition (I'd say around 300 megabytes) because ALL packages (apps) will be recompiled, including system apps. As for the data partition, it is hard to tell, depends on what apps you have. I recommend starting with minimum required apps.
First, disable the JIT compiler
Second, clear profile data and remove compiled code for all packages
Third, force compile all packages using "speed" compiler profile (AOT-compiles all methods in app code)
And finally, add/edit the following two properties to system.prop:
This will permanently disable the JIT compiler.
This will force AOT compilation for apps, including updates and new installs.
After that, reboot and enjoy your FAST Oreo ROM
Why JIT compiler should be disabled on old devices like Titan?
Read the excellent post by Farhan on Stack Overflow here:
https://stackoverflow.com/questions/40336455/difference-between-aot-and-jit-compiler-android#
Where did I get this info from?
Official Android docs. See
https://source.android.com/devices/tech/dalvik/configure
and
https://source.android.com/devices/tech/dalvik/jit-compiler
Click to expand...
Click to collapse
Dude, one last question. What is the output of cmd after you type :
adb shell stop
CMKdaGreatest said:
Dude, one last question. What is the output of cmd after you type :
adb shell stop
Click to expand...
Click to collapse
There should be NO output. This command effectively stops the shell.
@m00nlighter
This is the result I'm getting. Please tell me if it is what it is supposed to be
Please answer my question, pleaseeee
If you can't see the pic,
The output to adb shell stop is something like this
"stop:must be root"
Am i doing something wrong?
CMKdaGreatest said:
@m00nlighter
This is the result I'm getting. Please tell me if it is what it is supposed to be
Please answer my question, pleaseeee
If you can't see the pic,
The output to adb shell stop is something like this
"stop:must be root"
Am i doing something wrong?
Click to expand...
Click to collapse
Yes you are doing something wrong. Please go learn how to work with adb, enough info is available, just google it.
Unfortunately I'm not able to work with adb very well. adb root command is failing I think, so adb shell stop is also failing.
Someone help me please @m00nlighter @sapo_joe @Oshmar @thedeadfish59
I use magisk as su. Is that a problem for this?

[guide]{no root}/{root} install kali linux nethunter

With the latest update of Kali Linux 2020.1 Kali Linux has released a new rootless installation of its os using a app named termux.
You can download termux and follow a single command line to install NetHunter in our AZMPm1
It is available at their official website xda is again not letting me post the link i hope you understand!
So i hope you are able to download and install the NetHunter in the phone i have tested it in pixel experience(rooted) and also on stock rom (unrooted) and it is perfectly working .THANK YOU!
Also a request to all AZMPm1 devoloper to port custom NetHunter kernal for AZMPm1 or oneplus7 NetHunter rom.
Trying it now, following this : https://www.techncyber.com/2019/08/kali-nethunter-in-termux.html?m=1
---------- Post added at 07:53 PM ---------- Previous post was at 07:36 PM ----------
I'm getting errors man, please can you explain steps you followed?
Follow this www . kali . org/docs/nethunter/nethunter-rootless/
The guide you are following is obsolete please refer to the official documentation of Kali at kali . org
Secondly you,just have to write a single command on termux to install NetHunter!!so it's pretty easy xda is not letting me post link so i am unable to explain the full process but if you find any problems feel free to ask me!
I couldn't find official guide,
Try to type links different,. For example, replace "." with dot.
Also does it replace the os? Or just emulator?
I found http://kali.org/docs/nethunter/nethunter-rootless/
I got rootfs currupted error after running ./install-nethunter-termux
Screenshot
Sorry for late reply,It looks like chroot is not installed properly in your NetHunter termux,
So,first type "nh" in termux if NetHunter appears then there is no problem at all and you can ignor that error,type "nethunter" to start command in termux and "nethunter kex start" to run it as GUI.
If the "nh" command doesn't work then you have no option but to re-install the whole thing! Hope it helped you!
I figured it out. I manually downloaded the file and put into the termux home directory. Installed sucessfully.
What we can do with NetHunter?
sanath shetty said:
I figured it out. I manually downloaded the file and put into the termux home directory. Installed sucessfully.
Click to expand...
Click to collapse
Bro , i saw the screenshot . exact problem with me .
Help me out . tell me from start , where did you download the file from and where did you put it .
Please explain me briefly.
Install Kali-NetHunter In Termux
If you want to install Kali-Nethunter In termux then you just have to paste the below command and it will be installed Automatically, Just keep in mind that it will take more than 1 GB to Download it. If you switch your network from wifi to mobile data between downloading then the downloading will stop.
Code:
pkg install wget && wget -O install-nethunter-termux https://offs.ec/2MceZWr && chmod +x install-nethunter-termux && ./install-nethunter-termux
After the installation is done you can type nethunter to use it.
If you are downloading kali nether because you wanna use GUI then you can also use Termux Desktop, It is Lightweight and you can use the Desktop version of termux on your phone. (Just google Termux desktop)

Categories

Resources