Hi all
Im using Galaxy Mini (Android 2.3.6) and have installed Ubuntu 9.04 jaunty via Linux Installer. Using(on phone) Ubuntu and cx_Freeze i can compile Python scripts to source code(for armv6l) and install it (on Ubuntu) and it works well but when i move it to Android and run command from Terminal Emulator im getting toast with message root get administrator privileages(a few times) to time when shows superuser force update, phone getting laggy and i must take off battery and turn it on again.
directory tree of source files:
--------------------------------------
usr(dir)
----bin(dir)
--------print(file, run print from /usr/lib/print-0.1/ dir)
----lib(dir)
--------print-0.1(dir)
------------*.so(files)
------------*.zip(archive with freezed Python libs)
------------print(file)
--------------------------------------
and files in /system/xbin/
print file
--------------------------------------
#!/system/bin/sh
su -c "/system/xbin/print.sh"
--------------------------------------
print.sh file
--------------------------------------
#!/system/bin/sh
export print="/usr/bin/print"
print
--------------------------------------
My Questions:
1. Why it not works while files are compiled on armv6l to armv6l processor?
2. Can i somehow make that works?(How? or Why?)
3. Is there a way to make linux gui for android?(Why?)
Stock odexed mj4 is my system. knox0x0 selinux enforced
su binary installed into /system/xbin and ln -s to /system/bin (system status "custom")
busybox installed
no superuser.apk or other su manager installed. (try dialer code *#1234# if your superuser/supersu.apk launches...well thats just one reason i uninstalled it...break my dialer codes? unacceptable)
xposed module wanam xposed installed (fake status official does not work)
env dir for linux deploy is /storage/extSdCard/linux
linux.img is /storage/extSdCard/linux.img
I searched for other note3 owners enjoying chroot but no luck, so hopefully others looking to chroot on note3 qualcomm variants find their way here to learn and discuss chrooting from within a selinux enforcing environment. (these steps should help s4 and s4mini users too who seem to have the same issues/errors with linux deploy)
Let it begin ~
Hey all, i've been working on a script for AUTO-INSTALL of AOSP source/dependancies for debian based linux. (aswell as other things). Basically an all-in-one for all the things i personally enjoy in linux. Msg here or at [email protected] or [email protected] with questions/comments/suggestions.
SOURCE/DOWNLOAD=https://github.com/l8nit3tr0ubl3/myscripts.git
UPDATE#3
L8nit3's AIO v0.7.0
-Added Automated init/sync/download of Android AOSP source code
-Bugfixes
UPDATE#2
L8nit3's AIO v0.6.1
-Added gaming section, installs multiple linux gaming emulators.
-Cleaned/organized code
-A few typos and broken links fixed
-Cleaned up menu..... slightly
Quote
AIO SCRIPT
---------------------------------------------------------------------------
---------------------------------------------------------------------------
BASIC FUNCTIONS - RUN WITH SUDO
-h or ?=Display this help screen
-i=Install this script (for ease of use, just type AIO when done.)
UPDATE FUNCTIONS - RUN WITH SUDO
-u=Update entire system (update+upgrade+dist-upgrade+autoremove+apt clean)
-s=Small Update (just apt update and upgrade)
CRYPTOCOIN FUNCTIONS - RUN AS NORMAL USER
-l=ltc (install litecoin daemon)
-d=dash (install dashcoin daemon)
-N=NOMP (install NOMP+DASH+LTC+DEPENDANCIES)
-o=NOMP only (install NOMP+DEPENDANCIES no coins)
-c=cgminer4.3.5 (install ZEUS/GRIDSEED cgminer)
-A=AllCoins (Install 42,dash,ltc,nyan,sxc,zeta+NOMP)
NETWORK FUNCTIONS - RUN WITH SUDO
-w=wifite (install wifite+reaver+pyrit+tshark+aircrack)
-S=sqlmap (install sqlmap)
-n=Network (install tightvnc+openssh-server+screen)
-t=teamviewer32 (install Teamviewer i386 edition)
-T=teamviewer64 (install Teamviewer amd64 edition)
MEDIA FUNCTIONS - RUN WITH SUDO
-k=kodi (install kodi/xbmc)
GAMING EMULATION FUNCTIONS - RUN WITH SUDO
-e=emuFull (install 16 console emulators)
ANDROID AOSP FUNCTIONS - RUN AS NORMAL USER
-p=AOSP (Install AOSP source code and dependancies)
---------------------------------------------------------------------------
example: sudo AIO -i && aio -p
Will install AIO to /usr/bin and then install AOSP source.
---------------------------------------------------------------------------
---------------------------------------------------------------------------
Let me know what you guys think (coding is quite basic so far).
ROADMAP
-add more AOSP source and CM source
-add UNOMP
-add MPOS/NOMP
-add MPOS/python stratum
-add pre-built NOMP/UNOMP configs, only ports and username/pass will need changing
-add roms to GAMING section
CREDITS
ALL CREDIT FOR ANY SOFTWARE GOES TO ORIGINAL AUTHORS! ALL IVE DONE IS STREAMLINED THE PROCESS!
IF YOUD LIKE TO DONATE >>> DO SO TO THE ORIGINAL AUTHORS FOR THEIR INCREDIBLE WORK!
Hacking Acer Chromebook C720P -
using...
Node and NPM on Chromebook (Chrome OS) - very inconsistent material & literature on it - could not make it install properly so far - /thread https://yoember.com/nodejs/the-best-way-to-install-node-js/
This command to get npm working
sudo mount -i -o remount,exec /home/chronos/user
(presupposes r/w system)
The purpose - getting further capabilities without having to buy a newer Chromebook - & without having to change or hack the underlying original Chrome OS which uses Linux Kernel 3.8 -
I will be posting some of the results here - & others associated to using crouton with xiwi...
Instructions:
cd ~/Downloads
sudo mount -i -o remount,exec /home/chronos/user
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.11/install.sh | bash
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
command -v nvm
nvm list
nvm ls-remote
nvm install 10.9.0
nvm use 10.9.0
nvm alias default 10.9.0
node -v
npm install -g npm
nvm install iojs
# should get: Now using io.js v3.3.1 (npm v2.14.3)
Resources
Resources - 1. nvm by creationix -
Node Version Manager - Simple bash script to manage multiple active node.js versions
https://github.com/creationix/nvm
Resources - 2. Node.js
Node.js® is a JavaScript runtime built on Chrome's V8 JavaScript engine.
https://nodejs.org/en/
Resources - 3. npm
npm is the package manager for javascript
https://www.npmjs.com/
https://twitter.com/inabster/status/1029949524356333569
Resources - 4. chromeos-apk
Run Android Apps in Chrome OS or Chrome in OS X, Linux and Windows.
https://github.com/vladikoff/chromeos-apk
Crouton, xiwi, Linux, arcwelder & other resources...
In here https://forum.xda-developers.com/showpost.php?p=77252924&postcount=71
I posted how to get Skype working without Android, because Android in Chromebook Acer CB C720P does not support USB host mode, so we cannot have usb webcams from within Android.
However USB Webcam works in hacked & non hacked Chromebook with UVC.
So using crouton & a Linux distro allows to get Skype with webcam fully working, also with xiwi in a window in Chrome OS.
I tried to get Android Skype working using an apk through arcwelder with no success - versions below 5 load but redirects to install newer versions, disallow operating.
Latest version like 7 or 8 would not load through arc welder.
& I bumped onto chromeos-apk.
To use chromeos-apk to install Android apps, one needs npm, so this is how it led me to node.js -
Run Android Apps in Chrome OS OR Chrome in OS X, Linux and Windows.
https://github.com/vladikoff/chromeos-apk
with (in the downloaded chromeos-apk-master folder from above vladikoff git)
npm install chromeos-apk -g
or
sudo npm install chromeos-apk -g
& you should get something similar to this -
[email protected] ~/Downloads $ cd chromeos-apk-master
[email protected] ~/Downloads/chromeos-apk-master $ npm install chromeos-apk -g
/home/chronos/user/.nvm/versions/node/v10.8.0/bin/chromeos-apk -> /home/chronos/user/.nvm/versions/node/v10.8.0/lib/node_modules/chromeos-apk/chromeos-apk
+ [email protected]
added 13 packages from 6 contributors in 8.137s
Note - I used v10.8.0 of node.js - but v10.9.0 should work same.
Usage
Run chromeos-apk [path to apk file]
... tbc/...
chromeos-apk results
Results not encouraging - any apk I submitted so far to chromeos-apk leads to the error: (it creates an unpacked extension to load from chrome://extensions)
Failed to load extension
File
~/Downloads/org.xbmc.kodi.android
Error
There is no "message" element for key extName.
Could not load manifest.
waste of time?
I guess, I learnt how to install node.js & npm
Result - news -
It depends on the apk version, for instance
Es File Explorer version es-file-explorer-4-1-7-1-28.apk installs OK using either Arc Welder or chromeos-apk...
latest versions do not -
(also tested on Asus Chromebit CS10 which is Arm 32bit)
this is a battle of wits between Google developers, & independent developers - Google sabotages community efforts for obvious reasons, stay in control.
I tried to root my infinix note 10. Plz guide me
Rooting your phone's Android 11 is done by adding a superuser- AKA root ( read: user with elevated rights ) to Android.
This can get achieved by
either
adding SU binary to Android's filesystem
or
replacing the pre-installed Toybox binary - what is a restricted version by defaut - by Toybox version 0.8.5 what comes with SU implemented.