[Android Head-Units] stimpz0r:
ownice K1 root!

DISCLAIMER ::

this is NOT FOR THE C500, using my below method will more than likely cause the exact same issue i ran into on the K1 - youll get root, but you wont be able to install su because they are not 64-bit. the only way to recover is to copy the arm64.zip contents onto the headunit without losing your terminal emulator session (no reboot, no turning off the car if already installed) and use the commands given on the top of page 11 to get su installed.

ONLY USE THE METHOD BELOW ON K1 OR OTHER ARMV71 VARIANTS BY OWNICE

hi all! :good::cool:

i have been rather dormant on XDA for years now after i gave up doing custom roms when my old Samsung Galaxy Tab gave it in and life became too busy, but have still kept an interest in the Android world. anyway, i picked up one of the new Ownice K1 units from their official Alibaba store when it was on sale and installed it in my car.

being that the software was similar i thought i would give using the root method from this topic a shot. the new su command got me root, but i hit a brick wall during the install when i got to the "su --install" command. it told me that it couldn't be executed due to being a 64-bit ELF binary. turns out that the K1 units are actually armv71 (meaning 32-bit).

the trick to get around that - instead of downloading the "arm64.zip" file in the OP, download the last version of SuperSU flashable zip from the below link - it's an old one (off Chainfire's old SuperSU website) but it will still give you a working 32-bit su binary.

the download link - https://download.chainfire.eu/696/SuperSU/UPDATE-SuperSU-v2.46.zip?retrieve_file=1

extract the zip file using your favourite file manager and copy the "su" file from the "armv7" directory into a folder on your USB stick, then copy that folder to the root of your sdcard folder on the headunit (for the below example i will use "su" as the folder - if you decide to change that, make sure you update the paths in the "cp" commands below to match your folder name - e.g. instead of "/sdcard/su/su" you would have "/sdcard/yourfolder/su" ), then plug in your USB keyboard, start up your terminal emulator (the link in the OP will be more than fine) and type the following commands (hitting enter at the end of each line):

/system/bin/su @#zxcvbnmasdfghjklqwertyuiop1234567890,.
mount -o remount,rw /system
cp /sdcard/su/su /system/bin/su
chmod 0755 /system/bin/su
cp /sdcard/su/su /system/xbin/su
chmod 0755 /system/xbin/su
su --install
su --daemon&
setenforce 0
mount -o remount,ro /system

if the top line fails to work due to not finding the su file try changing the line to:

/system/xbin/su @#zxcvbnmasdfghjklqwertyuiop1234567890,.

sorry all, not 100% sure if it is "/system/bin/su" or "/system/xbin/su" - and now i am rooted i cannot check as i have copied the file to both paths as part of the steps to root (and im not factory resetting!). what i do know for certain is that i had to put that in front of the command to get it to work, just typing "su" wasnt working.

after that, make sure you start SuperSU and run through the installation process and reboot at the end of the install...

for better instructions on the WHOLE process of rooting your device, i highly suggest watching the video by [MENTION=2450054]Sentinel196[/MENTION] in post #110 (mad props to you dude! i subscribed to your youtube channel after watching your ownice C500 videos, great instructions and reviews). you will still need to swap the zip file he downloads for the SuperSU linked above, still copy the correct file into the directory you transfer onto the device as i explained, and still follow the commands i type in place of the ones he shows, but all his other instructions and methods he shows to do this are perfectly good, and explained really well with visuals - you cant beat that for instructions that are easy to follow! :good:

finally, huge thanks to the OP for this and for everyones work on improving this and getting around the issues. i hope this helps someone achieve an unlocked device, as they should all be! :highfive:

edit :: it seems my signature device list is way out of date... shows how long i've been dormant LOL