[KERNEL][OP2][LineageOS] FrancoKernel - r12 - 12th Dec

Sam Nakamura

Retired Forum Moderator
Dec 7, 2015
5,476
4,530
113
Landshut (Ndb.)
I have flashed Franco kernel but still getting this error.
You should give basic information about your set-up if you expect someone to help... :)

Rom, Android Version?
Flashed stock boot image before Franco's?
Root? (not only yes but what "magisk or Supersu"?
Flashed by TWRP or FK Manager?
Using latest FK Manager?


-> try both possibilities
-> try flashing your rom kernel before
-> try to flash FK via Kernel Manager

Sent from my OnePlus 2 using XDA Labs
 
  • Like
Reactions: muralidharpattar7

magnamentis

Senior Member
Jul 30, 2013
8,665
8,615
253
Al-Ándalus
magnamentis.com
I have flashed Franco kernel but still getting this error.

Sent from my OnePlus 2 using XDA Labs
ignore the message and flash the latest kernel version r7, the message is a false alarm.

further make sure you have root, open magisk manager, you need at least 2 green hooks.

further perhaps you gonna delete one of your double posts :) it's always a good idea to check own posts before leaving the site but things can happen, no real problem, just hinting.
 
Last edited:
  • Like
Reactions: muralidharpattar7

anupritaisno1

Senior Member
Apr 29, 2014
1,811
1,898
153
It's been around two months since a release. I assumed there's been new stuff in LOS since then that requires an update to the kernel, thereby warranting an update.

I am, however, not an expert. Maybe I'm wrong. If yes, then please tell me, and I'll go ahead and flash FK right now.
You are right. 2 security patches have been released in the last 2 months
 
  • Like
Reactions: Sam Nakamura
Sep 17, 2014
48
1
0
28
Pune
You should give basic information about your set-up if you expect someone to help... :)

Rom, Android Version?
Flashed stock boot image before Franco's?
Root? (not only yes but what "magisk or Supersu"?
Flashed by TWRP or FK Manager?
Using latest FK Manager?


-> try both possibilities
-> try flashing your rom kernel before
-> try to flash FK via Kernel Manager
Thanks for the info.

Sent from my Moto G4 Plus using XDA Labs

---------- Post added at 04:39 PM ---------- Previous post was at 04:38 PM ----------

ignore the message and flash the latest kernel version r7, the message is a false alarm.

further make sure you have root, open magisk manager, you need at least 2 green hooks.

further perhaps you gonna delete one of your double posts :) it's always a good idea to check own posts before leaving the site but things can happen, no real problem, just hinting.
Yeah! I got the information about the kernel in settings.

Sent from my Moto G4 Plus using XDA Labs
 

franciscofranco

Recognized Developer
Dec 9, 2010
24,725
136,397
0
Carcavelos
Ok break from XDA is over, and vacations are over. Sorry for the absence but I had to rest.

r8 is up synced with LineageOS and other security patches + enhancements from other devices.

You can flash it with https://play.google.com/store/apps/details?id=com.franco.kernel or any other mean you're used to!

Hope you're having a great start of summer!
 

Sam Nakamura

Retired Forum Moderator
Dec 7, 2015
5,476
4,530
113
Landshut (Ndb.)
Ok break from XDA is over, and vacations are over. Sorry for the absence but I had to rest.

r8 is up synced with LineageOS and other security patches + enhancements from other devices.

You can flash it with https://play.google.com/store/apps/details?id=com.franco.kernel or any other mean you're used to!

Hope you're having a great start of summer!
Good to hear, some where already speculating from self chosen hermit life to alien abduction :)
Interestingly no one guessed "vacation"...
Welcome back!

Sent from my OnePlus 2 using XDA Labs
 
Last edited:

Sam Nakamura

Retired Forum Moderator
Dec 7, 2015
5,476
4,530
113
Landshut (Ndb.)
...why is this your problem, don't you have any real life problems of your own to solve...
Even though you're principally right I want to clear up here that @aviraxp is contributing to franco's github for the OP2 and has also own kernel projects that partially depend on franco's work, if I have read correctly, so having the latest source pushed does indeed infect his real life projects :) sometimes passion is overwhelming - let's leave it right here...

Sent from my OnePlus 2 using XDA Labs
 
  • Like
Reactions: Tierri

aviraxp

Senior Member
Jun 24, 2016
482
896
0
Beijing
Even though you're principally right I want to clear up here that @aviraxp is contributing to franco's github for the OP2 and has also own kernel projects that partially depend on franco's work, if I have read correctly, so having the latest source pushed does indeed infect his real life projects :) sometimes passion is overwhelming - let's leave it right here...
Nope. I did not do any contributing....
 

saurabhp75

Senior Member
May 15, 2013
544
187
0
New Delhi
Getting error on flashing r8. Recovery log below.


/sdcard/franco.kernel_updater/kernel_backups/fk-r8.zip' Checking for MD5 file... Skipping MD5 check: no MD5 file found I:Zip does not contain SELinux file_contexts file in its root. I:Legacy property environment initialized. Archive: /sdcard/franco.kernel_updater/kernel_backups/fk-r8.zip inflating: META-INF/MANIFEST.MF inflating: META-INF/CERT.SF inflating: META-INF/CERT.RSA inflating: META-INF/com/google/android/update-binary inflating: META-INF/com/google/android/updater-script inflating: README.md inflating: anykernel.sh inflating: ramdisk/fstab.qcom inflating: ramdisk/init.fk.rc inflating: ramdisk/init.performance_profiles.rc inflating: ramdisk/init.special_power.sh inflating: ramdisk/init.supolicy.sh inflating: tools/ak2-core.sh inflating: tools/busybox inflating: tools/mkbootfs inflating: tools/mkbootimg inflating: tools/unpackbootimg inflating: zImage franco.Kernel by franciscofranco @ xda-developers AnyKernel2 by osm0sis @ xda-developers Checking device... OnePlus2 Installing kernel... /tmp/anykernel/anykernel.sh: line 6: kernel.string=franco.Kernel: not found /tmp/anykernel/anykernel.sh: line 7: do.devicecheck=1: not found /tmp/anykernel/anykernel.sh: line 8: do.initd=0: not found /tmp/anykernel/anykernel.sh: line 9: do.modules=0: not found /tmp/anykernel/anykernel.sh: line 10: do.cleanup=1: not found /tmp/anykernel/anykernel.sh: line 11: do.cleanuponabort=1: not found /tmp/anykernel/anykernel.sh: line 12: device.name1=OnePlus2: not found /tmp/anykernel/anykernel.sh: line 13: device.name2=oneplus2: not found 131072+0 records in 131072+0 records out 67108864 bytes (64.0MB) copied, 0.360226 seconds, 177.7MB/s BOARD_KERNEL_CMDLINE androidboot.hardware=qcom user_debug=31 msm_rtb.filter=0x37 ehci-hcd.park=3 lpm_levels.sleep_disabled=1 boot_cpus=0-3 buildvariant=userdebug BOARD_KERNEL_BASE 00000000 BOARD_NAME BOARD_PAGE_SIZE 4096 BOARD_HASH_TYPE unknown BOARD_KERNEL_OFFSET 00008000 BOARD_RAMDISK_OFFSET 01000000 BOARD_SECOND_OFFSET 00f00000 BOARD_TAGS_OFFSET 00000100 BOARD_OS_VERSION 7.1.2 BOARD_OS_PATCH_LEVEL 2017-06 9123 blocks error: unknown hash algorithm 'unknown' Repacking image failed. Aborting... Updater process ended with ERROR: 1 I:Legacy property environment disabled. Error installing zip file '/sdcard/franco.kernel_updater/kernel_backups/fk-r8.zip'


Sent from my OnePlus2 using XDA-Developers Legacy app
 

franciscofranco

Recognized Developer
Dec 9, 2010
24,725
136,397
0
Carcavelos
Getting error on flashing r8. Recovery log below.


/sdcard/franco.kernel_updater/kernel_backups/fk-r8.zip' Checking for MD5 file... Skipping MD5 check: no MD5 file found I:Zip does not contain SELinux file_contexts file in its root. I:Legacy property environment initialized. Archive: /sdcard/franco.kernel_updater/kernel_backups/fk-r8.zip inflating: META-INF/MANIFEST.MF inflating: META-INF/CERT.SF inflating: META-INF/CERT.RSA inflating: META-INF/com/google/android/update-binary inflating: META-INF/com/google/android/updater-script inflating: README.md inflating: anykernel.sh inflating: ramdisk/fstab.qcom inflating: ramdisk/init.fk.rc inflating: ramdisk/init.performance_profiles.rc inflating: ramdisk/init.special_power.sh inflating: ramdisk/init.supolicy.sh inflating: tools/ak2-core.sh inflating: tools/busybox inflating: tools/mkbootfs inflating: tools/mkbootimg inflating: tools/unpackbootimg inflating: zImage franco.Kernel by franciscofranco @ xda-developers AnyKernel2 by osm0sis @ xda-developers Checking device... OnePlus2 Installing kernel... /tmp/anykernel/anykernel.sh: line 6: kernel.string=franco.Kernel: not found /tmp/anykernel/anykernel.sh: line 7: do.devicecheck=1: not found /tmp/anykernel/anykernel.sh: line 8: do.initd=0: not found /tmp/anykernel/anykernel.sh: line 9: do.modules=0: not found /tmp/anykernel/anykernel.sh: line 10: do.cleanup=1: not found /tmp/anykernel/anykernel.sh: line 11: do.cleanuponabort=1: not found /tmp/anykernel/anykernel.sh: line 12: device.name1=OnePlus2: not found /tmp/anykernel/anykernel.sh: line 13: device.name2=oneplus2: not found 131072+0 records in 131072+0 records out 67108864 bytes (64.0MB) copied, 0.360226 seconds, 177.7MB/s BOARD_KERNEL_CMDLINE androidboot.hardware=qcom user_debug=31 msm_rtb.filter=0x37 ehci-hcd.park=3 lpm_levels.sleep_disabled=1 boot_cpus=0-3 buildvariant=userdebug BOARD_KERNEL_BASE 00000000 BOARD_NAME BOARD_PAGE_SIZE 4096 BOARD_HASH_TYPE unknown BOARD_KERNEL_OFFSET 00008000 BOARD_RAMDISK_OFFSET 01000000 BOARD_SECOND_OFFSET 00f00000 BOARD_TAGS_OFFSET 00000100 BOARD_OS_VERSION 7.1.2 BOARD_OS_PATCH_LEVEL 2017-06 9123 blocks error: unknown hash algorithm 'unknown' Repacking image failed. Aborting... Updater process ended with ERROR: 1 I:Legacy property environment disabled. Error installing zip file '/sdcard/franco.kernel_updater/kernel_backups/fk-r8.zip'


Sent from my OnePlus2 using XDA-Developers Legacy app
I don't know any of that, flashes fine here. Don't know what recovery you're using, but something is pretty derped there.
 
  • Like
Reactions: Harpratap

franciscofranco

Recognized Developer
Dec 9, 2010
24,725
136,397
0
Carcavelos
Using twrp 3.0.2.2 , which one is recommended?

Edit : Tried with latest twrp 3.1.1, but got the same error. I am able to flash other kernels without any issue.

Sent from my OnePlus2 using XDA-Developers Legacy app
I have a standard zip structure, works on all devices, and has done so for a long time. I think you have something else going on there.
 
  • Like
Reactions: casual_kikoo

casual_kikoo

Senior Member
Nov 25, 2014
1,037
1,090
113
Paris, France
This issue is present in only r8. I can flash earlier versions without any issue.

Sent from my OnePlus2 using XDA-Developers Legacy app
1. Your first post is a pain tout read, not formated at all. There is plenty of tool, like pastebin/hastebin, or even
Code:
hello world
2. As Franco says, he has a standard Zip structure, based on anykernel, which has already proved its worth.
3 It might be a problem on your own, please download again the kernel and check thé MD5.
 

saurabhp75

Senior Member
May 15, 2013
544
187
0
New Delhi
1. Your first post is a pain tout read, not formated at all. There is plenty of tool, like pastebin/hastebin, or even
Code:
hello world
2. As Franco says, he has a standard Zip structure, based on anykernel, which has already proved its worth.
3 It might be a problem on your own, please download again the kernel and check thé MD5.
With all due respect, #2 and #3 in your response are not helpful as francesco has already replied, to add to it I am also an experienced user.

For #1, let it come from Francesco, I will provide logs in appropriate format.

PS : If you have the required skill set and authorization, I can provide to you as well.

Sent from my OnePlus2 using XDA-Developers Legacy app