This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Howto] Root TB Android Nougat with Magisk
#21
(03-09-2019, 10:59 AM)lobo Wrote:
(03-09-2019, 09:49 AM)Leskriim Wrote: Is it mandatory to compile the source code for root?
No it is not needed. Please read carefully the first post.

If we follow the second method, simply connect the micro sd with android and enter the following commands? because I did it and it did not work, but I think virtualbox did not recognize my key (although I added it in the VB configuration)
French

Reply
#22
Hell Leskrim,
you can create a link to your sdcard device and have access to it in VB.
Here you can find how to do this on a windows host:
https://scribles.net/accessing-sd-card-f...dows-host/
Then you should be able to write with dd to it, here I assume the sdcard will be /dev/sdb in Ubuntu:
Code:
sudo dd of=/dev/sdb if=newboot.img bs=512 seek=122880
Reply
#23
(03-12-2019, 06:30 AM)lobo Wrote: Hell Leskrim,
you can create a link to your sdcard device and have access to it in VB.
Here you can find how to do this on a windows host:
https://scribles.net/accessing-sd-card-f...dows-host/
Then you should be able to write with dd to it, here I assume the sdcard will be /dev/sdb in Ubuntu:
Code:
sudo dd of=/dev/sdb if=newboot.img bs=512 seek=122880

What is a DD?
French

Reply
#24
Data Duplicator, a basic Linux command.
https://linuxconfig.org/learning-linux-commands-dd
Reply
#25
I put Ubuntu on my tb, then I flashed Android 7 on a micro sd card via win32diskimager (Windows), then I executed the command (short way) then I have an error message, can be  I'm doing badly but I'm not comfortable with Linux.


Code:
tinker@ELAR-Systems:~$ sudo path/to/rkflashtool w boot < newboot.img
bash: newboot.img: No such file or directory
tinker@ELAR-Systems:~$ sudo path/to/rkflashtool b
sudo: path/to/rkflashtool: command not found
French

Reply
#26
Dear Leskriim,
/path/to is only a placeholder. You need to replace it with real path to your rkflashtool.
And newboot.img also is not found, you need to add the path to it, or change with command cd to the path where you have stored newboot.img, or copy newboot.img to your home folder.
Reply
#27
(06-23-2019, 04:29 PM)lobo Wrote: Dear Leskriim,
/path/to is only a placeholder. You need to replace it with real path to your rkflashtool.
And newboot.img also is not found, you need to add the path to it, or change with command cd to the path where you have stored newboot.img, or copy newboot.img to your home folder.

ok and i need to create a second partition in the sd card to flash newboot?
French

Reply
#28
No, sorry I don't understand well your setup. Remember that rkflashtool is a tool that flash images to the TB via the otg connector, when the TB is in bootloader mode.
When you want to write the newboot.img dirct to a sdcard, you normally use the linux tool dd.
https://tinkerboarding.co.uk/forum/threa...ml#pid8573
Look at the bottom of the first post.
If you use the TB to flash to the Android sdcard, you need to find out the device name of the sdcard and replace the /dev/sdx in this command:
Code:
sudo dd of=/dev/sdx if=newboot.img bs=512 seek=122880
/dev/sdx is a placeholder.
But be careful, if you put the wrong device there, you can destroy your Ubuntu!
Try with the command df to get a list of mounted devices. You can show the output here to get assist.
Another way would be the command dmesg right after you put in the sdcard, to see what device get mounted.
Reply
#29
(06-23-2019, 05:47 PM)lobo Wrote: No, sorry I don't understand well your setup. Remember that rkflashtool is a tool that flash images to the TB via the otg connector, when the TB is in bootloader mode.
When you want to write the newboot.img dirct to a sdcard, you normally use the linux tool dd.
https://tinkerboarding.co.uk/forum/threa...ml#pid8573
Look at the bottom of the first post.
If you use the TB to flash to the Android sdcard, you need to find out the device name of the sdcard and replace the /dev/sdx in this command:
Code:
sudo dd of=/dev/sdx if=newboot.img bs=512 seek=122880
/dev/sdx is a placeholder.
But be careful, if you put the wrong device there, you can destroy your Ubuntu!
Try with the command df to get a list of mounted devices. You can show the output here to get assist.
Another way would be the command dmesg right after you put in the sdcard, to see what device get mounted.

I can not manage everything and very complicated for me, you can root my image?

i run sudo apt-get install rkflashtool so i even know psa how it works and i do not even know where it is, then i wanted to copy newboot.img to dev / snd to get my location but i do not have it Authorized access. yet I try to follow your advice carefully.
French

Reply
#30
Please help
French

Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)