![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
linux
文章平均质量分 54
keial
这个作者很懒,什么都没留下…
展开
-
Pixel3 xl AOSP编译
编译过程初始化source build/envsetup选择crosshatchlunch 18全部编译m -j16刷机adb reboot bootloaderfastboot flashall加-w则会wipe /data/目录数据.记住用python2原创 2021-01-15 15:13:03 · 804 阅读 · 0 评论 -
Linux WiFi连接步骤
Linux wifi连接wifi总共分5步:1.找到网卡名字2.把网卡打开3.设置wifi配置4.连接wifi5.获取IP找到网卡名字dmesg 查看有什么网卡可以用,确定名字eg:eth0wlan0enp3s0把网卡打开ipconfig 没有,则ifconfig wlan0 up设置wifi配置生成wifi config 文件wpa_passphrase ssi...原创 2019-11-20 11:22:39 · 3125 阅读 · 0 评论 -
clang编译:error: immediate expression for mov requires :lower16: or :upper16
Question:shellcode_ex.s:12:13: error: immediate expression for mov requires :lower16: or :upper16movt r2, #size_of_string @ size of stringSolution:movs r2, #size_of_string @ size of string换一条指令就...原创 2019-11-18 16:18:45 · 362 阅读 · 0 评论 -
Linux修改root密码
步骤总览1.挂载系统分区镜像到Linux系统,前提支持ext32.sudo losetup -f -P emmc.bin 映射文件系统3.sudo fdisk -l 检查loop设备,出现/dev/loop0p1-p4分区的即是emmc.bin的分区4.当前目录mkdir guazai5. sudo mount /dev/loop0p1 guazai #注意/dev/loop0p1 ...原创 2019-11-06 10:46:03 · 1673 阅读 · 0 评论 -
CrossToolchain工具链:命名规范
kernel exploit工具的命令方式: <arch>-<vendor>-<os>-<libc/abi>, full form <arch>-<os>-<libc/abi> Components:<arch>, the CPU architecture: arm, mips, powe...原创 2019-11-05 13:37:25 · 301 阅读 · 0 评论 -
dlopen failed: empty/missing DT_HASH/DT_GNU_HASH问题&Solution
dlopen failed: empty/missing DT_HASH/DT_GNU_HASH问题: dlopen failed: empty/missing DT_HASH/DT_GNU_HASHA: stripped so 导致的,因此关闭构建工具的自动stripped.欢迎在评论区讨论。谢谢...原创 2019-07-05 18:17:45 · 3798 阅读 · 0 评论 -
Arch Linux编译AOSP for Pixel 3XL
Arch Linux编译ASOP for Pixel 3XL基础命令不描述了.注意备份,以下操作直接刷空所有文件,造成损失文章不负责准备1.磁盘目录首先按照AOSP的仓库指令下载仓库到本地磁盘目录,大小最好分300GB.编译结束后磁盘使用情况.[tonki@ququ ~]$ df -hFilesystem Size Used Avail Use% Mounted o...原创 2019-07-05 10:28:48 · 1000 阅读 · 0 评论 -
GDB调试Android Native
工欲善其事必先利其器;调试二进制文件简单说:被调试端:./gdbserver :1234 ./a.out调试端:adb forward tcp:1234 tcp:1234gdb >target remote localhost :1234附加进程调试如果是附加进程就是./gdbserver :1234 --attach $pid_of_appgame=co...原创 2019-07-08 01:57:20 · 385 阅读 · 0 评论 -
CMAKE管理大工程实践
别人已经写得很好,自己就做个参考:参考工程: https://github.com/ttroy50/cmake-examples/tree/master/02-sub-projects/A-basic https://cmake.org/cmake/help/v3.4/command/add_library.html https://github.com/Akagi201/lear...原创 2018-06-02 00:50:12 · 1158 阅读 · 0 评论 -
GDB调试技巧汇总(2019.05.30up)
不写基礎教程,只记关键功能;1.启动时候可以gdb -x ./gdbinit.file 命令来导入重复设置的命令:set pagination offset disassemble-next-line onset breakpoint pending onset stop-on-solib-events 0show stop-on-solib-eventsb sigact...原创 2017-12-23 18:45:16 · 473 阅读 · 0 评论 -
Failed to establish session Error while Installing APKs
android studio ++++++?解决:File—Settings—Build,Execuion,Deployment—Instant Run然后把Enable Instant Run to...那一项的勾去掉就好了原创 2018-01-07 22:48:38 · 173 阅读 · 0 评论 -
unused DT entry: type问题
输出这个东西:03-09 14:38:46.291 2372-2389/? W/linker: libxxa++.so: unused DT entry: type 0x6ffffffe arg 0x7ca4 libxxa++.so: unused DT entry: type 0x6fffffff arg 0x2下边解释: 有些理解不了。以后再补充。20191106:...原创 2018-03-09 16:23:19 · 16851 阅读 · 0 评论 -
Manjaro i3 拼音输入法
After installation of i3wm complete, it’s time for install Chinese input method for ArchLinux.$ sudo pacman -S fcitx fcitx-im fcitx-ui-light fcitx-libpinyin fcitx-sunpinyin$ sudo pacman -S ttf-dejavu...原创 2018-04-08 19:33:42 · 8150 阅读 · 1 评论 -
Manjaro XFCE桌面安装I3-wm
运行两条命令:sudo pacman -S i3-manjarosudo pacman -S i3-manjaroresolving dependencies…looking for conflicting packages…:: manjaro-i3-settings and manjaro-xfce-settings are in conflict (manjaro-desktop-setti...原创 2018-03-22 10:38:10 · 9225 阅读 · 9 评论 -
Manjaro i3 multi monitor configuration
two monitor the one is horizon ,another one is vertical .so>> xrandr >> xrandr --output HDMI-0 --left-of DP-0 --auto --rotate left and get what i want.原创 2018-04-04 15:23:57 · 675 阅读 · 0 评论 -
error: only position independent executables (PIE) are supported.
android.mk 文件LOCAL_CFLAGS += -fPIELOCAL_LDFLAGS += -fPIE -pie CMAKEset(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fPIE")set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fPIE -pie")原创 2018-05-09 17:58:51 · 1435 阅读 · 0 评论 -
dmesg排除linux无法启动
Linux(图形)启动故障自我排错修复 http://www.thegeekstuff.com/2010/10/dmesg-command-examples/此文有改有时候装了新包linux启动不了了。尤其是图形这种很容易挂,现在就找找解决办法不废话 1. 图形加载不了,dmesg 来直接ctrl+alt+f1~f6随便按,进来登陆,用root用户输入命令# dm翻译 2017-10-09 19:55:55 · 678 阅读 · 0 评论