|
|
第1行: |
第1行: |
| + | [[category:ops]] |
| | | |
− | =解说= | + | =ins and config= |
− | 手机OTA功能有什么用?
| + | ==Download and install Filebeat== |
| + | <pre> |
| | | |
− | 手机OTA升级是指Android系统提供的标准软件升级方式,可以无损失升级系统,主要手段是通过网络(包括WIFI、3G)自动下载OTA升级包、自动升级,不局限,也支持通过下载OTA升级包到SD卡升级。
| |
| | | |
| + | curl -L -O https://artifacts.elastic.co/downloads/beats/filebeat/filebeat-7.12.0-amd64.deb |
| + | sudo dpkg -i filebeat-7.12.0-amd64.deb |
| + | </pre> |
| + | ==Edit the configuration == |
| + | <pre> |
| + | Modify /etc/filebeat/filebeat.yml to set the connection information: |
| | | |
− | [https://sspai.com/post/43338 Android 玩机终极指南] | + | output.elasticsearch: |
| + | hosts: ["<es_url>"] |
| + | username: "elastic" |
| + | password: "<password>" |
| + | setup.kibana: |
| + | host: "<kibana_url>" |
| | | |
− | =操作=
| + | Where <password> is the password of the elastic user, <es_url> is the URL of Elasticsearch, and <kibana_url> is the URL of Kibana. |
− | [http://blog.linuxchina.net/2016/01/06/%e4%bf%9d%e7%95%99%e6%95%b0%e6%8d%ae-nexus-5%e5%8d%87%e7%ba%a7%e5%88%b0%e5%ae%89%e5%8d%934-4-4-ktu84p%e7%9a%84%e5%8a%9e%e6%b3%95/ 保留数据 nexus 5升级到安卓 6.0.1 的办法 ]
| |
| | | |
− | == Install adb and fastboot==
| + | </pre> |
− | [[Installing adb and fastboot]]
| |
| | | |
− | == Install TWRP Recovery == | + | ==Enable and configure the nginx module == |
− | [[Install TWRP Recovery]]
| |
| | | |
− | == Installing LineageOS from recovery==
| + | <pre> |
| + | sudo filebeat modules enable nginx |
| | | |
− | ===Wipe the device ===
| + | Modify the settings in the /etc/filebeat/modules.d/nginx.yml file. |
| | | |
− | In the TWRP Home menu, select Wipe > Advanced Wipe. Select Dalvik / ART Cache, System, Data, and Cache. Do not select the Internal Storage otherwise you will lose the data. Then Swipe to Wipe.
| + | </pre> |
− | | |
− | ===Install pixel experience===
| |
− | | |
− | | |
− | pixel experience基于AOSP(Android Open-Source Project),后者翻译为android开源代码项目,简单说Android是开源操作系统,Google发布的Android版本会给出对应的开放源代码,即AOSP ROM。应该说在此基础上做出更改和优化的ROM,都是基于AOSP,但是pixel experience为什么特别吸引人了?
| |
− | | |
− | Git-Hub对pixel experience介绍是AOSP based ROM, with Google apps included and all Pixel goodies。ROM包含Google应用和所有的pixel系列(包括桌面,壁纸,图标等)--意为在不同型号的手机上获得类似pixel手机的体验。举个最简单的梨子:同样是基于android P,lineageOS 16.0中的相机是他家另外包装的app,但是pixel experience中的相机就是Google Camera;另外lineageOS 16.0的桌面和图标等都是pixel是不同的,但是我用的觉得是一样的呀
| |
− | | |
− | https://download.pixelexperience.org/sailfish pixel
| |
− | | |
− | [https://zhuanlan.zhihu.com/p/81081582 最接近android纯净版--在安卓手机上安装pixel experience全过程]
| |
− | | |
− | | |
− | [https://blog.csdn.net/lemisky/article/details/103308063 Pixel XL 搞机 LineageOS]
| |
− | | |
− | ===Install LineageOS===
| |
− | Select Install then select the zip image file. It will take some times to install. Please wait and be patient.
| |
− | | |
− | 注意
| |
− | recovery 里面 先要 wipe data 然后才能 卡刷 lineageos
| |
− | | |
− | lineage 卡刷包下载地址
| |
− | | |
− | https://mirrors.ustc.edu.cn/lineageos/full/hammerhead/
| |
− | | |
− | https://download.lineageos.org/hammerhead
| |
− | | |
− | ===下载方式===
| |
− | ====方法1====
| |
− | ping or dig 得出 ip
| |
− | | |
− | 正在解析主机 mirrorbits.lineageos.org (mirrorbits.lineageos.org)... 192.99.39.68
| |
− | | |
− | 于是 绑hosts
| |
− | | |
− | 192.99.39.68 mirrorbits.lineageos.org
| |
− | 然后就可以 下载
| |
− | wget -c https://mirrorbits.lineageos.org/full/hammerhead/20170704/lineage-14.1-20170704-nightly-hammerhead-signed.zip
| |
− | | |
− | ====方法2====
| |
− | 还有更加开心的发现 国内有mirrors
| |
− | https://mirrors.ustc.edu.cn/lineageos/full/hammerhead/
| |
| | | |
− | ===[[Install Google Apps]] === | + | == Start Filebeat== |
| | | |
− | == Root==
| |
| <pre> | | <pre> |
− | Root 获取超级权限
| + | The setup command loads the Kibana dashboards. If the dashboards are already set up, omit this command. |
| | | |
− | 1. 下载 SuperSU, 将 zip 文件复制到手机中
| + | sudo filebeat setup |
− | 2. 关机状态下 同时按住“音量-” “音量+”和“电源”两键进入手机引导模式
| + | sudo service filebeat start |
− | 3. 按音量键滚动至“Recovery Mode”,按电源键确认,即可进入 Recovery
| |
− | 4. 在 TWRP Install(安装)第1步中已复制到手机中的 zip 文件
| |
| </pre> | | </pre> |
| | | |
− | [https://download.chainfire.eu/1021/SuperSU/SR3-SuperSU-v2.79-SR3-20170114223742.zip?retrieve_file=1 SuperSU下载地址 ]
| + | == Module status== |
− | | |
− | == 优化 == | |
− | 用刷机精灵可以卸载很多刷机精灵系统强加的软件,如果你安装的不是干净的包
| |
− | | |
− | 用刷机精灵可以 方便刷入,但是会带很多不要的软件 坑
| |
− | | |
− | 使用 Lineage OS 系统的感受(别人说的)
| |
− | 我是没有 root 手机的习惯的,一直使用绿色守护来结束后台的。国内的软件在这个系统下大部分可以正常流畅运行,适配良好。但也有极少数软件,比如搜狗输入法可能会有闪退,我并不清楚什么原因造成的,建议使用百度的输入法,适配良好。
| |
− | 看完这篇,你就知道关于 Lineage OS 系统的一切
| |
− | == pixel ==
| |
− | ===lineageos==
| |
− | https://wiki.lineageos.org/devices/sailfish/install
| |
− | === pixelexperience===
| |
− | https://wiki.pixelexperience.org/devices/sailfish/install/
| |
− | | |
− | ==essential刷机相关==
| |
− | | |
− | [[Unlock Bootloader, Install TWRP and Root Essential PH-1 ]]
| |
− | | |
| <pre> | | <pre> |
− | 还是官方教程好呀 网上到处找教程都出错,终于在官网找到了 666 不过会清空配置哦 20180201
| + | Module status 右边的 check data 按键 -- > Nginx logs dashboard |
− | Unlock your bootloader
| |
− | NOTE: Installing the factory image will erase all information from your device. So remember to backup your phone before continuing.
| |
− | • Run the command: fastboot flashing unlock
| |
− | | |
− | | |
− | adb reboot bootloader
| |
− | | |
− | C:\Users\Administrator>fastboot oem unlock
| |
− | ...
| |
− | FAILED (remote: unknown comma
| |
− | finished. total time: 0.000s
| |
− | 昨天到这里
| |
− | | |
− | fastboot flash boot twrp.img
| |
− | | |
− | | |
− | Q:为什么手机什么也不做就发热严重?Google Play服务异常耗电?
| |
− |
| |
− | A:因为你的手机没有科学上网。解决办法有以下几种,一,挂t子。二,用冰箱,黑阈,绿守冻结Google Play服务,停用Google等系列应用(chrome最好不要停用)。三,应用控制器,ifw功能,点进谷歌服务,然后随便去开一个需要谷歌服务的app,然后控制器里把所有正在运行的服务都禁止(需要root)。四,刷没有谷歌服务的第三方rom。
| |
| | | |
| </pre> | | </pre> |
| + | systemctl daemon-reload |
| | | |
− | [https://drive.google.com/file/d/15eIDHXBpUkVM8Qv7lMJ4mWJZ6YHji87o/view twrp for essential-ph1]
| + | =see also= |
− | [https://storage.googleapis.com/essential-static/Essential-PH1-WindowsDrivers.exe Essential-PH1-WindowsDrivers]
| |
− | | |
− | [https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445 magisk]
| |
− | | |
− | [http://rootmygalaxy.net/unlock-bootloader-android-using-fastboot-commands/ How To Unlock Bootloader Of Any Android Using Fastboot]
| |
− | | |
− | | |
− | http://rootmygalaxy.net/root-essential-phone-install-twrp-unlock-bootloader/
| |
− | | |
− | [https://www.cnblogs.com/yanglang/p/9768211.html Essential Phone PH1原生系统常见问题以及解答 ]
| |
− | | |
− | [https://www.essential.com/developer/current-builds essential官方固件 和官方教程]
| |
− | | |
− | ==asus刷机相关== | |
− | | |
− | 电神5000刷入非官方Lineage OS(Android7.1)
| |
− | http://zentalk.asus.com.cn/forum.php?mod=viewthread&tid=30586&extra=page%3D1
| |
− | | |
− | 电神ww版已出6.0官方正式版。正式版的刷机,root方法(转载自XDA)
| |
− | http://zentalk.asus.com.cn/forum.php?mod=viewthread&tid=19630&extra=page%3D1
| |
− | | |
− | | |
− | http://www.asus.com.cn/Phone/ZenFone-Max-ZC550KL/helpdesk_download/
| |
− | | |
− | ==参考==
| |
− | [[Unlock Bootloader, Install LineageOS ,TWRP and Root Essential PH-1]]
| |
− | | |
− | How to install TWRP Recovery on Nexus 5
| |
− | | |
− | https://twrp.me/devices/lgnexus5.html
| |
− | | |
− | https://www.techonia.com/6129/install-twrp-recovery-nexus-5
| |
− | | |
− | | |
− | Install LineageOS on hammerhead
| |
− | | |
− | https://wiki.lineageos.org/devices/hammerhead/install
| |
− | | |
− | | |
− | [http://bbs.mfunz.com/thread-1006983-1-1.html 使用TWRP Recovery刷魔趣ROM图文教程]
| |
− | | |
− | | |
− | mokee
| |
− | http://www.mokeedev.com/
| |
− | | |
− | 下载
| |
− | https://download.mokeedev.com/?device=hammerhead&type=release
| |
− | | |
− | 保留数据 nexus 5升级到安卓 6.0.1 的办法
| |
− | http://blog.linuxchina.net/?p=2050
| |
− | | |
− | | |
− | LineageOS
| |
− | | |
− | https://zh.wikipedia.org/wiki/LineageOS
| |
− | | |
| | | |
− | LineageOS 刷机root简要通用教程
| + | https://www.elastic.co/guide/en/beats/filebeat/current/filebeat-module-nginx.html |
− | http://www.pixcn.cn/portal.php?mod=view&aid=5434
| |
| | | |
− | https://zhuanlan.zhihu.com/p/25041097
| |
| | | |
− | [[category:desktop]] [[category:phones]] | + | [https://www.cnblogs.com/kuku0223/p/8317965.html ELK--filebeat nginx模块] |