Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
meta-nemo
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
NemoMobile
meta-nemo
Commits
3bb98d62
Commit
3bb98d62
authored
Oct 30, 2017
by
Florent Revest
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
android-tools: Allow adbd to be ran as root
parent
6244d6dc
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
25 additions
and
0 deletions
+25
-0
0001-Allow-adbd-to-be-ran-as-root.patch
...ols/android-tools/0001-Allow-adbd-to-be-ran-as-root.patch
+24
-0
android-tools_%.bbappend
recipes-devtools/android-tools/android-tools_%.bbappend
+1
-0
No files found.
recipes-devtools/android-tools/android-tools/0001-Allow-adbd-to-be-ran-as-root.patch
0 → 100644
View file @
3bb98d62
From 3237f335c5b559c68749173f4343e6475f9eb8c7 Mon Sep 17 00:00:00 2001
From: Florent Revest <revestflo@gmail.com>
Date: Mon, 30 Oct 2017 21:05:46 +0100
Subject: [PATCH] Allow adbd to be ran as root
---
system/core/adb/adb.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/system/core/adb/adb.c b/system/core/adb/adb.c
index 10a1e0d..a88641f 100644
--- a/system/core/adb/adb.c
+++ b/system/core/adb/adb.c
@@ -1267,6 +1267,7 @@
static int should_drop_privileges() {
int secure = 0;
char value[PROPERTY_VALUE_MAX];
+ return 0;
/* run adbd in secure mode if ro.secure is set and
** we are not in the emulator
*/
--
2.14.3
recipes-devtools/android-tools/android-tools_%.bbappend
View file @
3bb98d62
FILESEXTRAPATHS_prepend := "${THISDIR}/android-tools:"
FILESEXTRAPATHS_prepend := "${THISDIR}/android-tools:"
SRC_URI += " file://0001-Allow-adbd-to-be-ran-as-root.patch "
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment