Posts: 40
Threads: 12
Likes Received: 0 in 0 posts
Likes Given: 0
Joined: Apr 2018
Hi,
I had managed to replace the Android 6.01 kernel based on the Wiki (//tinkerboarding.co.uk/wiki/index.php/Software )
Building image:
$ cd android_kernel
$ make rockchip_defconfig -j4
$ make rk3288-miniarm.img -j4
Flash image:
Prepare one sdcard which has the full Android image inside.
then insert the sdcard into a linux based OS, and suppose the block device of the sdcard is /dev/sdx
$ sudo dd if=./resource.img of=/dev/sdx seek=32768
$ sudo dd if=./kernel.img of=/dev/sdx seek=65536
I repeated the same for the Android 7.1.2 kernel (//github.com/TinkerBoard/android-7.1.2_kernel ).
After dd kernel.img the system boots but it is still running the old kernel.
Has anyone had success replacing the Android 7.1.2 kernel ?
Thanks
Vasant
•
Posts: 220
Threads: 4
Likes Received: 25 in 23 posts
Likes Given: 3
Joined: Sep 2017
Hi Vasant, take a look here, I described how to calculate the right seek value for Nougat:
https://tinkerboarding.co.uk/forum/threa...ml#pid8632
I think the right value for the kernel is 73728 and for the resource 40960.
•
Posts: 985
Threads: 22
Likes Received: 68 in 60 posts
Likes Given: 12
Joined: Jul 2018
Doesn't fdisk -l show the image layout ?
Light blue words might be a link. Have you try to click on them?
•
Posts: 40
Threads: 12
Likes Received: 0 in 0 posts
Likes Given: 0
Joined: Apr 2018
I tried sudo dd if=./kernel.img of=/dev/sdx seek=73728 .
It still booted the old kernel.
•
Posts: 220
Threads: 4
Likes Received: 25 in 23 posts
Likes Given: 3
Joined: Sep 2017
Hi Vasant,
I had to make a new resource.img and I wrote it now with:
Code:
sudo dd of=/dev/sde if=resource.img seek=40960
And it worked for me. Btw, the gpiomem driver failed to load, I made changes in dtb.
How do you know that you are still on old kernel? What have you changed?
•
Posts: 40
Threads: 12
Likes Received: 0 in 0 posts
Likes Given: 0
Joined: Apr 2018
(01-13-2019, 06:58 PM)lobo Wrote: Hi Vasant,
I had to make a new resource.img and I wrote it now with:
Code:
sudo dd of=/dev/sde if=resource.img seek=40960
And it worked for me. Btw, the gpiomem driver failed to load, I made changes in dtb.
How do you know that you are still on old kernel? What have you changed?
If you go to Android settings -> About device (I think), it will give you information about build time and build user.
After I updated kernel I should see it change.
So right now I am building whole Android which takes forever on my box.
Vasant
•
Posts: 220
Threads: 4
Likes Received: 25 in 23 posts
Likes Given: 3
Joined: Sep 2017
Hello Vasant,
I updated also the kernel and yes it is shown in 'About Tablet/Kernel Version'.
•
Posts: 40
Threads: 12
Likes Received: 0 in 0 posts
Likes Given: 0
Joined: Apr 2018
Perhaps it only works on the the newer build that I see on your image. I am trying to update the kernel on the v14.1.2.50 ANdroid image and it did not work.
Vasant
•
Posts: 40
Threads: 12
Likes Received: 0 in 0 posts
Likes Given: 0
Joined: Apr 2018
I finally built the latest Android from git and now I can rebuild replace kernel.img with dd and seek=73728.
So you are right about the offset in the current release but it is different in the V14.1.2.50 release.
Anyway thanks for your help. I wish Asus would be more active in supporting their good hardware.
Vasant
•
Posts: 7
Threads: 2
Likes Received: 0 in 0 posts
Likes Given: 0
Joined: Jan 2019
Has anyone got an overclocked kernel? Or at least one that is at 1.8 instead of 1.6?
•