raspiduino / a6lte-kvm

Kernel with ARM/KVM for SM-A600G (Samsung Galaxy A6) with Exynos7870 SoC
Other
18 stars 2 forks source link

What to do on step 9 and step 1 / Installing ? #6

Open Marietto2008 opened 1 year ago

Marietto2008 commented 1 year ago

Hello.

I've reached the step 9 of your tutorial and I'm confused what to do because it seems,based on my perspective,that step 9 confuses itself a little bit with step 1 of the installing section. Let's give a look at what you wrote :

Step 9: Open your phone (or any phone), install latest Magisk apk. Open the Magisk app, select Install, click Next, choose patch a file, then transfer the new-boot.img to that phone, patch it using Magisk. The output should be in Download folder.

Step 1: Transfer the patched img file to your Windows PC (to use Odin, in Linux you need Heimdall) and rename it to boot.img. Add the file to tar using 7-zip or tar command then load tar file to AP in Odin. Flash your phone and when it says PASS!, you are doing well!

So,below there are my questions. Please try to be clearer because I don't want to brick my phone. I want to be sure to do correctly before to try.

1) let's take the Samsung Galaxy A6 and installs magisk there : OK

2) Open the Magisk app, select Install, click Next, choose patch a file, then transfer the new-boot.img to that phone, patch it using Magisk : OK but you haven't explained how to transfer the new-boot.img file to the phone. Are you sure that everyone knows how to do this ?

3) The output should be in Download folder : I don't understand what's the output and why it should be there.

4) Transfer the patched img file to your Windows PC (to use Odin, in Linux you need Heimdall) : If I don't get wrong,the patched file is the new-boot.img file,right ? or it is the ouput that has been stored within the Download folder after the patching ? Should I transfer it from the Download folder of the phone to my Linux box ?

5) and rename it to boot.img : should I rename the output file to boot.img ?

6) Add the file to tar using 7-zip or tar command then load tar file to AP in Odin : should I convert the output file in a tar file ?

7) should I press on the odin button called flash ? you stopped to talk about heimdall. But I'm still using Linux. Does Odin work for Linux ? Which version of Odin should I get for Linux ? I see that there are many.

raspiduino commented 1 year ago

First of all, don't worry too much about bricking your phone: if your phone can enter download mode, it will NOT brick. I can even enter download mode from a broken screen A6 and get a root shell via USB connection.

that step 9 confuses itself a little bit with step 1 of the installing section

The purpose of using Magisk to patch is to add root to boot.img (aka rooting your phone). It will have to be done on your phone (not on your computer) because Magisk need to collect information about your phone to be able to patch the image correctly.

Open the Magisk app, select Install, click Next, choose patch a file, then transfer the new-boot.img to that phone, patch it using Magisk : OK but you haven't explained how to transfer the new-boot.img file to the phone. Are you sure that everyone knows how to do this ?

Plug your phone in, MTP should work and your phone's internal storage will show on your computer. I think everyone should know this. Then copy the file to your phone.

The output should be in Download folder : I don't understand what's the output and why it should be there.

Use the magisk app to patch the image. There is a button "Install" in the magisk app. There will be option to select and patch an image. Select the image you transfered to your phone and patch it with the app. Default magisk's output path for patched image will be in Download folder (ask magisk devs)

Transfer the patched img file to your Windows PC (to use Odin, in Linux you need Heimdall) : If I don't get wrong,the patched file is the new-boot.img file,right ? or it is the ouput that has been stored within the Download folder after the patching ? Should I transfer it from the Download folder of the phone to my Linux box ?

If I don't get wrong,the patched file is the new-boot.img file,right ?. No. or it is the ouput that has been stored within the Download folder after the patching. Yes Should I transfer it from the Download folder of the phone to my Linux box ?. Yes

and rename it to boot.img : should I rename the output file to boot.img ?

Yes, rename your patched image to boot.img or Odin will complain

Add the file to tar using 7-zip or tar command then load tar file to AP in Odin : should I convert the output file in a tar file ?

Yes, absolutely. The instruction is clearly.

you stopped to talk about heimdall.

I haven't use heimdall. You can refer to their document and I think it should work the same as Odin. Or you can install Windows on a VM. I don't think Odin on Wine will work (you can give it a try if you want).

There should be tutorials on internet about how to use Odin and heimdall, so you can do a google search.

Good luck!

Marietto2008 commented 1 year ago

---> Plug your phone in, MTP should work and your phone's internal storage will show on your computer. I think everyone should know this. Then copy the file to your phone.

On Linux I don't see the phone internal storage of the phone ready between the mounted volumes.