[Q] Kernel source of cm11s - ONE Q&A, Help & Troubleshooting

Can anyone tell me is the link below belongs to the kernel source code of cm11s?
I have successfully compiled the kernel source with cyanogenmod_bacon_deconfig but it sucks at the oneplus screen boot screen when start up. Someone please help.
https://github.com/CyanogenMod/android_kernel_oneplus_msm8974/tree/stable/cm-11.0

@ak

you can use this:
https://github.com/CyanogenMod/android_kernel_oneplus_msm8974/tree/shipping/cm-11.0

ak said:
you can use this:
https://github.com/CyanogenMod/android_kernel_oneplus_msm8974/tree/shipping/cm-11.0
Click to expand...
Click to collapse
Still cannot boot with the shipping/cm-11.0 branch.
How should I pack the zImage?
I have the ramdisk which is unpacked from the official 30o kernel.
Which files inside the boot directory should I include?

Related

[SOURCE] htc-ace-linux-2.6.32.25_source htc-ace-2.6.32.21_source_fixed

Nov 12th 2010
Was bored again, patched the htc source to 2.6.32.25, has been tested and reported working by Apache14
extract this tar.gz to ~/ if you extract here the script i wrote for anykernel to pack the zimage and modules will pack and sign the zip and place it in the OUT folder after you make your kernel.
Hope you guys can have fun with it
Thanks to koush for anykernel, and Bumble-Bee (Apache14 on XDA) for testing.
Get it HERE
I worked with Bumble-Bee on IRC (Apache14 on XDA) last night and today to get the source working and compiling properly.
There were some issues with the config.gz from the ace causing make errors. The config was a cluster-****, it was trying to build with multiple touch panel configs, camera configs for hardware that wasn't even included in the DHD. So we fixed it and Bumble-Bee has flashed kernels i have compiled from this and they work 100%. So here is the source all packed and ready to go for new kernel compilers or old dogs who don't wish to mess around with the erroneous config.
extract this tar.gz to ~/ if you extract here the script i wrote for anykernel to pack the zimage and modules will pack and sign the zip and place it in the OUT folder after you make your kernel.
Thanks to koush for anykernel, and Bumble-Bee (Apache14 on XDA) for testing
Right now users who are ENG flashed will have to 'fastboot flash zimage /path/to/zImage' and push modules accordingly until Koush makes a custom recovery.
Get -Mr. X- pre setup source HERE
Click to expand...
Click to collapse
Sounds like you have done some good work Mr.X, I thank you and look forward to trying it out for myself.
Thanks Mr X & Bumble-Bee, you have save us alot of time ;-)
thanks again
Bump for new source in first post

[KERNEL]PowerSaving kernel with vocpcm support at github

As you may know farmatito's powersaving kernel is really saving power:
http://forum.xda-developers.com/showthread.php?t=1010932
However, his patches are hard to apply, so I setup a github repo with all patches applied:
github.com/bood/htc-magic-kernel
(not having enouth posts to post a outage url link yet...)
I also ported the vocpcm module so you can run rVoix on it
I only tested on my HTC TIM (32A) phone with old radios
Also, my original camera app does not work with this new kernel (I flashed the new kernel only, apps are untouched), appreciate that if anyone know how to flash it.
Instruction to flash the compiled kernel (32A only)
1. Do a backup
2. enter fastboot
3. unpack the attached 7z file
4. fastboot flash zimage bood-2.6.35.14-autogroup-vocpcm-kernel
5. reboot to recovery
6. adb shell mount -a
7. adb push wlan.ko-bood-2.6.35.14-autogroup-vocpcm /system/lib/modules
8. reboot normally
Update Logs:
2012/02/03
Updated a compiled kernel (autogroup version for 32A) with wlan.ko
2012/02/02
1. Applied all patches except BFS patches since I don't use it
2. Ported vocpcm module
Hello, thanks for that! Would gladly try the compiled version if possible, since I'm using Linux. Thanks in advance.
Actually it is compiled in Linux.
Anyway I've uploaded a compiled version, give it a try!
Sorry didn't made a flashable zip, since the ramdisk could be different.
saibot64 said:
Hello, thanks for that! Would gladly try the compiled version if possible, since I'm using Linux. Thanks in advance.
Click to expand...
Click to collapse
HEh, what I meant was 'I don't use Linux' Thanks for that, will try it !

[Q] Kernel Compiling

Hello guys,
i have compiled a kernel for the oneplus one. But i am not sure if it will work so i want to know if these steps are right.
At first i forked francos kernel source + ramdisk.
After that i went into kernel source directory and typed this into the termnial.
Check my make.sh script https://github.com/DerRomtester/one_plus_one/blob/cm-11.0/make.sh
After that i went into the ramdisk source and extracted francos boot.img and deleted a file like this boot.img - zImage
Than i went into the kernel directory and started the build.sh file to get an boot.img file.
Everything went fine.
I had no errors. Are these steps correct.
My kernel source: https://github.com/DerRomtester/one_plus_one
Ramdisk source: https://github.com/DerRomtester/ramdisk_one_plus_one
I hope some devs can help me.

[DISCUSSION][DEVS] MultiROM & Dual Boot Project for S2ve/P

Hello..
Yesterda I do some test to port MultiROM recovery on our phone, after apply 6 of kexec hardboot patches files, compiling zImage was fine and after test and boot fine but kernel doesn't really stable (perhaps for missed patches), reading Tasssadar porting guide, there are 3 files that should be patches to get multirom work.
@GHsR
 @CoolDevelopment
what are the evquivalent files of device_lge.c and restart.c on our kernel source to apply the rest of pacthes? thanks a lot
Porting guide:
https://github.com/Tasssadar/multirom/wiki/Porting-MultiROM
Capri patches:
https://github.com/hak86/capri_implement_kexec_hardboot/tree/aosp
Device tree:
https://github.com/hak86/android_device_samsung_i9105p/tree/omni-5.0
There are no completely equivalent files. The capri mach kernel works in a different way than qualcomm ones. You need to understand the source code and implement things by yourself. Important is, that you wipe the memory at the correct addresses
Good luck
CoolDevelopment said:
There are no completely equivalent files. The capri mach kernel works in a different way than qualcomm ones. You need to understand the source code and implement things by yourself. Important is, that you wipe the memory at the correct addresses
Good luck
Click to expand...
Click to collapse
to not talk about compatible device tree to build recovery.img, it's generate a 10mb of recovery.img that image we can't install on our recovery partition due to space issue.
I found this one called DualBoot Patcher, actually it's for qualcomm devices, but I think we can port quickly, we just need to add ramdisk from our phone,
http://forum.xda-developers.com/showthread.php?t=2447534
haky 86 said:
to not talk about compatible device tree to build recovery.img, it's generate a 10mb of recovery.img that image we can't install on our recovery partition due to space issue.
I found this one called DualBoot Patcher, actually it's for qualcomm devices, but I think we can port quickly, we just need to add ramdisk from our phone,
http://forum.xda-developers.com/showthread.php?t=2447534
Click to expand...
Click to collapse
You can get a dualboot recovery but to actually use multirom you need kexec-hardboot

[Kernel] Diades Kernel for custom ROMs

Hello !
Currently i'm working in Le 2 kernel and device tree. My purpose is to make meaningful changes and additions so other ROMs can implement them.
Confirmed working with LOS, Carbon, LegendROM (latest releases)
This thread is all about the kernel. Currently the kernel features
sdcardfs support
cpu-input boost
power efficient work-queues
improvements to touchscreen driver, preparing support for dt2w
adj tree
low memory killer improvements
powersuspend driver
nvidia patches for energy efficiency
memory bus improvements
Adreno memory pools
and other small improvements in battery management and scheduler
Download: https://drive.google.com/open?id=0B4AOvCehd4v3OXBEX3dMSkdxQ3c
Source: https://github.com/mthomos/android_kernel_leeco_msm8976
To enable sdcardfs support just add this line in build.prop
Code:
ro.sys.sdcardfs=true
To be clear from the beginning: I will not answer to any feature requests and i respond to bug reports without logs. I hope to understand this
Cheers !
XDA:DevDB Information
Diades Kernel, Kernel for the LeEco Le 2
Contributors
marios199546
Kernel Special Features:
Version Information
Status: Testing
Created 2017-09-05
Last Updated 2017-09-07
What's the decryption key?
Good luck :good::good:
For which ROM?
Nice one.
Gonna try and report!
Its asking for decryption key!
OP updated with new link
Work on rom based in eui or only aosp rom ?
Sent from my Le X522 using XDA-Developers Legacy app
fmehdi said:
Work on rom based in eui or only aosp rom ?
Click to expand...
Click to collapse
Doesnt work on eui base
Only custom roms
What does sdcardfs mean?
bonsai.14 said:
What does sdcardfs mean?
Click to expand...
Click to collapse
https://www.xda-developers.com/divi...les-fuse-replacement-will-reduce-io-overhead/
I probably shouldn't be here this looks complicated but how do you flash the .img files? Are they even supposed to be flashed
billybobjoe512 said:
I probably shouldn't be here this looks complicated but how do you flash the .img files? Are they even supposed to be flashed
Click to expand...
Click to collapse
Sounds like you're new to this. When you boot your device into recovery (TWRP to be specific). You will see a option"Install", click over there then it will open up the local directory. And on the bottom right, you still see a option to select imgs file. Select that option and boom now you will see all your downloaded imgs files showing up there.
Note:- Make sure to choose a proper partition. For recovery. Img select recovery and so on. Taking a backup before you try something new is always recommended.
Njishi said:
Sounds like you're new to this. When you boot your device into recovery (TWRP to be specific). You will see a option"Install", click over there then it will open up the local directory. And on the bottom right, you still see a option to select imgs file. Select that option and boom now you will see all your downloaded imgs files showing up there.
Note:- Make sure to choose a proper partition. For recovery. Img select recovery and so on. Taking a backup before you try something new is always recommended.
Click to expand...
Click to collapse
So where would I flash these .img files? Or do I have to do something else before flashing
billybobjoe512 said:
So where would I flash these .img files? Or do I have to do something else before flashing
Click to expand...
Click to collapse
What else you can do? Like going for a walk is recommended!?
You just have to boot into recovery. And then flash them like the way i said.
Or else you can use this app.
https://youtu.be/6IMvOCUy2Wc
You can also flash .img via fastboot with this command : fastboot flash boot <file_name.img>
Also if you have magisk installed you have to flash again the magisk install every time you install a new kernel.
I am a bit of a noob so I'm probably doing a ton of things wrong here
So how long does it take to start up the device after flashing the kernel? I flashed to boot partition and I waited for about 10 minutes and I got impatient so I restarted and tried to take a logcat but it just said waiting for device so I just restored a backup that I had made
Did I mess up somewhere or do I need to have a logcat for this
Phone don't boot bro I waite d 20 min
Mine works perfectly, which rom do you use ? I have tested with LOS and Carbon and works flawlessly
marios199546 said:
Mine works perfectly, which rom do you use ? I have tested with LOS and Carbon and works flawlessly
Click to expand...
Click to collapse
Phone not booting. Stuck at Spash screen. Cant take logs (waiting for device).

Categories

Resources