OSDN Git Service
Lorenzo M [Wed, 26 Feb 2014 13:00:58 +0000 (14:00 +0100)]
Superuser: ES translations
- Pop-up dialog for each app
Change-Id: I39a7f1c5972fa626e42fa3b28dd8a0b43b40585b
Jacob Overgaard Madsen [Sun, 9 Mar 2014 14:33:43 +0000 (15:33 +0100)]
Superuser: DA translation
Change-Id: Ia37fbc3e6b2571acf0545dd3454c22628b02f27c
BILLyTheLiTTle [Tue, 11 Mar 2014 15:35:03 +0000 (17:35 +0200)]
Fix UXD for tablets
Change-Id: I94b30c3ac95f7d63f6a33657a324fcc895ed3d45
elektroschmock [Thu, 6 Mar 2014 20:18:58 +0000 (21:18 +0100)]
Superuser: Update DE translation
Change-Id: I9e31740ff9a50dbd11e4657a4b305eec75707045
BILLyTheLiTTle [Thu, 27 Feb 2014 21:44:12 +0000 (23:44 +0200)]
Fix for current activity refresh
Change-Id: Ifae4b4991af2ad8945b7f295e76956d56629aefc
Marco Brohet [Fri, 28 Feb 2014 20:51:17 +0000 (20:51 +0000)]
Merge "Superuser: FR translation" into cm-11.0
Marco Brohet [Fri, 28 Feb 2014 20:30:39 +0000 (20:30 +0000)]
Merge "Superuser: NL translation" into cm-11.0
DelPETER [Thu, 27 Feb 2014 18:01:12 +0000 (19:01 +0100)]
Superuser: FR translation
PS2: correction
Change-Id: I0ca2a02aa8b5154328c52afaba0e7c5c7ef17a46
Eddy Witkamp [Wed, 26 Feb 2014 02:12:37 +0000 (03:12 +0100)]
Superuser: NL translation
Change-Id: I7ad0bea3ffe8897738d42982e10adc20d41f5e4c
Michael Bestas [Tue, 25 Feb 2014 23:05:38 +0000 (01:05 +0200)]
Superuser: EL translations
Change-Id: I536a9644bfb8e6c857aa2a3647cbbb83c2f86836
Francesco [Tue, 25 Feb 2014 11:29:56 +0000 (12:29 +0100)]
Superuser: IT translations
Change-Id: If1380effba2cffa602bd093f2f7a8672322cfd60
BILLyTheLiTTle [Fri, 8 Nov 2013 15:28:28 +0000 (17:28 +0200)]
Greek translation for pop-up dialog
Change-Id: Iadeb5b31b47537683c07326dc7442848a83e4c32
BILLyTheLiTTle [Sat, 21 Sep 2013 13:45:30 +0000 (16:45 +0300)]
Create pop-up dialog for each application
Change-Id: I40ed74ae303e06767c63d6b41706dda12f057dc7
BILLyTheLiTTle [Sat, 21 Sep 2013 11:11:15 +0000 (14:11 +0300)]
Fix Trash icon/action bug
Change-Id: I401ce0d368bfdf27dc3a6f941695fdedda77811d
BILLyTheLiTTle [Fri, 20 Sep 2013 19:17:12 +0000 (22:17 +0300)]
Fix several compiler warnings
Change-Id: I477f7f0dc37cc82028a3f1fa280dad1977f20efc
Marco Brohet [Mon, 24 Feb 2014 19:24:33 +0000 (19:24 +0000)]
Merge "Superuser: ES translations" into cm-11.0
Lorenzo M [Mon, 24 Feb 2014 13:43:49 +0000 (14:43 +0100)]
Superuser: ES translations
Change-Id: Id81973ce2a8722d33bc4e1b896a0206ea07db9bb
Arthur Zamarin [Sun, 16 Feb 2014 14:12:50 +0000 (16:12 +0200)]
Superuser: IW translations
Change-Id: I85fa4d283ee6f31026f5eb525f7fc99b47c9b7f7
Koushik Dutta [Mon, 10 Feb 2014 17:02:39 +0000 (09:02 -0800)]
Merge remote-tracking branch 'koush/master' into cm-11.0
Conflicts:
Superuser/AndroidManifest.xml
Change-Id: Ic4c9b674efb040b51a36472cabcd6234a5f382b2
Koushik Dutta [Mon, 10 Feb 2014 17:01:36 +0000 (09:01 -0800)]
v1030
Change-Id: If43549a5f08cc3c895977d6a6b1e124dd3ff732b
Danny Baumann [Wed, 5 Feb 2014 08:10:28 +0000 (08:10 +0000)]
Merge "Fix merge derp: Emulated storage should be mounted in the child, not the parent." into cm-11.0
Marcos Marado [Sat, 1 Feb 2014 22:58:19 +0000 (22:58 +0000)]
Fix bugreport toast spam.
Change-Id: If6886089aa132694b6aad0a4d3d35646bffbed71
Koushik Dutta [Sun, 2 Feb 2014 01:10:53 +0000 (17:10 -0800)]
1029
Change-Id: I0cd3dde3c1c06c7fa50ac6adc2ba9e49eb70a663
Koushik Dutta [Sun, 2 Feb 2014 01:09:44 +0000 (17:09 -0800)]
Fix bugreport toast spam.
Change-Id: If6886089aa132694b6aad0a4d3d35646bffbed71
Danny Baumann [Fri, 31 Jan 2014 12:18:43 +0000 (13:18 +0100)]
Fix merge derp: Emulated storage should be mounted in the child, not the
parent.
Change-Id: I7bb6e8db1a64de90e96783e07ff26932befe2742
Marco Brohet [Fri, 24 Jan 2014 23:04:23 +0000 (00:04 +0100)]
Superuser: add copyright notice
Change-Id: Idb98a35676e5262837dc44392826835c5a009ab6
Frant1c [Sun, 19 Jan 2014 21:18:11 +0000 (23:18 +0200)]
Superuser: LT translations
Fixed quatation marks
*Improved translations
Change-Id: Id0c19966c4cde128e1f03c04bec7608c76681792
Frant1c [Sat, 18 Jan 2014 01:54:13 +0000 (03:54 +0200)]
Superuser: LT translations
Minor fixes, changed quotation marks to match AOSP strings
Change-Id: Ic9b87589d41e1a67d5616dca121e5aa93bd5e8e1
Ricardo Cerqueira [Sun, 12 Jan 2014 22:44:06 +0000 (22:44 +0000)]
su: Add pts as a dependency
Change-Id: Ia2f259f144fe95ae76c842258b59734a1de3e09a
Ricardo Cerqueira [Sun, 12 Jan 2014 22:38:23 +0000 (22:38 +0000)]
su: pts: Fix mismatched return type
the function is declared as an int, always return an int
Change-Id: I90e9815b0fb39d593925f4869455d442f19b0aba
Koushik Dutta [Sun, 12 Jan 2014 19:55:05 +0000 (11:55 -0800)]
Merge remote-tracking branch 'koush/master' into cm-11.0
Koushik Dutta [Sun, 12 Jan 2014 19:54:13 +0000 (11:54 -0800)]
Merge remote-tracking branch 'tance/terminal-support' into cm-11.0
Conflicts:
Superuser/jni/su/daemon.c
Change-Id: I2739f6bcbed03636d7a2fb66377977cd16999926
Koushik Dutta [Sun, 5 Jan 2014 00:06:50 +0000 (16:06 -0800)]
Merge pull request #219 from GMagician/master
Minor typo fix in Italian language
GMagician [Sat, 4 Jan 2014 23:28:46 +0000 (00:28 +0100)]
Minor typo fix in Italian language
Marco Brohet [Sat, 4 Jan 2014 13:56:35 +0000 (13:56 +0000)]
Merge "Superuser : TH translation" into cm-11.0
Pakkapon Phongthawee [Wed, 1 Jan 2014 07:38:49 +0000 (14:38 +0700)]
Superuser : TH translation
Change-Id: I1d6996fd185f89d4be58c2b1d95b2ff5c755fbcb
Frant1c [Wed, 11 Dec 2013 15:17:43 +0000 (17:17 +0200)]
Superuser: LT translations
(Port CM 10.2 (FIXED) strings to CM 11.0
Change-Id: Iad4498833b8bf39da6a6d09887e337c47f26efd0
Frant1c [Wed, 4 Dec 2013 22:44:14 +0000 (00:44 +0200)]
Superuser: LT translations
Minor fixes
Change-Id: I2f4828b631e74ddd49c636841b7f74852aad8976
Koushik Dutta [Sun, 1 Dec 2013 21:00:33 +0000 (13:00 -0800)]
Merge pull request #213 from cernekee/mips-missing-symlink-v1
assets: Add missing mips/ symlink
Kevin Cernekee [Sun, 24 Nov 2013 21:08:19 +0000 (13:08 -0800)]
assets: Add missing mips/ symlink
Bug #195 added MIPS binaries, but the assets/ symlink was missing. This
means that update.zip still worked as expected on MIPS, but MIPS binaries
were missing from the apk.
Koushik Dutta [Sun, 1 Dec 2013 06:25:20 +0000 (22:25 -0800)]
rev versions
Change-Id: Iaeb683302509e15f2a7868968cddd6cba4b21baa
Koushik Dutta [Sun, 1 Dec 2013 06:22:41 +0000 (22:22 -0800)]
Version 1.0.2.7
Leave binary setuid, as the daemon now guards for that.
Change-Id: I379005938bfb68954255ebe54e3cb482a0087e7d
Koushik Dutta [Fri, 29 Nov 2013 17:17:57 +0000 (09:17 -0800)]
Merge remote-tracking branch 'cern/multiuser-regression-v1' into cm-11.0
Conflicts:
Superuser/jni/su/su.c
Change-Id: I2474f5048e590592e1baa7f4bb1caf76e1245b74
Koushik Dutta [Fri, 29 Nov 2013 17:14:27 +0000 (09:14 -0800)]
Merge remote-tracking branch 'koush/master' into cm-11.0
Koushik Dutta [Fri, 29 Nov 2013 17:13:46 +0000 (09:13 -0800)]
Merge remote-tracking branch 'github/cm-10.2' into cm-11.0
Conflicts:
Superuser/jni/su/daemon.c
Change-Id: Ia849b63cf44d8da9e31b1fbe13b54b0b8289e75d
Koushik Dutta [Fri, 29 Nov 2013 17:09:55 +0000 (09:09 -0800)]
Merge pull request #211 from h1618/patch-1
assign user before use
h1618 [Fri, 29 Nov 2013 15:35:22 +0000 (16:35 +0100)]
assign user before use
sorry, jumped too short on my last commit: the user array has to be initialized before first use ...
Koushik Dutta [Fri, 29 Nov 2013 03:03:52 +0000 (19:03 -0800)]
Merge pull request #208 from h1618/patch-1
Update activity.c
h1618 [Thu, 28 Nov 2013 22:42:52 +0000 (23:42 +0100)]
Update activity.c
another am invocation with unconditional --user (the last one on line 185 needs no condition as it is only called in multiuser mode)
Koushik Dutta [Sun, 24 Nov 2013 21:43:11 +0000 (13:43 -0800)]
Merge remote-tracking branch 'koush/master' into cm-10.2
Kevin Cernekee [Sat, 23 Nov 2013 23:46:06 +0000 (15:46 -0800)]
Don't use "am --user" unless multiuser mode is enabled (bug #204)
Koushik Dutta [Sun, 24 Nov 2013 18:31:28 +0000 (10:31 -0800)]
Merge pull request #206 from Lekensteyn/fix-resource-leaks
daemon: do not leak resources
Peter Wu [Sun, 24 Nov 2013 00:01:21 +0000 (01:01 +0100)]
daemon: do not leak resources
Before this patch, the client was responsible for removing FIFOs before
connecting. That left a whole bunch of FIFOs in the SuperUser /dev/...
directory. After This patch, the daemon removes FIFOs as soon as the client is
connected. (This is detected by making the daemon read from the control socket.)
This patch becomes unnecessary when file descriptors can be passed though
processes.
Kevin Cernekee [Sat, 23 Nov 2013 23:46:06 +0000 (15:46 -0800)]
Don't use "am --user" unless multiuser mode is enabled (bug #204)
Kevin Cernekee [Sat, 23 Nov 2013 23:02:58 +0000 (15:02 -0800)]
Add workaround for Samsung set*id restrictions (bug #196)
Marco Brohet [Fri, 22 Nov 2013 20:12:26 +0000 (20:12 +0000)]
Merge "Add Lithuanian translations" into cm-10.2
Danny Baumann [Fri, 22 Nov 2013 15:43:04 +0000 (16:43 +0100)]
Improve logging code.
- Write to log buffer ourselves instead of calling log, so the printed
pid is correct
- Reduce debug spam
Change-Id: I9afe7249fc589268ea61419a7cfc724897981e9e
Danny Baumann [Fri, 22 Nov 2013 13:34:12 +0000 (14:34 +0100)]
Fix typos.
Change-Id: I9b2658336ac4d66df7cf745b8d58d8d49813ec16
Koushik Dutta [Thu, 21 Nov 2013 18:52:38 +0000 (10:52 -0800)]
wtf
Change-Id: I0ad34d3d1c104693c47fac82ce32a05626eb6b17
Koushik Dutta [Thu, 21 Nov 2013 17:36:29 +0000 (09:36 -0800)]
1026
Change-Id: I07fd878894ba1fbb401ea5621e6cc9d0d7fcf4f5
Koushik Dutta [Thu, 21 Nov 2013 17:28:30 +0000 (09:28 -0800)]
fix tab
Change-Id: Ie8fca086e7bc496ba8fca591e4c3fb008172f198
Koushik Dutta [Thu, 21 Nov 2013 17:19:47 +0000 (09:19 -0800)]
su daemon fixes:
Do not require a client connection unless actually necessary.
Only use the client on initial invocation of main(), and not from
invocation of run_daemon_client, which may recursively call
main via another client on API 19.
Change-Id: I136f9a3b829bf0a4f5335a83412cc3a8cd512856
Koushik Dutta [Thu, 21 Nov 2013 17:00:56 +0000 (09:00 -0800)]
1024
Change-Id: Ic5afc4fd94ee5449dfc241ff48bfba87921f2988
Koushik Dutta [Thu, 21 Nov 2013 14:20:46 +0000 (14:20 +0000)]
Merge "Revert back to original daemon client usage behavior. Fix ART by always using the daemon client on API 19+." into cm-10.2
arnau [Sat, 16 Nov 2013 10:41:44 +0000 (11:41 +0100)]
Superuser: CA translations
Change-Id: I2ce0e0766ce56a506364d9b5a982fb86006ce205
Koushik Dutta [Sat, 16 Nov 2013 17:11:14 +0000 (18:11 +0100)]
Revert back to original daemon client usage behavior.
Fix ART by always using the daemon client on API 19+.
Change-Id: I69b31e339cec2f71d2de9b0468d7dcab1d3ea078
Koushik Dutta [Sat, 16 Nov 2013 07:58:29 +0000 (23:58 -0800)]
Merge pull request #198 from cernekee/version-v1
Trivial fix for v4.3+ version check logic
Koushik Dutta [Fri, 15 Nov 2013 17:24:32 +0000 (18:24 +0100)]
Fix superuser when using ART.
Change-Id: I8ef488afe6f7912d8fac205088c3b431a5cb4a35
Koushik Dutta [Thu, 14 Nov 2013 16:07:27 +0000 (17:07 +0100)]
require that --daemon is uid/gid 0
execv invocation fixes
Change-Id: I80e7100a834b7eca2d9c8560c221cffd41492f03
Kevin Cernekee [Fri, 15 Nov 2013 05:55:36 +0000 (21:55 -0800)]
update-binary: Fix 4.3+ version check
In Bug #194 a check for 4.3+ was added, but checking major and minor
separately would yield an incorrect result on e.g. v5.0. Fix this.
Kevin Cernekee [Fri, 15 Nov 2013 05:53:51 +0000 (21:53 -0800)]
README: Update required SDK and NDK versions
Koushik Dutta [Thu, 14 Nov 2013 16:07:27 +0000 (17:07 +0100)]
execv invocation fixes
Change-Id: I80e7100a834b7eca2d9c8560c221cffd41492f03
Frant1c [Fri, 8 Nov 2013 19:13:54 +0000 (21:13 +0200)]
Add Lithuanian translations
Change-Id: Iad3e2f31cb2272c4215d96f99f61c8cf4c9f694f
Koushik Dutta [Fri, 8 Nov 2013 07:57:50 +0000 (23:57 -0800)]
1022
Change-Id: I36b8e616895ccaeaa1d886346ba18e27cef3c63a
Koushik Dutta [Thu, 7 Nov 2013 21:53:39 +0000 (13:53 -0800)]
comment out hte multiuser stuff that is breaking regular ndk builds
Change-Id: I535472084833883e5bedb1631dcb309b6d9e77a3
Koushik Dutta [Thu, 7 Nov 2013 21:12:07 +0000 (13:12 -0800)]
Merge remote-tracking branch 'koush/master' into cm-10.2
Koushik Dutta [Thu, 7 Nov 2013 21:10:22 +0000 (13:10 -0800)]
Merge pull request #195 from cernekee/mips-v1
Add MIPS CPU support
Kevin Cernekee [Thu, 7 Nov 2013 02:03:27 +0000 (18:03 -0800)]
Add MIPS support
Tested on:
- Ainol Novo 7 Paladin (JZ4770 MIPS SoC) with ICS 4.0.3 and CWM
- Nexus 5 (ARM) with KK 4.4 and TWRP
Not tested on x86.
I checked to make sure "uname -m" is standard in busybox (not a feature
flag). "uname" doesn't seem to exist at all in AOSP, so without busybox,
the original script probably wouldn't have detected the architecture
correctly.
Kevin Cernekee [Thu, 7 Nov 2013 01:26:42 +0000 (17:26 -0800)]
Use new assets/<ARCH>/reboot binary
Now that we are building the reboot binary from source, we'll need to
retrieve it from the proper subdirectory according to the device's CPU
architecture.
Kevin Cernekee [Thu, 7 Nov 2013 01:26:04 +0000 (17:26 -0800)]
MainActivity: Split getArch() into a common function
Kevin Cernekee [Thu, 7 Nov 2013 01:11:32 +0000 (17:11 -0800)]
reboot: Build utility from source
This was based on disassembling the HTC ARM reboot binary currently
shipped with Superuser. It attempts to mimic the behavior of the
original program.
Future work may involve cleaning it up, removing the HTC-specific
features, etc.
Kevin Cernekee [Wed, 6 Nov 2013 20:34:52 +0000 (12:34 -0800)]
README: Update build information
Specify the required SDK API and NDK versions. Add info on signing the
release build, as build.xml is hardcoded to use Superuser-release.apk only.
Koushik Dutta [Wed, 6 Nov 2013 18:08:01 +0000 (10:08 -0800)]
Merge pull request #194 from tmzullinger/kitkat-version-check
Update version check to work with >= 4.3
Todd Zullinger [Wed, 6 Nov 2013 17:51:54 +0000 (12:51 -0500)]
Update version check to work with >= 4.3
Now that 4.4 is out, the check was failing and not properly setting up
the su daemon.
Using POSIX sh parameter substitution allows us to extract the major and
minor version numbers from ro.build.version.release in build.prop and
compare them.
This was tested on a Nexus 4 running 4.4.
sahranbay [Sat, 26 Oct 2013 04:43:45 +0000 (10:43 +0600)]
Superuser: UG translation, added Uyghur translation.
Change-Id: If71d506c1a18fa9525d8b70dbd3d733050909c7f
Koushik Dutta [Thu, 10 Oct 2013 09:25:12 +0000 (09:25 +0000)]
Merge "Make emulated storage mounting consistent to Zygote." into cm-10.2
Koushik Dutta [Sun, 6 Oct 2013 05:36:53 +0000 (22:36 -0700)]
Only use access_disabled if SUPERUSER_EMBEDDED.
It is not possible to reenable Superuser when non embedded. su will reject.
Change-Id: If440d9d758c21c61a2d7c0bef132eb716b494c5d
Danny Baumann [Mon, 23 Sep 2013 09:00:35 +0000 (11:00 +0200)]
Make emulated storage mounting consistent to Zygote.
- Mount in private namespace
- Mount in forked child
- Mount /storage/emulated/legacy
All of this is optional and must be enabled by setting the environment
variable MOUNT_EMULATED_STORAGE.
Change-Id: Ied9c4485e58ab26ba8e6eafcbe05bb75fe6fdc52
Chih-Wei Huang [Thu, 15 Aug 2013 10:49:06 +0000 (18:49 +0800)]
Fix incorrect prerequisites
'Nothing to be done' build failed because
* $(LOCAL_MODULE) should not be a prerequisite
* The created symlink doesn't exist in the host out tree
Besides, all prerequisites of $(SYMLINKS) are removed. This is because
'make' checks the timestamp of the file the link references rather than
the link itself. Therefore $(LOCAL_INSTALLED_MODULE) is a useless
prerequisite. On the other hand, $(LOCAL_PATH)/Android.mk should not
be a prerequisite of $(SYMLINKS) unless it is also a prerequisite of
$(LOCAL_INSTALLED_MODULE). Otherwise, if $(LOCAL_PATH)/Android.mk is
newer than $(LOCAL_INSTALLED_MODULE), $(SYMLINKS) will always be
re-made.
Correct the prerequisites of $(SUPERUSER_RC) as well.
Change-Id: I5746e983046a9cdc3ee2b8ecd3827f1f7e6b596e
Ricardo Cerqueira [Wed, 25 Sep 2013 16:50:09 +0000 (17:50 +0100)]
su is an optional component
Do not build it unless explicitly included in PRODUCT_PACKAGES
Change-Id: Ic7337daeb61aa8eb862aa33c4533a0177db87aa1
BILLyTheLiTTle [Fri, 20 Sep 2013 16:44:36 +0000 (19:44 +0300)]
Fix several Lint's warnings
Change-Id: I8da5969d7fb2dd2bc2d0760e445da96470042598
BILLyTheLiTTle [Fri, 20 Sep 2013 15:22:02 +0000 (18:22 +0300)]
Change target API from 17 to 18
Change-Id: I7adb61ad20740875e31a7e94b218aeb593e3b368
Danny Baumann [Tue, 17 Sep 2013 11:27:51 +0000 (13:27 +0200)]
Make emulated storage available via su.
Apps (e.g. file managers) expect that they get the same view of files in
su and non-su mode.
Change-Id: I613d021dddb7b90c34bd6d7cf6d2234448404731
Tan Chee Eng [Sun, 8 Sep 2013 13:08:44 +0000 (21:08 +0800)]
Eliminated use of FIFOs, factored PTY proxy code
Instead of opening FIFOs, we now send the standard I/O descriptors
across the Unix socket.
Also, the I/O pumps were moved to pts.c
João Luís [Sat, 7 Sep 2013 10:08:07 +0000 (11:08 +0100)]
Superuser: PT-rPT translations
Change-Id: Ic3862ca92aa18ff837ca2a28b8a487c0fb725fc4
Tan Chee Eng [Mon, 2 Sep 2013 07:32:52 +0000 (15:32 +0800)]
Treat each standard I/O stream separately
Tan Chee Eng [Sun, 1 Sep 2013 11:28:17 +0000 (19:28 +0800)]
Changed when the client sends pts-slave
Tan Chee Eng [Fri, 30 Aug 2013 08:56:21 +0000 (16:56 +0800)]
Made scoket protocol uniform
Also eliminated some control flow branches
Tan Chee Eng [Fri, 30 Aug 2013 08:30:23 +0000 (16:30 +0800)]
Removed a hackish check for stdout in pump()
Tan Chee Eng [Fri, 30 Aug 2013 08:12:33 +0000 (16:12 +0800)]
Undo a change which resulted in dangling FDs