forked from CyanogenMod/android_kernel_sony_msm8x60
-
Notifications
You must be signed in to change notification settings - Fork 1
/
README_Xperia
41 lines (22 loc) · 1.09 KB
/
README_Xperia
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
Configuration files can be found in arch/arm/configs.
Xperia T LT30a => blue_mint_defconfig
Xperia V LT25i => blue_tsubasa_defconfig
How to flash your kernel using Fastboot:
Prerequisites:
* zImage - the kernel you built, located in arch/arm/boot
* mkelf.py - image generation script. Can be downloaded from eg http://developer.sonymobile.com/2012/03/20/xperia-s-open-source-archive-released-with-building-instructions/
* ramdisk.img - root fs
* RPM.bin - RPM firmware
How to obtain these two files is beyond the scope of this document,
but note that they should match the phone model and the rest of the
software.
NB: Do NOT use the RPM.bin you can download from the link above.
Do:
1. Create a textfile, cmdline.txt, and add
androidboot.hardware=qcom user_debug=31 msm_rtb.filter=0x3F androidboot.baseband=msm ehci-hcd.park=3 maxcpus=2 kgsl.mmutype=gpummu
2. Assemble flashable image
$ python mkelf.py -o kernel.elf zImage@0x80208000 \
ramdisk.img@0x81400000,ramdisk \
RPM.bin@0x20000,rpm cmdline.txt@0x0,cmdline
3. Flash
$ fastboot flash boot kernel.elf