[SM-G350] *DANiO* OC Kernel - Samsung Galaxy Core Plus ROMs, Kernels, Recoveries

Hello everyone
user @santeri3700 built oc kernel for our samsung galaxy core plus
but I wanted him even more tweak cpu ... and it worked!
Present *DANiO* Kernel; which is overclocked to 1.7GHz!
Advantages:
Overclocked to 1.77GHz,
It has drivers ntfs and exFAT
It uses anykernel2; now it's more elegant
bugs:
Not yet discovered
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
https://www.youtube.com/watch?v=BEpb3kOtn8U
Correction of graphics; changed the logo when starting kernel
Automatic builder is on my github
If you still want to test it here is a link.

Updated "updater-script" in zip file "Modules for DANiO Kernel.zip" faulting installation via twrp or cwm
DOWNLOAD UPDATE FOR THIS FILE

Wifi still dont work
Edit
Now works

QGM said:
Wifi still dont work
Edit
Now works
Click to expand...
Click to collapse
you're welcome
PS: Do u using my kernel in this time?

No because i back to stock rom
Wysłane z mojego SM-G350 przy użyciu Tapatalka

Danielisko said:
you're welcome
PS: Do u using my kernel in this time?
Click to expand...
Click to collapse
QGM said:
No because i back to stock rom
Wysłane z mojego SM-G350 przy użyciu Tapatalka
Click to expand...
Click to collapse
@Danielisko
If you rebase your changes on top of the current Salmiakki Super V2 source, it should most probably work on Stock 4.2.2 and CM/Lineage 13 :good:
EDIT: You need to use the prepared AnyKernel 2 flashable ZIP from the Salmiakki Super thread and put your kernel in it, else it won't be compatible with all ROMs (because if you do it by boot.img, it overwrites the Ramdisk). Also, remember to put the kernel modules you have built into the appropriate folder, else WiFi and some other stuff won't work.
EDIT2: I saw that you have a seperate ZIP for the modules. Still, AnyKernel 2 is easier to use and privides more functionality (and it preserves the ramdisk)
EDIT3: Salmiakki Super V2 source is here:
http://www.github.com/SiniTurk/android_kernel_samsung_cs02/tree/salmiakki
EDIT4: Also, make sure you publish the source of your kernel somewhere and link it, because you are technically violating the License right now

@TimSchumi thx .... btw: You requested me to use a anykernel2 from @osm0sis user... now I request you to test this my kernel.
Greetings
Later I will give the source of the kernel

Danielisko said:
@TimSchumi thx .... btw: You requested me to use a anykernel2 from @osm0sis user... now I request you to test this my kernel.
Greetings
Later I will give the source of the kernel
Click to expand...
Click to collapse
This kernel bootloops on Lineage 13 (how did you add that bootimage btw?), didn't test Lineage 11 yet

i did it fast.... maybe it's bad 'anykernel.sh' file?
Code:
# AnyKernel2 Ramdisk Mod Script
# osm0sis @ xda-developers
## AnyKernel setup
# begin properties
properties() {
kernel.string=*DANiO* OC Kernel
do.devicecheck=1
do.modules=1
do.cleanup=1
do.cleanuponabort=1
device.name1=cs02
}
# end properties
# shell variables
block=/dev/block/mmcblk0p5;
is_slot_device=0;
## AnyKernel methods (DO NOT CHANGE)
# import patching functions/variables - see for reference
. /tmp/anykernel/tools/ak2-core.sh;
## AnyKernel install
dump_boot;
write_boot;
## end install
And what is the difference between 'base', 'cm-11.0'+ (and up)?
I'm trying to compile 'base' for all cm-* (? - Need confirmation)
PS: As I remember it is probably 'cm-11.0' version of kernel.

Danielisko said:
i did it fast.... maybe it's bad 'anykernel.sh' file?
And what is the difference between 'base', 'cm-11.0'+ (and up)?
I'm trying to compile 'base' for all cm-* (? - Need confirmation)
PS: As I remember it is probably 'cm-11.0' version of kernel.
Click to expand...
Click to collapse
Did you base it of the 'normal' version of AnyKernel or did you take the AnyKernel zip from the Salmiakki Super thread? Because the latter should work fine if you only switch out the zImage and the modules.
The kernel source should be the same over all branches (except for salmiakki ofc, which ships OC and the nethunter kernel, which ships OC and a USB HID driver)
I recommend you to take the 'salmaikki' branch and reapply your changes on top of it.

ok you can test my repo for building kernel....
It has a build procedure that clones a github repository (it just is not a fork), then downloads the 'danio_oc_kernel-prepared.tar.bz2' file, unpack it and merges it into the previously downloaded repo and builds the kernel. Such a philosophy!
EDIT: You maybe try this, when i compile a while ago from 'salmiakki' branch . @berkantkz , @santeri3700 and @Logiel - Will you test it?

Danielisko said:
ok you can test my repo for building kernel....
It has a build procedure that clones a github repository (it just is not a fork), then downloads the 'danio_oc_kernel-prepared.tar.bz2' file, unpack it and merges it into the previously downloaded repo and builds the kernel. Such a philosophy!
EDIT: You maybe try this, when i compile a while ago from 'salmiakki' branch . @berkantkz , @santeri3700 and @Logiel - Will you test it?
Click to expand...
Click to collapse
I actually couldn't quite understand what did you mean to. I haven't been following the thread for long time so I don't know the affair

berkantkz said:
I actually couldn't quite understand what did you mean to. I haven't been following the thread for long time so I don't know the affair
Click to expand...
Click to collapse
simply download, flash it and test if it's working and wi-fi

Danielisko said:
simply download, flash it and test if it's working and wi-fi
Click to expand...
Click to collapse
Well, I don't own your devices man I just helped to Santeri and Tim

Danielisko said:
ok you can test my repo for building kernel....
It has a build procedure that clones a github repository (it just is not a fork), then downloads the 'danio_oc_kernel-prepared.tar.bz2' file, unpack it and merges it into the previously downloaded repo and builds the kernel. Such a philosophy!
EDIT: You maybe try this, when i compile a while ago from 'salmiakki' branch . @berkantkz , @santeri3700 and @Logiel - Will you test it?
Click to expand...
Click to collapse
I'm currently preparing everything for vacation, I'll test it when I have some free time (I need to flash Lineage 11 anyways to confirm a bug)

TimSchumi said:
I'm currently preparing everything for vacation, I'll test it when I have some free time (I need to flash Lineage 11 anyways to confirm a bug)
Click to expand...
Click to collapse
and how?

Danielisko said:
and how?
Click to expand...
Click to collapse
Still did not boot.

TimSchumi said:
Still did not boot.
Click to expand...
Click to collapse
sorry for my late
according in "ak2-core.sh" file uses only gzip...
i added some decompressor for initrd (such as: xzcat, bzcat, etc....).
---
You can test it again.

Danielisko said:
sorry for my late
according in "ak2-core.sh" file uses only gzip...
i added some decompressor for initrd (such as: xzcat, bzcat, etc....).
---
You can test it again.
Click to expand...
Click to collapse
This ZIP doesn't even flash.
Everything was ok about the ZIP itself, the kernel was unbootable.

i see :/
the kernel bumped to the latest version and maybe its need rebuilding? btw travis-ci is building the kernel
the new content with kernel source and flashable zip will be here
and the logging is here

Related

[Kernel] Ziggy471's 2.6.32.25 Sense [ck2, BFS357, BFQ, SLUB, CIFS, EXT4, gpu+ etc...]

Here is the latest Ziggy471 kernel for the Bravo, this is a sense kernel. I will be maintaining this thread on behalf of ziggy471 as I worked with him in the development of this kernel. I will be taking most questions and support within this thread.
Code:
Changelog:
Added LZMA compression for the kernel image, makes it uber small. This should help with the few non-booters still left. Also, since it’s so small, EVERYTHING is built in, except wifi and on the EVO, wimax.
Moved the default boot speed back down to 998MHz, didn’t realize that some couldn’t run 1.113GHz, sorry about that.
Removed ALL debugging support in the kernel, this will speed it up and also makes it smaller.
Everything else is still the same, ck2, BFS357, BFQ, SLUB, CIFS, EXT4, gpu+, sd card speed up, etc…
Until I figure some things out with the AOSP kernels, I will not be releasing anymore, sorry.
Finally, for those that asked about the tweeks script I posted, it’s set for 1.113GHz max, if you want something different, edit the script and reboot. It’s the same script I had included in previous kernels, but had taken out for reasons.
Download Here
Source: http://github.com/ziggy471
Just a screen of the bench i got on my personal built rom.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Yay awesome! Thank you for sharing
I'll also be dropping in from time to time to help Jugs out.
Z
is there a chance to get this kernel for AOSP Rom´s?
golf60 said:
is there a chance to get this kernel for AOSP Rom´s?
Click to expand...
Click to collapse
He may do one, as of right now i think his plate is full.
it will be nice when we can get such a kernel with AOSP Code. It runs very good on the aurax rom....
thanks for that kernel Jugalo but somehow its not working for me, its just get stucked at the splash screen after i flash it! can you please help me solve the problem?
opened as sources available now.
And we're back
drivers/undervolt
avs also there
golf60 said:
is there a chance to get this kernel for AOSP Rom´s?
Click to expand...
Click to collapse
Juggalo_X said:
He may do one, as of right now i think his plate is full.
Click to expand...
Click to collapse
golf60 said:
it will be nice when we can get such a kernel with AOSP Code. It runs very good on the aurax rom....
Click to expand...
Click to collapse
I'll eventually try and get to the AOSP too, but as Jugs said, my plate is full right now.
Z
I have test it for LeeDroid 2.2d,wifi not work,can't open
It would be nice a aosp ROM Kernel with this Features.
miyu-hitori said:
I have test it for LeeDroid 2.2d,wifi not work,can't open
Click to expand...
Click to collapse
hi,
i had the same prob.
i copied the wifi module bcm4329.ko from the kernel.zip manually into /system/lib/modules.
i also had to copy the screenstate-scaling script manully into /etc/init.d
than it worked like a charm.
have fun.
m.
Hi thanks for this great mod of Kernel but it doesn't work for me, I'm under AuraxTSense 7.9 with Richardtrip Kernel V5 and all work well. After to have flashed my phone with your "[KERNEL] Ziggy471 Bravo 26 Oct" my Desire stay freeze in the splash boot and don't want to boot...then i have re flashed my phone with richardtrip kernel and all is good again.
Can you help me or what I'm doing wrong ?
Regards, Oijkn.
juberg said:
hi,
i had the same prob.
i copied the wifi module bcm4329.ko from the kernel.zip manually into /system/lib/modules.
i also had to copy the screenstate-scaling script manully into /etc/init.d
than it worked like a charm.
have fun.
m.
Click to expand...
Click to collapse
That's really odd, since those lines are in the the updater-script, so idk what the issue was.
Oijkn said:
Hi thanks for this great mod of Kernel but it doesn't work for me, I'm under AuraxTSense 7.9 with Richardtrip Kernel V5 and all work well. After to have flashed my phone with your "[KERNEL] Ziggy471 Bravo 26 Oct" my Desire stay freeze in the splash boot and don't want to boot...then i have re flashed my phone with richardtrip kernel and all is good again.
Can you help me or what I'm doing wrong ?
Regards, Oijkn.
Click to expand...
Click to collapse
Did you verify the downloaded file against the md5sums I posted, I know I had a few people that had bad downloads before.
Z
Oijkn said:
Hi thanks for this great mod of Kernel but it doesn't work for me, I'm under AuraxTSense 7.9 with Richardtrip Kernel V5 and all work well. After to have flashed my phone with your "[KERNEL] Ziggy471 Bravo 26 Oct" my Desire stay freeze in the splash boot and don't want to boot...then i have re flashed my phone with richardtrip kernel and all is good again.
Can you help me or what I'm doing wrong ?
Regards, Oijkn.
Click to expand...
Click to collapse
You posted same problem on Ziggy's site and here and in both places you didn't take the trouble to read previous post talking about the same issue...
ziggy471 said:
That's really odd, since those lines are in the the updater-script, so idk what the issue was.
Did you verify the downloaded file against the md5sums I posted, I know I had a few people that had bad downloads before.
Z
Click to expand...
Click to collapse
I verified it, and don't know any ppl with aurax and this kernel working ok
PS- Sorry about double posting.
ziggy471 said:
That's really odd, since those lines are in the the updater-script, so idk what the issue was.
Did you verify the downloaded file against the md5sums I posted, I know I had a few people that had bad downloads before.
Z
Click to expand...
Click to collapse
+1
Having same problem, bootloop @ splash screen...
Any idea/solution?
Sent from my HTC Desire using XDA App
@ziggy471 : Thanks for quickly reply, yes i have checked if the md5sums is the same and all is good. I don't know really why your moded kernel don't work. If you need some informations about the AuraxTSense ROM i can help you if you want, i can understand that you don't want to re flash your phone every day ^^
@Broquen : Hi, I have posted in both site and what is the problem mate ?? It's forbidden ?? And yes i have read the previous post but I have not found any solution to my problem, sorry.

[GT-P6210 WIFI][WIP] CyanogenMod 9 (developer preview 2)

SO HERE WE GO MY GT-6210 FRIENDS.
I sold my tab because I got an iPad 2 for work and used the money to get a Galaxy Nexus I will probably keep building this ROM once the kernel is worked out and everything is working. Most likely Build AOKP
Just like the GT-6200 Developer Release this is a very basic preview build of CM9. That being said, if you choose to flash this build, YOU DO SO AT YOUR OWN RISK.
I am not a Dev or claim to be one, I just spent a lot of time the last few monthes learning how to build from AOSP and CM9, and figured I'd share my success with the community. I am not resposible for any one bricking their devices by not reading all the information that is all hear on XDA.
Please atleast read through this if you are a n00b: http://forum.xda-developers.com/showthread.php?t=1452716
And this if you are not Rooted yet: http://forum.xda-developers.com/showthread.php?t=1379532
ONCE AGAIN
FLASH AT YOUR OWN RISK
All credit and thanks goes out to:
-Google
-The whole Cyanogen team
-aorth (for getting this moving on out TABs)
-locerra (for his quick work on the p6210 device tree & framework tweaks)
-garyd9 (for all his work on the p6210 and this forum)
-Anyone else that made this possible THANK YOU
I will try to maintain this thread as much as I can, but I have a full time job, school, family and a life
I will at the least be folowing any changes in the source code or on github and post any builds I compile.
I WILL NOT BE:
-Responding to any questions that can be found by simply searching
-Spending a lot of time helping people to get this up and running
This is what I did to get it up and running:
-Put the ZIP file on the TABs internal sd partition (NOT THE SD CARD YOU PUT IN TO THE TAB)
-Reboot into Recovery
-Wipe data/factory reset
-Wipe cache partition
-wipe Dalvik Cache
-format /cache
-format /system
-format /data
-Install update-cm-9.0.0-RC0-p6210-UNOFFICIAL-signed.zip
-Reboot and enjoy!!! Not much is working though.
What's working:
Accelerometer
Hardware-accelerated launcher
Touch input
Vibration
Physical buttons (volume + power)
Audio
What's not working:
Bluetooth
Wifi
Camera
GPS
Hardware-accelerated video
Ambient light sensor(working for the most part in new build 2)
Here is the link: http://www.mediafire.com/?jrcehwgewyxi6kb
Any Mirrors for downloads are welcome, not sure how for the free mediafire account will go.
New Build with working Audio
Thanks to locerra!!!
DP2: http://goo.gl/6mXTQ
md5: 79bdbb1e44d8e4421221525c00947688
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Reserved
Sent from my GT-P6210 using xda premium
Hey! This is awesome, i'm glad you were able to get this running. I was gonna try to get it running, but I ran outta space on my ubuntu partition lol.
I was wondering if we could get wifi working by porting this..
https://github.com/psyke83/AR6kSDK.3.1
fyi, locerra = ohanar
locerra said:
fyi, locerra = ohanar
Click to expand...
Click to collapse
Good to know lolz
Sent from my GT-P6210 using xda premium
Woooo yes bring it on! Great to see people chipping in and getting this off the ground! Really looking forward to seeing this finished.
Would be abysmally funny if they finish before Samsung gets their ICS out even though that circumstance is not likely to happen.
bdds13 said:
Hey! This is awesome, i'm glad you were able to get this running. I was gonna try to get it running, but I ran outta space on my ubuntu partition lol.
I was wondering if we could get wifi working by porting this..
https://github.com/psyke83/AR6kSDK.3.1
Click to expand...
Click to collapse
Not sure if I could get this worked into a build. Do you have more info on what and where this code comes from?
Sent from my GT-P6210 using xda premium
This is great and really inspiring. I really wish I knew where to begin to help out on moving this forward. Thanks for all the work guys
kmmxracer said:
Not sure if I could get this worked into a build. Do you have more info on what and where this code comes from?
Sent from my GT-P6210 using xda premium
Click to expand...
Click to collapse
Yeah, I got it from this old post here on the general forum.
http://forum.xda-developers.com/showpost.php?p=23262686&postcount=18
It's supposed to be from one of sony's e-book reader devices.
Good to see you up and running. Congrats! Now you guys get to work on wifi and I'll start working on telephony .
kmmxracer said:
Not sure if I could get this worked into a build. Do you have more info on what and where this code comes from?
Sent from my GT-P6210 using xda premium
Click to expand...
Click to collapse
i found something similar quite some time ago.
https://github.com/DerArtem/AR6kSDK.3.1
it's from derartem, he and nopy is working on ICS for Folio 100 too currently.
http://forum.xda-developers.com/showthread.php?t=1470823
it is the same thing with some modification from DerArtem.
Progress on wireless... sorta.
P6200/P6210 use an Atheros 6003 wireless chip (also for bluetooth?). The open-source atk6kl driver from compat-wireless supports this chip. I found some interesting information about building this module on the HP Touchpad forum over at RootzWiki. I can compile the module, but I just can't load it.
Here's how:
1. Compile kernel:
Code:
cd ~/src/git/kernel_samsung_c210
LOCALVERSION="" ARCH=arm CROSS_COMPILE="/home/aorth/src/android-ndk-r7b/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/arm-linux-androideabi-" make -j8 zImage
2. Compile compat-wireless
Code:
cd ~/src/compat-wireless-3.3-2-n
./scripts/driver-select ath6kl
ARCH=arm CROSS_COMPILE="/home/aorth/src/android-ndk-r7b/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/arm-linux-androideabi-" KLIB=~/src/git/kernel_samsung_c210 KLIB_BUILD=~/src/git/kernel_samsung_c210 make -j4
But attempting to insert the resulting modules spits out errors like:
Code:
# insmod compat.ko
insmod: can't insert 'compat.ko': invalid module format
# dmesg | tail -n3
<4>[ 365.244149] load_module: umod=4015c000, len=1311485, uargs=01a1f008
<3>[ 365.266659] compat: unknown relocation: 96
<6>[ 382.490328] BAT : soc(100), vcell(4152mV), curr(0mA), temp(26.7), chg(0), full(1), rechg(0), cable(1)
@ohanar... help!
Nice start!
aorth said:
P6200/P6210 use an Atheros 6003 wireless chip (also for bluetooth?). The open-source atk6kl driver from compat-wireless supports this chip. I found some interesting information about building this module on the HP Touchpad forum over at RootzWiki. I can compile the module, but I just can't load it.
Here's how:
1. Compile kernel:
Code:
cd ~/src/git/kernel_samsung_c210
LOCALVERSION="" ARCH=arm CROSS_COMPILE="/home/aorth/src/android-ndk-r7b/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/arm-linux-androideabi-" make -j8 zImage
2. Compile compat-wireless
Code:
cd ~/src/compat-wireless-3.3-2-n
./scripts/driver-select ath6kl
ARCH=arm CROSS_COMPILE="/home/aorth/src/android-ndk-r7b/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/arm-linux-androideabi-" KLIB=~/src/git/kernel_samsung_c210 KLIB_BUILD=~/src/git/kernel_samsung_c210 make -j4
But attempting to insert the resulting modules spits out errors like:
Code:
# insmod compat.ko
insmod: can't insert 'compat.ko': invalid module format
# dmesg | tail -n3
<4>[ 365.244149] load_module: umod=4015c000, len=1311485, uargs=01a1f008
<3>[ 365.266659] compat: unknown relocation: 96
<6>[ 382.490328] BAT : soc(100), vcell(4152mV), curr(0mA), temp(26.7), chg(0), full(1), rechg(0), cable(1)
@ohanar... help!
Click to expand...
Click to collapse
I need to learn to compile a kernel. Where did you get the kernel from and where did you get the toolchain/cross compiler from? Is it the one inside the cyanogen repo or codesourcery or what?
Sorry if the dumb questions, but I'm just getting started/interested in kernels
kmmxracer said:
I need to learn to compile a kernel. Where did you get the kernel from and where did you get the toolchain/cross compiler from? Is it the one inside the cyanogen repo or codesourcery or what?
Click to expand...
Click to collapse
The kernel we are currently using is the one at https://github.com/ohanar/kernel_samsung_c210, however, in the long run we should move over to https://github.com/teamhacksung/android_kernel_samsung_smdk4210, although this is currently broken for our devices (so we need to fix it ).
I am using the latest ndk toolchain that comes with in cm repo.
---------- Post added at 02:35 AM ---------- Previous post was at 02:33 AM ----------
aorth said:
@ohanar... help!
Click to expand...
Click to collapse
Haven't really looked into this too much. I'm more interested in getting the smdk4210 kernel working (and that already includes the atheros drivers).
Thanks, I just found some good reading on compiling kernels. I allways find what I need right after asking in a thread
I'll start with the teamhacksung git. Thanks!!!!
locerra said:
Haven't really looked into this too much. I'm more interested in getting the smdk4210 kernel working (and that already includes the atheros drivers).
Click to expand...
Click to collapse
Yeah, you're right. It's likely the same ath6kl driver, though, as compat-wireless is where the mainline kernel gets linux-wireless-next (and smdk4210 kernel is based on mainline, or at least will be soon... it might be based on origen board kernel right now, see OpenGalaxy).
btw, this module loading issue isn't strictly a wireless issue. I can't load j4fs or scsi_wait_scan either. I swear I loaded these once before, recently...
btw, this module loading issue isn't strictly a wireless issue. I can't load j4fs or scsi_wait_scan either. I swear I loaded these once before, recently...
Click to expand...
Click to collapse
Yeah, I'm having that issue too...
locerra said:
Yeah, I'm having that issue too...
Click to expand...
Click to collapse
Question... when you were still using kernels compiled with Samsung's LOCALVERSION string, did you ever get the ar6000.ko to load?

Multirom Hboot 2.16 Only

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Flashalot said:
Click to expand...
Click to collapse
Congratulations, now if us One M7 users can get the updated Mrom ui and twrp so we can flash L then I will be extra happy
dd98 said:
Congratulations, now if us One M7 users can get the updated Mrom ui and twrp so we can flash L then I will be extra happy
Click to expand...
Click to collapse
Since all its been ported already I can update it but I would need you to test it pm me on hangouts if that sounds like something you want to do [email protected]
Edit : If anyone would like to test out multirom for ville pm me on hangouts or here in xda you MUST have some experience with fastboot and adb and able to pull logcats
Flashalot said:
Since all its been ported already I can update it but I would need you to test it pm me on hangouts if that sounds like something you want to do [email protected]
Edit : If anyone would like to test out multirom for ville pm me on hangouts or here in xda you MUST have some experience with fastboot and adb and able to pull logcats
Click to expand...
Click to collapse
Next thing that is needed is for kernel developers like @flar2 @rmbq and @AKToronto to add kexec-hardboot patch to their kernels so Multirom can actually work
dd98 said:
Next thing that is needed is for kernel developers like @flar2 @rmbq and @AKToronto to add kexec-hardboot patch to their kernels so Multirom can actually work
Click to expand...
Click to collapse
Here's my patch https://github.com/flashalot/Nightmare_Kernel_Ville?files=1 last thing that needs to be done is the hardboot part which I'm stuck on here the error
I keep getting this error about CONFIG_KEXEC_HARDBOOT = y not found in proc/config.gz same with atags here's the log http://pastebin.com/SMMpqTU2
Flashalot said:
Here's my patch https://github.com/flashalot/Nightmare_Kernel_Ville?files=1 last thing that needs to be done is the hardboot part which I'm stuck on here the error
I keep getting this error about CONFIG_KEXEC_HARDBOOT = y not found in proc/config.gz same with atags here's the log http://pastebin.com/SMMpqTU2
Click to expand...
Click to collapse
Try asking @Tasssadar
I might be able to help when I return from my trip next week. I just did kexec-harboot on the m8 so it's fresh in my mind.
Also, my One S underwent successful surgery last night, and has a brand new LCD panel.
Can someone send me a pm next Tuesday to remind me?
dd98 said:
Next thing that is needed is for kernel developers like @flar2 @rmbq and @AKToronto to add kexec-hardboot patch to their kernels so Multirom can actually work
Click to expand...
Click to collapse
i already implemented kexec-hardboot patch to my kernel but it's untested so probably/maybe memory addressees are wrong
Yea I tried but a lot of it was erroring so I started from scratch I'll try it again to see any luck
Also I think I got to the bottom of it and why its not allowing you to switch ROMs
@flar2 hopefully I'll have it dome by then if not I'm pretty sure you know how to do it ?
Dual Post
Flashalot said:
Yea I tried but a lot of it was erroring so I started from scratch I'll try it again to see any luck
Also I think I got to the bottom of it and why its not allowing you to switch ROMs
@flar2 hopefully I'll have it dome by then if not I'm pretty sure you know how to do it ?
Click to expand...
Click to collapse
how is everything going, I finally got into kernel development and the help is here when needed
dd98 said:
how is everything going, I finally got into kernel development and the help is here when needed
Click to expand...
Click to collapse
Well I'm stuck on adding the address in memory.h once that's done the kernel should be fine
I also tried @rmqb patch but the phone would freeze and reboot when trying to boot the zImage or repacking the boot
Here's the kernel patch, tested and fully working using latest ElementalX source:
https://github.com/flar2/android_ke...mmit/16382d51802b3f335808efba7f4f7d57f5d3632a
https://github.com/flar2/android_ke...mmit/bdd9b2d008906987c23e719b6eb7bff17d9dff8b
I booted into the second kernel using this command:
Code:
kexec --load-hardboot <your zImage> --ramdisk=<your ramdisk> --mem-min=0x85000000 --command-line="$(cat /proc/cmdline)"
flar2 said:
Here's the kernel patch, tested and fully working using latest ElementalX source:
https://github.com/flar2/android_ke...mmit/16382d51802b3f335808efba7f4f7d57f5d3632a
https://github.com/flar2/android_ke...mmit/bdd9b2d008906987c23e719b6eb7bff17d9dff8b
I booted into the second kernel using this command:
Code:
kexec --load-hardboot <your zImage> --ramdisk=<your ramdisk> --mem-min=0x85000000 --command-line="$(cat /proc/cmdline)"
Click to expand...
Click to collapse
Fantastic [emoji2]
I'll compile a updated recovery with the kexec hardboot number and then it should be ready
So could we use multirom on our htc one s??
My current problem is that once I load up a sense Rom(4.4.2/4.4.3) the multirom boot menu is gone but on aosp it's still there so I'm currently redoing the patch to a aosp kernel instead of sense
Flashalot said:
My current problem is that once I load up a sense Rom(4.4.2/4.4.3) the multirom boot menu is gone but on aosp it's still there so I'm currently redoing the patch to a aosp kernel instead of sense
Click to expand...
Click to collapse
did you remember that liberty has aroma installer?
dd98 said:
did you remember that liberty has aroma installer?
Click to expand...
Click to collapse
That was my first though that it was from aroma m8 has the same problem but alas that's not it I'm down to 2 errors on the kernel then I'm done hopefully
so we could have both sense 6 and cm11s with multirom? i've seen that in oneplusone rom you've added multirom support. how does it work?
Tanque97 said:
so we could have both sense 6 and cm11s with multirom? i've seen that in oneplusone rom you've added multirom support. how does it work?
Click to expand...
Click to collapse
i just edited the updater script to ensure that there is no problems flashing if its released, but that means no aroma installer

[D2303/D2305][KK/JB] CWM-Based Recovery + ROOT | UPDATE 18.3.1.C.1.13

Hello
This is kernel with touch recovery and it's for both JellyBean and KitKat stock firmware.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
THIS SOFTWARE NEEDS UNLOCKED BOOTLODER
http://unlockbootloader.sonymobile.com/
Flashing instructions:
download the kernel and put in fastboot directory.
Turn OFF your M2 and plug in via USB with VOL+ key pressed. Blue LED should glare.
Open terminal/CMD, go to to dir with boot.img and type:
Code:
fastboot flash boot boot.img
(kernel image name may be different, depending on downloaded version)
When it's done, unplug device and power ON.
Click to expand...
Click to collapse
How to enter Recovery:
when you see the Sony logo and the device vibrate keep tapping/pressing VOLUME- DOWN key
Click to expand...
Click to collapse
How to Root 4.3 - 4.4.2
Install Kernel with CWM above.
download the latest SuperSU update.zip from: http://download.chainfire.eu/supersu and save on your SD card
reboot into recovery and flash the supersu package.
reboot your device
How to Root 4.4.4
Flash the newest kernel
Boot to CWM and flash SuperSU
Reboot your device when finished.
/*************************************************************************************/
[D2303]Download for JellyBean 4.3 (.17)https://drive.google.com/file/d/0ByDTUztGLYpWYzd3cTk4VHNISEk/edit?usp=sharing
[D2303]Download for KitKat 4.4.2 (.37)
[D2303]Download for KitKat 4.4.2 (.40)
[D2303][OLD]Download for KitKat 4.4.4 (only RIC disabled)
[D2303][NEW]Download for KitKat 4.4.4 (18.3.1.C.1.13) (RIC disabled + new CM recovery)
[D2305]Download for KitKat 4.4.2 kernel here.
/*************************************************************************************/
KitKat kernel has Sony RIC security turned off by default. So no more worries about /system not-writtable.
No more root problems!
Thanks for DooMLoRD for kernel tools, CyanogenMod and Sony for sources. Me for making this for you.
Code:
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* or any bad consequences of using this kernel. Please
* do some research if you have any concerns about features included in this kernel
* before flashing it! It's only your decision to make those modifications.
* Every act of accusing me for above will be ignored.
*/
Please don't ask for ETA.
Hit "thanks" button if you appreciate my work. It tells me to carry on with stuff.
Features:
*Touch CWM
*Disabled Sony RIC (easy root)
Is it possible to make ftf of this, so we can use cwm and then flash Kk stok kernel to boot?
Thanks for work it good to see you here
Sent from my D2303
First i want to thank you for your work but i have an issue with your kernel:wifi doesnt turn on. Any idea?thanx for your answer
I'm so sorry to hear that. Someone reported that issue too. I'm going to ask Sony developers what's wrong with their source.
I will do my best to fix it.
lozohcum said:
I'm so sorry to hear that. Someone reported that issue too. I'm going to ask Sony developers what's wrong with their source.
I will do my best to fix it.
Click to expand...
Click to collapse
Can you provide a link of your GitHub repo?
It looks like a problem with modules
Garcia98 said:
Can you provide a link of your GitHub repo?
It looks like a problem with modules
Click to expand...
Click to collapse
I didn't upload source to github yet, my Internet connection is too slow.
Source is available on Sony Developers site.
http://developer.sonymobile.com/dow...es/open-source-archive-for-build-18-0-c-1-13/
I can upload modules, will you test them? I have KitKat installed so I can't test every part of the kernel.
@Garcia98 I uploaded all kernel modules. Link in the first post.
And found this, possible fix for our WiFi (Z1 has identical problem I guess)
http://forum.xda-developers.com/showpost.php?p=48780021&postcount=78
lozohcum said:
I didn't upload source to github yet, my Internet connection is too slow.
Source is available on Sony Developers site.
http://developer.sonymobile.com/dow...es/open-source-archive-for-build-18-0-c-1-13/
I can upload modules, will you test them? I have KitKat installed so I can't test every part of the kernel.
@Garcia98 I uploaded all kernel modules. Link in the first post.
And found this, possible fix for our WiFi (Z1 has identical problem I guess)
http://forum.xda-developers.com/showpost.php?p=48780021&postcount=78
Click to expand...
Click to collapse
First of all sorry for not having answered yesterday, I forgot it xD
As I suspected, in kernel modules there's no WiFi module (wlan.ko), I think that that's the reason why WiFi is not working.
wlan.ko is a link to pronto/pronto_wlan.ko btw
Kitkat kernel with CWM is ready. Confirmed working, I tested on my own device.
But WiFi doesn't work again.
I will try to somehow compile pronto_wlan.ko module.
lozohcum said:
wlan.ko is a link to pronto/pronto_wlan.ko btw
Kitkat kernel with CWM is ready. Confirmed working, I tested on my own device.
But WiFi doesn't work again.
I will try to somehow compile pronto_wlan.ko module.
Click to expand...
Click to collapse
OK, but what does dmesg say about WiFi issue?
Garcia98 said:
OK, but what does dmesg say about WiFi issue?
Click to expand...
Click to collapse
I didn't take any logs because I run out battery, now my xperia is charging. Tomorrow morning I'm moving to another city so it will take me a while to investigate this issue.
It would be different if someone could just take a logcat for me :<
lozohcum said:
I didn't take any logs because I run out battery, now my xperia is charging. Tomorrow morning I'm moving to another city so it will take me a while to investigate this issue.
It would be different if someone could just take a logcat for me :<
Click to expand...
Click to collapse
OK, don't worry.
I keep thinking that this problem is related to modules, Tianchi kernel source code doesn't have any change regarding Pronto nor WiFi modules, however I asked to Abhinav if they have had any kind of problems with WiFi.
BTW, did you compile kernel with toolchain and then packing zImage with ramdisk into boot.img or did you run make bootimg command in Android source code?
Works on D2302 also!
Sent from my D2302 using xda premium
Garcia98 said:
OK, don't worry.
I keep thinking that this problem is related to modules, Tianchi kernel source code doesn't have any change regarding Pronto nor WiFi modules, however I asked to Abhinav if they have had any kind of problems with WiFi.
BTW, did you compile kernel with toolchain and then packing zImage with ramdisk into boot.img or did you run make bootimg command in Android source code?
Click to expand...
Click to collapse
I compiled zImage with linaro toolchain, then I generated dt.img and used Ramdisk from stock and put everything together using mkbooting binary.
When you download sony source it doesn't have option make bootimage because it doesn't have device tree and so on. Just pure kernel source and externals.
RTz_GauRaV said:
Works on D2302 also!
Click to expand...
Click to collapse
does wifi work?
lozohcum said:
I compiled zImage with linaro toolchain, then I generated dt.img and used Ramdisk from stock and put everything together using mkbooting binary.
When you download sony source it doesn't have option make bootimage because it doesn't have device tree and so on. Just pure kernel source and externals.
does wifi work?
Click to expand...
Click to collapse
No Wifi is not working
can ou build cwm kitkat for D2305 too??
sinkadorable said:
can ou build cwm kitkat for D2305 too??
Click to expand...
Click to collapse
Yes but not in this and next week because I have just moved to new flat.
@sinkadorable
send me kernel.sin from D2305 KitKat firmware.
lozohcum said:
@sinkadorable
send me kernel.sin from D2305 KitKat firmware.
Click to expand...
Click to collapse
this from indonsian ftf
https://drive.google.com/file/d/0Bz_5OGn0GjFTSG5FN0xTaGZqdGM/edit?usp=sharing
Thanks. I've been waiting for this one, because I'm too lazy to build it myself... XD

How to build the kernel for your Huawei P9

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Huawei have helpfully released the kernel source for the Huawei P9 on their download site. Impressively, the version posted there (3.10.90) actually matches the current release build (B136). However, the download itself is only part of the puzzle - it's important to then know how to compile it and use it. Hence this guide.
Some points to note first of all...
This guide refers to building on Linux. You can probably build on OSX or whatever too but seriously, it's less pain in the long run to spin up an Ubuntu VM.
In the download linked above, as well as the kernel, there are some other bits and pieces (some of which are quite bizarre). I've mirrored the kernel to Bitbucket, so you don't need to grab the whole download.
Got that? OK, so here's a step by step on how to build the kernel! I strongly recommend building stock first and testing that works for you, then you can start adding your tweaks in. I'm interested to hear what you add / change!
Open a terminal window on your Linux machine / in your Linux VM. No GUIs here. Change to the directory where you want the kernel / toolchain to live.
First of all, we're going to clone the toolchain from AOSP.
Code:
git clone https://android.googlesource.com/platform/prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9
Next we're going to clone the kernel source itself from my git repo on bitbucket.
Code:
git clone https://gitlab.com/paulobrien/android_kernel_huawei_p9.git kernel
We need to add the toolchain location to the path.
Code:
export PATH=$(pwd)/aarch64-linux-android-4.9/bin:$PATH
We need to specify that we are cross compiling for arm64.
Code:
export CROSS_COMPILE=$(pwd)/aarch64-linux-android-4.9/bin/aarch64-linux-android-
Let's create a directory for our output to go in to.
Code:
mkdir out
We've got the kernel downloaded, so let's change to that directory so we're ready to go.
Code:
cd kernel
A bit of cleaning up before we get started...
Code:
make ARCH=arm64 O=../out mrproper
Specify that we're building for the P9 (hisi3650 chipset)...
Code:
make ARCH=arm64 O=../out p9_extracted_defconfig
And build it!
Code:
make ARCH=arm64 O=../out -j8
When this process completes, we can check the '../out' directory and you should find the file arch/arm64/boot/Image. This is the kernel that you've just built! You can't flash it as is though, you need to put it into a boot image first.
Here's how you do it...
Change out of the kernel directory back to its parent.
Code:
cd ..
Download tools for manipulating the boot image.
Code:
git clone https://github.com/xiaolu/mkbootimg_tools.git
Download the stock boot image (actually we're using the root ready version for convenience).
Code:
wget -O boot.img http://nigella.modaco.com/files/boot.stock.huaweip9.b136.img
Extract the boot image.
Code:
mkbootimg_tools/mkboot boot.img boot.extracted
Copy the new kernel into the extracted boot folder.
Code:
cp out/arch/arm64/boot/Image.gz boot.extracted/kernel
Build a new boot image.
Code:
mkbootimg_tools/mkboot boot.extracted boot.newkernel.img
You now have a new boot image (boot.newkernel.img). All that's left is to flash it to your device! Reboot to bootloader (either using 'adb reboot bootloader' or by powering on with volume down held), flash using 'fastboot flash boot boot.newkernel.img' and then reboot using 'fastboot reboot'. Job done! In the About screen of settings you should see the date of the new kernel and details of your build machine.
And I've just discovered the stock kernel compile isn't seeing my SIM card. Helpful.
P
SIM issue fixed, instructions updated.
P
A good start for this device. I hope we will see more devs soon in this section.
@paulobrien
What's your take on the Kernel sources. The Kernel sources from Huawei have been always a great mess for me.
So...does this actually mean custom ROMs on the P9 after all?? Hot damn I cross my fingers (having just received the phone, which is amazing)
hackslash said:
@paulobrien
What's your take on the Kernel sources. The Kernel sources from Huawei have been always a great mess for me.
Click to expand...
Click to collapse
Well, they compile nowadays which is a bonus, and they're the right version which is even better. ?
P
Sent from my Robin using Tapatalk
emilrune said:
So...does this actually mean custom ROMs on the P9 after all?? Hot damn I cross my fingers (having just received the phone, which is amazing)
Click to expand...
Click to collapse
Honestly, a full stock ROM like CyanogenMod is still a long way off and by no means guaranteed, it'll need someone dedicated and skilled to pick it up.
Every little helps though!
P
Sent from my Robin using Tapatalk
paulobrien said:
Honestly, a full stock ROM like CyanogenMod is still a long way off and by no means guaranteed, it'll need someone dedicated and skilled to pick it up.
Every little helps though!
P
Sent from my Robin using Tapatalk
Click to expand...
Click to collapse
It certainly does! This stuff just got even more interesting I could definitely be satisfied with "just" a custom stock kernel ROM. Coming off an old Z3, I had great fun with SLiM ROMs, Existenz etc.:good:
I think we'll definitely see custom stock based ROMs, with bloat stripped and kernel updated amongst other optimisations.
P
Sent from my Robin using Tapatalk
Can it use with mate8?
Sent from my NEXT using Tapatalk
somboons said:
Can it use with mate8?
Sent from my NEXT using Tapatalk
Click to expand...
Click to collapse
No, but I will be doing a Mate 8 version.
P
Sent from my Robin using Tapatalk
paulobrien said:
No, but I will be doing a Mate 8 version.
P
Sent from my Robin using Tapatalk
Click to expand...
Click to collapse
Great. I'm waiting your guide.I downloaded kernel source for mate 8 , ready to follow your guide.
Please try to build a Kernel for p8 Marshmallow too. [emoji3]
paulobrien said:
Well, they compile nowadays which is a bonus, and they're the right version which is even better.
P
Sent from my Robin using Tapatalk
Click to expand...
Click to collapse
SO TRUE! I remember when I purchased my first Huawei device (Honor 6) and I downloaded it's kernel sources. The sources didn't even compiled. And I just stared at the screen printing loads of C errors (unsigned variables, Wunused variable, etc.). At that time, the sources weren't even complete. They had some files missing. So, I couldn't even fix them. Today, the sources are better. I downloaded P8 Lite's and 4C / 4X Marshmallow sources, compiled them and flashed the kernel. The kernel worked out of the box with eveything working (no SIM, WiFi, related issues).
About Custom ROMs, Cyanogenmod isn't possible but AOSP is. (Do you know currently 5 Huawei Kirin devices have AOSP builds which boot successfully, P8, P8 Lite, 4C, 4X and P8 Lite; the ROM boots but obviously many things don't work especially the RIL). Also, many people don't know that HiSilicon Kirin 620 has official AOSP support (the reason why 4 out of the above 5 mentioned devices have AOSP). The problem is that immense hardwork and loads of patches are needed to make them stable which unfortunately no developer wants to put in. But have faith, the future might be bright for Huawei devices.
emilrune said:
So...does this actually mean custom ROMs on the P9 after all?? Hot damn I cross my fingers (having just received the phone, which is amazing)
Click to expand...
Click to collapse
Kernel Source != Custom ROM. In fact, sometimes you can build a ROM around a stock boot.img and not have to use a custom kernel at all. But having sources for the Kirin chipset always helps.
paulobrien said:
Honestly, a full stock ROM like CyanogenMod is still a long way off and by no means guaranteed, it'll need someone dedicated and skilled to pick it up.
Every little helps though!
P
Sent from my Robin using Tapatalk
Click to expand...
Click to collapse
Honestly I don't actually care all that much for Cyanogen and the like. I just need me some slimmed down no-bloat ROM, and of course the benefits/apps that root bring:good:
---------- Post added at 08:36 AM ---------- Previous post was at 08:31 AM ----------
zowpow said:
Kernel Source != Custom ROM. In fact, sometimes you can build a ROM around a stock boot.img and not have to use a custom kernel at all. But having sources for the Kirin chipset always helps.
Click to expand...
Click to collapse
That's what I gather; some insight into the Kirin chipset can only be helpful to the smart devs around here:good:
@paulobrien i see in your you have 2 huawei p9 related repos; android_kernel_huawei_p9 and android_kernel_huawei_p9_mck which one can be used?
umair9001 said:
@paulobrien i see in your you have 2 huawei p9 related repos; android_kernel_huawei_p9 and android_kernel_huawei_p9_mck which one can be used?
Click to expand...
Click to collapse
More details on mck coming soon. ?
P
Sent from my HUAWEI NXT-L29 using Tapatalk
So double tap to wake?
I see donations in your future.
Honestly though, it would be amazing to have this feature. Maybe it's possible to enable it without kernel mod though, all the entries in build.prop and hw_easywakeupmotion_config.xml are there and you can get the option in the motion control menu, but when you enable it, it doesn't actually work

Categories

Resources