Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
Accelerator
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
Uh oh!
There was an error while loading.
Please reload this page
.
This repository was archived by the owner on Sep 18, 2022. It is now read-only.
cm12-amami
/
android_kernel_sony_msm8974
Public archive
forked from
CyanogenMod/android_kernel_sony_msm8974
Notifications
You must be signed in to change notification settings
Fork
1
Star
0
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Files
Expand file tree
cm-12.1
Breadcrumbs
android_kernel_sony_msm8974
/
README_Xperia
Copy path
Blame
More file actions
Blame
More file actions
Latest commit
History
History
History
56 lines (36 loc) · 2 KB
cm-12.1
Breadcrumbs
android_kernel_sony_msm8974
/
README_Xperia
Copy path
Top
File metadata and controls
Code
Blame
56 lines (36 loc) · 2 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
Configuration files can be found in arch/arm/configs.
Xperia Z3 Compact D5803/D5833 => shinano_aries_defconfig
Xperia Z2a D6563 => shinano_canopus_defconfig
Xperia Z2 Tablet SGP511/SGP512 => shinano_castor_windy_defconfig
Xperia Z2 Tablet SGP521/SGP541 => shinano_castor_defconfig
Xperia Z3 D6603/D6653/D6643 => shinano_leo_defconfig
Xperia Z3 Tablet Compact SGP611/SGP612 => shinano_scorpion_windy_defconfig
Xperia Z3 Tablet Compact SGP621/SGP641 => shinano_scorpion_defconfig
Xperia Z2 D6502/D6503/D6543/L50w => shinano_sirius_defconfig
How to build your kernel:
Prerequisites:
* ramdisk.img - root fs
* mkbootimg - boot.img generator
* dtbTool - DTB combiner
You can obtain it from various trusted sites including https://www.codeaurora.org/
* The ARM cross-compiler
We recommend getting the CodeSourcery Lite compiler.
Or, you can also use prebuild executable binary which is included in
standard Android tree.
Step 1: Build Your Kernel (zImage)
$ cd kernel
$ export ARCH=arm
$ export CROSS_COMPILE=/opt/arm-2010q1/bin/arm-none-eabi-
NOTE: Please set the location and the prefix of the ARM cross-compiler.
$ make shinano_leo_defconfig
NOTE: Please set a configuration file you want to build.
$ make
You can see arch/arm/boot/zImage if you succeed in building the kernel.
Step 2: Prepare Device Tree Image (dt.img)
(In the Linux Kernel directory)
$ dtbTool -o dt.img -s 2048 -p scripts/dtc/ arch/arm/boot/
Step 3: Assembling the boot.img
(In the Linux Kernel directory)
$ mkbootimg --cmdline "androidboot.hardware=qcom user_debug=31 msm_rtb.filter=0x3b7 ehci-hcd.park=3 androidboot.bootdevice=msm_sdcc.1 vmalloc=300M dwc3.maximum_speed=high dwc3_msm.prop_chg_detect=Y" \
--base 0x00000000 --kernel arch/arm/boot/zImage --ramdisk ramdisk.img \
--ramdisk_offset 0x02000000 -o boot.img --dt dt.img --tags_offset 0x01E00000
You can’t perform that action at this time.