Giter Site home page Giter Site logo

android's Issues

Termux Sudo

A bash script that provides sudo for Termux

Termux is a terminal emulator and Linux environment for Android

Note

termux-sudo was originally hosted on GitHub.

Due to the fact that Microsoft is purchasing GitHub, I have decided to move it here.

Requirements

Rooted phone with su binary
SUDO WILL NOT WORK WITHOUT SU

Installing sudo

1.Clone termux-sudo or download to phone and extract

2.Open Termux

3.Install a dependency needed for sudo:

$pkg install ncurses-utils

4.Change to cloned or extraction directory

5.Execute the following commands to place sudo into the correct directory with the proper permissions and ownership

cat sudo > /data/data/com.termux/files/usr/bin/sudo
chmod 700 /data/data/com.termux/files/usr/bin/sudo

Features

Sets up its environment automatically on first run, no need to do anything but use it

Creates a root folder .suroot in the Termux home folder with proper root permissions and ownership

Creates .bashrc file in root folder with proper PATH and LD_LIBRARY_PATH variables set so all binaries function correctly

Bash prompt PS1 variable is also set so you dont have bash-4.4# as prompt just #

Automatically creates .bash_history in root folder when you drop to a root shell so root shell history is preserved

Can be used like ordinary sudo (but only as root, no other user)

Can drop to root shell sudo su [-]

Runs built in Termux binaries and exteral binaries with optional arguments as root in current directory

Generates output in shell currently using

Can be used in other bash scripts

[option] Can turn off colored error messages be editing the variable colored at the beginning of sudo file

Usage:

sudo su [-] Drop to root shellsudo [] Run command as root with optional arguments

Thanx

【招聘】Android工程师招聘!!!

算法、大数据、Java、Android、前端工程师,产品经理招聘!!!坐标北京

内推请发简历到: [email protected]

MetaApp简介
233乐园,**最大的小游戏平台。上线一年内,完美兼容两百万款原生游戏和应用,吸引众多著名游戏开发商入驻,已经成为国内休闲游戏领域最受欢迎的产品之一。233乐园目前MAU数千万,每日时长超过QQ游戏大厅、TapTap、小米游戏大厅和360游戏大厅的总和。

MetaApp目前D轮融资,估值20亿***,扁平化管理,硅谷极客风;一年内DAU增长十倍,团队规模增长5倍,亿级潜在用户规模的平台,给你足够丰富的成长、发挥空间;零食饮料不限量供应、营养三餐丰富、高额住房补助、健身房、及各种团建Party等;

Image of MetaApp

帮HR发个招聘!有望进阿里

[招聘(北京/杭州)]帮HR同事转一下,找Android大牛
各位技术大牛,待遇丰厚,快看过来啦~
级别:P6-P7,年薪30-80W 欢迎来撩!!!
学历要求:本科
年龄:35岁以内
岗位描述:
负责Android平台上应用开发和设计工作,包括但不限于移动产品的开发、运行期性能和体验优化工作,移动平台上可扩展组件、框架、容器设计工作,提升团队整体研发质量和效率的移动端效能工具建设。具体包括:
1、参与公司在移动领域业务需求评审、设计和开发工作;
2、参与新技术预研,新技术在健康领域的创新、设计和开发工作;
3、参与移动技术团队开发工具建设,让移动开发变得越来越智能;
4、同众多优秀的工程师一起用新技术改变医疗健康领域的体验,用技术创新改变自己和家人的健康;

岗位要求:
1、 热爱计算机以及互联网技术,热衷于解决挑战性的问题,追求极致的用户体验;
2、 在Android及其他移动平台上有3年及以上的应用开发经验,熟悉Android平台应用开发技术,熟悉安卓App运行机制和Framework;
3、 具备扎实的计算机基础、数据结构和常用算法知识,编码功底扎实,善于用数学解决实际问题;
4、具备软件架构设计能力,熟悉常用软件设计架构和设计模式;
5、熟练掌握Java编程语言,同时具备JavaScript、C++、Python、Flutter、Go等编程语言者优先;
6、 具备创新业务技术攻关和落地能力者优先(不限于算法、生物识别、图形图像、3D建模、AR、多媒体等领域);
7、 有互联网医疗、人工智能、机器学习等领域项目背景者优先考虑。

联系邮箱:[email protected]
联系方式:13342897661
微信号:970009604(Lynn)
找工作,或者想跳槽的技术大佬快来咨询啦!!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.