Compiling a custom kernel for Samsung S9+ - Samsung Galaxy S9 Questions & Answers

Hi, I've downloaded the kernel source based on my device's PDA and compiled it according to the instructions provided by Samsung. I haven't made any changes to the source and I'm using the default exynos config for my devices. I then extracted the original boot.img (using AIK) and replaced zImage & repacked it. After flashing the new boot.img the device gets stuck on "Samsung S9+ .. Secured by Knox" screen. It's not rebooting just hangs on that screen. I've tried clearing my data / cache partitions but that didn't help. I also thought that might be related to dm-verity and disabled it in the kernel / recompiled / rebuilt boot.img but that didn't work either.
Wondering if anyone had this issue? I'm just trying to build the kernel image from the original source code and boot it on my device. Any advice on how to debug this would be appreciated!

just fyi I've pulled the kernel log via twrp and it looks like the device is actually stuck in the boot loop. I can see the S-BOOT bootup printouts and then it gets to actually booting the kernel "Starting kernel..." and restarts right away. There's no ouput from the kernel. Appreciate any help here

it looks like the samsung signature (after SEANDROIDENFORCE) is getting checked :/ Even if I just unpack and then repack the same kernel with AIK (without any modifications) the device won't boot. This signature is the only difference between original and repacked boot.img. The console output is
Code:
SM-G965F androidboot.em.status=0x0 androidboot.verifiedbootstate=orange bcm_setup=0xffffff80f8e00000 reserve-fimc=0xffffff80fa000000 firmware_class.path=/vendor/firmware ecd_setup=disable region1=EUR region2=OPEN'
[0: 2517] ATAG_NONE: 0 0
param logs: (2018-01-10-05-43)N(2018-01-10-05-43)N(2018-01-10-05-44)N(2018-01-10-05-44)N(2018-01-10-05-44)N(2018-01-10-05-44)N(2018-01-10-05-47)N(2018-01-10-06-16)N(2018-01-10-06-17)N(2018-01-10-15-19)R(2018-01-10-15-24)N(2018-01-10-15-24)R(2018-01-10-15-25)N(2018-01-10-15-25)N(2018-01-10-15-27)N(2018-01-10-15-27)N(2018-01-10-15-28)N(2018-01-10-15-32)R(2018-01-10-15-42)N(2018-01-10-15-43)R(2018-01-10-15-46)N(2018-01-10-15-46)N(2018-01-10-16-08)R(2018-01-10-16-09)N(2018-01-10-16-09)N(2018-01-10-16-11)
[0: 2517] [CM] block verified boot commands: start
[0: 2517] [CM] block verified boot commands: success
[0: 2517] [OTP] OTP_SW_BLOCK enable start
[0: 2517] [OTP] OTP_SW_BLOCK enable success
[0: 2517] cal_hash_lock: cal_hash locked
[0: 2517] challenge_size is 0 0
[0: 2517] secure info base: 0x90d20000 and SMC Num = 0x83000013
[0: 2517] secure smc success!!!
[0: 2589] pack_atags: ramdisk size start 0x89000000, size 0x5e2eeb
[0: 3480] max77705_adc_read_temp temp = 33, temp_adc = 1659
[0: 3480] max_freq_update: Current temp: 33
[0: 3511] Updating device tree @0x8a000000: done
[0: 3512] [VIB] max77705_vibtonz_en 1
[0: 3512] PWM PCLK = 26000000
[0: 3512] [PWM : 1] prescaler : 25, div : 1
[0: 3512] [PWM]tcnt : 52, tcmp : 2
[0: 3515] [VIB] max77705_vibtonz_en MCONFIG: [0x82] -> [0xc2]
[0: 3615] [VIB] max77705_vibtonz_en 0
[0: 3619] [VIB] max77705_vibtonz_en MCONFIG: [0xc2] -> [0x82]
[0: 3619]
[0: 3619] Starting kernel...
and the device reboots and gets stuck in this loop. @osm0sis is this because of that samsung signature? does that mean I can't boot any custom ROMs?

mmsub88 said:
it looks like the samsung signature (after SEANDROIDENFORCE) is getting checked :/ Even if I just unpack and then repack the same kernel with AIK (without any modifications) the device won't boot. This signature is the only difference between original and repacked boot.img. The console output is
Code:
SM-G965F androidboot.em.status=0x0 androidboot.verifiedbootstate=orange bcm_setup=0xffffff80f8e00000 reserve-fimc=0xffffff80fa000000 firmware_class.path=/vendor/firmware ecd_setup=disable region1=EUR region2=OPEN'
[0: 2517] ATAG_NONE: 0 0
param logs: (2018-01-10-05-43)N(2018-01-10-05-43)N(2018-01-10-05-44)N(2018-01-10-05-44)N(2018-01-10-05-44)N(2018-01-10-05-44)N(2018-01-10-05-47)N(2018-01-10-06-16)N(2018-01-10-06-17)N(2018-01-10-15-19)R(2018-01-10-15-24)N(2018-01-10-15-24)R(2018-01-10-15-25)N(2018-01-10-15-25)N(2018-01-10-15-27)N(2018-01-10-15-27)N(2018-01-10-15-28)N(2018-01-10-15-32)R(2018-01-10-15-42)N(2018-01-10-15-43)R(2018-01-10-15-46)N(2018-01-10-15-46)N(2018-01-10-16-08)R(2018-01-10-16-09)N(2018-01-10-16-09)N(2018-01-10-16-11)
[0: 2517] [CM] block verified boot commands: start
[0: 2517] [CM] block verified boot commands: success
[0: 2517] [OTP] OTP_SW_BLOCK enable start
[0: 2517] [OTP] OTP_SW_BLOCK enable success
[0: 2517] cal_hash_lock: cal_hash locked
[0: 2517] challenge_size is 0 0
[0: 2517] secure info base: 0x90d20000 and SMC Num = 0x83000013
[0: 2517] secure smc success!!!
[0: 2589] pack_atags: ramdisk size start 0x89000000, size 0x5e2eeb
[0: 3480] max77705_adc_read_temp temp = 33, temp_adc = 1659
[0: 3480] max_freq_update: Current temp: 33
[0: 3511] Updating device tree @0x8a000000: done
[0: 3512] [VIB] max77705_vibtonz_en 1
[0: 3512] PWM PCLK = 26000000
[0: 3512] [PWM : 1] prescaler : 25, div : 1
[0: 3512] [PWM]tcnt : 52, tcmp : 2
[0: 3515] [VIB] max77705_vibtonz_en MCONFIG: [0x82] -> [0xc2]
[0: 3615] [VIB] max77705_vibtonz_en 0
[0: 3619] [VIB] max77705_vibtonz_en MCONFIG: [0xc2] -> [0x82]
[0: 3619]
[0: 3619] Starting kernel...
and the device reboots and gets stuck in this loop. @osm0sis is this because of that samsung signature? does that mean I can't boot any custom ROMs?
Click to expand...
Click to collapse
If that's literally the only difference in the images then yeah, probably. Only other thing you could try is disabling verity and checks by patching it with Magisk Manager first, in case that makes a difference.

osm0sis said:
If that's literally the only difference in the images then yeah, probably. Only other thing you could try is disabling verity and checks by patching it with Magisk Manager first, in case that makes a difference.
Click to expand...
Click to collapse
ah sorry it looks like the device is booting the original boot.img with the samsung signature removed. It must be my kernel then. All I've done is got the kernel source code from opensource.samsung.com corresponding to my PDA. Then I did a default compile without making any changes to the source code or kernel config. (compiled with this toolchain https://android.googlesource.com/platform/prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9 which is the same version as the original samsung kernel in boot.img)
Code:
$ export ANDROID_MAJOR_VERSION=o
$ make ARCH=arm64 exynos9810-star2lte_defconfig
$ make ARCH=arm64
Do you know if there's anything I'm missing that might stop the kernel from booting?

Not my area, sorry. Check with other developers for your device or similar devices.

osm0sis said:
Not my area, sorry. Check with other developers for your device or similar devices.
Click to expand...
Click to collapse
thanks for your answers!

mmsub88 said:
ah sorry it looks like the device is booting the original boot.img with the samsung signature removed. It must be my kernel then. All I've done is got the kernel source code from opensource.samsung.com corresponding to my PDA. Then I did a default compile without making any changes to the source code or kernel config. (compiled with this toolchain https://android.googlesource.com/platform/prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9 which is the same version as the original samsung kernel in boot.img)
Code:
$ export ANDROID_MAJOR_VERSION=o
$ make ARCH=arm64 exynos9810-star2lte_defconfig
$ make ARCH=arm64
Do you know if there's anything I'm missing that might stop the kernel from booting?
Click to expand...
Click to collapse
@djb77 any tips here? Do I need to disable any mitigations to make it boot? I don't think it's related to verity because it's not even getting to the first kernel console printk "Booting Linux ...". Just resets right away when it gets to loading the kernel. I'm using the original dtb image but I also tried compiling my own dtb using the patches from your TGP kernel.

Related

Working android linux from Fbettag for our BA's

Screenshot here , it shows the android's UI displayd on a BA
http://picpaste.de/IMG_0093.JPG note:this is from hes phone not mine
he wrote on google groups:
fbetag "Altogether i've put up two tbz2:
- http://evil-packet.org/android/vfat-bootloader-kernel.tbz2
Just copy this to the vfat partition (first partition) on your SD-
Card.
Android will autoboot as soon you plug the card into your BA.
- http://evil-packet.org/android/ext2-android-htc-blueangel-arm.tbz2
Copy it to the ext2 partition (second partition) on your SD-Card.
/bin contains busybox with the according symlinks.
I moved /init (android loader) to /sbin/android.
And i also cross compiled strace and dropbear (which doesn't work
yet).
My /sbin/init is to be customized with your own start-stop stuff.
If you boot Android while your BlueAngel is in it's USB Cradle and
your Linux Computer on the other end got USBnet (so that usb0 appears
on both devices), then my /sbin/init will configure usb0 with
192.168.1.201/24 and start telnetd. The default root password is
"android".
I think this is a fairly good base to start of hacking for this
device Let's do it.
Finally i got some questions google.com couldn't answer me:
- What ANDROID_ environment-variables are there?
- What does it take to make my TS Input Device (tsc2200) available?
Here are several outputs:
--- dmesg ---
<5>Linux version 2.6.21-hh20-omap1 ([email protected]) (gcc version
4.2.3 (Sourcery G++ Lite 2008q1-126)) #5 PREEMPT Sun Aug 3 21:26:21
CEST 2008
<4>CPU: XScale-PXA255 [69052d06] revision 6 (ARMv5TE), cr=0000397f
<4>Machine: HTC Blueangel
<4>Memory policy: ECC disabled, Data cache writeback
<7>On node 0 totalpages: 32768
<7> DMA zone: 256 pages used for memmap
<7> DMA zone: 0 pages reserved
<7> DMA zone: 32512 pages, LIFO batch:7
<7> Normal zone: 0 pages used for memmap
<6>Memory clock: 99.53MHz (*27)
<6>Run Mode clock: 398.13MHz (*4)
<6>Turbo Mode clock: 398.13MHz (*1.0, inactive)
<4>CKEN=0x10a71 CKEN11_USB=0x800
<4>CKEN=0x10a71
<4>CPU0: D VIVT undefined 5 cache
<4>CPU0: I cache: 32768 bytes, associativity 32, 32 byte lines, 32
sets
<4>CPU0: D cache: 32768 bytes, associativity 32, 32 byte lines, 32
sets
<4>Built 1 zonelists. Total pages: 32512
<5>Kernel command line: root=/dev/mmcblk0p2 rootdelay=10
console=ttyS0,115200n8 console=tty0
<4>PID hash table entries: 512 (order: 9, 2048 bytes)
<4>Console: colour dummy device 80x30
<4>Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
<4>Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
<6>Memory: 128MB = 128MB total
<5>Memory: 126336KB available (2868K code, 502K data, 104K init)
<7>Calibrating delay loop... 397.31 BogoMIPS (lpj=1986560)
<4>Mount-cache hash table entries: 512
<6>CPU: Testing write buffer coherency: ok
<4>android_power_init
<4>android_power_init done
<6>NET: Registered protocol family 16
<6>[ 0.420000] asic3: using irq 108-177 on irq 26
<4>[ 0.430000] Initializing blueangel tsc2200 ssp... done
<4>[ 0.440000] tsc2200_probe: SPI: cr0 0000138f cr1 60000010 sr:
0000f024 it: 00000000 to: 00000000 ps: 00000000
<6>[ 0.470000] Bluetooth: Core ver 2.11
<6>[ 0.470000] NET: Registered protocol family 31
<6>[ 0.480000] Bluetooth: HCI device and connection manager
initialized
<6>[ 0.490000] Bluetooth: HCI socket layer initialized
<6>[ 0.510000] Time: pxa_timer clocksource has been installed.
<4>[ 0.520000] pxa2xx-udc-gpio: Generic driver for GPIO-controlled
PXA2xx UDC
<6>[ 0.530000] NET: Registered protocol family 2
<4>[ 0.640000] IP route cache hash table entries: 1024 (order: 0,
4096 bytes)
<4>[ 0.650000] TCP established hash table entries: 4096 (order: 3,
32768 bytes)
<4>[ 0.660000] TCP bind hash table entries: 4096 (order: 2, 16384
bytes)
<6>[ 0.670000] TCP: Hash tables configured (established 4096 bind
4096)
<6>[ 0.680000] TCP reno registered
<4>[ 0.720000] blueangel_lcd_init
<4>[ 0.720000] Blue Angel Board ID 0x6
<4>[ 0.730000] in blueangel_lcd_probe
<4>[ 0.740000] HTC Blueangel DS1WM driver
<4>[ 0.740000] blueangel_pcmcia_socket_init
<4>[ 0.750000] blueangel_pcmcia_configure_socket
<4>[ 0.760000] Reset:0 ,Vcc:0 ,Flags:0
<4>[ 1.030000] blueangel_pm_init
<4>[ 1.030000] retval=0
<6>[ 1.040000] input: blueangelkb as /class/input/input0
<5>[ 1.050000] Probing PXA Flash 1 at physical address 0x00000000
(32-bit bankwidth)
<4>[ 1.060000] mymtd=00000000
<6>[ 1.070000] ttyS8 at MMIO 0x10800000 (irq = 91) is a DPRAM
<4>[ 1.080000] dpram hwident: 'HTC-DPRAM ASIC P/N:30H80037-00-L'
<5>[ 1.090000] HTC Blueangel Phone Modem Driver
<6>[ 1.090000] PXA CPU frequency change support initialized
<4>[ 1.110000] NetWinder Floating Point Emulator V0.97 (double
precision)
<6>[ 1.120000] JFFS2 version 2.2. (NAND) (C) 2001-2006 Red Hat,
Inc.
<6>[ 1.140000] io scheduler noop registered
<6>[ 1.140000] io scheduler anticipatory registered (default)
<6>[ 1.150000] io scheduler deadline registered
<4>[ 1.160000] Corgi Backlight Driver Initialized.
<4>[ 1.170000] Found w3200 at 0x08000000.
<4>[ 1.210000] blueangel_pcmcia_configure_socket
<4>[ 1.220000] Reset:0 ,Vcc:50 ,Flags:0
<4>[ 1.230000] Console: switching to colour frame buffer device
60x53
<6>[ 1.250000] fb0: w100fb frame buffer device
<6>[ 1.400000] TI Calypso / HTC firmware GSM UART line discipline
ver 0.1<6>pxa2xx-uart.0: ttyS0 at MMIO 0x40100000 (irq = 15) is a
FFUART
<6>[ 1.420000] pxa2xx-uart.1: ttyS1 at MMIO 0x40200000 (irq = 14)
is a BTUART
<6>[ 1.440000] pxa2xx-uart.2: ttyS2 at MMIO 0x40700000 (irq = 13)
is a STUART
<6>[ 1.450000] pxa2xx-uart.3: ttyS3 at MMIO 0x41600000 (irq = 0) is
a HWUART
<6>[ 1.470000] pxa2xx-ir-serial: Initialized
<4>[ 1.480000] RAMDISK driver initialized: 4 RAM disks of 8192K
size 1024 blocksize
<6>[ 1.500000] loop: loaded (max 8 devices)
<6>[ 1.510000] tun: Universal TUN/TAP device driver, 1.6
<6>[ 1.520000] tun: (C) 1999-2004 Max Krasnyansky
<[email protected]>
<4>[ 1.530000] acx: this driver is still EXPERIMENTAL
<4>[ 1.530000] acx: reading README file and/or Craig's HOWTO is
recommended, visit http://acx100.sf.net in case of further questions/
discussion
<7>[ 1.560000] acxcs_init()
<6>[ 1.570000] I2C: i2c-0: PXA I2C adapter
<6>[ 1.580000] pxa2xx_udc: version 4-May-2005
<7>[ 1.600000] DPM: pda_udc: Turning off port
<4>[ 1.600000] ether gadget: using random self ethernet address
<4>[ 1.630000] ether gadget: using random host ethernet address
<4>[ 1.650000] blueangel_pcmcia_configure_socket
<4>[ 1.670000] Reset:1 ,Vcc:50 ,Flags:240
<4>[ 1.680000] blueangel_pcmcia_configure_socket
<4>[ 1.700000] Reset:0 ,Vcc:50 ,Flags:200
<6>[ 1.710000] usb0: Ethernet Gadget, version: May Day 2005
<6>[ 1.730000] usb0: using pxa2xx_udc, OUT ep2out-bulk IN ep1in-
bulk
<6>[ 1.750000] usb0: MAC 1e:bf:a5:a0:28:2d
<7>[ 1.770000] DPM: pda_udc: Turning on port
<6>[ 1.780000] input: gpio-keys as /class/input/input1
<4>[ 1.780000] pxa_gpiodev_get_value(8)
<4>[ 1.810000] Registering tsc2200 buttons driver
<5>[ 1.820000] pccard: PCMCIA card inserted into slot 0
<5>[ 1.840000] pcmcia: registering new device pcmcia0.0
<7>[ 1.860000] acx_attach()
<7>[ 1.860000] acx_cs_config(0xc0622600)
<6>[ 1.870000] MEMORY WINDOW FOUND!!!
<6>[ 1.880000] requesting Irq...
<4>[ 1.890000] pcmcia: request for exclusive IRQ could not be
fulfilled.
<4>[ 1.920000] pcmcia: the driver needs updating to supported
shared IRQ lines.
<4>[ 1.950000] blueangel_pcmcia_configure_socket
<4>[ 1.960000] Reset:0 ,Vcc:50 ,Flags:200
<4>[ 1.980000] blueangel_pcmcia_configure_socket
<4>[ 1.990000] Reset:0 ,Vcc:50 ,Flags:220
<7>[ 2.050000] RequestConfiguration OK
<4>[ 2.050000] acx: found ACX100-based wireless network card
<7>[ 2.070000] initial debug setting is 0x000A
<6>[ 2.070000] memwinbase=2c000000 memwinsize=4096
<7>[ 2.080000] using IRQ 40
<4>[ 2.110000] ACX radio type 0x0d
<7>[ 2.120000] requesting firmware image 'WLANGEN.BIN'
<4>[ 2.120000] 9<6>input: tsc2200-keys as /class/input/input2
<4>[ 2.150000] tsc2200_ts_probe IRQ: 39
<6>[ 2.170000] input: tsc2200-ts as /class/input/input3
<7>[ 2.190000] sa1100-rtc sa1100-rtc: rtc intf: sysfs
<7>[ 2.190000] sa1100-rtc sa1100-rtc: rtc intf: proc
<7>[ 2.200000] sa1100-rtc sa1100-rtc: rtc intf: dev (254:0)
<6>[ 2.200000] sa1100-rtc sa1100-rtc: rtc core: registered sa1100-
rtc as rtc0
<6>[ 2.230000] Driver for 1-wire Dallas network protocol.
<4>[ 2.250000] DS1WM w1 busmaster driver - (c) 2004 Szabolcs Gyurko
<4>[ 2.280000] blueangel_ds1wm: OWM_EN Low (active)
<6>[ 2.310000] 1-Wire driver for the DS2760 battery monitor chip
- (c) 2004-2005, Szabolcs ..."
can you post the image of Android? ("initrd-android" etc)
its alrdy there mate use the second link to download it , it says "ext2-android-htc-blueangel-arm.tbz2" 32mb file
thanks, i'll try it someday
Tryed, the touch screen doesnt work.
root said:
Tryed, the touch screen doesnt work.
Click to expand...
Click to collapse
Hi,
I'm one of the maintenair of this kernel, last time i look to android, it seem you have to patch the kernel to get the touchscreen working with android.
They do something special. maybe you can try with datas from latest SDK.
Very interested things!
I'm very interesting with this! So, are you working on this? I'll try to make something better but don't known where to start.
Anybody know about extract android's image file in emulator to SD card?
What the android distro it is folllowing? I mean: debian, redhat or anything else.
so what are the cons and pros of using Android instead of WinMo?
The biggest pro here is that you can get away from M$oft and try something new and have a new experiance.

[KERNEL][CM7/MIUI] 27/04,platypus,Voodoo SOUND&COLOR,OC/UV,SLQB,LED notif,NODEBUG,...

[KERNEL][CM7/MIUI] 27/04,platypus,Voodoo SOUND&COLOR,OC/UV,SLQB,LED notif,NODEBUG,...
FAST FORWARD:
If you're switching kernels, have issues with auto-rotation, the cam, bootloops or other sorts of problem (failed overclock attempt),
please use lippol94's script-cleansing update (apply via CWM recovery) : http://www.multiupload.com/922KMXMMVJ
kudos to lippol94 !
--------------------------------------------------------------------------------------
for latest test-kernels with support for Android 2.3.4 and newest MIUI (e.g. RC8)
[KERNEL][CM7/MIUI] [test-releases[/SIZE] only] 06/05,platypus
<-- these also should be more stable, no call drops, no spontaneous reboots, etc.
--------------------------------------------------------------------------------------
kernel with system modules [only newest kernels]:
04/09/2011 (release name: flubber; WIP - work in process release; access to external SD card)
* CM7_SGS_platypus-kernel_20110409_18_flubber.zip (3.97 MB) (STABLE), but WIP)
* CM7_SGS_platypus-kernel_20110409_18_flubber-ondemand.zip (3.97 MB) (STABLE), but WIP)
XDA download: 04/09/2011 (release name: flubber; WIP - work in progress release) (post)
04/13/2011 (release name: Antlion; Stable - )
kernel:
* CM7_SGS_platypus-kernel_20110413_19_antlion_conservative.zip (3.98 MB)
* CM7_SGS_platypus-kernel_20110413_19_antlion_ondemand.zip (3.98 MB)
XDA download: 04/13/2011 (release name: Antlion; Stable - ) (post)
04/17/2011 (release name: "Core" low-latency edition; should be Stable )
1st Mirror / Host: [recommended]
test - "core low-latency" (thanks a lot to Roland !)
2nd Mirror:
its post (XDA)
3rd Mirror:
CM7_SGS_platypus-kernel_20110417_17_core-low-latency.zip (3.91 MB)
md5sum:
74b50167bd1190140a0085e190c05887 CM7_SGS_platypus-kernel_20110417_17_core-low-latency.zip
04/17/2011 (release name: "Core"; stable release Stable )
kernel:
1st Mirror / Host: [recommended]
"core" (thanks a lot to Roland !)
2nd Mirror:
it's post (XDA)
3rd Mirror:
CM7_SGS_platypus-kernel_20110417_18_core.zip (3.91 MB)
md5sum:
4004618376b4ee3623977e300b85b2b0 CM7_SGS_platypus-kernel_20110417_18_core.zip
04/20/2011 (release name: "Core" chameleon speed edition ("one edition fits all" - already containing parts of Samsung's GB source (thanks teamhacksung !)); Testing )
kernel:
1st Mirror / Host: [recommended]
"core chameleon" (thanks a lot to Roland !)
2nd Mirror:
its thread (XDA)
3rd Mirror:
CM7_SGS_platypus-kernel_20110420_04_core_chameleon.zip (3.92 MB)
md5sum:
f14b31997ef87061d9fc978114903184 CM7_SGS_platypus-kernel_20110420_04_core_chameleon.zip
04/22/2011 (release name: "Twoface" ("one side conservative (juice saving) other side performance (ondemand)" - already containing parts of Samsung's GB source (thanks teamhacksung !));
Semi-Testing/Stable (for new integrated code from Samsung) )
kernel:
1st Mirror / Host: [recommended]
"Twoface" (thanks a lot to Roland !)
2nd Mirror:
its post (XDA)
3rd Mirror:
CM7_SGS_platypus-kernel_20110421_22_twoface.zip (3.44 MB)
md5sum:
5ec155f70a22427ec1848827e202bb60 CM7_SGS_platypus-kernel_20110421_22_twoface.zip
04/25/2011 (release name: "Whatitsname"
already containing parts of Samsung's GB source (thanks teamhacksung !));
Semi-Testing/Stable (for new integrated code from Samsung) and other exciting new stuff )
kernel:
What's its name ? Vanilla without scripts (ondemand governor) [without all the goodies]:
1st Mirror / Host: [recommended]
"Whatsitsname" (thanks a lot to Roland !)
2nd Mirror:
its post (XDA) (attachment)
3rd Mirror:
CM7_SGS_platypus-kernel_20110425_03_whatsitsname.zip (5.22 MB)
md5sum:
c61713564dd50f23adb60f463cba8e07 CM7_SGS_platypus-kernel_20110425_03_whatsitsname.zip
What's its name ? with scripts (conservative governor):
1st Mirror / Host: [recommended]
"Whatsitsname with scripts" (thanks a lot to Roland !)
2nd Mirror:
its post (XDA) (attachment)
3rd Mirror:
CM7_SGS_platypus-kernel_20110425_03_whatsitsname_scripts.zip (5.23 MB)
md5sum:
dab7d1272fa987f201dc18870566a6f3 CM7_SGS_platypus-kernel_20110425_03_whatsitsname_scripts.zip
04/27/2011 (release name: "Alice"
already containing parts of Samsung's GB source (thanks teamhacksung !));
Semi-Testing/Stable (for new integrated code from Samsung) and other exciting new stuff )
kernel:
1st Mirror / Host: [recommended]
"Alice" (thanks a lot to Roland !)
2nd Mirror:
its post (XDA) (attachment)
3rd Mirror:
CM7_SGS_platypus-kernel_20110426_23_alice.zip (5.23 MB)
md5sum:
987124fb121f427ac371e438eaaf2772 CM7_SGS_platypus-kernel_20110426_23_alice.zip
complete system update & kernel:
[currently no up-to-date available]
tools & fixes:
* [INITSCRIPT] screenstate_scaling - switch CPU freq governor on screen state change by FloHimself
for best results between battery savings & performance replace AWAKE_GOVERNOR="interactive" with AWAKE_GOVERNOR="ondemand" included in cwm package by default
* VoltageControl-3.0.1.apk (52.58 KB) (source: [APP][23Feb - 3.0.1] Voltage Control - control OC/UV for OC kernels )
modems:
see below for full list of modems
---------------------------------------------------------------------------
DETAILED PART:
Hi guys,
this is my first modded kernel for the SGS (CM7/MIUI only)
I first needed to test it to make sure that it'll be stable & boot at the first place
so far it's very fast & responsive & smooth
DISCLAIMER: the kernel (binary) and driver modules are provided as is. If problems occcur they most probably are from upstream and can be fixed with the newest version. Since I'm doing this in my free spare time as a hobby (quenching my thirst for tweaks & performance) updates will occur irregularly as time permits and I see fit (most probably when new features & bugfixes arrive). YOU are responsible for the actions that you take (such as over- or underclocking), etc. You agree that I can not be held liable for any potential damage that arises from your actions in combination with or the usage of this kernel and other related parts.
Kudos:
* Google & the whole Android crew
* Linus Torvalds & the kernel hackers for upstream Linux
* cyanogen & all the devs out there hacking on this
* Supercurio for enriching our media experience of this smartphone
* codeworkx, coolya, guiper
* laststufo & hardcore and all the other kernel hackers on the SGS forum
* zen-kernel team for inspiration to create a kernel, too
* all other contributors (devs, users, etc.) who make this possible
Changelog:
*link to changelog*
Features:
* jhash3 for better reliability (data connections)
* Voodoo Sound & Color
* simple i/o scheduler for better speed & performance
* preemptive tree RCU with smaller fanout value (better efficiency, speed & less memory usage with read-write-operations)
* SLQB for more efficient & faster handling of files in memory
* kernel & app security features (fstack-protector, better ASLR, disabled access to DEVKMEM & DEVMEM, ...)
* network security (syncookies; only secure redirects allowed; higher number of outstanding syn requests allowed; disabled warnings for invalid responses to broadcast frames; enabled window scaling; disabled IP dynaddr & ECN; log and drop "martian" packets; protection against: broadcast pings and smurf attacks, redirects for IP source routing, non-secure redirects, DoS (syn-flood) attacks, IP-Spoofing)
* disabled kernel DEBUG & disabled DEBUG in kernel code
* support of more encryption ciphers
* utf8 support (international)
* fixed & improved CFQ i/o scheduler (option)
* BFQ i/o scheduler (option)
* tweaked ondemand governor (raised the min_sample_rate of ondemand cpufreq governor to 9500)
* interactive cpufreq governor (option)
* smartass cpufreq governor (option)
* OC/UV support (option) (thanks to morfic, TheEscapist & bilboa1)
* laststufo's optimized CFLAGS for more speed (kudos & thanks to laststufo !)
* compiled with CodeSourcery 2010.09 toolchain (better code quality, stability & speed)
* CPU (CFS) scheduler optimizations (optimized branch brediction for more speed, low latency, load balancing); tighter scheduler timings for more speed & responsiveness;
* optimized cacheflushs for user apps (speeds up emulators and specific apps)
* optimized OOM (out of memory killer; apps being removed out of memory - when memory is full)
* faster deactivation & reclaim of invalidated pages (memory faster being available again after big file operations)
* vmscan & other fixes (better responsiveness with lots of read/writes & under load)
* ck-patches (patches by Con Kolivas, mm-lru_cache_add_lru_tail for more efficient memory usage)
* optimized writeback handling (less hangs & waits during write operations)
* script: 90screenstate_scaling: lots of CFS, writeback and cpufreq governor tweaks (less cpu ticks, less cpu looping & delayed writeback - better battery runtime)
* script: 89system_tweak: tweaks for faster data throughput; caller ringdelay (1 second); energy savings for CPU in standby mode, energy savings for radio; WIFI scaninterval to 180 seconds
* CONFIG_IKCONFIG=y & CONFIG_IKCONFIG_PROC=y
* CONFIG_NETFILTER_XT_MATCH_MULTIPORT & CONFIG_IP_ADVANCED_ROUTER
* Stochastic Fair Blue (SFB) network scheduler for default network scheduler - kudos to the zen-kernel / zen-droid team !
* lots of fixes: fix potential memory corruption in buddy allocator of page allocator; potential lags / hangs / looping; security hole in tipc; potential deadlock in radix-tree
* data safety (2 patches of Nick Piggin's Inode integrity patches)
* [improved battery runtime] delay going tickless when CPU is loaded
* kernel timer at 128 Hz; USER_HZ 150 Hz; HIGH_RES_TIMER 300 Hz
* Google WIFI fix to let the CPU sleep more during non-usage of WIFI
* Wii Remote support (bluetooth profile)
* working kernel modules: ansi_cprng, bcm4329 (WIFI), cifs, scsi_wait_scan, tun
* ext4 stability & data integrity fixes
* LED notification (by bilboa1) (short howto and FAQ)
* removing of the FPS limit (by bilboa1)
* DockSound support
* adjustments to the haptic feedback (by bilboa1)
* higher battery charging temperature [experimental, upstream]
* zram (successor of ramzswap / compcache - swapfile in RAM) [option]
* removed (commented out) several limits from the init scripts
* optimization for sqlite database files (speeding up system & apps)
* optimized conservative & ondemand governors
* [upstream] fixed BUG with ARM and delays during cpufreq switching
* disable FM RDS radio for now - potential battery drain & does not work [less battery drain]
* disable SWAP and zram - zram breaks stuff and enabled SWAP-support might be a battery drain, also disable the xvmalloc [less battery drain]
* enable KSM and uaccess with memcpy
* 1:1 CFLAGS from laststufo (Ultimate SO-Kernel flags) and replacement of soft pipelining with module scheduling (internal compiler error)
* kernel compiled with Thumb instruction set - more efficient (performance) & battery savings
* disable VGA console (broken - compile errors) & disable FRAMEBUFFER CONSOLE (broke lock-screen and stuff)
* practically eliminated all lags - (potentially) lagfree
* tweaks to CFS cpu scheduler
* tweaks to conservative governor script
* improved read & write values (write: 4.3 vs. 7.1; read: 11.7 vs. 16.9)
* allow using LED while screen on [thanks to bilboa1 !]
* working external SD card access
* and everything I might have forgotten
Click to expand...
Click to collapse
Kernels & Modems:
for kernels see beginning of THIS thread
modems:
* cm7-galaxys-radio-JL2.zip (3.98 MB)
md5sum:
1bc9380e4e238b33f26444c5be7cc6be cm7-galaxys-radio-JL2.zip
* cm7-galaxys-radio-JVK.zip (3.91 MB)
md5sum:
d857d0fe9bd81cca3c4110e4c0bb400e cm7-galaxys-radio-JVK.zip
* cm7-galaxys-radio-JP5.zip (3.98 MB)
md5sum:
759e9cddeb29abc8cff4643b55fae6bb cm7-galaxys-radio-JP5.zip
* cm7-galaxys-radio-JPB.zip (4.27 MB)
md5sum:
22ecabcb57224cc63392d9b860c9038a cm7-galaxys-radio-JPB.zip
* cm7-galaxys-radio-JPE.zip (3.98 MB)
md5sum:
0953173e490ddaee4a79710628bd1586 cm7-galaxys-radio-JPE.zip
* cm7-galaxys-radio-JPG.zip (3.91 MB)
md5sum:
031b759d69f11cbcb22d5f255d1aa4a8 cm7-galaxys-radio-JPG.zip
* cm7-galaxys-radio-JPM.zip (3.98 MB)
md5sum:
591d4104008265dd9388fdd970c04c98 cm7-galaxys-radio-JPM.zip
* cm7-galaxys-radio-JPY.zip (3.98 MB)
md5sum:
2bfb299a707ad975e7b9a78bb0375c86 cm7-galaxys-radio-JPY.zip
* cm7-galaxys-radio-JQ1.zip (3.99 MB)
md5sum:
9a74dc5814ba8da97b861f0f74592b17 cm7-galaxys-radio-JQ1.zip
* cm7-galaxys-radio-JV1.zip (3.98 MB)
md5sum:
3a055fde84cecfa72851aac3e6a6440c cm7-galaxys-radio-JV1.zip
* cm7-galaxys-radio-KC1.zip (4 MB)
md5sum:
4d7110c4f85bad54e51f6899514c3bbf cm7-galaxys-radio-KC1.zip
Documentation & Info:
this kernel is compatible with CM7 (CM7/Android 2.3.3)
# for the kernel update:
get into CWM Recovery via 3-button combo
# for the corresponding (full with kernel included) cm7_update file:
the system is compiled with the same toolchain like with the kernel but with PIE + SSP turned off (due to upstream/Android/AOSP not compiling with it, yet)
INSTALLATION INSTRUCTIONs:
Installation steps:
* make sure you have auto-rotation enabled with previous kernel
* boot into CWM Recovery
* apply update.zip
* Wipe /cache & Dalvik Cache
* "reboot system"
* give it some time to boot
* check if auto-rotation works - (is it enabled ?) - if not press power button 10+ seconds (ignore power menu popping up)
* after the next boot it should work
Click to expand...
Click to collapse
old / more detailed:
simply get into Recovery (cwm)
via 3-button combo:
0) extract the 7z file & copy the "update-cm-7.0.0-RC0-GalaxyS-KANG-signed.zip" to your sdcard, then turn your mobile phone off
1) vol up button + home (keep pressed)
2) add power button to them
3) as soon as you see the original Samsung splash logo, approx. wait another additional (1s) second
4) release the power button
5) keep vol up + home pressed
-> the Samsung S + cyanogen(mod) splash screen appears
6) keep the 2 buttons pressed
7) now you should be in recovery
8) select "Install .zip from SD card" then browse
congrats
Click to expand...
Click to collapse
System update with platypus kernel included:
complete system update & kernel:
04/03/2011
* update-cm-7-04032011-NIGHTLY-GalaxyS-signed_zram_new.zip (81.61 MB) (CMParts.apk for LED notification included - ready for consumption )
md5sum:
51f951a602dcfadb7b9a284dc0947d2a update-cm-7-04032011-NIGHTLY-GalaxyS-signed_zram_new.zip (outdated, non-working external SD-card access via usb-sharing)
tools & fixes:
[INITSCRIPT] screenstate_scaling - switch CPU freq governor on screen state change by FloHimself
for best results between battery savings & performance replace AWAKE_GOVERNOR="interactive" with AWAKE_GOVERNOR="ondemand"
installation instructions:
0) make changes to the script (e.g. replacing "interactive" with "ondemand") [recommended for better battery runtime]
1) adb push 90screenstate_scaling /sdcard/
2) adb shell
3) su
4) cp /sdcard/90screenstate_scaling /system/etc/init.d/
5) chmod 750 /system/etc/init.d/90screenstate_scaling
6) reboot
result:
- when screen is on ondemand cpufreq governor (99% full interactivity & performance),
- when screen is off powersave cpufreq governor (maximum power savings)
Click to expand...
Click to collapse
* VoltageControl-3.0.1.apk (52.58 KB)
Sources / Repo:
https://github.com/zachariasmaladroit/android_kernel_samsung/
QUESTIONS & ANSWERS:
Q: "what is the different between this kernel and the bilboa1 one?"
A: they share the same base but all the additions mentioned above are included on top of the kernel
Click to expand...
Click to collapse
Q: "Can anyone tell [...] what the difference between just flashing the kernel or the entire system update is? Thanks "
A: the kernel is just the "heart" or "driver" of your phone communicating with your hardware (touchscreen, processor, wifi, etc.)
whereas the entire system is the whole CM7 system with all its apps
Click to expand...
Click to collapse
Q: why do the kernel packages sometimes have the name kang ? are those bilbao1's kernels ?
A: nope, my and his kernel share a common base but mine is very different, I'm also using his fine packaging-script(s) therefore the name (I was too lazy to change it yet )
Click to expand...
Click to collapse
Q: Pourquoi il n'y a pas le ROM de xxyy ? tu offre un noyau (kernel ?) de xxyy !
A:tu peut compiler le système et le noyau manuellement
comme décrit à: http://forum.cyanogenmod.com/topic/15513-all-models-cyanogenmod-7-developer-thread/
le noyau ou kernel que je (et bilboa1) compile sont en majeure partie independent du système (ROM)
c'est pourquoi normalement il n'y a pas un noyau et aussi un ROM le même jour
Click to expand...
Click to collapse
Q: I'm new in OC/OV operations so please could you explain to me how to set it in the best way?
A: start with -50 mV (delta from default value) other values probably are too low
my testing includes:
- Angry Birds Rio (several missions)
- Gun Bros (for some time)
- mp3 playback, (flac playback - optional)
- surfing the web via browser, opening up bit.ly links from cmsgsteam twitter feed
- watching youtube video
- watching video via rockplayer lite or mobo video player
- running benchmarks (Smartbench 2011, quadrant standard, an3dbenchXL, anTutuBench)
- Labyrinth Lite (for gravity sensor), auto-rotation (also for sensor)
when 1 GHz (1,2 or 1,3) is OK - go lower with undervolt value (e.g. -75 mV)
after it gets un-stable - go back to last known stable value
then you can limit max frequency to lower one, e.g. 800 MHz
and repeat testing for that frequency
Click to expand...
Click to collapse
Q: black screen during 1st boot - shortly pressing power button doesn't fix it - only soft keys activated (perhaps screen activated but no output visible - black)
A: keep power button + home + vol up pressed until it reboots; it shows samsung galaxy s logo - hold it for some seconds shortly before the cyanogenmod splash appears (timing !) [same like getting into Recovery]
Wipe /cache & Dalvik Cache again & "reboot system" - now it should work
Q: auto-rotation not working !
A: check that it's enabled in settings or the notification power widget
it it still does not work tilt the phone and wait for some seconds - still not working
press power button 10+ seconds until it reboots (ignore appearing power menu) - that forces the phone to reset state and "hard"-reboot - now it should work
Click to expand...
Click to collapse
Changes:
* initial kernel with basic changes & patches against upstream CM7
* pulled the kernel only (cwm update-file available - if you want to try it PM: I can't put the link here if in most cases it won't boot up / is stuck at boot splash for me)
* kernel up again ! (fixed & updated update-script)
* 06/09/2011 new kernel is up ! this one shouldn't drink so much battery juice anymore (switched from interactive to ondemand & powersave governor)
* 03/29 Voodoo Sound V7, several battery drains removed; optional kernel with ondemand governor while screen is on; smaller memory footprint - preemptive RCU; working CIFS & TUN kernel modules (needs testing) ...
* 04/02 added "Features" section
* 04/13 added "Antlion" kernel release
Nice , after using this can I just flash the cm7 updates without problems? and will this stay?
yes, flashing cm7 updates should be no problem
the cm7 updates include an own zImage + kernel modules so the kernel would be overwritten (== won't stay)
edit:
using this as continuation of the 1st post - should have reserved 2-3 posts XD
CHANGELOG:
(incremental updates adding new features)
The facts: (additional features "additions" are added in a cumulative fashion)
* security: seems PIE + SSP didn't work - disabled for now
* update to jhash3 lookup
* deadline as option, BFQ as option and CFQ (as default, with enhanced fsync performance for small files)
* vmscan fix to improve responsiveness under high memory pressure (lots of apps, etc. running) & lots of dirty pages
* Project Voodoo Sound + Voodoo Color - the way songs should sound & Super AMOLED displays should look like !
* SLQB
* TINYRCU
* more encryption ciphers supported (blowfish, camellia, serpent)
* Syncookies (security)
* DEFAULT_MMAP_MIN_ADDR=32768 (security)
* disabled access to DEVKMEM & DEVMEM (security, against rootkits)
* utf8 support
* most of kernel DEBUG stuff disabled (less overhead, more interactivity & speed, security, battery runtime)
Click to expand...
Click to collapse
[additions since 03/06/2011]
* based on bilboa1's git repo (voodoo included) - thanks !
* security: seems PIE + SSP didn't work - disabled for now
* CFQ back again as default i/o scheduler
* fixed some locks & overflows with i/o operations, GUI should be more smooth under write & heavy memory use conditions, more stability
* Project Voodoo Sound & Color
* CPU scheduler branch prediction optimizations (unlikely, likely) (speed, efficiency)
* interactive cpufreq governor as default - should scale faster & save battery juice under load
* small memory savings: remove 8 bytes of padding from block_device
* faster deactivation & reclaim of invalidated pages - (probably) memory savings
* OOM (out of memory killer) optimizations (should cleverly keep your phone running even when memory is filling up)
* optimize cacheflushs for user apps - should speed up especially emulators
* kernel compiled with optimized CFLAGS
Click to expand...
Click to collapse
[additions since 03/09/2011]
* more vmscan fixes (better interactivity & fixes against locks in the system)
* included parts of Con Kolivas' ck-patchset (mm-lru_cache_add_lru_tail)
* edit: seems like CFQ is still the default i/o scheduler in this one
* lots of writeback updates & fixes (less hangs & waiting during i/o operations)
* more fixes for cfs (should speed up operations on SSD-based disks)
* [upstream] wifi sleep fixed, noisy output of cypress touchpad disabled
* included cpufreq changer script by FloHimself: screen off == powersave governor; screen on == ondemand governor
* quadrant score: around 1400 (1st run) [for those quadrant fanatics ]
* kernel compiled with highly optimized CFLAGS, switched toolchain to CodeSourcery 2010.09
* FM radio disabled (since it wouldn't work & compile)
Click to expand...
Click to collapse
[additions since 03/09/2011]
* simple i/o scheduler is default now
* [upstream]: fix to be able to set cpufreq governor and/or cpu frequency under "CyanogenMod settings -> Performance -> CPU settings"
only in combination with latest system-update from today (thread & links to system-update)
* reverted back to less aggressive CFLAGS (fwhole-program and combine removed) - they now should be equal to those of laststufo's SO Kernel; if you're having wifi non-working or other stability-related problems try this kernel
* support for CONFIG_IKCONFIG=y & CONFIG_IKCONFIG_PROC=y for your convenience
Click to expand...
Click to collapse
[additions since 03/13/2011]
* fixed and re-enabled FM radio (compiles & should work now with newer toolchain, better optimizations)
* new recovery (until now all previous kernels included the older recovery - sorry !)
* added CONFIG_NETFILTER_XT_MATCH_MULTIPORT & CONFIG_IP_ADVANCED_ROUTER [thanks for bilbao1's !]
* more Voodoo Sound improvements committed by atinm; thanks to atinm & supercurio ! - sound never has been better [reverted]
* Nexus S style WLAN sleep policy kernel panic fix [reverted, seems unable to acquire IP]
Click to expand...
Click to collapse
[additions since 03/15/2011] (specifically: CM7_SGS_platypus-kernel_20110315_17)
* Voodoo Sound V4 & Voodoo Color V2 port from Nexus S (directly from Supercurio)
* upstream sound related improvements from Supercurio
* switched back to SLUB slab allocator
* switched back to preemptible Tree RCU
* included: improved screen-triggered script (cpu scheduler improvements: faster GUI, less battery consumption)
* included: additional script: better general (WIFI) internet speed and 3G speedup; less battery consumptino
* merged upstream kernel changes from teamhacksung & switched to teamhacksung kernel source as base
* included: additional new battery saving techniques to keep cpu activity state low & some fixes more speed (less hangs)
Click to expand...
Click to collapse
[additions since 03/15/2011] (specifically: CM7_SGS_platypus-kernel_20110315_23)
* reverted back to last good known (with gamma working) Vooodoo Color V2 [no improvement , maybe a problem with Voodoo Control App ]
* added "Stochastic Fair Blue (SFB) network scheduler" (not enabled yet in config)
* fix potential memory corruption in buddy allocator of page allocator
* better down-scaling on ondemand cpufreq governor
* fixed some potential lags / hangs / looping
* fixed a security hole in tipc
* fixed a potential deadlock in radix-tree (ported to Android 2.6.35.7)
* scheduler improvement for load balancing
* fix an array overflow in CFQ in workload slice calculation
Click to expand...
Click to collapse
[additions since 03/16/2011]
* reworked the source repo
* raised the min_sample_rate of ondemand cpufreq governor to 9500 (old: 10000)
* some ext4 fixes & improvements (for more efficiency, less cpu consumption, etc.)
* switched back to Voodoo Color V2 from Nexus S (gamma still not working)
* added "Stochastic Fair Blue (SFB) network scheduler" (enabled as default network scheduler)
* add 2 patches of Nick Piggin's Inode integrity patches
* fixes for CFS & NO_HZ (getting out of idle, lower load)
* fix: add missing NULL check to the bluetooth driver
* fix a NULL dereference in page mapping
* switched back to SLQB and TINYRCU
Click to expand...
Click to collapse
[additions since 03/17/2011]
* Voodoo Sound V5 version bump
* quickfix for Voodoo Sound V5 to work with Samsung Galaxy phones
* bugfix for CFS: drop load weight manipulation for RT tasks
* [improved battery runtime] delay going tickless when CPU is loaded: improve load estimation & increase the time spent in deep C-states, e.g. power savings during MP3 playback (~20mA savings on OMAP4/Blaze) [would work best with 128 Hz kernel - breaks Framebuffer & CWM recovery - so left at 256 Hz]
* CFQ: fix preempt workload
* fix a potential oops in fs/direct-io.c
* revert back to Preempt TREE_RCU (from TINY_RCU), better interactivity
Click to expand...
Click to collapse
[additions since 03/18/2011]
* (testing) wifi scanning raised to 180 seconds (inspired by Galaxy Spica CM)
* (testing) UTMS HSPA & GPRS performance tweaks
* (testing) ro.sf.lcd_density=200 [dunno if it has any effect]
* Voodoo Color V2, gamma working again (thanks to bilboa1 - took his patch)
* Voodoo Sound V5 fix from Supercurio: "Voodoo sound: apply speaker tuning control only when active path is speaker, fix reversed is_path(SPEAKER) logic"
Click to expand...
Click to collapse
[additions since 03/20/2011]
* [upstream] FFC (front facing camera) should be working now
* added: Darkyy's "Memory Tweak" script (added settings to existing script), this should make system overall more responsive
* [in system update]: tweaked GPRS and HSPA settings
* [in system update]: wlan scanning raised to 180 seconds (should save battery runtime even more)
* speed: more aggressive CFLAGS due to bugfixing from CodeSourcery - so these can be enabled; (theoretically) better code quality, efficiency, improved battery runtime, more responsive system, etc. etc.
* [in system update]: ro.sf.lcd_density=182 - higher resolution & better overview over your screen (e.g. more content in browsing the web, etc.)
Click to expand...
Click to collapse
[additions since 03/21/2011]
* [upstream] fixes to get the FFC (front facing camera) working now (sort of), picture taking freezes the app; back camera works fine
* sched: CFS low-latency features by Mathieu Desnoyers [significant lower latency, lag in UI]
* bump Voodoo Sound to V6
* set kernel Hz (HIGH_RES_TIMER) to 1000 [smoother GUI]
* [security] (inspired by FuguMod thanks !)
-use -fstack-protector
- basic stack protector with a constant canary value initialized at boot time
- randomize the location of the heap (brk)
- add address randomization to mmap()
* [reliability,multi-tasking] removed Darkyy's ram tweak script
* [reliability, performance, fixes] no more upside down screen (bye bye ! ), working CWM recovery; switched from insane optimization flags base to stable & experimental -
* more stability and still more speed (up to 15% and higher benchmark score in productivity with Smartbench 2011)
- Productivity Index 613 to almost 1000
- Games Index 1784 to almost 2000
* added DNDEBUG flag
* [security & performance; network]
- advanced syncookie settings;
- protection against broadcast pings and smurf attacks
- disable redirects for IP source routing
- only allowing secure redirects
- disable warnings for invalid responses to broadcast frames
- raise the number of half-open connections; protection against DoS (syn-flood) attacks
- increase the number of outstanding syn requests allowed
- enable window scaling
- log and drop "martian" packets
- enable reverse path-filtering - protection against IP-Spoofing
- disable IP dynaddr & ECN
* and some other tweaks to improve network (data) throughput
Click to expand...
Click to collapse
[additions since 03/22/2011]
* little less aggressive optimization flags
* kernel timer at 128 Hz; USER_HZ 150 Hz (smoother apps); HIGH_RES_TIMER 300 Hz (better interactivity overall but less battery drain [ideally])
* when screen is on: switched from ondemand -> conservative it should gradually scale up the CPU (100 MHz -> 1000 MHz in several steps; staying at lowest possible); less battery usage when actually using the phone while screen on - probably needs some tuning to faster scale down ...
* crashing/rebooting browser: probably a BUG in webkit (NOT the kernel) should be fixed, if it's still crashing for you: nandroid backup --> factory reset/wipe
* reverted back to last known well working optimization flags (+ fstack-protector)
Click to expand...
Click to collapse
[additions since 03/24/2011]
* reverted back to last known well working optimization flags (+ fstack-protector)
* Timers: HIGH_RES at 300 Hz; default timer at 128 Hz (if applicable); USER_HZ at 150
* OC/UV thanks to morfic, TheEscapist & bilboa1 [use Xan's VoltageControl app ] - also on the Market]
* initial BLN support (default: turned off), not tested by myself
* stability tested until 1 GHz (default max frequency, with laststufo's voltage values) with UV values
* stability for 1.2 GHz needs testing & probably some more juice (-25 is too much eventually it needs 0 or even some more)
* [upstream] Google WIFI fix to let the CPU sleep more during non-usage of WIFI
* added smartass governor (needs tweaking, very laggy GUI, bad benchmark results at the moment)
Click to expand...
Click to collapse
[additions since 03/25/2011]
* [upstream] potential fix for the mic problem
* [no-BLN release] removed BLN - test battery runtime please
Click to expand...
Click to collapse
[additions since 03/29/2011]
- call_ring.delay lowered to 1000 ms (1 second delay until the phone rings)
- PREEMPTIVE TREE_RCU & smaller RCU_FANOUT value (smaller memory footprint, less overhead, more speed) = super-smooth system
- pm sleep_mode saves registers (mode 2), better power savings with UV (?)
- Wii Remote support
- FM radio config changes, might work (tested, does NOT work)
- several improvements in scripts less cpu ticks, less cpu looping & delayed writeback - potential better battery runtime
- Voodoo Sound v7
- conservative governor fixes: high battery saving efficiency: up_threshold 98, down_threshold 95 (uncomment in script if needed/wanted)
- working kernel modules: ansi_cprng, bcm4329 (WIFI), cifs, scsi_wait_scan, tun
- CONFIG_IP_ADVANCED_ROUTER
- other things I might have forgotten
- ondemand_V2 & V4 kernels: fix potential higher battery drain
-
Click to expand...
Click to collapse
[additions since 04/03/2011]
* LED notification (by bilboa1) (short howto and FAQ)
* removing of the FPS limit (by bilboa1)
* DockSound support
* adjustments to the haptic feedback (by bilboa1)
* higher battery charging temperature [experimental, upstream]
* zram (successor of ramzswap / compcache - swapfile in RAM) [option]
* switched to lzma compression for the kernel image
* enabled remaining block ciphers, digests, crypt block and hash modes
* enabled CONFIG_CRYPTO_CRYPTD and CONFIG_AIO for better performance
* added config bits for IPSEC support (partial, probably not complete yet)
* re-enabled some other config options from Samsung Froyo (e.g. CONFIG_ANDROID_PMEM)
* TREE_PREEMPT_RCU
Click to expand...
Click to collapse
[additions since 04/06/2011]
* hung task timeout commented out (in my script)
* limits for System V IPC semaphores, max number of system-wide threads running commented out (in my script)
* limit for maximum number of system-wide System V IPC message queue identifiers commented out (in my script)
* optimization for sqlite database files (potential speedup of system and apps using sqlite)
* zram disabled (for now) - it breaks the browser (reboot) and other stuff [still available as option]
* optimized conservative & ondemand governors - conservative is recommended
* rewrote init-scripts to minimize delays & lags during switching screen on-off - less lags & delays
* [upstream] fixed BUG with ARM and delays during cpufreq switching
* [testing] tweaked readahead & write values for faster system & less delays & lags [might need some tweaking: write: 4.3 vs. 7.3; read: 11.7 vs. 14.2]
* real 100 Hz kernel with 200 Hz userland Hz ticks for max battery savings & still responsive GUI
* for best effects do the steps in the following post since you've booted your phone: http://forum.xda-developers.com/showpost.php?p=12702054&postcount=699
Click to expand...
Click to collapse
[additions since 04/08/2011] (release name: Rocketeer)
* disable FM RDS radio for now - potential battery drain & does not work [less battery drain]
* bump USER_HZ to 150 and HZ to 250
* disable SWAP and zram - zram breaks stuff and enabled SWAP-support might be a battery drain, also disable the xvmalloc [less battery drain]
* enable KSM and uaccess with memcpy
* disable config_embedded
* disable latencytop support (we don't need it - anymore)
* fixed 2 compile errors in bcm4329: arrow subscript out of bounds & below bounds (gcc still mocking !)
* 1:1 CFLAGS from laststufo (Ultimate SO-Kernel flags) and replacement of soft pipelining with module scheduling (internal compiler error)
* kernel compiled with Thumb instruction set - more efficient (performance) & battery savings
* disable VGA console (broken - compile errors) & disable FRAMEBUFFER CONSOLE (broke lock-screen and stuff)
* practically eliminated all lags - (potentially) lagfree
* tweaks to CFS cpu scheduler
* tweaks to conservative governor script
* improved read & write values (write: 4.3 vs. 7.1; read: 11.7 vs. 16.9)
Click to expand...
Click to collapse
[additions since 04/09/2011] (release name: Flubber, WIP - work in process release)
* currently rebased to bilboa1's kernel source
* allow using LED while screen on [thanks to bilboa1 !]
* working external SD card access
* working auto-rotation and sensors
Click to expand...
Click to collapse
[additions/changes since 04/13/2011] (release name: Antlion; Stable - )
* working external SD card access & usb tethering
* working auto-rotation and sensors (check it's on; if not working: 1st boot: power button press 10+ seconds -> forced reboot/hard reset)
* CONFIG_HZ @250 USER_HZ @150 (like "rocketeer")
* (almost) feature-complete (like "rocketeer")
* added ported new bcm4329 (WIFI) drivers from intersectRaven's 2.6.37.6 kernel - kudos to him (supposedly less battery consumption)
* better reception quality (less noise) with new WIFI drivers
Click to expand...
Click to collapse
[additions since 04/22/2011] (release name: "Twoface" ; (Semi-Testing/Stable)
* more responsive + battery saving at same time
* tweaked conservative governor with aggressive powersaving values ("twoface": half ondemand behavior, half conservative behavior)
* (probably) somewhat better battery usage [due to Samsung GB partial merge]
* 4.4.1 toolchain: more reliable, still fast & stable code (compared to 4.5.1)
* raised battery polling intervall from 1 second (!) to 30 seconds [less wakeups, better battery runtime]
* reverted max screen-refresh back to 60 FPS (if you know how to lower it properly please don't hesitate to tell how) [power savings, better for GPU due to non-cropped commands to it; real black colors, no grey touch - more battery savings]
* potential fix for disappearing data connection on GSM (UMTS ?) phones [longer period between blackouts]
* added sampling factor to ondemand governor should gain more performance [haven't tested it]
* more aggressive CFS (cpu) scheduler timings for less lags
* timer frequency @400 Hz, USER_HZ @200 Hz for more smoother operating system
* untick 600 + 200 MHz in Xan's VoltageControl for better performance and less lags
Click to expand...
Click to collapse
Changelog:
[additions since 04/25/2011] (release name: "What's its name ?" ; (Semi-Testing/Stable)
* re-worked adding of cm7-gb sammy source merge - working keys on cappy again [captivate related only] - thanks to BL4zD for troubleshooting (sort of git-bisecting) this with me
* switched back to hardfloat (instead of soft + hardware mixed floating-point) [up to 40% more performance in certain use-cases ! (info)]
* switched back to toolchain 2010.09; 2010q1 and 2009q3 causes instabilities and other "situations" - more up-to-date & fixed, thus more stable code and less troublesome code [need feedback on speed & stability]
* reverted: "v7_coherent_user_range: only clear range specified for userland" (potentially led to instability and fubar'ed lots of other stuff), emulators now may run slower compared to earlier kernel releases of platypus
* switched back from sio to cfq - less lags & no adverse effects
* switch from lzma to lzo - significantly sped up bootup (30-70% faster)
* reduced CONFIG_PVR_ACTIVE_POWER_LATENCY_MS - faster graphics (?)
* fugumod security tweaks (thanks to nikademus for his in-depth knowledge in that area !)
* don't optimize for size - optimize for speed (less lags, more performance)
* newer interactive governor from Google
* added: Kineto GAN support
* untick 600 + 200 MHz in Xan's VoltageControl for better performance and less lags
Click to expand...
Click to collapse
additional optional features:
* bigger Dalvik VM heapsize (64 MB - like on Samsung's Gingerbread)
adb shell setprop dalvik.vm.heapsize 64m
* semi-fix for GSM/UTMS data signal outage (longer intervals):
adb shell setprop ro.ril.enable.dtm 1
[additions since 04/27/2011] (release name: "Alice" ; (Semi-Testing/Stable)
* working capacitive keys again (reverted one upstream commit for now) [Captivate only]
* Voodoo Sound v8
* SavagedZen cpufreq governor [option; needs more tweaking and customizing for the Samsung Galaxy Family]
* further changes & tweaks to the conservative governor [more aggressive battery saving, give it time to ramp up - it clocks down pretty fast]
* untick 600 + 200 MHz in Xan's VoltageControl for better performance and less lags
Click to expand...
Click to collapse
* ... more to come ... (still needs porting & testing, but not now - busy studying)
Frequency Voltage & Good UV Values according to laststufo: said:
Frequency voltages Table :
1600000, 1500
1500000, 1500
1400000, 1500
1300000, 1500
1200000, 1300
1120000, 1300
1000000, 1275
900000, 1275
800000, 1200
600000, 1175
400000, 1050
200000, 950
100000, 950
Good UV Values :
1600000 -150
1500000 -150
1400000 -175
1300000 -175
1200000 -25
1120000 -25
1000000 -50
900000 -50
800000 -50
600000 -50
400000 -75
200000 -75
100000 -75 -125
Click to expand...
Click to collapse
What about modules?
How can I flash this kernel?
codeworkx said:
What about modules?
Click to expand...
Click to collapse
yeah, right
sorry, I forgot the instructions how to push & install them
will update
Thanks for this, will test it. Will Super Amoled hardware control be added?
sideeffects said:
Thanks for this, will test it. Will Super Amoled hardware control be added?
Click to expand...
Click to collapse
yeah, sure
now I need to get it booting savely booting first with cwm
something's wrong here: kernel only updates via cwm lead to a hanging boot logo and it won't progress
I saw this same issue when using the new initial (20110304) ones from codeworkx:
it would get to the Galaxy S, cyanogen(mod) bootscreen; cwm worked but it wouldn't progress in the boot process
applying after the initial from february 25th worked fine
*investigating*
zacharias.maladroit said:
yeah, sure
now I need to get it booting savely booting first with cwm
something's wrong here: kernel only updates via cwm lead to a hanging boot logo and it won't progress
I saw this same issue when using the new initial (20110304) ones from codeworkx:
it would get to the Galaxy S, cyanogen(mod) bootscreen; cwm worked but it wouldn't progress in the boot process
applying after the initial from february 25th worked fine
*investigating*
Click to expand...
Click to collapse
Is adb running at this point? logcat?
codeworkx said:
Is adb running at this point? logcat?
Click to expand...
Click to collapse
yeah,
there's no su file
/system
looks empty
and it's exactly after all the init steps & saying "cannot find '/system/...' disabling '...'"
<6>[ 3.330798] keychord: using input dev aries-keypad for fevent
<6>[ 3.331244] init: command 'loglevel' r=0
<6>[ 3.331369] init: command 'export' r=0
<6>[ 3.331487] init: command 'export' r=0
<6>[ 3.331673] init: command 'export' r=0
<6>[ 3.331810] init: command 'export' r=0
<6>[ 3.331928] init: command 'export' r=0
<6>[ 3.332114] init: command 'export' r=0
<6>[ 3.332231] init: command 'export' r=0
<6>[ 3.332348] init: command 'export' r=0
<6>[ 3.332533] init: command 'export' r=0
<6>[ 3.332650] init: command 'export' r=0
<6>[ 3.332767] init: command 'export' r=0
<6>[ 3.332952] init: command 'export' r=0
<6>[ 3.333070] init: command 'export' r=0
<6>[ 3.333219] init: command 'symlink' r=0
<6>[ 3.333421] init: command 'symlink' r=0
<6>[ 3.333557] init: command 'mkdir' r=0
<6>[ 3.333688] init: command 'mkdir' r=0
<6>[ 3.333886] init: command 'mkdir' r=0
<6>[ 3.334009] init: command 'mkdir' r=0
<6>[ 3.334299] init: command 'mount' r=0
<6>[ 3.334547] init: command 'mkdir' r=0
<6>[ 3.334673] init: command 'mkdir' r=0
<6>[ 3.334803] init: command 'mkdir' r=0
<6>[ 3.334999] init: command 'mkdir' r=0
<6>[ 3.335127] init: command 'mkdir' r=0
<6>[ 3.335255] init: command 'mkdir' r=0
<6>[ 3.335453] init: command 'mkdir' r=0
<6>[ 3.335591] init: command 'mkdir' r=0
<6>[ 3.335770] init: command 'mkdir' r=0
<6>[ 3.335969] init: command 'mkdir' r=0
<6>[ 3.336156] init: command 'mount' r=0
<6>[ 3.336289] init: command 'mkdir' r=0
<6>[ 3.336533] init: command 'mount' r=0
<6>[ 3.336665] init: command 'mkdir' r=0
<6>[ 3.336849] init: command 'write' r=0
<6>[ 3.337022] init: command 'write' r=0
<6>[ 3.337250] init: command 'write' r=0
<6>[ 3.337391] init: command 'write' r=0
<6>[ 3.337529] init: command 'write' r=0
<6>[ 3.337736] init: command 'write' r=0
<6>[ 3.337872] init: command 'write' r=0
<6>[ 3.338000] init: command 'mkdir' r=0
<6>[ 3.338305] init: command 'mount' r=0
<6>[ 3.338434] init: command 'chown' r=0
<6>[ 3.338558] init: command 'chown' r=0
<6>[ 3.338749] init: command 'chmod' r=0
<6>[ 3.338890] init: command 'write' r=-22
<6>[ 3.339065] init: command 'mkdir' r=0
<6>[ 3.339260] init: command 'chown' r=0
<6>[ 3.339383] init: command 'chmod' r=0
<6>[ 3.339511] init: command 'write' r=0
<6>[ 3.339763] init: command 'mkdir' r=0
<6>[ 3.339891] init: command 'chown' r=0
<6>[ 3.340015] init: command 'chmod' r=0
<6>[ 3.340216] init: command 'write' r=0
<6>[ 3.340339] init: processing action 0x268d8 (fs)
<6>[ 3.340525] init: mtd partition 0, boot
<6>[ 3.340713] init: mtd partition 1, recovery
<6>[ 3.340834] init: mtd partition 2, system
<6>[ 3.340953] init: mtd partition 3, cache
<6>[ 3.341140] init: mtd partition 4, efs
<6>[ 3.341255] init: mtd partition 5, radio
<6>[ 3.341373] init: mtd partition 6, datadata
<6>[ 3.341561] init: mtd partition 7, reservoir
<6>[ 3.341747] yaffs: dev is 32505858 name is "mtdblock2" rw
<6>[ 3.341939] yaffs: passed flags ""
<7>[ 3.342050] yaffs: Attempting MTD mount of 31.2,"mtdblock2"
<7>[ 3.579527] yaffs: restored from checkpoint
<7>[ 3.579962] yaffs_read_super: isCheckpointed 1
<6>[ 3.580111] init: command 'mount' r=0
<6>[ 3.580239] init: processing action 0x29ea8 (fs)
<6>[ 3.580500] init: command 'mount' r=-1
<6>[ 3.580657] yaffs: dev is 32505859 name is "mtdblock3" rw
<6>[ 3.580849] yaffs: passed flags ""
<7>[ 3.580958] yaffs: Attempting MTD mount of 31.3,"mtdblock3"
<7>[ 3.587542] yaffs: restored from checkpoint
<7>[ 3.587803] yaffs_read_super: isCheckpointed 1
<6>[ 3.587938] init: command 'mount' r=0
<6>[ 7.765874] EXT4-fs (mmcblk0p2): recovery complete
<6>[ 7.772288] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode
. Opts: noauto_da_alloc
<6>[ 7.775582] init: command 'mount' r=0
<6>[ 7.776962] yaffs: dev is 32505862 name is "mtdblock6" rw
<6>[ 7.778576] yaffs: passed flags ""
<7>[ 7.779404] yaffs: Attempting MTD mount of 31.6,"mtdblock6"
<7>[ 7.795031] yaffs: restored from checkpoint
<7>[ 7.797258] yaffs_read_super: isCheckpointed 1
<6>[ 7.798244] init: command 'mount' r=0
<6>[ 7.799351] init: command 'mkdir' r=0
<6>[ 7.801289] yaffs: dev is 32505860 name is "mtdblock4" rw
<6>[ 7.802162] yaffs: passed flags ""
<7>[ 7.803615] yaffs: Attempting MTD mount of 31.4,"mtdblock4"
<7>[ 8.538108] yaffs_read_super: isCheckpointed 0
<6>[ 8.538245] init: command 'mount' r=0
<6>[ 8.540336] init: command 'chown' r=0
<6>[ 8.547266] init: command 'chmod' r=0
<6>[ 8.548380] init: command 'chmod' r=0
<6>[ 8.549498] init: command 'chown' r=0
<6>[ 8.549626] init: command 'chown' r=-2
<6>[ 8.549756] init: command 'chown' r=0
<6>[ 8.549946] init: command 'chmod' r=0
<6>[ 8.550147] init: command 'chmod' r=0
<6>[ 8.550295] init: command 'chown' r=0
<6>[ 8.550528] init: command 'chown' r=0
<6>[ 8.550746] init: command 'chown' r=0
<6>[ 8.550867] init: processing action 0x2a1a0 (post-fs)
<6>[ 8.551118] init: command 'chown' r=0
<6>[ 8.551248] init: command 'chmod' r=0
<6>[ 8.553398] init: command 'chown' r=0
<6>[ 8.554453] init: command 'chmod' r=0
<6>[ 8.559286] init: command 'mkdir' r=-17
<6>[ 8.559427] init: command 'chown' r=0
<6>[ 8.559625] init: command 'chmod' r=0
<6>[ 8.559767] init: command 'copy' r=-1
<6>[ 8.560656] init: command 'chown' r=-2
<6>[ 8.560855] init: command 'chmod' r=-2
<6>[ 8.560982] init: command 'copy' r=-1
<6>[ 8.561110] init: command 'chown' r=-2
<6>[ 8.561302] init: command 'chmod' r=-2
<6>[ 8.561436] init: command 'write' r=-2
<6>[ 8.563581] init: command 'chown' r=0
<6>[ 8.564636] init: command 'chmod' r=0
<6>[ 8.567017] init: command 'chown' r=0
<6>[ 8.568004] init: command 'chmod' r=0
<6>[ 8.568218] init: command 'chown' r=0
<6>[ 8.568352] init: command 'chmod' r=0
<6>[ 8.568482] init: command 'chown' r=0
<6>[ 8.568609] init: command 'chmod' r=0
<6>[ 8.568806] init: command 'chown' r=0
<6>[ 8.568934] init: command 'chmod' r=0
<6>[ 8.569078] init: command 'mkdir' r=-17
<6>[ 8.570063] init: command 'mkdir' r=-17
<6>[ 8.570227] init: command 'mkdir' r=-17
<6>[ 8.570369] init: command 'mkdir' r=-17
<6>[ 8.570571] init: command 'mkdir' r=-17
<6>[ 8.570705] init: command 'mkdir' r=-17
<6>[ 8.571379] init: command 'mkdir' r=-17
<6>[ 8.571586] init: command 'mkdir' r=-17
<6>[ 8.571727] init: command 'chmod' r=0
<6>[ 8.572390] init: command 'chmod' r=-2
<6>[ 8.582464] init: command 'mkdir' r=-17
<6>[ 8.583094] init: command 'mkdir' r=-17
<6>[ 8.583245] init: command 'symlink' r=-1
<6>[ 8.593314] init: command 'mkdir' r=-17
<6>[ 8.604067] init: command 'mkdir' r=-17
<6>[ 8.604241] init: command 'mkdir' r=-17
<6>[ 8.604489] init: command 'mkdir' r=-17
<6>[ 8.604655] init: command 'chown' r=0
<6>[ 8.604810] init: command 'chmod' r=0
<6>[ 8.605054] init: command 'mkdir' r=-17
<6>[ 8.606157] init: command 'chown' r=0
<6>[ 8.607176] init: command 'chmod' r=0
<6>[ 8.607426] init: command 'mkdir' r=-17
<6>[ 8.607581] init: command 'mkdir' r=-17
<6>[ 8.607738] init: command 'chown' r=0
<6>[ 8.607976] init: command 'chmod' r=0
<6>[ 8.609059] init: command 'chown' r=0
<6>[ 8.610095] init: command 'chmod' r=0
<6>[ 8.610329] init: command 'chown' r=0
<6>[ 8.610473] init: command 'chmod' r=0
<6>[ 8.610615] init: processing action 0x2c298 (property_service_init)
<6>[ 8.619698] init: Created socket '/dev/socket/property_service' with mode
'666', user '0', group '0'
<6>[ 8.619975] init: command 'property_service_init' r=0
<6>[ 8.620128] init: processing action 0x2c2e0 (signal_init)
<6>[ 8.620397] init: command 'signal_init' r=0
<6>[ 8.620540] init: processing action 0x2c328 (check_startup)
<6>[ 8.620689] init: command 'check_startup' r=0
<6>[ 8.620937] init: processing action 0x26930 (boot)
<6>[ 8.621508] init: command 'ifup' r=0
<6>[ 8.621794] init: command 'hostname' r=0
<6>[ 8.621968] init: command 'domainname' r=0
<6>[ 8.622114] init: command 'setrlimit' r=0
<6>[ 8.622358] init: command 'setprop' r=0
<6>[ 8.622513] init: command 'setprop' r=0
<6>[ 8.622664] init: command 'setprop' r=0
<6>[ 8.622899] init: command 'setprop' r=0
<6>[ 8.623053] init: command 'setprop' r=0
<6>[ 8.623205] init: command 'setprop' r=0
<6>[ 8.623441] init: command 'setprop' r=0
<6>[ 8.623593] init: command 'setprop' r=0
<6>[ 8.623745] init: command 'setprop' r=0
<6>[ 8.623981] init: command 'setprop' r=0
<6>[ 8.624132] init: command 'setprop' r=0
<6>[ 8.624283] init: command 'setprop' r=0
<6>[ 8.624519] init: command 'setprop' r=0
<6>[ 8.624672] init: command 'setprop' r=0
<6>[ 8.624851] init: command 'setprop' r=0
<6>[ 8.625089] init: command 'setprop' r=0
<6>[ 8.625242] init: command 'setprop' r=0
<6>[ 8.625394] init: command 'setprop' r=0
<6>[ 8.625714] init: command 'write' r=0
<6>[ 8.625901] init: command 'write' r=0
<6>[ 8.626069] init: command 'write' r=0
<6>[ 8.626332] init: command 'write' r=0
<6>[ 8.626515] init: command 'write' r=0
<6>[ 8.626681] init: command 'write' r=0
<6>[ 8.626928] init: command 'write' r=0
<6>[ 8.627079] init: command 'chown' r=-2
<6>[ 8.627226] init: command 'chown' r=-2
<6>[ 8.627454] init: command 'chown' r=-2
<6>[ 8.627600] init: command 'chown' r=-2
<6>[ 8.627746] init: command 'chown' r=-2
<6>[ 8.627990] init: command 'chown' r=0
<6>[ 8.628154] init: command 'chown' r=0
<6>[ 8.628307] init: command 'chown' r=0
<6>[ 8.628544] init: command 'chmod' r=0
<6>[ 8.633450] init: command 'chmod' r=0
<6>[ 8.633601] init: command 'chmod' r=0
<6>[ 8.633885] init: command 'chown' r=0
<6>[ 8.634044] init: command 'chown' r=-2
<6>[ 8.634192] init: command 'chown' r=-2
<6>[ 8.634340] init: command 'chown' r=-2
<6>[ 8.634571] init: command 'chown' r=-2
<6>[ 8.634717] init: command 'chown' r=-2
<6>[ 8.634865] init: command 'chown' r=-2
<6>[ 8.635097] init: command 'chown' r=-2
<6>[ 8.635246] init: command 'chown' r=-2
<6>[ 8.635394] init: command 'chown' r=-2
<6>[ 8.635625] init: command 'chown' r=-2
<6>[ 8.635773] init: command 'chown' r=-2
<6>[ 8.635921] init: command 'chown' r=-2
<6>[ 8.636153] init: command 'chown' r=-2
<6>[ 8.636300] init: command 'chown' r=-2
<6>[ 8.636456] init: command 'chown' r=-2
<6>[ 8.636770] init: command 'chown' r=-2
<6>[ 8.636944] init: command 'chown' r=0
<6>[ 8.637119] init: command 'chown' r=0
<6>[ 8.637368] init: command 'chown' r=0
<6>[ 8.637523] init: command 'chown' r=0
<6>[ 8.637677] init: command 'chown' r=0
<6>[ 8.637915] init: command 'chown' r=0
<6>[ 8.638079] init: command 'chown' r=0
<6>[ 8.638233] init: command 'chown' r=0
<6>[ 8.638477] init: command 'chown' r=0
<6>[ 8.638647] init: command 'setprop' r=0
<6>[ 8.638826] init: command 'setprop' r=0
<6>[ 8.639088] init: command 'setprop' r=0
<6>[ 8.639264] init: command 'setprop' r=0
<6>[ 8.639442] init: command 'setprop' r=0
<3>[ 8.639689] init: cannot find '/system/vendor/bin/gpsd', disabling 'gpsd'
<3>[ 8.639857] init: cannot find '/system/vendor/bin/pvrsrvinit', disabling '
pvrsrvinit'
<3>[ 8.640120] init: cannot find '/system/bin/servicemanager', disabling 'ser
vicemanager'
<3>[ 8.640410] init: cannot find '/system/bin/vold', disabling 'vold'
<3>[ 8.640572] init: cannot find '/system/bin/netd', disabling 'netd'
<3>[ 8.640815] init: cannot find '/system/bin/debuggerd', disabling 'debugger
d'
<3>[ 8.640982] init: cannot find '/system/bin/rild', disabling 'ril-daemon'
<3>[ 8.641229] init: cannot find '/system/bin/app_process', disabling 'zygote
'
<3>[ 8.641480] init: cannot find '/system/bin/mediaserver', disabling 'media'
<3>[ 8.641644] init: cannot find '/system/bin/dbus-daemon', disabling 'dbus'
<3>[ 8.641893] init: cannot find '/system/bin/installd', disabling 'installd'
<3>[ 8.642059] init: cannot find '/system/bin/keystore', disabling 'keystore'
<6>[ 8.642303] init: command 'class_start' r=0
<6>[ 8.642443] init: processing action 0x29ad8 (boot)
<6>[ 8.642720] init: command 'mount' r=0
<6>[ 8.642895] init: command 'symlink' r=0
<6>[ 8.643053] init: command 'symlink' r=0
<6>[ 8.643295] init: command 'symlink' r=0
<6>[ 8.643447] init: command 'import' r=-1
<6>[ 8.644552] init: command 'exec' r=0
<6>[ 8.644830] init: command 'setprop' r=0
<6>[ 8.644986] init: command 'setprop' r=0
<6>[ 8.645140] init: command 'setprop' r=0
<6>[ 8.645378] init: command 'setprop' r=0
<6>[ 8.645532] init: command 'setprop' r=0
<6>[ 8.645687] init: command 'setprop' r=0
<6>[ 8.645924] init: command 'setprop' r=0
<6>[ 8.646076] init: command 'setprop' r=0
<6>[ 8.646269] init: command 'mkdir' r=-17
<6>[ 8.646525] init: command 'mkdir' r=-17
<6>[ 8.646681] init: command 'setprop' r=0
<6>[ 8.646920] init: command 'chown' r=0
<6>[ 8.647189] init: command 'chmod' r=0
<6>[ 8.647358] init: command 'mkdir' r=-17
<6>[ 8.647536] init: command 'chown' r=0
<6>[ 8.647825] init: command 'chown' r=0
<6>[ 8.648005] init: command 'chmod' r=0
<6>[ 8.648152] init: processing action 0x2c370 (queue_propety_triggers)
<6>[ 8.648439] init: command 'queue_propety_triggers' r=0
<6>[ 8.648591] init: processing action 0x27640 (propertyersist.service.adb.
enable=1)
<5>[ 8.648852] init: starting 'adbd'
<6>[ 8.649191] init: command 'start' r=0
<6>[ 8.649456] init: processing action 0x2c0e0 (property:ro.secure=0)
<3>[ 8.649633] init: service 'console' requires console
<6>[ 8.649858] init: command 'start' r=0
<6>[ 8.651196] enabling adb
<6>[ 8.651575] adb_open
<6>[ 25.804017] fsa9480 7-0025: dev1: 0x4, dev2: 0x0
<6>[ 26.144798] android_usb gadget: high speed config #1: android
~ #
Click to expand...
Click to collapse
enabling adb
adb open
the weird thing is
there doesn't seem to be anything malicious going on in my cwm-script -
I've compared it to your scripts (checksumming is off) & other update scripts - so it's basically the same
this is the same script like for the full update
like I already wrote:
the full update works
I must be missing something fundamentally easy here
any idea ?
have a look at /tmp/recovery.log after applying. all steps will be logged.
Sent from my Desire HD using XDA App
codeworkx said:
have a look at /tmp/recovery.log after applying. all steps will be logged.
Sent from my Desire HD using XDA App
Click to expand...
Click to collapse
thanks again, codeworkx !
/tmp
doesn't exist and also appear in the mount command (grepping for it)
this is really really f** up
~ # ls -l /tmp/
ls -l /tmp/
ls: /tmp/: No such file or directory
~ # mount
mount
rootfs on / type rootfs (rw)
tmpfs on /dev type tmpfs (rw,relatime,mode=755)
devpts on /dev/pts type devpts (rw,relatime,mode=600)
proc on /proc type proc (rw,relatime)
sysfs on /sys type sysfs (rw,relatime)
none on /acct type cgroup (rw,relatime,cpuacct)
tmpfs on /mnt/asec type tmpfs (rw,relatime,mode=755,gid=1000)
tmpfs on /mnt/obb type tmpfs (rw,relatime,mode=755,gid=1000)
none on /dev/cpuctl type cgroup (rw,relatime,cpu)
/dev/block/mtdblock2 on /system type yaffs2 (rw,relatime)
/dev/block/mtdblock3 on /cache type yaffs2 (rw,relatime)
/dev/block/mmcblk0p2 on /data type ext4 (rw,nosuid,nodev,noatime,nodiratime,barr
ier=1,data=ordered,noauto_da_alloc)
/dev/block/mtdblock6 on /datadata type yaffs2 (rw,relatime)
/dev/block/mtdblock4 on /efs type yaffs2 (rw,relatime)
/sys/kernel/debug on /sys/kernel/debug type debugfs (rw,relatime)
~ # mount | grep /tmp
mount | grep /tmp
~ #
Click to expand...
Click to collapse
/system/modules
exists and only the modules are in that (sub)folder XD
ok,
I believe I got it - will try another approach ....
edit:
seems like I've mixed up the update scripts
so yeah, that was the right idea
hopefully tomorrow there will be a working cwm-applicable update
Going to follow this thread to see how it goes.
Godspeed
~drz
derrzredeem said:
Going to follow this thread to see how it goes.
Godspeed
~drz
Click to expand...
Click to collapse
the kernel is up & working now (tested)
what is the different between this kernel and the bilboa1 one?
This kernel include Voodoo color?
So if i flash this kernel on a XWJV1 2.3.2 Stock SGS. will it work? or even worse will it damage it?
ngenhit said:
So if i flash this kernel on a XWJV1 2.3.2 Stock SGS. will it work? or even worse will it damage it?
Click to expand...
Click to collapse
[KERNEL] [CM7 [2.3.3] Voodoo SOUND, TINYRCU, hardened,interactivity,SLQB (more)
The title explain itself.
~drz
Flashed this earlier today and no problems. Now I have voodoo sound again Great stuff! Keep up the good work.
Sent from my Galaxy S using XDA App
I think it would be great to voodoo color Thank so much zacharias

[SOLVED] 4.0.3 AOSP build stuck at google logo. Kernel problem?

Hey guys,
i have a problem when building 4.0.3 from source. When i flash the fresh compiled
OTA package to my device, the device ends in a bootloop stuck at the google logo.
Logcat says:
Code:
I/SystemServer( 238): Power Manager
I/SystemServer( 238): Activity Manager
I/ActivityManager( 238): Memory class: 64
I/SurfaceFlinger( 251): SurfaceFlinger is starting
I/SurfaceFlinger( 251): SurfaceFlinger's main thread ready to run. Initializing graphics H/W...
E/IMGSRV ( 251): :0: PVRSRVBridgeCall: Failed to access device. Function ID:3223086860 (Bad address).
E/IMGSRV ( 251): :0: OpenServices: PVRSRVBridgeCall failed.
E/IMGSRV ( 251): :0: PVRSRVConnect: Unable to open connection.
E/IMGSRV ( 251): :0: OpenPVRServices: Failed to open services connection
E/IMGSRV ( 251): :0: hal_init: Failed to open services (err=-14)
E/IMGSRV ( 251): :0: hal_open: Graphics HAL not initialized
E/FramebufferNativeWindow( 251): couldn't open framebuffer HAL (Not a typewriter)
E/IMGSRV ( 251): :0: hal_open: Graphics HAL not initialized
E/FramebufferNativeWindow( 251): couldn't open gralloc HAL (Not a typewriter)
E/SurfaceFlinger( 251): Display subsystem failed to initialize. check logs. exiting...
I/ServiceManager( 109): service 'sensorservice' died
I/ServiceManager( 109): service 'power' died
I/ServiceManager( 109): service 'entropy' died
D/AndroidRuntime( 259):
D/AndroidRuntime( 259): >>>>>> AndroidRuntime START com.android.internal.os.ZygoteInit <<<<<<
D/AndroidRuntime( 259): CheckJNI is OFF
I don't know whats going wrong. Can it be a kernel problem? I have tried different 4.0.3 kernels from the dev section, but the result is the same.
The device is a GSM device with PRIMEKK15 unlocked bootloader and I9250XXKK6 baseband.
After pulling the latest 4.0.3 sources with repo and setting up the proprietary files i'have compiled the system without errors:
Code:
~/android/4.0.3$ . build/envsetup.sh
~/android/4.0.3$ lunch full_maguro-userdebug
~/android/4.0.3$ make -j4 otapackage
I really don't understand what i am doing wrong ...
Thanks for any suggestions or answers.
i got this problem when I updated my phone using fastboot.
for me, it was an application installed from market. after wipe everything and redo the flash procedure, everything was fine.
don't know if it is the same problem here.
Did you pull in the proprietary files needed for the build?
At least you've got to the boot animation, my ROM fails at the flashing with a status 7 error mentioning the boot.img
PaulW21781 said:
Did you pull in the proprietary files needed for the build?
Click to expand...
Click to collapse
with ./extract-files.sh .correct?
PaulW21781 said:
Did you pull in the proprietary files needed for the build?
Click to expand...
Click to collapse
Yes, the files are pulled from the device ( if you mean the extract_files.sh from the device folder), compilation finishes without errors.
No boot animation, nothing...
Sent from my Galaxy Nexus using XDA App
Now at this point too, bootloops all the time. I think the code is ****ed
Ok, dmesg gave me this:
Code:
<6>[ 5.367248] PVR: Installing MISR with cookie c0833f74
<6>[ 5.367828] PVR: Installing device LISR SGX ISR on IRQ 53 with cookie c79f5700
<6>[ 5.368255] PVR: OSUnMapPhysToLin: unmapping 65535 bytes from c8be0000
<6>[ 5.368469] PVR: SysFinalise: Version string: SGX revision = 1.2.0
<6>[ 5.369171] PVR_K: (FAIL) SGXInit: Incompatible driver DDK revision (785978)/device DDK revision (780209).
<6>[ 5.369537] PVR_K:(Error): PVRSRVFinaliseSystem: Failed PVRSRVDevInitCompatCheck call (device index: 0) [449, drivers/gpu/pvr/pvrsrv.c]
<6>[ 5.370025] PVR_K:(Error): BridgedDispatchKM: Initialisation failed. Driver unusable. [4812, drivers/gpu/pvr/bridged_pvr_bridge.c]
<6>[ 5.552337] max17040 4-0036: online = 1 vcell = 4007500 soc = 77 status = 1 health = 1 temp = 340 charger status = 0
<3>[ 5.643005] init: sys_prop: permission denied uid:1001 name:net.rmnet1.dns1
<3>[ 5.643737] init: sys_prop: permission denied uid:1001 name:net.rmnet1.dns2
<3>[ 5.644287] init: sys_prop: permission denied uid:1001 name:net.rmnet1.gw
<3>[ 5.645263] init: sys_prop: permission denied uid:1001 name:net.rmnet2.dns1
<3>[ 5.645812] init: sys_prop: permission denied uid:1001 name:net.rmnet2.dns2
<3>[ 5.646484] init: sys_prop: permission denied uid:1001 name:net.rmnet2.gw
<6>[ 5.707031] [MODEM_IF] misc_open : umts_boot0
<6>[ 5.707153] omap_hsi omap_hsi.0: HSI clock is now 96000000
<6>[ 5.723510] omap_hsi omap_hsi.0: Entering RX wakeup in 3 wires mode (no CAWAKE)
<6>[ 5.723602] [MODEM_IF] xmm6260_off()
<6>[ 5.723724] [MODEM_IF] xmm6260_on()
<6>[ 5.724456] [MODEM_IF] PA EVENT : reset =0, pa=1
<6>[ 5.724548] [MODEM_IF] umts_ipc0 state changed: OFFLINE
<6>[ 5.835540] [MODEM_IF] PA EVENT : reset =1, pa=0
<6>[ 5.979125] virtio_rpmsg_bus virtio1: creating channel rpmsg-omx addr 0x3c
<6>[ 5.980194] rpmsg_omx rpmsg-omx1: new OMX connection srv channel: 1024 -> 60!
<6>[ 6.087188] PVR_K:(Error): BridgedDispatchKM: Initialisation failed. Driver unusable. [4812, drivers/gpu/pvr/bridged_pvr_bridge.c]
<3>[ 6.094604] init: untracked pid 118 exited
Anyone knows how to fix this issue?
Try reflashing the boot.img created by your build..
Did you also install the binaries from the google http://code.google.com/android/nexus/drivers.html#maguro into your AOSP source before building?
I built my own AOSP rom too, but haven't tried it yet.
also
Cleaning up when adding proprietary binaries
In order to make sure that the newly installed binaries are properly taken into account after being extracted, the existing output of any previous build needs to be deleted with
$ make clobber
Click to expand...
Click to collapse
http://source.android.com/source/building-devices.html
sorry if you did all this - I'm a noob to ASOP building
Did you wipe the device before installing the rom and kernel?
Luxferro said:
Did you also install the binaries from the google http://code.google.com/android/nexus/drivers.html#maguro into your AOSP source before building?
Click to expand...
Click to collapse
Hey man, that was the problem! Thank you very much... I didn't knew that such libraries exist for 4.0.3.
After installing the binaries and recompiling the phone boots up. Thanks again, also to all the people who tried to help me.
m0rph3us said:
Hey man, that was the problem! Thank you very much... I didn't knew that such libraries exist for 4.0.3.
After installing the binaries and recompiling the phone boots up. Thanks again, also to all the people who tried to help me.
Click to expand...
Click to collapse
No problem. Glad I can help
I guess that hopefully means my build would work too if I ever tried it. Was hoping official 4.0.3 OTA would be out by now. I might just have to try my build too.
Sent from my Galaxy Nexus using Tapatalk
I ran the script under /device/samsung/toro/
is that the correct place to run it, or should I be running it somewhere else?
Nevermind, I'm dumb. I read the post and got it now lol
I'm having the same issue, except for the toro (CDMA/LTE) galaxy nexus. Are these steps in the right order?
step 0: make clobber, step 1: run the extract-imgtec-toro.sh and make clobber, step 2: extract-files.sh, step 3: build/envsetup.sh, step 4: make?
jab416171 said:
I'm having the same issue, except for the toro (CDMA/LTE) galaxy nexus. Are these steps in the right order?
step 0: make clobber, step 1: run the extract-imgtec-toro.sh and make clobber, step 2: extract-files.sh, step 3: build/envsetup.sh, step 4: make?
Click to expand...
Click to collapse
you don't need to excessively run make clobber. all it really does is delete the out/ directory.
Here's how I was able to get a fully functional build ($ANDROID_SOURCE is your build dir):
0) make clobber; # just for the initial cleansing
1) cd $ANDROID_SOURCE/device/samsung/toro && ./extract-files.sh
2) run extract-imgtec-toro.sh OUTSIDE of your build directory (in a temporary location)
3) copy the contents of $TEMPDIR/vendor/imgtec/toro/proprietary/* into $ANDROID_SOURCE/vendor/samsung/toro/proprietary/
4) cd $ANDROID_SOURCE; . build/envsetup.sh
5) lunch #pick your desired toro build. Probably full_toro-userdebug
6) make
The reality is that extract-files.sh does everything well, except it doesn't include the gpu drivers (so we copy them manually). The make files that extract-files.sh creates DOES reference the gpu drivers, they're just not extracted by the script.
Messing with extract-imgtec-toro.sh will give you make files that don't reference any of the other binaries. Your image will boot, but won't have much else working.
Good luck!
Thanks for the quick reply. Here's my script, let me know if you see any errors.
The reason I did make clobber after the extract-imgtec-toro was because the documentation on google's site recommended doing that.
export TOP=/home/jab416171/android/dev/aosp
export GNEXTEMP=/home/jab416171/gnexproprietaryfiles
cd $TOP
repo sync
make clobber
adb wait-for-device
cd $TOP/device/samsung/toro && ./extract-files.sh
cd $GNEXTEMP && ./extract-imgtec-toro.sh
cp $GNEXTEMP/vendor/imgtec/toro/proprietary $TOP/vendor/samsung/toro/proprietary/
cd $TOP
source build/envsetup.sh
lunch full_toro-userdebug
make -j5
jab416171 said:
Thanks for the quick reply. Here's my script, let me know if you see any errors.
The reason I did make clobber after the extract-imgtec-toro was because the documentation on google's site recommended doing that.
export TOP=/home/jab416171/android/dev/aosp
export GNEXTEMP=/home/jab416171/gnexproprietaryfiles
cd $TOP
repo sync
make clobber
adb wait-for-device
cd $TOP/device/samsung/toro && ./extract-files.sh
cd $GNEXTEMP && ./extract-imgtec-toro.sh
cp $GNEXTEMP/vendor/imgtec/toro/proprietary $TOP/vendor/samsung/toro/proprietary/
cd $TOP
source build/envsetup.sh
lunch full_toro-userdebug
make -j5
Click to expand...
Click to collapse
I think your cp needs a '/*' after the first proprietary. The object is to copy the contents of one proprietary directory into the proprietary directory of another. Unless I'm mistaken, your cp will copy the proprietary source folder into the proprietary destination folder resulting in a $TOP/vendor/samsung/toro/proprietary/proprietary. Either that or error out because you specified to cp a dir without a -R.
You should certainly run a make clobber after extracting new binaries if you have files from a previous build still lying around. if you've already cleaned it out, then its just redundant (and not hurting anything).
Otherwise it looks good to me! Good luck!
Makes sense on the cp command. I haven't actually run the script yet, and thanks for taking your time to overlook it.
And do I need to run extract-files and extract-imgtec-toro *every time* I want to do a build, or can I just extract them once, and copy them from another location on my drive, or will the files they extract just stay in the repository?
jab416171 said:
Makes sense on the cp command. I haven't actually run the script yet, and thanks for taking your time to overlook it.
And do I need to run extract-files and extract-imgtec-toro *every time* I want to do a build, or can I just extract them once, and copy them from another location on my drive, or will the files they extract just stay in the repository?
Click to expand...
Click to collapse
Just once. I usually just tar up my vendor/samsung/toro directory and keep the tar in a safe location. No more extractions once you have it.

Galaxy Trend GT-S7560M Latin America WiFi on CustomROM

So it seems that the LA version of the GT-S7560M has a different WiFi module than other GT-S7560M editions (or is it just South America?).
I wonder if there is a way to the developers of this device out there know what exactly is the WiFi module in our devices so they can figure out what to include in their builds to make this work.
Personally I have no idea about Android Hacking, so I wouldn't know what to do, but I know my way around the commandline in OS X and Linux and at work I have access to Windows 7 too, so I could feed you with the specs of my device.
I'm currently running StockROM with Sadman's Kernel (3.0.8 [email protected]) ) #5 PREEMPT Tue Mar 11.....
I tried to run CyanogenMod with Sadman's Kernel, but that just won't boot.
So how could we users post what exactly, to help you developers to figure out what is different with our devices, so maybe together we could make our devices work with your ROMs?
Personally I have a Samsung Trend GT-S7560M from Tigo Bolivia.
Thanks
I support
In america central not working wifi and tried diferents options to make it work the wifi and not working. And it's good that we do see that here ay people around the world and we should look for ways to solve our problems.
Saludos desde Costa Rica.
hhpss said:
So it seems that the LA version of the GT-S7560M has a different WiFi module than other GT-S7560M editions (or is it just South America?).
I wonder if there is a way to the developers of this device out there know what exactly is the WiFi module in our devices so they can figure out what to include in their builds to make this work.
Personally I have no idea about Android Hacking, so I wouldn't know what to do, but I know my way around the commandline in OS X and Linux and at work I have access to Windows 7 too, so I could feed you with the specs of my device.
I'm currently running StockROM with Sadman's Kernel (3.0.8 [email protected]) ) #5 PREEMPT Tue Mar 11.....
I tried to run CyanogenMod with Sadman's Kernel, but that just won't boot.
So how could we users post what exactly, to help you developers to figure out what is different with our devices, so maybe together we could make our devices work with your ROMs?
Personally I have a Samsung Trend GT-S7560M from Tigo Bolivia.
Thanks
Click to expand...
Click to collapse
Youre very lucky that you didn't hard-brick your phone
sadmans kernels are for STOCK and seriously not meant for cm
Sent from my GT-S7560M using XDA Premium 4 mobile app
---------- Post added at 01:57 AM ---------- Previous post was at 01:52 AM ----------
hhpss said:
So it seems that the LA version of the GT-S7560M has a different WiFi module than other GT-S7560M editions (or is it just South America?).
I wonder if there is a way to the developers of this device out there know what exactly is the WiFi module in our devices so they can figure out what to include in their builds to make this work.
Personally I have no idea about Android Hacking, so I wouldn't know what to do, but I know my way around the commandline in OS X and Linux and at work I have access to Windows 7 too, so I could feed you with the specs of my device.
I'm currently running StockROM with Sadman's Kernel (3.0.8 [email protected]) ) #5 PREEMPT Tue Mar 11.....
I tried to run CyanogenMod with Sadman's Kernel, but that just won't boot.
So how could we users post what exactly, to help you developers to figure out what is different with our devices, so maybe together we could make our devices work with your ROMs?
Personally I have a Samsung Trend GT-S7560M from Tigo Bolivia.
Thanks
Click to expand...
Click to collapse
If the wifi problem hardware related is why is the wifi working on my Galaxy Trend (and also some other users).
thats not logic
i have a (maybe) a fix:
my wifi is working, so i can make (after vacation) a nandroid backup (twrp 2.7) of cm10.2, cm11 and PAC 4.4.4 and upload them i hope that it would fix it
Sent from my GT-S7560M using XDA Premium 4 mobile app
Anas Karbila said:
If the wifi problem hardware related is why is the wifi working on my Galaxy Trend (and also some other users).
thats not logic
i have a (maybe) a fix:
my wifi is working, so i can make (after vacation) a nandroid backup (twrp 2.7) of cm10.2, cm11 and PAC 4.4.4 and upload them i hope that it would fix it
Click to expand...
Click to collapse
my question:
How could we read the poper hardware specs of the WiFi module to compare it?
I found this on StackExchange to get NIC id with dmesg, but I can't figure out what could be my wifi module maybe you can:
Code:
[email protected]:/ # dmesg | grep -i lan
<4>[ 2.160213] wlan_status entered
<4>[ 2.160226] (wlan_status) entered GPIO_RESET_VAL=0
<4>[ 2.160678] [<c022d160>] (gpio_direction_output+0x84/0x154) from [<c0095620>] (wlan_suspend_gpio_config+0x34/0x7c)
<4>[ 2.160713] [<c0095620>] (wlan_suspend_gpio_config+0x34/0x7c) from [<c00956a4>] (wlan_status+0x3c/0x50)
<4>[ 2.160748] [<c00956a4>] (wlan_status+0x3c/0x50) from [<c0397760>] (msmsdcc_probe+0xaa0/0x120c)
<4>[ 2.161354] [<c022d160>] (gpio_direction_output+0x84/0x154) from [<c009562c>] (wlan_suspend_gpio_config+0x40/0x7c)
<4>[ 2.161388] [<c009562c>] (wlan_suspend_gpio_config+0x40/0x7c) from [<c00956a4>] (wlan_status+0x3c/0x50)
<4>[ 2.161421] [<c00956a4>] (wlan_status+0x3c/0x50) from [<c0397760>] (msmsdcc_probe+0xaa0/0x120c)
<4>[ 2.161971] [<c022d160>] (gpio_direction_output+0x84/0x154) from [<c0095638>] (wlan_suspend_gpio_config+0x4c/0x7c)
<4>[ 2.162004] [<c0095638>] (wlan_suspend_gpio_config+0x4c/0x7c) from [<c00956a4>] (wlan_status+0x3c/0x50)
<4>[ 2.162036] [<c00956a4>] (wlan_status+0x3c/0x50) from [<c0397760>] (msmsdcc_probe+0xaa0/0x120c)
<4>[ 2.162588] [<c022d160>] (gpio_direction_output+0x84/0x154) from [<c0095644>] (wlan_suspend_gpio_config+0x58/0x7c)
<4>[ 2.162621] [<c0095644>] (wlan_suspend_gpio_config+0x58/0x7c) from [<c00956a4>] (wlan_status+0x3c/0x50)
<4>[ 2.162653] [<c00956a4>] (wlan_status+0x3c/0x50) from [<c0397760>] (msmsdcc_probe+0xaa0/0x120c)
<4>[ 2.163204] [<c022d160>] (gpio_direction_output+0x84/0x154) from [<c0095650>] (wlan_suspend_gpio_config+0x64/0x7c)
<4>[ 2.163238] [<c0095650>] (wlan_suspend_gpio_config+0x64/0x7c) from [<c00956a4>] (wlan_status+0x3c/0x50)
<4>[ 2.163271] [<c00956a4>] (wlan_status+0x3c/0x50) from [<c0397760>] (msmsdcc_probe+0xaa0/0x120c)
<4>[ 2.163819] [<c022d160>] (gpio_direction_output+0x84/0x154) from [<c00956a4>] (wlan_status+0x3c/0x50)
<4>[ 2.163851] [<c00956a4>] (wlan_status+0x3c/0x50) from [<c0397760>] (msmsdcc_probe+0xaa0/0x120c)
<4>[ 2.164188] register_wlan_status_notify --enter<4>[ 5.785766] ebi_grp_3d_clk is unbalanced
<6>[ 7.709036] SDCC CH 2 : msmsdcc_runtime_suspend WLAN SKIP Suspend
<6>[ 26.796343] wlan_setup_ldo_33v - set by BT : on<6>[ 26.796349] wlan_setup_ldo_33v - old wlan_33v_flag : 0
<6>[ 26.796356] wlan_setup_ldo_33v - new wlan_33v_flag : 2
<4>[ 26.796364] wlan_set_gpio - 109 : on
<6>[ 26.796376] wlan_set_gpio: before (1) :: gpio_get_value = 0
<6>[ 26.796393] wlan_set_gpio: after (1) :: gpio_get_value = 1
<6>[ 28.849579] wlan_setup_ldo_33v - set by BT : off
<6>[ 28.849588] wlan_setup_ldo_33v - old wlan_33v_flag : 2
<6>[ 28.849594] wlan_setup_ldo_33v - new wlan_33v_flag : 0
<4>[ 28.849603] wlan_set_gpio - 109 : off
<6>[ 28.849614] wlan_set_gpio: before (0) :: gpio_get_value = 1
<6>[ 28.849631] wlan_set_gpio: after (0) :: gpio_get_value = 0
<4>[ 34.540856] ath6kl_pm_probe()wlan_setup_power on --enter
<6>[ 34.540869] wlan_setup_ldo_33v - set by Wifi : on
<6>[ 34.540876] wlan_setup_ldo_33v - old wlan_33v_flag : 0
<6>[ 34.540883] wlan_setup_ldo_33v - new wlan_33v_flag : 1
<4>[ 34.540891] wlan_set_gpio - 109 : on
<6>[ 34.540904] wlan_set_gpio: before (1) :: gpio_get_value = 0
<6>[ 34.540919] wlan_set_gpio: after (1) :: gpio_get_value = 1wlan_set_gpio - 33 : on
<6>[ 34.541169] wlan_set_gpio: before (1) :: gpio_get_value = 0
<6>[ 34.541181] wlan_set_gpio: after (1) :: gpio_get_value = 1
<6>[ 34.541273] WLAN: wake lock timeout 0.5 sec...
<4>[ 34.669293] wlan_status entered
<4>[ 34.669314] (wlan_status) entered GPIO_RESET_VAL=1
<6>[ 34.669366] SDCC CH 2 : msmsdcc_runtime_resume WLAN SKIP Resume
<7>[ 34.856439] ath6kl: ath6kl_core_init: name=wlan0 dev=0xd0c35000, ar=0xca0c8ae0
<7>[ 35.600853] ath6kl: ath6kl_target_config_wlan_params() vif_index=1 is not yet added
<3>[ 35.768514] init: cannot find '/system/bin/wlan_tool', disabling 'wlan_tool'
<6>[ 36.329033] ADDRCONF(NETDEV_UP): wlan0: link is not ready
<6>[ 37.606724] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
<7>[ 47.724691] wlan0: no IPv6 routers present
hhpss

[Q] Random power offs

Hi, I have xperia zl and yesterday accidentally magnet touched my zl...screen turned off and after that it powered on and worked but there were some errors in dmesg. Now it is randomly(or not, I think only when it is a bit overloaded) powering off but if I connect it to to pc it is not rebooting but some strange stuff appears in dmesg ( http://pastebin.com/pckHxMZF ). Any suggestions? Thanks
Also i`m using cm11.0
UPD: Connected with adb over network and waited untill it reboots, here are last lines of dmesg
Code:
<3>[ 400.473968] wlan: [4146:E :HDD] hdd_tx_rx_pkt_cnt_stat_timer_handler: Disable split scan
<3>[ 426.057586] wlan: [4162:E :SME] sme_FTUpdateKey: Unhandled state=0
<3>[ 440.554016] wlan: [4146:E :HDD] hdd_tx_rx_pkt_cnt_stat_timer_handler: Disable split scan
<6>[ 453.081512] mdm_status_change: unexpected reset external modem id 0
<6>[ 453.086883] mdm_start_ssr: Resetting mdm id 0 due to mdm error
<6>[ 453.092590] subsys-restart: subsystem_restart_dev(): Restart sequence requested for external_modem, restart_level = 3.
<6>[ 453.103515] subsys-restart: subsystem_shutdown(): [e9fc3480]: Shutting down external_modem
And looks like my wlan0 mac address changed
Found something here - http://forum.xda-developers.com/xperia-z/help/xperia-zbricked-wi-fi-t2409804/page3
It is wifi related, maybe that`s why my mac changed
Now this is dmesg before shutting down:
Code:
<4>[ 229.088745] CPU1 didn't collape within 1ms
<4>[ 229.092071] Modules linked in: wlan(C)
<4>[ 229.096557] [<c010c470>] (unwind_backtrace+0x0/0x11c) from [<c017d1ac>] (warn_slowpath_common+0x4c/0x64)
<4>[ 229.105804] [<c017d1ac>] (warn_slowpath_common+0x4c/0x64) from [<c017d244>] (warn_slowpath_fmt+0x2c/0x3c)
<4>[ 229.116027] [<c017d244>] (warn_slowpath_fmt+0x2c/0x3c) from [<c0150f28>] (msm_pm_wait_cpu_shutdown+0xa8/0xc4)
<4>[ 229.126922] [<c0150f28>] (msm_pm_wait_cpu_shutdown+0xa8/0xc4) from [<c011e8dc>] (platform_cpu_kill+0x20/0x30)
<4>[ 229.136749] [<c011e8dc>] (platform_cpu_kill+0x20/0x30) from [<c010b214>] (__cpu_die+0x4c/0x78)
<4>[ 229.145019] [<c010b214>] (__cpu_die+0x4c/0x78) from [<c08a2e24>] (_cpu_down+0x118/0x214)
<4>[ 229.152648] [<c08a2e24>] (_cpu_down+0x118/0x214) from [<c08a2f44>] (cpu_down+0x24/0x40)
<4>[ 229.160644] [<c08a2f44>] (cpu_down+0x24/0x40) from [<c08a46b4>] (store_online+0x2c/0x78)
<4>[ 229.168914] [<c08a46b4>] (store_online+0x2c/0x78) from [<c049fa78>] (dev_attr_store+0x18/0x24)
<4>[ 229.177307] [<c049fa78>] (dev_attr_store+0x18/0x24) from [<c028a3f4>] (sysfs_write_file+0x100/0x148)
<4>[ 229.186981] [<c028a3f4>] (sysfs_write_file+0x100/0x148) from [<c023a0f8>] (vfs_write+0xa8/0x180)
<4>[ 229.195220] [<c023a0f8>] (vfs_write+0xa8/0x180) from [<c023a3e8>] (sys_write+0x34/0x68)
<4>[ 229.203155] [<c023a3e8>] (sys_write+0x34/0x68) from [<c0106120>] (ret_fast_syscall+0x0/0x30)
<4>[ 229.212249] ---[ end trace da227214a82491c7 ]---
<4>[ 237.840850] ------------[ cut here ]------------
<4>[ 237.844879] WARNING: at ../../../../../../kernel/sony/apq8064/arch/arm/mach-msm/pm-8x60.c:995 msm_pm_wait_cpu_shutdown+0xa8/0xc4()
<4>[ 237.857116] CPU1 didn't collape within 1ms
<4>[ 237.860595] Modules linked in: wlan(C)
<4>[ 237.864349] [<c010c470>] (unwind_backtrace+0x0/0x11c) from [<c017d1ac>] (warn_slowpath_common+0x4c/0x64)
<4>[ 237.873840] [<c017d1ac>] (warn_slowpath_common+0x4c/0x64) from [<c017d244>] (warn_slowpath_fmt+0x2c/0x3c)
<4>[ 237.883880] [<c017d244>] (warn_slowpath_fmt+0x2c/0x3c) from [<c0150f28>] (msm_pm_wait_cpu_shutdown+0xa8/0xc4)
<4>[ 237.893402] [<c0150f28>] (msm_pm_wait_cpu_shutdown+0xa8/0xc4) from [<c011e8dc>] (platform_cpu_kill+0x20/0x30)
<4>[ 237.906341] [<c011e8dc>] (platform_cpu_kill+0x20/0x30) from [<c010b214>] (__cpu_die+0x4c/0x78)
<4>[ 237.914611] [<c010b214>] (__cpu_die+0x4c/0x78) from [<c08a2e24>] (_cpu_down+0x118/0x214)
<4>[ 237.922973] [<c08a2e24>] (_cpu_down+0x118/0x214) from [<c08a2f44>] (cpu_down+0x24/0x40)
<4>[ 237.930145] [<c08a2f44>] (cpu_down+0x24/0x40) from [<c08a46b4>] (store_online+0x2c/0x78)
<4>[ 237.938812] [<c08a46b4>] (store_online+0x2c/0x78) from [<c049fa78>] (dev_attr_store+0x18/0x24)
<4>[ 237.946838] [<c049fa78>] (dev_attr_store+0x18/0x24) from [<c028a3f4>] (sysfs_write_file+0x100/0x148)
<4>[ 237.956481] [<c028a3f4>] (sysfs_write_file+0x100/0x148) from [<c023a0f8>] (vfs_write+0xa8/0x180)
<4>[ 237.964721] [<c023a0f8>] (vfs_write+0xa8/0x180) from [<c023a3e8>] (sys_write+0x34/0x68)
<4>[ 237.972595] [<c023a3e8>] (sys_write+0x34/0x68) from [<c0106120>] (ret_fast_syscall+0x0/0x30)
<4>[ 237.982147] ---[ end trace da227214a82491c8 ]---
<3>[ 245.350189] ACDB=> get_hw_delay: Path = 0 samplerate = 48000 usec = 0 status 0
<3>[ 245.356719] afe_callback: cmd = 0x100dc returned error = 0x3
<3>[ 245.362152] afe_send_hw_delay: config cmd failed
<6>[ 250.620727] SLIM_CL: skip reconfig sequence
<3>[ 250.700622] ACDB=> get_hw_delay: Path = 0 samplerate = 48000 usec = 0 status 0
<3>[ 250.707305] afe_callback: cmd = 0x100dc returned error = 0x3
<3>[ 250.712829] afe_send_hw_delay: config cmd failed
<6>[ 254.915313] SLIM_CL: skip reconfig sequence
<3>[ 258.102020] ACDB=> get_hw_delay: Path = 0 samplerate = 48000 usec = 0 status 0
<3>[ 258.109100] afe_callback: cmd = 0x100dc returned error = 0x3
<3>[ 258.114227] afe_send_hw_delay: config cmd failed
<6>[ 275.903686] msm_vidc_dec: Inside vid_dec_open()
<4>[ 275.907257]
<4>[ 275.907257] res_trk_download_firmware(): Request firmware download
<4>[ 275.949737]
<4>[ 275.949737] VIDC: vidc_freq = 266670000, req_perf_lvl = 244801, set_perf_lvl = 244801
<3>[ 275.965454] Rate 266670000 for vcodec_clk is greater than highest Fmax
<6>[ 275.984374] fw_version 8:30:2013
<4>[ 276.108154]
<4>[ 276.108154] VIDC: vidc_freq = 200000000, req_perf_lvl = 244800, set_perf_lvl = 244800
<6>[ 276.118316] WARNING: H264MaxLevelExceeded : 51
<6>[ 276.121643] profile 4 level 0 progressive 1
<4>[ 276.125823]
<4>[ 276.125854] VIDC: vidc_freq = 200000000, req_perf_lvl = 244800, set_perf_lvl = 244800
<4>[ 276.135559]
<4>[ 276.135589] VIDC: vidc_freq = 200000000, req_perf_lvl = 187680, set_perf_lvl = 244800
Do your have any installs or changes last time?
If yes - first method it is facotury defaults, or backup. Maybe you can only remove last installs..
Second - it hardware problem... power controller, maybe, or usb block
freask5 said:
Do your have any installs or changes last time?
If yes - first method it is facotury defaults, or backup. Maybe you can only remove last installs..
Second - it hardware problem... power controller, maybe, or usb block
Click to expand...
Click to collapse
Replacing battery helped
suleymanovemil8 said:
Replacing battery helped
Click to expand...
Click to collapse
Great)) Congratulations))

Categories

Resources