Do we have the kernel source?? - Defy Q&A, Help & Troubleshooting

I saw this page on several pages, but no explanation:
http://sourceforge.net/projects/moto-defy.motorola/files/
Is it real that we have the kernel sources?
Or is it fake?

It's real and we can compile and flash it(It think didn't tried it).
But the bootloader won't boot that because you need to sign it with motorola's private key.

With the bootloader limitation, the only thing that you can do, is modify the modules to improve their behaviours (and add new ones) to fit with Motorola's signed kernel.
If I understand, it's like that.
EDIT: I wonder if the Defy+ as a different private key to sign its kernels?!

@Sylde Motorola, they are too lazy to change the specs of Defy+ , so i think they don't wanna change its private keys. They must spend time on the High Ends like Droid Bionic, Razr , not on Defy+.

Yea, strange that I could't find any info if Defy+ has other signature keys.
How it was with GB leak for the old Defy? It has new GB kernel which Defy can run or these leaks are based on old kernel ?

Now that we have the defy kernel, and is it possible to build the kernel for cm9 with smartassV2 and interactive schedulers? Can it be easily patched with those schedulers and built?

imachine said:
Now that we have the defy kernel, and is it possible to build the kernel for cm9 with smartassV2 and interactive schedulers? Can it be easily patched with those schedulers and built?
Click to expand...
Click to collapse
Just read again the second post of this post we can build and patch it, but you can't flash it on the defy because of the locked bootloader

Related

Signing key

I have two questions and one of them I'm hoping someone can either point the flaw in my logic or try it out
So firstly, has Motorola released sources for the boot loader as they should in accordance with the GPL? If so could we not do the same as I am suggesting with next question,
Seen as we have kernel sources and we can compile it could we not compile the same kernel as we have, ie compile the 179 group kernel ourselves, (it would have to be am exact duplicate to a kernel we have already), take our compiled kernel and a moto compiled kernel, look at them at a binary level and reverse engineer the signing key from the differences between them?
I know there must be a part I'm missing but still its just a thought
teamwork makes the dream work

[Q] Kernel Moudles for CPU Governors

Is it possible to add cpu governors eg ondemand.ko into /system/lib/module and ismod them in init.grouper to allow different governors on a stock kernel
and if so does anyone have the modules or can point me in the right direction of how to build, create, and learning materials books, sources on the android kernels and modules
now i know a little bit about a little bit when it comes to android now im assuming that the android kernel is just a branch of the linux kernel and shouldn't be much different from it however im not sure what i should be looking for or reading
the kernel modules for cpu governors will help be finish my rom for the nexus 7 however if it turns out that some good resources comes up and i can pick up on it quickly i will have a custom kernel for the rom as well
am i right/wrong in saying the nexus kernel tree inc. drivers etc for tegra3 can be pulled via git from googles kernel repo

[Kernel][P73XX] A1 Kernel V1.9

Before you do anything: I will not be held responsible for anything bad that happens to your tablet.
Disclaimer: I do not own this device.
**Sources: Check the GT10.1 A1 kernel thread for beginner friendly V1.9 sources.
Compatibility Information: Check the file names for -stock or -cm for the appropriate version. There is no harm in using a 3G kernel on a WiFi only tablet. This makes the build process less messy. I have a WiFi only tablet and I have no problems with it.
Changelog
Voodoo sound added <-- new to V1.0
USB charging automatically enabled <-- new to V1.1
1.2GHz OC <-- new to V1.2
GPU OC'd from 333MHz to 400MHz <-- new to V1.3
1.4GHz OC <-- new to V1.4
Charging widget support, various bug fixes, cifs with utf8 somewhere along the line <--new to V1.5.9
Attempted support for GT8.9 with 1.5GHz and 1.6GHz OC <-- new to V1.6alpha
Enabled XBox controller as xpad.ko kernel module <-- new to V1.6.1
NTFS moved to kernel module instead of built in, CIFS moved to kernel module instead of built in, enabled option.ko and usb_wwan.ko for connection of 3G dongle, all nls charsets/codepages built as modules <--new to V1.6.2
Applied git patch to disable mmc_cap_erase <-- new to V1.6.4
Voltage control, cifs built in again. <--new to V1.7
Changed battery driver to p3_battery.c originally specified by samsung instead of p4_battery.c that the GT10.1 uses <--new to V1.7.1
Cyanogenmod charging mode fix (incompatible with stock rom)
Rebased on P7300_HK Sources <-- new to V1.7.3
attempted CM10 compatibility fix based on GT10.1, enabled Samsung's powersaver governor, GT10.1 450MHz cap fix <--new to V1.7.4b (based on GT10.1 sources for now since I can test all those changes. Maybe I accidentally messed up something in GT8.9 sources??)
Copied in pershoot keyboard driver for CM <--new to V1.7.5
801MB RAM available <-- new to V1.8
Rebased on pershoot's sources as of November 17 11pm EST <--new to V1.8.1
Back to samsung GT10.1 base, follow pershoot's suggestion of Nexus7 mtp drivers to fix mtp, enabled zRam <--new to V1.8.2
Reduced RAM to 785MB to account for intense 3D games, enabled KSM (check settings --> performance --> memory management), reappearance of stock versions
Rebased stock rom kernel on GT10.1 sources. <--new to v1.8.3b (stock version only)
Rebased on 7300_update1 ics sources <--new to V1.8.3c stock versions only
Fixed charging while off bug. (You can now turn your tablet off for the night and charge it), enabled userspace human interface device management for CM10.1 <--new to V1.8.4 (CM only)
V1.8.5, 1.8.6 GT10.1 specific
Added row scheduler from CM10.1 I9300 sources <--new to V1.8.7
Added XDA's grzwolf's hsic wakelock fix <--new to V1.8.8
Added frandom kernel module from GT10.1 request <--new to V1.9
See my GT10.1 thread for more info.
AAccount said:
Before you do anything: I will not be held responsible for anything bad that happens to your tablet.
Where the name comes from: This kernel is named after the imaginary character A1. A1 was a character of my creation who was powerful, thought on his feet in battles and drove an electrically powered flying SUV. In my signature is his original hand drawn logo that I drew ~10 years ago, scanned, and used gimp to touch up.
I got a request to port this kernel to the galaxy tab 8.9. Only today, did I realize that the GT8.9 sources are included in the GT10.1 sources I downloaded. Very minimal changes needed to be made to make it GT8.9 compatible. However, I do not own this device and cannot afford a second tablet (even wifi only). I tried my best to follow the same steps used to create the GT10.1 version for the GT8.9. Since I have not even booted this kernel yet, it is marked pre alpha. Feedback is much appreciated. I am compiling this kernel in good faith. You will need to flash back the stock kernel and copy in the files from a stock rom's /system/lib/modules to get back to stock. I recommend you have a stock kernel on hand ready to flash from recovery just in case...
**Sources: look for the corresponding A1 thread the the GT10.1 section. Nothing has changed at all except the .config which is directly modelled after the GT10.1 .config.
Changelog
Voodoo sound added <-- new to V1.0
USB charging automatically enabled <-- new to V1.1
1.2GHz OC <-- new to V1.2
GPU OC'd from 333MHz to 400MHz <-- new to V1.3
1.4GHz OC <-- new to V1.4
Charging widget support, various bug fixes, cifs with utf8 somewhere along the line <--new to V1.5.9
Attempted support for GT8.9 with 1.5GHz and 1.6GHz OC <-- new to V1.6alpha
See my GT10.1 thread for more info. Only missing features from GT10.1 version is the boot script support and CM versions. I'd prefer to take it 1 step at a time.
Click to expand...
Click to collapse
Hi...
I am on Overcome now, and wondering if this can be applied on my P7300 ?
If so, should I just flash it over the CWM ?
Please advice.
Thank you.
andikasaja said:
Hi...
I am on Overcome now, and wondering if this can be applied on my P7300 ?
If so, should I just flash it over the CWM ?
Please advice.
Thank you.
Click to expand...
Click to collapse
You need to be running a stock ice cream sandwich rom (Android 4.0). I think overcome rom is honeycomb (Android 3.2). Also remember this is an alpha kernel.
Seems to work fine. I'll play with it for a while before making up my mind about it.
Thanks for doing this for the 8.9.
AAccount said:
You need to be running a stock ice cream sandwich rom (Android 4.0). I think overcome rom is honeycomb (Android 3.2). Also remember this is an alpha kernel.
Click to expand...
Click to collapse
Thank you for the confirmation.
I also thought so, as it was mentioned as [Stock ICS].
Cheers...
Stupid question time! I looked at the notes on the 10.1 kernel thread, and didn't see it, but does this kernel have the game pad (usb xbox controller) support built in? I know the factory one doesnt see my controller.
bluefalcon13 said:
Stupid question time! I looked at the notes on the 10.1 kernel thread, and didn't see it, but does this kernel have the game pad (usb xbox controller) support built in? I know the factory one doesnt see my controller.
Click to expand...
Click to collapse
No it doesn't, but I'll look into it. I've looked into it. Should be included in the next version but first... I want to get feedback on the current port before releasing new versions.
Thanks mate for the built, seems to work properly, do you need some specific test,benchmarks or stuffs like that?
Thank you AAcount for porting it, will test it soon.
Kernel works very well, let's hope it improve the battery life.
Gesendet von meinem GT-P7300 mit Tapatalk 2
ceno80Under volt1 said:
Kernel works very well, let's hope it improve the battery life.
Gesendet von meinem GT-P7300 mit Tapatalk 2
Click to expand...
Click to collapse
For That we need UnderVolt, hope it will be added in next releases
you are the man
i want to thank you for this kernel voodoo support is important to me because the tab is my car stereo. flashed havent had any issues yet. if you want to add uv support thumbs up ill give it a try. thanks for taking the time to compile even though u dont have a 8.9!
just flashed this on my tab and i can report that all is working just as expected! OCd to 1.4Ghz and noticeably smoother!
really like it!
Thanks a lot for taking the time to port this for us!
A few requests for future versions:
Other Shedulers. On my razr I'm using pegasusq which is great for battery life. when the phone is asleep it shuts down one of the two cores completely! hotplug & hotplugx also do this. not sure if the galaxy tab supports something like that but it would be great!
Undervolting. moar batterrrryyyy arrrrgh
Thanks once again!
did some more testing. youtube HD videos now have a slight lag and hickups that were absent on the stock kernel.
Great ! Thanks a bunch. I will give it a try this evening.
Any chance we get a zip with the stock kernel, in case something goes wrong ?
Good idea. Please put an original kernel zip file.
Wysyłane z mojego GT-P7300 za pomocą Tapatalk 2
Just done some benchmark, no oc, but I didn't have stock kernel results to compare yet... 2d test seems very bad, I don't know if it sucks with stock one as well
chemicalbuz said:
Just done some benchmark, no oc, but I didn't have stock kernel results to compare yet... 2d test seems very bad, I don't know if it sucks with stock one as well
Click to expand...
Click to collapse
Did you force 2D gpu rendering in the developpers settings ?
I will benchmark too, before & after the update.
AAccount said:
No it doesn't, but I'll look into it. I've looked into it. Should be included in the next version but first... I want to get feedback on the current port before releasing new versions.
Click to expand...
Click to collapse
Awesome, thanks. Saw this thread as I was headed to bed last night. I'll do a nandroid and install to give it a whirl after work. If there are any issues, I know the controller worked under the Galaxian Soup pre-ics kernel, think it was motley's V3, not 100% on the kernel name.
Any chance using this kernel in JB ports ?
This kernel have support for running scripts in /etc/init.d ? (because _motley's lack it).

[Q] [Nexus 7 2012 Wifi only] Kernel with nfs support for CarbonROM 4.4.2

Hello there,
I'm looking for a way to mount nfs shares of my NAS and (debian wheezy) server in the filesystem for access of my media files.
I thought for long that it would be the most natural thing to do for my (linux based) mobile devices in a linux server environment, but it seems I'm far off.
So far I have been unable to mount these nfs shares of mine to the Nexus 7 (grouper) device running a Carbon ROM 4.4.2 Nightly Build from march this year (CARBON...20140302-0433.zip) with CifsManager, most likely due to its lack of kernel support (version 3.1.10--g90cc2cb1 bigshotrob...).
May one of you recommend a kernel that supports nfs, cifs and utf-8 for this build? I restrain from updating it as it is running smoothly and without problems (Remember? Never change a...) and I don't like to invest much time for the reconfiguration and other related stuff.
I know there is M-Kernel (http://forum.xda-developers.com/showthread.php?t=2168787) out there that claims to have exactly the requested support and compliance to the CarbonROM series. But I'm unable to sort out what version of the kernel would match my build of the ROM.
I understand that the most actual release is for versions 4.4.4, but the changelog and >200 posts I've browsed do give no hint which release was compiled for 4.4.2 ROMs.
Please note, I would ask directly in that respective thread in the development section if I could, but owing to the (imho pretty stupid) 10 post restriction of newcomers I am unable to post there.
Edit: Not necessary anymore, got my postings ...
Accordingly, my second question would be, if someone with more than 10 posts would be so kind and ask the following questions for me in the given thread?
Namely:
What version of the kernel would fit my 4.4.2 CarbonROM Build and where could I obtain it?
Does anyone had success to mount nfs shares with it (or cifs, if not) ?
Edit end
That and any alternative ways/hints to get nfs going would be highly appreciated!
Thank you very much,
Nix
Specs Summary:
Nexus 7 2012 Wifi only
Carbon ROM 4.4.2 Nightly Build (CARBON...20140302-0433.zip)
Kernel 3.1.10--g90cc2cb1 bigshotrob...
Simple. Give my kernel a shot. It uses an AnyKernel installer, which then works with both ext4/f2fs ROMs. If you don't want experimental dt2w/s2w, flash 1.6.1.
Edit
http://vp-zp.com/snuzzo/kernels/grouper/
Forgot my link lol
Snuzzo said:
Simple. Give my kernel a shot. It uses an AnyKernel installer, which then works with both ext4/f2fs ROMs. If you don't want experimental dt2w/s2w, flash 1.6.1.
Click to expand...
Click to collapse
Thank you for the reply snuzzo,
would you mind to give some details where to learn more of its features and where to find it?
Then I'll have a look at it.
EDIT:
Thanks for the link! But exactly what version do I have download for my Carbon ROM build above, if I'd decide to use it that is?
Presumably .../kitkat/Funky...??
BTW, are there some feature lists or such things? I'll probably browse the forum a bit, I suppose?
Cheers, Nix
Anykernel Installer. You can flash it on either an ext4/f2fs rom for /data compatibility
Overclock with 1.3Ghz max default
Under/overvolt
IO Scheduler additions: SIO BFQ ROW
CPU Governor additions: Lazy Lagfree Scary Lulzactive Wheatley (could be few more but thats from memory)
DoubleTap2Wake/Sweep2Wake in 1.6.2, disabled in 1.6.1(experimental)
Kexec Hardboot for MultiRom
Dynamic Fsync Control
Stock Google 4.7GCC prebuilt toolchain.
CIFS.
Theres a few other tweaks I made for overall UI performance other than that it follows CM-11.0 source. I build these for my own personal use but upload to share them for those who want what I run. You will want 1.6.2 or 1.6.1.
Snuzzo said:
Anykernel Installer. You can flash it on either an ext4/f2fs rom for /data compatibility
Overclock with 1.3Ghz max default
Under/overvolt
IO Scheduler additions: SIO BFQ ROW
CPU Governor additions: Lazy Lagfree Scary Lulzactive Wheatley (could be few more but thats from memory)
DoubleTap2Wake/Sweep2Wake in 1.6.2, disabled in 1.6.1(experimental)
Kexec Hardboot for MultiRom
Dynamic Fsync Control
Stock Google 4.7GCC prebuilt toolchain.
CIFS.
Theres a few other tweaks I made for overall UI performance other than that it follows CM-11.0 source. I build these for my own personal use but upload to share them for those who want what I run.
Click to expand...
Click to collapse
Sounds great, although most of it are books with seven seals for me
What about nfs support? And its definitely for 4.4.2 based ROMs?
Thx again,
Nix
Yes to both. It has NFS and CIFS support.
And v.1.6 is the one you'd suggest?
Nixblicker said:
And v.1.6 is the one you'd suggest?
Click to expand...
Click to collapse
Yes.
Snuzzo said:
Yes.
Click to expand...
Click to collapse
One more question, please - do I have to activate or load those modules manually or will they be loaded at bootup by default?
Where may I find them to insmod/modprobe them manually, if not?
Thanks for the help once more,
Cheerio,
Nix
They will load by default.

X compact stock kernel compilation

Hi all,
I like to try tweaking and hacking my phone. I've tried some ROMs on my kugo for some time, but I figured I wanted to make my own personalized build. Right now, I'd like to use the 'Night Light' app from F-Droid, which requires KCAL support. In order to enable KCAL I'd need to edit the stock kernel (I know this can be done, it was the case for Genesis Kernel on Nougat).
Hence I'd want to learn to compile a kernel, but I can't get to the end of Sony's tutorial. I've downloaded the kernel source but I am totally lost with defconfig files. How should I configure the kernel ? There is no obvious choice for a defconfig, and I can't get past point #6 in the tutorial..
Given that I've just discovered kernel compilation today, would someone be kind and take some time to maybe point me to useful doc, give me a clue as to what my next step could be, or teach me how they compile kernels for their device ?
Many thanks for any help,
Cheers
TLDR. How to compile a kernel? I have Sony's source for kugo, but don't understand how to configure the kernel compilation.

Categories

Resources