[Kernel][GPL] Development 3.0 Kernel

niksy+

Senior Member
Jan 16, 2012
1,357
1,082
0
Tried the yesterday build on a DEFY+ without a SIM card. It kept trying to connect to network even though there was no SIM card which made the phone very slow, but it still didn't reboot. I guess this is a known bug, @Quarx?

Then booted it with a SIM card and it worked well :) Although it did became slow after going through a couple of apps... Memory leaks? Or maybe it was because I started the camera. Didn't try taking pictures, though, just looked at the preview :)

Overall, this is very promising and I salute Quarx for his effort!
 

niksy+

Senior Member
Jan 16, 2012
1,357
1,082
0
Did the preview work for you @niksy+?
Yes it did :) The colours were fine, although everything seemed a bit dark... Maybe it was just my lighting conditions, though :D The preview worked fine but I didn't try taking pictures, thinking it would freeze the device or reboot it.

I've got 2 DEFY+'s for myself now, my bro replaced his for a RAZR i. So I'll be keeping up with the latest 3.0.8 builds on the secondary one, just need to find some SIM card for it :cowboy:
 

Fight4Music

Senior Member
Apr 19, 2012
372
327
0
28
Herne
Yes it did :) ..
My Camera doesn't work :( After opening it shows the blue button, but it stays black for me. I flashed twice with all wipes (data, system..), but it didn't work. I will try again after a clean flash from stock :)

*Edit* Wiped everthing again, (android secure incl.) and now the preview works :) :) :)
 
Last edited:

htto

Senior Member
Feb 12, 2014
99
194
0
gist.github.com
Mehh, somehow that
87169a9d0f29aa0d01a2b7c52958230e cm-11-20140513-NIGHTLY-mb526.zip
does screw my defy. Doesn't get past the famous M. Had to sbf back to froyo and tried again. Neither wiping anything nor trying several times nor removing power source help; it just sits at the M. So I sbfed again and flashed the 2.6 kitkat, which starts up fine. :eek:

Is there some requirement I missed?
 

Quarx

Inactive Recognized Developer
Jun 19, 2007
1,322
18,787
0
29
Omsk
www.quarx2k.ru
Strange, there no special requirements, just flash zip....

Dark preview fixed https://github.com/Quarx2k/jordan-kernel/commit/905aa3ce2c19a30b376d412f0b6747bd349c324c
Hope this fix random display freezes https://github.com/Quarx2k/jordan-kernel/commit/631643f428097068c5050c815720d1ca6c05e653

About save photos with red lense
D/CameraHal(121): Received jpg 0x4dc47000 size 0
Size 0 is a problem...
Code:
D/TIOMX_CORE(121): Found component OMX.TI.JPEG.Encoder with refCount 0  pHandle (0x425dbf78)
D/OMX_JPGENC(121): OMX_ComponentInit():458 in jpeg-enc OMX_ComponentInit
D/OMX_JPGENC(121): OMX_ComponentInit():492 Inside Component Init JPEG encoder
D/OMX_JPGENC(121): OMX_ComponentInit():591 591 :: Malloced = 0x4255e400
D/OMX_JPGENC(121): SetJpegEncInParams():2610 2610 :: Malloced = 0x4255e500
D/OMX_JPGENC(121): JPEGEnc_Start_ComponentThread():352 Inside JPEGEnc_Start_ComponentThread function
D/OMX_JPGENC(121): OMX_ComponentInit():763 JPEG-ENC: actual buffer 4
D/OMX_JPGENC(121): JPEGENC_GetParameter():1073 Entering function
D/OMX_JPGENC(121): JPEGENC_GetParameter():1220 Exit function eError = 80001005
D/TIOMX_CORE(121): deinit count = 1
D/OMX_JPGENC(121): OMX_JpegEnc_Thread():128 fd max is 56
D/OMX_JPGENC(121): OMX_JpegEnc_Thread():182 CMD pipe is set in Component Thread
D/OMX_JPGENC(121): OMX_JpegEnc_Thread():193 eCmd 2147483646, nParam1 0
D/OMX_JPGENC(121): OMX_JpegEnc_Thread():257 Component Thread Exit while loop from EXIT label
D/OMX_JPGENC(121): JPEGEnc_Free_ComponentResources():545 Exiting JPEG FreeComponentresources
D/TIOMX_CORE(121): Found matching pHandle(0x425dbf78) at component 1 with refCount 1, handle index 0
D/CameraHal(121): Received raw yuv 0x43a32000 size 7547904
D/CameraHal(121): CAM_PERF: Time to raw 3734 ms
D/CameraHal(121): Received jpg 0x4dc47000 size 0
D/CameraHal(121): CAM_PERF: Time to jpg 3738 ms
 
Last edited:

htto

Senior Member
Feb 12, 2014
99
194
0
gist.github.com
Strange, there no special requirements, just flash zip....
Yeah, I don't get it as well, I'd bet at bootstrap failing, though no idea why. Let's see if I can get uart to work

D/OMX_JPGENC(121): JPEGENC_GetParameter():1220 Exit function eError = 80001005
Looks like the jpeg encoder chokes and thus doesn't give a bit..

Edit:

Humm...

614 adb push ramdisk /system/bootstrap/2nd-boot
615 adb push zImage /system/bootstrap/2nd-boot
629 adb push system/lib/modules /system/lib/modules

Ok, doing the above on the 2.6build keeps boostrap working and kinda boots the kernel. I'm glad it has early adb support, cause the video driver ain't working yet (but that was to expect)

Edit2:
Adb pushing the libs even gets graphics, and the bootanimation and 'android is updating'...

If I had to guess I'd say that
-console=/dev/null mem=500M init=/init omapfb.vram=0:4M usbcore.old_scheme_first=y panic=30 mmcparts=mmcblk1:p20(kpanic)
+console=/dev/null mem=500M omapfb.vram=0:4M
the cmdline difference is the problem.
Because it's probably not
$BB_STATIC echo "inserting hbootmod.ko"
+if [ -e /cache/uart_en ]; then
+$BB_STATIC insmod ./hbootmod.ko kill_dss=1 emu_uart=115200
+else
$BB_STATIC insmod ./hbootmod.ko kill_dss=1
+fi
and the differing zImage, and ramdisks is to be expected.

w00t... it finished it's hackery boot.
"[email protected]:/ $ uname -a
Linux localhost 3.0.8-g2149493 #1 PREEMPT Tue May 13 10:29:27 OMST 2014 armv7l GNU/Linux"

Though I doubt it would survive copying your cmdline :/


Edit3:

Uhh, now I wonder why you are able to boot

Code:
        if (execute_command) {
                run_init_process(execute_command);
                printk(KERN_WARNING "Failed to execute %s.  Attempting "
                                        "defaults...\n", execute_command);
        }

        run_init_process("/sbin/init");
        run_init_process("/etc/init");
        run_init_process("/bin/init");
        run_init_process("/bin/sh");

        panic("No init found.  Try passing init= option to kernel. "
              "See Linux Documentation/init.txt for guidance.");
So, there's no /init in that list, thus I'd say no boot without init=/init. And just in case: is there a way to modify the system partition while not being able to get into running system/recovery?
 
Last edited:

niksy+

Senior Member
Jan 16, 2012
1,357
1,082
0
@Quarx Too late now, since you've fixed it already, but here they are side by side anyway :D


Also, the latest version of TWRP won't mount my sd card at all, automatic or manual :rolleyes: Anyone else with the same problem? The card works fine once Android has booted up and it's fine in a card reader :silly:
 

Attachments

Proverbs2

Senior Member
Feb 1, 2012
291
319
0
Also, the latest version of TWRP won't mount my sd card at all, automatic or manual :rolleyes: Anyone else with the same problem? The card works fine once Android has booted up and it's fine in a card reader :silly:
Yes, I had the same problem a while ago, and fixed it by doing this.

Edit: by the way, don't do anything in TWRP until the card is fixed, or you may end up hard-bricking your phone like I did. :p
 
Last edited:

mayur2j

Senior Member
Sep 8, 2011
99
12
0
What's the advantage of 3.0.8 kernel over 2.6.32 kernel. Is our defy capable of handling it? If not its useless to work on a kernel which again will have some bugs which will slow down the device & will defeat the purpose of making it fast.
 

DiegoxG

Senior Member
Sep 25, 2013
124
59
0
Bogota
What's the advantage of 3.0.8 kernel over 2.6.32 kernel. Is our defy capable of handling it? If not its useless to work on a kernel which again will have some bugs which will slow down the device & will defeat the purpose of making it fast.
If it was useless then they wouldn't spend nor waste time on it, be patient

Sent from my MB525+ using Tapatalk 2
 

Stoku

Senior Member
Feb 16, 2014
85
47
0
A new build (15-05) appeared here! I'm making backup now and going to test it especially for display freezes :)

Downloads:

Changelog (compared to 11-05):
  • Test fixes for DSS freeze
  • Fix photo on red lense camera force closes after taking a photo, so probably will be fixed in the next build
  • Fix dark preview red lense
  • and more minor changes :)
 
Last edited:

douglasanpa

Senior Member
Mar 5, 2011
115
37
0
Guarulhos
www.ndrade.org
I wipe all my defy and installed with the gapps found on the site and now quarx2k not access the play store, is a bug of this rom or GAPPS? the internet works perfectly

A new build (15-05) appeared here! I'm making backup now and going to test it especially for display freezes :)

Downloads:

Changelog (compared to 11-05):
  • Test fixes for DSS freeze
  • Fix photo on red lense camera force closes after taking a photo, so probably will be fixed in the next build
  • Fix dark preview red lense
  • and more minor changes :)
 

Stoku

Senior Member
Feb 16, 2014
85
47
0
I wipe all my defy and installed with the gapps found on the site and now quarx2k not access the play store, is a bug of this rom or GAPPS? the internet works perfectly
I had problems with connecting to my google account (when was adding it via settings>add account), but the play store work's fine for me.

The gapps I use: http://quarx2k.ru/GappsForDefy-CM11.0.zip

After waking up the screen, there is a display error for one second.
(Looks Gray pixelated like an old tv screen :D)
Confirmed on 15-05 and easy to reproduce (happens every wake up). Is it a feature or bug? I would like to see it as a screen off animation :p
 
Last edited: