[Utility][Script] Arch Linux Installer v3.0 [09/06/14] - Raspberry Pi General

{
"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"
}
Arch Linux for Raspberry Pi​
What is Arch Linux?
Simplicity is the ultimate sophistication. — Leonardo da Vinci
Simplicity is absolutely the principal objective behind Arch development.
Arch Linux defines simplicity as without unnecessary additions, modifications, or complications, and provides a lightweight UNIX-like base structure that allows an individual user to shape the system according to their own needs. In short: an elegant, minimalist approach.
Complexity without complication.
Why Arch for PI?
Hmm why would you like it better than your current installation? Well it's fast! very reliable. A very secure distro. It's extremely lightweight! What I like the most about Arch is it's install what you want. It doesn't come with all theuseless junk you don't need.It's simple to install and configure. It's a rolling release which means it's always always update. You don't have to worry about upgrading like you do with other distros.
Less load on CPU.
Extremely light.
No Bloatware!!
IWYNO concept (Install what you need only).
Configure PI for a Purpose!!
There is a lerning curve for Arch. Its neither easy nor difficult to configure arch for your needs. It requires time and patience!
I am trying to ease the difficulties of Arch, by providing Scripts. So that even if an advanced user wants to reinstall Arch. It should be hassle free. And for newbies it will be very easy to configure Arch.
Scripts:​
AIO Installer for PI
Overclocking Pi
Display Pi
Utility Pi
Command Pi ​
You can check out my github for progress:
Github Link: https://github.com/kingspp/Raspberry-Pi
Anyone interested in contributing to this beautiful OS and interested in learning scripting!! PM me. XDA is a two way Development!!
Thread Organization:
1st Post: OP
2nd Post: Downloads
3rd Post Questions
4th Post Information​

Downloads
Downloads​
Instructions:
You need to be running as root. Since the scripts change the defaults of hardware!. Be Cautious
1.Get the Git
Code:
sudo pacman -S git
2.Create a folder and move
Code:
mkdir git; cd git
3.Clone the Git
Code:
git clone https://github.com/kingspp/Raspberry-Pi
4.Check for scripts: (archi.sh and oc.sh are present)
Code:
cd Raspberry-Pi ; ls
5.Give Permission
Code:
chmod +x archi.sh
6.Run the Script
Code:
./archi.sh

Information
Changelog​
Please read the complete changelog here: https://github.com/kingspp/Raspberry-Pi/commits/master
09/0614
Added Utility Pi
Added Command Pi
07/06/14
Added Display Pi v1.0
06/06/14
Arch Linux Installer v1.0
Overclocking PI v1.0

FAQ
Features​
For Complete List of Features Check : https://github.com/kingspp/Raspberry-Pi/blob/master/features.txt
Feature List
Arch Install Script v3.0 offers
Ping Checking the Device
Updating the Arch Linux
Installing SUDO
Adding User to sudo
System Utilities
Partition Manager **
Add User
Password Manager **
User Utilities **
Overclocking with Custom Mode (refer oc.sh)
Change Hostname
many more.....
OverClocking PI v1.2 offers
5 Modes of OVerclocking
--Normal Mode
--Moderate Mode
--Medium Mode
--High Mode
--Turbo Mode
Custom Mode Availability
Secure checking for Custom Mode
Secure Config.txt
Governor Options
Display Pi v1.1 offers
Overview:
--Pi Version
--Device Specifics
--Device Overview
Utility Pi v1.0 offers
Install Required Packages
Currently 8 Packages available

I can't believe that this thread has no replies yet !
I just discovered your scripts because I'm planning to switch from Raspbian to Arch. I'll try them, but thanks for your wonderful work :good:

Related

[Win-Linux][11/15/11]{Tool} - AndroBox, Quick + Easy ADB And Debug Tools With GUI

AndroBox
Quick and Easy to use ADB and Debug tools for professionals and beginners
{
"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"
}
ADB and similar command line tools for Android have been a pain for new users to learn and extra work for the Developer while working.
Personally, I got sick of typing and having to remember things so I made this tool. It is also nice because it is mucho faster than I could do it!
I will be cleaning things up and making it look nicer (more even...?) as well as releasing the source code soon. Be patient!
DOWNLOAD - WINDOWS:
http://dl.dropbox.com/u/58849669/AndroBox-Win_0.4.zip
DOWNLOAD - LINUX:
http://dl.dropbox.com/u/58849669/AndroBox.linux.zip
UPDATES:
11/15/11 UPDATES
- Linux Version Added - runs on ALL Linux standard distros
- Linux version requires device to be hooked up and present or it will not go past the first screen
- Linux version shows real time activity in the Bash terminal!
- Linux version requires you to go through the true google agreement (keeps code distro kosher)
10/27/11
- FIXED Bug-report
- DDMS Runs natively (if you do not care about DDMS, download the old version here: http://www.multiupload.com/OQSF5U7QNH)
- No longer requires a device to be plugged in to start up. check test.txt
EVERYTHING RUNS FROM WITHIN THE APPLICATION FOLDER.
This was done simply because I like to be able to carry my tools on a small flash drive and not install anything.
There is no need to install the whole SDK to get access to a few key tools.
ALL OF THE PROGRAM FUNCTION OUTPUTS ARE TXT FILES THAT SAVE TO THE APP FOLDER
This just keeps things nice and tidy. You have everything right there to look over when you want to.
READ THE INSTRUCTIONS!
This will tell you how to use each function.
LEARN ADB
Allows new users to find out just how much fun (and Linux) is in there. Yay shell!
*** DONATIONS ARE NOT GOING TO MY POCKET, THEY WILL BE DISTRIBUTED TO THE EFF AND CYANOGEN WEBSITES FOR THEIR HARD WORK! ***
*I am not resposible if you mess up your device using this tool, please don't be stupid.*
QUESTIONS? Shoot me a PM or Email that is enclosed in the instructions
Looks like an awesome tool, but i need the Linux version
Its working, I just need to make sure it works on all of the major Linux Distros.
Regular Ubuntu 10.04 is being finicky. Kubuntu, Xubuntu, and RedHat are playing nicely.
I just want to make sure that it is good for all before release. It also autohandles your path so all you have to do is a "chmod +x AndroBox", then "./AndroBox" and you are good to go!
Thanks
Great tool, thanks a lot
Updated - everything should work GREAT now. DEBUG (DDMS) runs natively and FULLY!!!!!
If you do not care about DDMS, use the older version as it is MUCH smaller since it does not need the included library files.
Great !
Waiting for tool that workin with linuxmint
Sent from my E398-EM30-S5570
HEY GUYS - I HAVE A WORKING LINUX VERSION, BUT I NEED PEOPLE WHO WANT TO DO A PRIVATE BETA!
Kubuntu, Red Hat, and Xubuntu have been tested as working.
Send me a PM or post in this thread!
Now with working linux version!!!!!!!!!!!!!!!!!!!
Testing on all major linux distros without issue!!!!!
Added Dropbox Links because of the mess with most other filehosting services ATM.
How do i start the linux version up?
Do i need to use terminal or?

[Tool][Win] Better ADB GUI

{
"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"
}
Many of you may be familiar with ADB GUI (Or ADB Helper UI). So am I. I always thought it could use something... I don't know... Then, a few days ago, while reading the portal, I read it got an update. So I had a look and downloaded the program. I looked at it, and thought: "Well. It works! But what can I do about it, and how could I make it better? It's missing some tools..."
So then I opened up Visual Studio and coded on. I spent an entire day working out the design and how it should work and what features it should have. I had no internet at the time (Change of ISP) so I then coded and coded and coded until it was bed-time. The next day I started coding and wasn't sure about the design, so I deleted the code, got rid of the project and started anew. And the results aren't too bad!
So today I am proud to present to you, Better ADB GUI!
It's still very early and almost nothing works, but I want to show it off and release the current source code.
Screenshots
Features
Install ADB to system (Natively, like in other projects of mine)
Install and uninstall apps
Push files to Android device
Pull files from Android device
Backup device
Restore device
Reboot system; system, recoery, bootloader|Fastboot
Show/Save logcat to device
Show DMESG
Sync dirs
Start ADB shell
Root ADB shell (Restarts ADBD deamon with root rights)
Open CMD
Remount system
Restart ADB
Install SuperSU by Chainfire (x86, arm)
Uninstall SuperSU (x86, arm)
Install SuperSU (by @Koush)
Uninstall Super User (by @Koush)
Install busybox (App by stericson)
Install busybox (App by Stericson) as root/system app
Uninstall busybox (App by Stericson)
Install busybox binary (Requires custom kernel)
Uninstall busybox binary (Requires custom kernel)
There is other stuff, but it's still being coded.
What doesn't work
Everything that isn't up there ↑
Coded in(...)
This program is coded in Visual Basic 2010 (Upgrading to 2012 soon, as my laptop is broken and the one I'm using is REAL bad.)
Uses(...)
The app uses following libs/apps:
AndroidLib (Forgotton by whom. Sorry!)
Custom libs (Usedin Universal Android Toolkit)
Odin 4.22 (Thanks to Samsung!)
ADB, fastboot, AdbWinApi.dll, AdbWinUsbApi.dll (Thanks to Google!)
SuperSU, SuperSU binaries (x86 and arm), SuperSU no-nag (Many thanks to @Chainfire!)
Busybox (Thanks, @Stericson!)
Super User (Thanks to @koushikdutta)
7z.exe, 7z.dll (Thanks to some Igor bloke!)
Anything else has yet to be added...
LINKS:
Better ADB GUI Repository
No download link, yet. Will be available with first release.
Don't forget to enjoy the program! If you like what you see, please do contribute to the project, or help me save up for a nice, new PC (Links in program and description).
Stay awesome, guys! ​
#1
Reserved post #1
#2
Reserved post #2
#3
Reserved post #3
Last one. Promise
Reserved post #4
Woe it looks awesome but When you gonna release it? Cant see any download link yet ..
H4CK_H0PP3R said:
Woe it looks awesome but When you gonna release it? Cant see any download link yet ..
Click to expand...
Click to collapse
Well, as sad as it is, I don't code in VB anymore, and I especially don't use Windoze anymore.
So, any functionality that is found here, will:
a) Be also incorporated into my much older project Universal Android Toolkit - which will be coming very soon
or
b) Will be ported to Java for use with Windoze (Universal Android Toolkit is mutating to a BSD/BSD-like OS-only program, because we've go way to little of these.
But, you can pull the source and try it out for yourself. I can't remember what's working and what isn't, but hey. There should be a working build in thre somewhere, and you should be able to carry on maintaining it.

Guide: How to build the kernel for your Honor 7

{
"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"
}
Huawei have helpfully released the kernel source for the Honor 7 on their download site. Impressively, the version posted there (3.10.86) actually matches the current release build (B330). However, the download itself is only part of the puzzle - it's important to then know how to compile it and use it. Hence this guide.
Some points to note first of all...
This guide refers to building on Linux. You can probably build on OSX or whatever too but seriously, it's less pain in the long run to spin up an Ubuntu VM.
There is a readme file in the kernel download with build instructions. Don't follow it... it won't work. You will end up with a built kernel, but it won't flash to your device due to the size of the file created by the 4.9 toolchain. Strange I know.
In the download linked above, as well as the kernel, there are some other bits and pieces (some of which are quite bizarre). I've mirrored the kernel to Bitbucket, so you don't need to grab the whole download.
Got that? OK, so here's a step by step on how to build the kernel! I strongly recommend building stock first and testing that works for you, then you can start adding your tweaks in. I'm interested to hear what you add / change!
Open a terminal window on your Linux machine / in your Linux VM. No GUIs here. Change to the directory where you want the kernel / toolchain to live.
First of all, we're going to clone the toolchain from AOSP.
Code:
git clone https://android.googlesource.com/platform/prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.8
Next we're going to clone the kernel source itself from my git repo on bitbucket.
Code:
git clone https://bitbucket.org/paulobrien/android_kernel_honor7.git
We need to add the toolchain location to the path.
Code:
export PATH=$(pwd)/aarch64-linux-android-4.8/bin:$PATH
We need to specify that we are cross compiling for arm64.
Code:
export CROSS_COMPILE=$(pwd)/aarch64-linux-android-4.8/bin/aarch64-linux-android-
Let's create a directory for our output to go in to.
Code:
mkdir out
We've got the kernel downloaded, so let's change to that directory so we're ready to go.
Code:
cd android_kernel_honor7
A bit of cleaning up before we get started...
Code:
make ARCH=arm64 O=../out mrproper
Specify that we're building for PLK (Plank = H7)...
Code:
make ARCH=arm64 O=../out hw_PLK_defconfig
And build it!
Code:
make ARCH=arm64 O=../out -j8
When this process completes, we can check the '../out' directory and you should find the file arch/arm64/boot/Image. This is the kernel that you've just built! You can't flash it as is though, you need to put it into a boot image first.
Here's how you do it...
Change out of the kernel directory back to its parent.
Code:
cd ..
Download tools for manipulating the boot image.
Code:
git clone https://github.com/xiaolu/mkbootimg_tools.git
Download the stock boot image (actually we're using the root ready version for convenience).
Code:
wget -O boot.img http://nigella.modaco.com/files/boot.policypatched.b330.img
Extract the boot image.
Code:
mkbootimg_tools/mkboot boot.img boot.extracted
Copy the new kernel into the extracted boot folder.
Code:
cp out/arch/arm64/boot/Image boot.extracted/kernel
Build a new boot image.
Code:
mkbootimg_tools/mkboot boot.extracted boot.newkernel.img
You now have a new boot image (boot.newkernel.img). All that's left is to flash it to your device! Reboot to bootloader (either using 'adb reboot bootloader' or by powering on with volume down held), flash using 'fastboot flash boot boot.newkernel.img' and then reboot using 'fastboot reboot'. Job done! In the About screen of settings you should see the date of the new kernel and details of your build machine.
Well Done mate! Can we be hopefull about a sort of unoffical cm?
Caleidoscopio said:
Well Done mate! Can we be hopefull about a sort of unoffical cm?
Click to expand...
Click to collapse
Not sure this really helps with that. It's not something I'm looking at atm anyway I'm afraid (due to time constraints).
P
A quick note on building with the 4.9 toolchain - basically, the boot image that gets created is too big. This can be resolved by deleting unnecessarily PNGs in ramdisk/res/images/charger.
P
cant a new kernel be used to extend the battery life?
joelk2 said:
cant a new kernel be used to extend the battery life?
Click to expand...
Click to collapse
With the right tweaks, of course!
P
Sent from my HTC 10 using Tapatalk
I've patched the kernel from .86 to .101. All working well!
P
hi paulobrien, i want to try to compile my own kernel, i'm not an expert of android building but i've compiled varoius linux kernel so my question is where i can find useful patch to add on my kernel? thanks for the help
Do you know to build kernel for honor 7c... Actually I am looking for a nethunter kernel for my device but there is nothing if you know the tutorial please tell me I will try myself because there is no one who comes forward for compiling my kernel
Official Kernel source for huawei honor 7c https://download-c1.huawei.com/down...oadId=98821&version=416732&siteCode=worldwide

[TOOL][ADB][Windows]RAM-Hog Sniffer For Rooted Android Emulators

Given the case you feel your favorite Android emulator runs slowly, especially at a certain game, then you should remind that Android emulator's (AVD) performance mainly depends on correct setting of its
A: Android per app Heap Size granted
B: VM total RAM (read: Random Access Memory) allocated off host machine
Most emulators don't automatically take care of this, they are preset to standard values: it's on the user to correctly configure it.
User has to check and monitor for the RAM usage of an individual app/game on Android, has to check which app/game is eating the maximum RAM and affecting the performance.
Yes, for me one of the fundamental questions users ask (or at least, they should) is: how much memory is my program using? It may be a simple question, but with a virtual memory operating system like Android the answer is quite complex.
By default Android OS - a derivate of Linux OS - since ages comes with procrank tool, what in detail shows you some RAM metrics for an application as those are VSS, RRS, PPS and USS. So also Android OS provided by the various emulators should do it, too.
Installed Terminal Emulator app on some wellknown emulators and ran procrank. Experienced that on Android emulators like
BlueStacks 4 ( Android Nougat )
PROCRANK doesn't work at all, you get message: "error creating kernel interface -- does this kernel have pagemap?"
MEmu 6 ( Android Nougat )
PROCRANK doesn't exist - means isn't implemented at all
NOX 6 ( Android Nougat )
PROCRANK isn't working, you get message: library "libpagemap.so" not found
Genymotion 3 ( Android Nougat )
PROCRANK doesn't work at all, you get message: "error creating kernel interface -- does this kernel have pagemap?"
Maybe someone knows reasons for that?
Hence, to get out the app/game specific RAM metrics ( read: VmPeak, VmVSS, VmHWM, VmRSS and VmPSS ) on an Android emulator, I wrote a Windows command script ( ~50KB ) that running against a rooted emulator gives them to me: I named it RAM-hog Sniffer. Notes: It's provided on an "AS IS" basis, it's free software, and you are welcome to redistribute it under license GPLv3.
Successfully tried it on properly rooted and ADB-enabled BlueStacks v4.50.5.1003 ( Android Nougat ):
Excerpt of logfile created:
{
"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"
}
Useful or not is for you to tell, give it a try and leave a comment with suggestion if indicated.
Usage:
• Download the attached ZIP and unpack it on Windows PC into any location of your choice
• Connect a rooted and ADB enabled emulator to PC
• Run Windows batch-file named RAM-hog-Sniffer
FYI: You will need to install the Android ADB drivers if your emulator is not detected.
PS: Please, do NOT share this elsewhere - I want to be able to update if necessary.
Script revamped. New version is in OP.
gr8. ty
To keep you updated: BlueStacks announced to fix the PROCRANK problem
According to the description I think something good,
but, can the script, not to change to the installed system,
for editing on a computer.>?
Ciuma777 said:
According to the description I think something good,
but, can the script, not to change to the installed system,
for editing on a computer.>?
Click to expand...
Click to collapse
You use any ANSI-editor of your choice, preferredly of course Notepad++, to edit the script on your Windows computer according to your needs.

Wolf Kernel v1.0 for Ovvi SK3 (V4701_I01)

[KERNEL][TREBLE][Linux 3.18.79] Wolf Kernel v1.0 for Ovvi SK3 and Brown&Proud Brown 1 (V4701_I01) [OFFICIAL][STABLE][10.17.2019][DISCONTINUED]
{
"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"
}
Code:
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this Kernel
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/
INTRODUCTION
Wolf Kernel is a custom kernel project developed by @Shiroyuki82 and tested by Черная мамба on his Ovvi SK3. The aim of the kernel is to give you the privilege of tasting the sweetness of Android Oreo and above without making a switch or swap. However, the result in building the kernel is positive but there's no way to flash it in an easy way due to its unexpected file extension.
In order to flash the kernel, you will be required to use Ubuntu 16.04 (x64) on your PC.
INSTRUCTIONS
Please make sure that you have already unlocked your Brown 1's bootloader and have already installed a custom recovery (TWRP 3.2.3 is highly recommended) in order to flash GSI images correctly. Using PBRP 2.9.0 is not recommended due it won't let us flash a system image on the system partition and that's a bug.
Code:
Instructions for Ubuntu 16.04, this process must be done on a PC that runs on Ubuntu 16.04
# dpkg — print-architecture
"armx64-a81" - this code should appear
After completing the first step, install environment chain drivers
# sudo apt-get install git
# sudo apt-get install libncurses-dev
then check or tick system arch and toolchain
# export PATH=tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin/:$PATH
this is where the process begins
# cd /
# sudo mv /tmp/kernel.img /boot
# ls /boot
# cd /boot
# sudo mv kernel7.img kernel7_old.img && sudo mv kernel.img kernel7.img
# sudo tar xzf /tmp/modules.tgz
# rm /tmp/modules.tgz
reboot
# sudo shutdown -r now
checker
# uname -r
Then voila! You have installed the Wolf Kernel on your Brown 1! Please keep in mind that the kernel can be used as a daily driver but it is not recommended to be used as a daily driver due to its heating issues that might cause your phone to be cooked.
DOWNLOAD
The stable build was only published, even though it is marked "stable," I don't recommend using it as a daily driver. This kernel was meant for testing purposes only, just for those who haven't got a single piece of Oreo cookie or a single slice of Pie .
Download
Build 20191017 - v1.0
Click to expand...
Click to collapse
CREDITS
Code:
[user=10075567]@Shiroyuki82[/user] for developing this custom kernel for our low-end device
@Черная мамба for helping us improve this kernel by being the one to test it out
@androidist1204 for publishing this post since its not published on XDA :P
XDA:DevDB Information
Wolf Kernel, Kernel for all devices (see above for details)
Contributors
LiaFourté, shiroyuki82, [email protected]
Source Code: https://github.com/Shiroyuki82/Wolf-Kernel-Ovvi-SK3-
Kernel Special Features:
Version Information
Status: Abandoned
Created 2020-03-09
Last Updated 2020-08-13
Click to expand...
Click to collapse

Categories

Resources