how to root lenovo vibe k5 note ?

kathanpatel1001

Senior Member
Apr 12, 2013
204
79
0
Ahmedabad
I tried "fastboot flashing get_unlock_ability"
and got result as in screenshot below.
Can any one try below codes i have extracted them from lk.bin
Don't know what they do. Try at your own risk.. :cowboy:
fastboot <below code one at a time>
oem p2u
oem reboot-recovery
oem append-cmdline
oem off-mode-charge
oem unlock
oem lock
oem key
oem lks.flashing unlock
flashing lock
flashing get_unlock_ability
oem usb2jtag
 

Attachments

comprocks

Senior Member
May 11, 2014
70
74
0
I tried "fastboot flashing get_unlock_ability" and got result as in screenshot below. Can any one try below codes i have extracted them from lk.bin. Don't know what they do. Try at your own risk.. :cowboy:
fastboot <below code one at a time>
oem p2u, oem reboot-recovery, oem append-cmdline, oem off-mode-charge, oem unlock, oem lock, oem key, oem lks.flashing unlock, flashing lock, flashing get_unlock_ability, oem usb2jtag
Found this from a post on XDA: (We don't want to use any of these commands based on their descriptions)

  • oem p2u ("oem p2u <on|off>"; "printk to uart" - sends printk output to UART/serial port, neither relevant nor useful to the vast majority of people)
  • oem reboot-recovery (will reboot into recovery)
  • oem off-mode-charge ("oem off-mode-charge <0|1>"; enables/disables "off-mode charging", i.e. charging while the tablet is powered down). If you disable off-mode-charging ("off-mode-charge 0"), then the tablet will boot into Android when you connect it to USB while it is off.
  • oem append-cmdline ("oem append-cmdline <option>"; Only supported by the new LK; appends option to the Linux kernel command line)
I tried the rest of the commands and here is what happened:
oem usb2jtag converts USB port to JTAG port. I have no idea what that means, but trying the command says: "FAILED (remote: not support on security)"

oem lock and flashing lock are supposed to be used for locking the bootloader but in our case it is already locked and we want to unlock it.

oem unlock does not work. It says "Unlock not allowed" on the phone and "(bootloader) Unsupportive project for unlock FAILED (remote: unknown command)" on the PC.

oem key says: "FAILED (remote: argument size is wrong)"

My assumption is that lks stands for lock state, which is shown as '1' (one) for me, even after trying the command oem lks.flashing unlock. For an unlocked bootloader, it should be '0' (zero).

flashing get_unlock_ability command does not work for me. It just shows me the fastboot command usage information.

On the page where I found the quoted post, the users have mentioned (for another Lenovo device) that patching the lk.bin is the only way to acquire root access or flash custom ROMs. I guess that's the only way for our device as well... (I'm still working on this)

Thanks for the suggestion though.
 
Last edited:

baburocks

Member
Jan 30, 2014
49
23
0
Ported 21 roms for my nubia n1 mt6755..so far

Found this from a post on XDA: (We don't want to use any of these commands based on their descriptions)



I tried the rest of the commands and here is what happened:
oem usb2jtag converts USB port to JTAG port. I have no idea what that means, but trying the command says: "FAILED (remote: not support on security)"

oem lock and flashing lock are supposed to be used for locking the bootloader but in our case it is already locked and we want to unlock it.

oem unlock does not work. It says "Unlock not allowed" on the phone and "(bootloader) Unsupportive project for unlock FAILED (remote: unknown command)" on the PC.

oem key says: "FAILED (remote: argument size is wrong)"

My assumption is that lks stands for lock state, which is shown as '1' (one) for me, even after trying the command oem lks.flashing unlock. For an unlocked bootloader, it should be '0' (zero).

flashing get_unlock_ability command does not work for me. It just shows me the fastboot command usage information.

On the page where I found the quoted post, the users have mentioned (for another Lenovo device) that patching the lk.bin is the only way to acquire root access or flash custom ROMs. I guess that's the only way for our device as well... (I'm still working on this)

Thanks for the suggestion though.
if we got success in unlocking bootloader and rooting............i will just port from my nubia n1 to k5 note.....simple things oly...so hurry up guyzzzz
 

kathanpatel1001

Senior Member
Apr 12, 2013
204
79
0
Ahmedabad

Attachments

kdevg0

New member
Jun 11, 2017
4
2
3
kathanpatel1001,sir may I ask you which scatter file you used to create the boot image?Because I think the link to the tutorial he posted says that that method should not be used to create scatter file for devices with mtk67xx chipset.
 
Last edited:

kathanpatel1001

Senior Member
Apr 12, 2013
204
79
0
Ahmedabad
kathanpatel1001,sir may I ask you which scatter file you used to create the boot image?Because I think the link to the tutorial he posted says that that method should not be used to create scatter file for devices with mtk67xx chipset.
I didn't follow first few steps as it is for users not having boot.img. We already have boot.img as well as scatter file in stock rom zip file inside target_bin folder so you can just extract that boot.img and edit it.
Also Cofface's Bootimg tools was not working properly for me so i used CarlivImageKitchen_Windows_x64_v1.3 just google the name if you want to try it. :good:
 
Last edited:

kdevg0

New member
Jun 11, 2017
4
2
3
I thought you'd be doing so. Afterall , you're a senior member. :) I think I'll wait for someone to flash that disk image as I don't wanna mess up with my father's phone.
 
Last edited:

anujmankotia

Senior Member
Jan 17, 2017
133
41
0
Here is the sad news guyz...
not able to flash the boot image ...and tmp booting is disabled..(due to locked bootloader)..

now i'm trying to modify the system.img
but the update-binary file is too lenghty ...
and i'm still trying to figure out where i need to place files.....(binary files)..
any idea.... brothers

---------- Post added at 06:20 AM ---------- Previous post was at 06:17 AM ----------

@kathanpatel1001 thanks for the help man..
 
  • Like
Reactions: ranganitesh
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone