Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Zetsu bou #17

Open
wants to merge 372 commits into
base: cm-14.1
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
372 commits
Select commit Hold shift + click to select a range
32ad035
Revert "Revert "media: radio: IRIS transport without firmware loading…
kumajaya May 15, 2016
376853e
Revert "Revert "wt88047: Disable IRIS transport firmware loading supp…
kumajaya May 15, 2016
cb21fa2
Revert "Revert "Revert "wt88047: Disable IRIS transport firmware load…
kumajaya Jun 17, 2016
290124c
Revert "Revert "Revert "media: radio: IRIS transport without firmware…
kumajaya Jun 17, 2016
5e98b47
Revert "radio: iris: More checking for NULL pointer access"
kumajaya Jun 17, 2016
14d7113
Revert "radio: iris: Fix NULL pointer access"
kumajaya Jun 17, 2016
515f74c
Merge android_kernel_cyanogen_msm8916 branch 'cm-13.0' into cm-13.0
kumajaya Jun 17, 2016
53ac445
wt88047: Enable cpuset
kumajaya Jun 17, 2016
e47b7c4
ASoC: Lollipop source drop adaptation
kumajaya Jun 18, 2016
c9061ed
dts: Sync platform config to L source drop
kumajaya Jun 19, 2016
7bada5a
dts: Just 4 lines update from L source drop
kumajaya Jun 19, 2016
828f568
dts: Add missing gpio-leds config from L source drop
kumajaya Jun 20, 2016
16db326
smb1360-charger-fg-wt88047: Sync to L source drop and fix it
kumajaya Jun 20, 2016
88b1a11
bq2022a: Fix variable value always true
kumajaya Jun 20, 2016
ea7710f
arm: vfpmodule: Fix warning procfs vfp_bounce reporting failed
Feb 16, 2014
7e604df
msm: sps: Register SPS IRQ with IRQF_NO_SUSPEND flag
Aug 13, 2015
2a3babf
ASoC: Restore previous WT88047 resistances config
kumajaya Jun 23, 2016
7d15342
dts: Update WT88047 platform config
kumajaya Jun 23, 2016
41111ce
dts: Fix hard reboot on Lollipop bootloader
kumajaya Jun 24, 2016
52c2d18
input: misc: Add Wingtech version of LTR-559 driver
kumajaya Jun 26, 2016
28c500c
input: misc: ltr559: Send boot time alone with sensor events
kumajaya Jun 26, 2016
b04cdbc
wt88047: Switch to LTR-559 light and proximity driver
kumajaya Jun 26, 2016
9d1b180
input: misc: ltr559: Report proper initial value to userspace
kumajaya Jun 26, 2016
4185df6
input: misc: Remove Wingtech version of LTR-559 driver
kumajaya Jun 27, 2016
c066c95
input: misc: Modify LTR-559 for WT88047
kumajaya Jun 27, 2016
6e4992c
dts: wt88047: Change LTR-559 interrupt type
kumajaya Jun 27, 2016
24feefb
Merge branch 'cm-13.0' of https://github.com/CyanogenMod/android_kern…
kumajaya Aug 20, 2016
446dd65
wt88047: Enable CONFIG_SECURITY_PERF_EVENTS_RESTRICT
marado Aug 20, 2016
81a47d2
wt88047: Regenerate kernel config
kumajaya Aug 20, 2016
9143cb9
Merge branch 'cm-13.0' of https://github.com/CyanogenMod/android_kern…
kumajaya Oct 19, 2016
44435a3
Merge pull request #20 from CyanogenMod/cm-14.0
Nov 14, 2016
fe4a894
Merge remote-tracking branch 'caf/LA.BR.1.2.9_rb1.8' into cm-14.1
Nov 14, 2016
73ff50f
Regenerate deconfig for N
premaca Sep 10, 2016
f679332
Merge remote-tracking branch 'caf/LA.BR.1.2.9_rb1.9' into stock
AshishM94 Dec 12, 2016
f78d318
wt88047: add my build tools
AshishM94 Dec 12, 2016
c05ecb8
generate zetsubou defconfig
AshishM94 Dec 12, 2016
9498f38
defconfig: enable IP6_NF_MATCH_RPFILTER
AshishM94 Dec 12, 2016
7183c01
build tool: fix permission
AshishM94 Dec 12, 2016
00a2b23
msm_hsusb.h: fix merge derp
AshishM94 Dec 12, 2016
d330b22
defconfig: disable SYSVIPC
AshishM94 Dec 12, 2016
b541496
defconfig: enable INET_DIAG_DESTROY
AshishM94 Dec 12, 2016
253ad53
defconfig: set ARCH_MMAP_RND_BITS to max possible
AshishM94 Dec 12, 2016
1963c66
scripts/setlocalversion: removed +
AshishM94 Jun 13, 2016
ebaa89b
scripts: remove unused function in sortextable.c
artagnon Jul 10, 2013
a5ca796
scripts/sortextable: suppress warning: `relocs_size' may be used unin…
rtg-canonical Oct 13, 2014
e65ef93
X.509: remove possible code fragility: enumeration values not handled
antonioalecrim Sep 16, 2013
6fc62a3
BACKPORT: selinux: restrict kernel module loading
jeffvanderstoep Apr 5, 2016
0c3aaf4
defconfig: enable CC_STACKPROTECTOR_STRONG
AshishM94 Dec 12, 2016
79d1de0
defconfig: enable QUOTA
AshishM94 Dec 12, 2016
b9dca31
Makefile: fix merge derp
AshishM94 Dec 12, 2016
7470944
Makefile: disable wrapper
AshishM94 Dec 12, 2016
2f6b2e1
Fix gcc-4.9.0 miscompilation of load_balance() in scheduler
torvalds Jul 26, 2014
be5de46
defconfig: disable optimize for size
AshishM94 Dec 12, 2016
ccf8ab2
Makefile: silence some warnings
AshishM94 Dec 12, 2016
87d6dde
Linux 3.10.104
wtarreau Oct 21, 2016
b957c7d
fs: f2fs: catch up to v4.10-rc1-3.10
Dec 13, 2016
4c20bd5
staging: prima: Update to LA.BR.1.2.9_rb1.9
AshishM94 Dec 13, 2016
ed3fa83
regenerate defconfig
AshishM94 Dec 13, 2016
7850df0
Add USB Keyboard Mouse Support
pelya Apr 6, 2016
0017bfc
msm: mdss: kcal: Add KCAL support for post processing control [v2]
savoca Aug 4, 2016
f24b529
msm: kgsl: Fix direct references to HZ
Dec 10, 2015
032ce0d
arm: Allow configuration of CONFIG_HZ
AshishM94 Dec 14, 2016
c7fbd8d
disable crc check
flar2 Aug 4, 2016
53917bb
wakeup: add toggles for wlan wakelocks
franciscofranco Aug 5, 2016
44b5400
Miguel Boton's SIO scheduler
jcadduono Apr 29, 2016
6e06036
block: fiops ioscheduler core
Oct 21, 2013
9024508
block: fiops read/write request scale
Dec 16, 2012
0602ce5
block: fiops sync/async scale
Dec 16, 2012
b964922
block: fiops add ioprio support
Dec 16, 2012
7514578
block: fiops preserve vios key for deep queue depth workload
Dec 16, 2012
3d1f6c8
block: fiops bias sync workload
Dec 16, 2012
28f8d64
block: fiops add some trace information
Dec 16, 2012
76e4e25
FIOPS: forward port for use on 3.10 Linux
faux123 Nov 23, 2014
211c23c
block: add zen scheduler
DespairFactor Mar 12, 2015
769a020
block: zen crashing on selection fixup
DespairFactor Mar 12, 2015
702c59b
block: zen: set fifo batch to 16 to reduce overload on eMMC and CPU.
dorimanx Jun 25, 2015
e0486c3
block: update zen scheduler to v1.1
AshishM94 Sep 11, 2016
3f15568
bfq-sched: Forcefully lookup entities when the cache is inconsistent
defer Nov 23, 2016
7b8e553
block: set slice_idle to 0 on cfq
AshishM94 Sep 11, 2016
43af501
msm: kgsl: Bump the GPU frequency for long blocks of processing
Nov 13, 2014
6ca87a4
msm8916: Overclock CPU/GPU to 1.84GHz/650Mhz
AshishM94 Dec 14, 2016
eec9a99
ASoC: msm8x16-wcd: Sound control
flar2 Aug 14, 2016
73d2dc4
msm8916: dts: set boot_cpus to max possible
AshishM94 Dec 14, 2016
c8e5919
anykernel: add zetsubou init script
AshishM94 Dec 14, 2016
065aa05
zram: make sure we use lz4 and appropriate compression streams number
franciscofranco Oct 31, 2016
67c7cc3
Added fsync on/off support.
franciscofranco Nov 22, 2012
fbb204d
fsync: disabled by default
AshishM94 Dec 2, 2016
88bf8bb
init: Kconfig: Don't force DEBUG_KERNEL
kerneltoast Jul 23, 2014
f307bd0
trace: Don't force tracing support by default
kerneltoast Jul 10, 2016
d3d1033
update defconfig
AshishM94 Dec 14, 2016
3ade59c
anykernel: set proper GPU frequencies
AshishM94 Dec 14, 2016
fb6eaa8
msm8916-gpu: set initial gpu frequency to 200MHz
AshishM94 Dec 14, 2016
49db955
build script: switch to my toolchain
AshishM94 Dec 15, 2016
3398028
ASoC: sound_control: add speaker gain control
AshishM94 Dec 15, 2016
8c1bd57
tcp_cubic: better follow cubic curve after idle period
Sep 10, 2015
4f71797
tcp_cubic: do not set epoch_start in the future
Sep 17, 2015
8210d1a
tcp: fix timing issue in CUBIC slope calculation
nealcardwell Jan 29, 2015
22c4f7f
tcp: enable sockets to use MSG_FASTOPEN by default
yuchungcheng Oct 31, 2013
5b7842b
devfreq: Use high priority workqueue
Jan 8, 2014
5337f1e
msm: kgsl: Report correct GPU frequency in sysfs
Jan 1, 2014
98a9c71
PM: devfreq: Fix simple_ondemand crashing on startup
Feb 9, 2014
dfd0786
PM: devfreq: Always reflect a change of polling interval
Dec 24, 2013
dbf1924
block: Make CFQ default to IOPS mode on SSDs
May 19, 2015
7eab5ff
cfq-iosched: fix the setting of IOPS mode on SSDs
axboe Jun 10, 2015
4627f0f
binfmt_elf.c: use get_random_int() to fix entropy depleting
pibroch Jan 5, 2013
4d5545d
mm: slub: Default slub_max_order to 0
May 11, 2011
cb77569
writeback: fix race that cause writeback hung
biger410 Sep 11, 2013
2a3f0d1
readahead: make context readahead more conservative
Sep 11, 2013
1ef66f4
block: Reserve only one queue tag for sync IO if only 3 tags are avai…
jankara Jun 28, 2013
49040db
writeback: fix writeback cache thrashing
namjaejeon Jan 3, 2013
d5db8cb
writeback: increase bdi_min_ratio to 5 in light of the latest writeba…
franciscofranco Jun 15, 2013
906eda7
writeback: Fix occasional slow sync(1)
jankara Jul 12, 2013
52a2c91
random: entropy tweaks are all the rage nowadays
imoseyon Jan 3, 2013
9663ab3
random: prevent add_input from doing anything
imoseyon Jan 4, 2013
d7ff5ec
random: remove warning
imoseyon Mar 18, 2013
afe59b9
char: compile frandom
DespairFactor Nov 19, 2015
ec0bdee
random32: add periodic reseeding
strssndktn Nov 11, 2013
821df7a
random32: add prandom_reseed_late() and call when nonblocking pool be…
strssndktn Nov 11, 2013
67b3dea
random32: move rnd_state to linux/random.h
Nov 11, 2013
4f3a85e
random32: upgrade taus88 generator to taus113 from errata paper
Nov 11, 2013
e696cee
random32: add test cases for taus113 implementation
Nov 11, 2013
2ee6861
random32: add __init prefix to prandom_start_seed_timer
Nov 12, 2013
2ca6670
random32: use msecs_to_jiffies for reseed timer
Nov 12, 2013
1690b2c
random32: avoid attempt to late reseed if in the middle of seeding
sashalevin Mar 28, 2014
ebd1bbc
lib/random32.c: minor cleanups and kdoc fix
Apr 3, 2014
99ee2e8
random32: mix in entropy from core to late initcall
strssndktn Jul 28, 2014
da0084f
random32: improvements to prandom_bytes
Aug 23, 2014
0bbf0cf
random32: add prandom_u32_max and convert open coded users
Jan 22, 2014
44a7f29
random: allow architectures to optionally define random_get_entropy()
tytso Sep 21, 2013
17da81f
random32: use e/frandom for reseeding, and a merge fixup
imoseyon Dec 14, 2014
436a5eb
binfmt_elf: use prandom - do not deplete entropy
imoseyon Nov 19, 2015
1eb325d
random.h: declare erandom function
imoseyon Dec 14, 2014
8ee32a8
net/packet: merge fix
imoseyon Dec 14, 2014
80c3a2b
random: sprinkle e/f/prandom in places that deplete entropy often
imoseyon Dec 14, 2014
52df7e6
audit: Mute userspace and kernel audit logs
neobuddy89 Oct 20, 2015
8a04444
Add /dev/frandom support
flar2 Nov 7, 2013
3cf24db
PM: devfreq: Allow userspace configuration of simple_ondemand
Dec 20, 2013
76193fa
PM / devfreq: Remove unused simple_ondemand governor data
Jan 4, 2015
d3c92f8
cfq-iosched: simplify control flow in cfq_get_queue()
htejun Aug 18, 2015
20304b8
cfq-iosched: fix async oom queue handling
htejun Aug 18, 2015
a66c6a5
cfq-iosched: fix oom cfq_queue ref leak in cfq_set_request()
htejun Aug 18, 2015
1c0e82b
cfq-iosched: minor cleanups
htejun Aug 18, 2015
37bd6b2
power: battery_current_limit: Remove hotplug control
neobuddy89 Jan 17, 2016
91ecd1d
sched: LOAD_FREQ (4*HZ+61) avoids loadavg Moire
neobuddy89 Dec 3, 2013
bf4c0e7
msm: Fix high load average from uninterruptible waits
hyperb1iss Feb 4, 2014
60e4517
msm: vidc: disable CPU L2 cache PC during video sessions
Nov 3, 2015
cd5c22b
msm: vidc: disable debug logs
franciscofranco Dec 13, 2015
3ffbf4f
msm: mpm: disable debugging
franciscofranco Mar 17, 2015
cb11c62
qcom: msm-core: uninterruptible wait - you can kiss my arse goodbye
franciscofranco Dec 12, 2015
65f9518
block: bfq: set IOPS mode by default with slice_idle set to 0
franciscofranco Jan 26, 2016
ba23888
timer: optimize apply_slack()
anarkia1976 Jan 17, 2016
c858956
PM: Enable asynchronous noirq resume threads to save the resuming time
anarkia1976 Jun 2, 2015
bb2d515
arm: irq: Tone down kernel logging
Jul 28, 2015
70da7b6
int_sqrt: correction square root algo with naming
ramgear Sep 3, 2013
cc64e6d
int_sqrt: Improve 3x faster integer sqrt.
ramgear Sep 4, 2013
dc9dca2
block: Fix format string mismatch in cfq-iosched.c
standby24x7 Apr 28, 2014
2539410
debug: remove: remove some dmesg logspam from Linux mainline 3.4 fs
ktoonsez Jun 22, 2013
1853a42
msm: mdss: remove more logging spam
amartinz Dec 21, 2014
7f7cba7
arm: add force fastcharge support
AshishM94 Dec 15, 2016
b27077d
cpufreq: Break out early when frequency equals target_freq
May 14, 2014
f1ecb9f
cpufreq: Introduce new relation for freq selection
Jun 30, 2014
43ade84
cpufreq: ondemand: Eliminate the deadband effect
Jun 30, 2014
8250b6d
cpufreq: Introduce touch boost tunables to ondemand and conservative
Oct 4, 2016
632a9b2
cpufreq: Fix timer/workqueue corruption by protecting reading governo…
JielHello Jan 3, 2014
e1fdcf0
cpufreq: remove race while accessing cur_policy
May 19, 2014
bd6a499
cpufreq: governor: Be friendly towards latency-sensitive bursty workl…
Jun 7, 2014
7f660eb
cpufreq: governor: remove copy_prev_load from 'struct cpu_dbs_common_…
vireshk Jun 9, 2014
5e6fa6d
cpufreq: ondemand: Use more accurate calculation when the timer is de…
Oct 17, 2016
6f8f75a
cpufreq: governor: Clean up code after commit ab3fc7fb9cc5
Oct 26, 2016
e7a409d
cpufreq: governor: Remove unused comments
Oct 26, 2016
4b37ac2
cpufreq: conservative: Decrease frequency faster when the timer deferred
Oct 26, 2016
4226cb3
sched/loadavg: Fix loadavg artifacts on fully idle and on fully loade…
franciscofranco Nov 23, 2016
c1e50e3
msm: Use interruptible wait to not affect load average
franciscofranco Dec 15, 2016
e8d907e
anykernel: cleanup
AshishM94 Dec 15, 2016
cf9e4a9
anykernel: add frandom compatibility
frap129 Oct 5, 2016
d1a4f08
update defconfig
AshishM94 Dec 15, 2016
3bdba6f
wake_gestures: add sweep2wake, doubletap2wake and sweep2sleep for Red…
flar2 Dec 17, 2016
4c20ef0
wake gestures: cleanup and support for wt88047
AshishM94 Dec 17, 2016
dd995bc
defconfig: enable wake gestures
AshishM94 Dec 17, 2016
d1fd4b2
wake gestures:set proper tuneables for wt88047
AshishM94 Dec 18, 2016
655866a
anykernel: sweep2wake up enabled by default
AshishM94 Dec 18, 2016
8235c37
Initial port of sdcardfs
djcampello Jun 19, 2015
53ddd02
sdcardfs: port to 3.10
djcampello Jun 19, 2015
c80a0dd
sdcardfs: Changed type-cast in packagelist management
djcampello Jun 24, 2015
8bebc71
sdcardfs: Bring up to date with Android M permissions:
drosen-google Feb 4, 2016
a38e0ca
vfs: add d_canonical_path for stacked filesystem support
drosen-google Feb 12, 2016
ade4550
sdcardfs: Add support for d_canonicalize
drosen-google Feb 12, 2016
8161b24
inotify: Fix erroneous update of bit count
drosen-google Mar 23, 2016
873e126
sdcardfs: remove effectless config option
drosen-google Mar 23, 2016
01db4a4
sdcardfs: Fix issue with d_child move
drosen-google Mar 28, 2016
c7d9a8a
sdcardfs: Remove unused code
drosen-google Mar 28, 2016
64ed27f
sdcardfs: remove unneeded __init and __exit
drosen-google Mar 28, 2016
d6d5855
vfs: change d_canonical_path to take two paths
drosen-google Apr 22, 2016
ef28caa
sdcardfs: Truncate packages_gid.list on overflow
drosen-google Jul 8, 2016
c8f7e4e
ANDROID: sdcardfs: fix itnull.cocci warnings
JuliaLawall Jun 1, 2016
e53d6c3
sdcardfs: override umask on mkdir and create
drosen-google Apr 13, 2016
501f5cd
sdcardfs: Check for other cases on path lookup
drosen-google Apr 27, 2016
f28c7b3
fs: sdcardfs: fix build error
AshishM94 Nov 17, 2016
95fd491
sdcardfs: Add support for parsing Android's package list
Jul 26, 2016
ca41e7a
sdcardfs: Fix locking
drosen-google May 10, 2016
8f7eae5
sdcardfs: Added top to sdcardfs_inode_info
drosen-google May 18, 2016
2e13455
sdcardfs: Turn off packagelist fetching by default
Sep 6, 2016
b3977a5
sdcardfs: Remove stale dentries when reusing an inode.
drosen-google Aug 22, 2016
f632fa7
sdcardfs: fix external storage exporting incorrect uid
Sep 19, 2016
d1bddff
sdcardfs: Remove 'obbpath is found' message
jollaman999 Dec 3, 2016
ea9154f
sdcardfs: Fix NULL pointer dereference in sdcardfs_permission
jollaman999 Dec 11, 2016
88ade42
defconfig: enable SDCARDFS
AshishM94 Dec 19, 2016
771c0e0
introduce iterate_dir() and dir_context
May 15, 2013
5a8fa90
introduce ->iterate(), ctx->pos, dir_emit()
May 15, 2013
348abd0
constify ->actor
May 23, 2013
5055624
sdcardfs: Flag files as non-mappable
Oct 25, 2016
b4bba83
fs: add exfat support
AshishM94 Aug 6, 2016
f0449b7
block: Disable add_random
Cl3Kener Aug 6, 2016
3e8e40c
defconfig: enable EXFAT & NTFS
AshishM94 Dec 19, 2016
389fe26
xz: Optimize Sfck Compression
anarkia1976 Jul 2, 2013
e02b03a
defconfig: compress kernel with xz
AshishM94 Dec 20, 2016
9b9c1c8
selinux: fix inode security list corruption
stephensmalley Oct 6, 2014
4cc1179
selinux: Remove obsolete selinux_audit_data initialization.
stephensmalley Jan 21, 2015
7c19c15
selinux: put the mmap() DAC controls before the MAC controls
pcmoore Feb 28, 2014
3877df5
selinux: make the netif cache namespace aware
pcmoore Sep 10, 2014
d59245d
selinux/nlmsg: add XFRM_MSG_NEWSPDINFO
NicolasDichtel Apr 8, 2015
d73823d
selinux/nlmsg: add XFRM_MSG_GETSPDINFO
NicolasDichtel Apr 8, 2015
1272551
selinux/nlmsg: add XFRM_MSG_[NEW|GET]SADINFO
NicolasDichtel Apr 8, 2015
b3af3b9
selinux/nlmsg: add XFRM_MSG_REPORT
NicolasDichtel Apr 10, 2015
3e78595
selinux/nlmsg: add XFRM_MSG_MIGRATE
NicolasDichtel Apr 10, 2015
f372d3b
selinux/nlmsg: add XFRM_MSG_MAPPING
NicolasDichtel Apr 10, 2015
103256d
selinux: fix sel_write_enforce broken return value
JoePerches Mar 24, 2015
feed692
selinux: enable per-file labeling for debugfs files.
stephensmalley May 19, 2015
9db3d26
selinux: enable genfscon labeling for sysfs and pstore files
stephensmalley May 20, 2015
0ae837f
SELinux forced permissive/enforcing patch
jcadduono Apr 26, 2016
43ce160
defconfig: set selinux to permissive
AshishM94 Dec 20, 2016
f66c4d3
msm8916: fix GPU OC
AshishM94 Dec 26, 2016
5fbe19b
anykernel: add zetsubou ascii art ;)
AshishM94 Dec 24, 2016
9ac4307
msm_performance: Make input boosting optional
flar2 Dec 6, 2015
848d1e3
Revert "wakeup: add toggles for wlan wakelocks"
AshishM94 Dec 26, 2016
d02dd6e
power: wakeup: prevent IPA_WS wakelock from being acquired by default
franciscofranco Nov 2, 2016
0c5f627
msm: Import state notifier driver
neobuddy89 Apr 6, 2016
0120863
soc: qcom: Add AutoSMP hotplug driver
neobuddy89 Nov 1, 2016
631aea0
update defconfig
AshishM94 Dec 26, 2016
9944003
crackling: Add Wileyfox Swift support
lolmaxlikru Jan 2, 2017
32b0f15
peach: Rebase for ARK Benefit A3
lolmaxlikru Jan 6, 2017
bff9340
sourcecode: Add travis.yml
lolmaxlikru Jan 6, 2017
ca1d95a
Update .travis.yml
cxldphvntxm Jan 6, 2017
6e4f4d2
Update .travis.yml
cxldphvntxm Jan 6, 2017
7b77ffd
Update .travis.yml
cxldphvntxm Jan 6, 2017
7b70cbf
Update .travis.yml
cxldphvntxm Jan 6, 2017
54b471f
Update .travis.yml
cxldphvntxm Jan 6, 2017
a29a20c
Update .travis.yml
cxldphvntxm Jan 6, 2017
8e32485
Update .travis.yml
cxldphvntxm Jan 6, 2017
16f34ff
Update .travis.yml
cxldphvntxm Jan 6, 2017
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
7 changes: 7 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,13 @@ modules.builtin
*.lzo
*.patch
*.gcno
*.img
*.rej
*.zip
*.sha1
dtb
zImage


#
# Top-level generic files
Expand Down
47 changes: 47 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
language: c

#######################################################################################


os:
- linux


#######################################################################################


before_install:

# - sudo apt-get update -qq

# downloading the best version of the linaro toolchain.
- git clone https://bitbucket.org/UBERTC/arm-eabi-4.8.git
- export PATH=$PATH:$PWDarm-eabi-4.8/bin/

- sudo apt-get install bc


#######################################################################################


before_script:

- export DST_PROJECT=$PWD
# download and extract the linux source code.


#######################################################################################


script:
- export KBUILD_BUILD_USER=lolmaxlik
- export KBUILD_BUILD_HOST=SmartRomTeam
- export ARCH=arm
- export CROSS_COMPILE=$PWD/arm-eabi-4.8/bin/arm-eabi-

- make zetsubou_peach_defconfig
- make zImage-dtb -j5

- curl --upload-file errors.log https://transfer.sh/errors.log
- curl --upload-file builds.log https://transfer.sh/builds.log
- curl --upload-file arch/arm/boot/zImage-dtb https://transfer.sh/zImage-dtb
114 changes: 114 additions & 0 deletions AnyKernel2/META-INF/com/google/android/update-binary
Original file line number Diff line number Diff line change
@@ -0,0 +1,114 @@
#!/sbin/sh
# AnyKernel2 Backend
# osm0sis @ xda-developers

OUTFD=/proc/self/fd/$2;
ZIP="$3";
DIR=`dirname "$ZIP"`;

ui_print() {
until [ ! "$1" ]; do
echo -e "ui_print $1\nui_print" > $OUTFD;
shift;
done;
}
show_progress() { echo "progress $1 $2" > $OUTFD; }
set_perm_recursive() {
dirs=$(echo $* | $bb awk '{ print substr($0, index($0,$5)) }');
for i in $dirs; do
chown -R $1.$2 $i; chown -R $1:$2 $i;
find "$i" -type d -exec chmod $3 {} +;
find "$i" -type f -exec chmod $4 {} +;
done;
}
file_getprop() { grep "^$2" "$1" | cut -d= -f2; }
getprop() { test -e /sbin/getprop && /sbin/getprop $1 || file_getprop /default.prop $1; }
abort() { ui_print "$*"; umount /system; umount /data; exit 1; }

show_progress 1.34 4;
ui_print " ";
mkdir -p /tmp/anykernel/bin;
cd /tmp/anykernel;
unzip -o "$ZIP";
if [ $? != 0 -o -z "$(ls /tmp/anykernel/tools)" ]; then
abort "Unzip failed. Aborting...";
fi;
chmod -R 755 /tmp/anykernel/tools /tmp/anykernel/bin;
bb=/tmp/anykernel/tools/busybox;

ui_print " ";
ui_print " ";
ui_print " __ __ ";
ui_print " ____ ___ / /_ _____ __ __ / /_ ____ __ __";
ui_print "/_ / / _ \ / __// ___// / / // __ \ / __ \ / / / /";
ui_print " / /_/ __// /_ (__ )/ /_/ // /_/ // /_/ // /_/ / ";
ui_print "/___/\___/ \__//____/ \__,_//_.___/ \____/ \__,_/ ";
ui_print " __ __";
ui_print " / /__ ___ _____ ____ ___ / /";
ui_print " / //_// _ \ / ___// __ \ / _ \ / / ";
ui_print " / ,< / __// / / / / // __// / ";
ui_print " /_/|_| \___//_/ /_/ /_/ \___//_/ ";
ui_print " ";
ui_print " ";

ui_print "$(file_getprop /tmp/anykernel/anykernel.sh kernel.string)";
ui_print " ";
ui_print "AnyKernel2 by osm0sis @ xda-developers";
ui_print " ";
mount -o ro -t auto /system;
mount /data;

if [ "$(file_getprop /tmp/anykernel/anykernel.sh do.devicecheck)" == 1 ]; then
ui_print "Checking device...";
for i in 1 2 3 4 5; do
testname="$(file_getprop /tmp/anykernel/anykernel.sh device.name$i)";
if [ "$(getprop ro.product.device)" == "$testname" -o "$(getprop ro.build.product)" == "$testname" ]; then
ui_print "$testname";
match=1;
fi;
done;
ui_print " ";
if [ "$match" != 1 ]; then
abort "Unsupported device. Aborting...";
fi;
fi;

if [ "$(file_getprop /tmp/anykernel/anykernel.sh do.initd)" == 1 ]; then
ui_print "Creating init.d...";
ui_print " ";
mount -o remount,rw -t auto /system;
mkdir /system/etc/init.d;
set_perm_recursive 0 0 0755 0755 /system/etc/init.d;
mount -o remount,ro -t auto /system;
fi;

ui_print "Installing kernel...";
for i in $($bb --list); do
$bb ln -s $bb /tmp/anykernel/bin/$i;
done;
if [ $? != 0 -o -z "$(ls /tmp/anykernel/bin)" ]; then
abort "Recovery busybox setup failed. Aborting...";
fi;
PATH="/tmp/anykernel/bin:$PATH" $bb ash /tmp/anykernel/anykernel.sh $2;
if [ $? != "0" ]; then
abort;
fi;

if [ "$(file_getprop /tmp/anykernel/anykernel.sh do.modules)" == 1 ]; then
ui_print " ";
ui_print "Pushing modules...";
mount -o remount,rw -t auto /system;
cp -rf /tmp/anykernel/modules/* /system/lib/modules/;
set_perm_recursive 0 0 0755 0644 /system/lib/modules;
mount -o remount,ro -t auto /system;
fi;

if [ "$(file_getprop /tmp/anykernel/anykernel.sh do.cleanup)" == 1 ]; then
rm -rf /tmp/anykernel;
fi;

umount /system;
umount /data;
ui_print " ";
ui_print "Done!";

1 change: 1 addition & 0 deletions AnyKernel2/META-INF/com/google/android/updater-script
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Dummy file; update-binary is a shell script.
25 changes: 25 additions & 0 deletions AnyKernel2/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
NAME ?= Zetsubou

VERSION ?= N

DATE := $(shell date +'%Y%m%d-%H%M')

ZIP := $(NAME)-$(VERSION)-$(DATE).zip

EXCLUDE := Makefile *.git*

all: $(ZIP)

$(ZIP):
@echo "Creating ZIP: $(ZIP)"
@zip -r9 "$@" . -x $(EXCLUDE)
@echo "Generating SHA1..."
@sha1sum "$@" > "[email protected]"
@cat "[email protected]"
@echo "Done."

clean:
@rm -vf "$(NAME)-"*.zip*
@rm -vf dtb
@rm -vf zImage
@echo "Done."
53 changes: 53 additions & 0 deletions AnyKernel2/anykernel.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
# AnyKernel2 Ramdisk Mod Script
# osm0sis @ xda-developers

## AnyKernel setup
# EDIFY properties
kernel.string=Zetsubou Kernel by Ashish94 @ xda-developers
do.devicecheck=0
do.initd=1
do.modules=0
do.cleanup=1
device.name1=
device.name2=
device.name3=
device.name4=
device.name5=

# shell variables
block=/dev/block/bootdevice/by-name/boot;
is_slot_device=0;


## AnyKernel methods (DO NOT CHANGE)
# import patching functions/variables - see for reference
. /tmp/anykernel/tools/ak2-core.sh;


## AnyKernel permissions
# set permissions for included ramdisk files
chmod -R 755 $ramdisk


## AnyKernel install
dump_boot;

# begin ramdisk changes

# add zetsubou initialization script
insert_line init.rc "import /init.zetsubou.rc" after "import /init.environ.rc" "import /init.zetsubou.rc";

# Add frandom compatibility
backup_file ueventd.rc;
insert_line ueventd.rc "frandom" after "urandom" "/dev/frandom 0666 root root\n";
insert_line ueventd.rc "erandom" after "urandom" "/dev/erandom 0666 root root\n";
backup_file file_contexts;
insert_line file_contexts "frandom" after "urandom" "/dev/frandom u:object_r:frandom_device:s0\n";
insert_line file_contexts "erandom" after "urandom" "/dev/erandom u:object_r:erandom_device:s0\n";

# end ramdisk changes

write_boot;

## end install

28 changes: 28 additions & 0 deletions AnyKernel2/ramdisk/init.zetsubou.rc
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# Zetsubou init script
# Thanks to franciscofranco, ak, nathanchancellor and frap129

on boot
# enable sweep2wake up
chown root root /sys/android_touch/sweep2wake
chmod 666 /sys/android_touch/sweep2wake
write /sys/android_touch/sweep2wake 4
chmod 644 /sys/android_touch/sweep2wake

on property:sys.boot_completed=1
# set I/O scheduler
write /sys/block/mmcblk0/queue/rq_affinity 0
write /sys/block/mmcblk0/bdi/min_ratio 5
write /sys/block/mmcblk0/queue/read_ahead_kb 256

# set stock CPU frequency
# a53 max 1.2GHz
chown system system /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
chmod 0664 /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
write /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq 1209600

# set stock GPU frequency
write /sys/class/kgsl/kgsl-3d0/devfreq/max_freq 465000000
write /sys/class/kgsl/kgsl-3d0/devfreq/min_freq 100000000

# enable laptop mode
write /proc/sys/vm/laptop_mode 1
Loading