Author Topic: Safe and unsafe flashing / dual boot with rooted Android  (Read 3306 times)

skmakine

  • Newbie
  • *
  • Posts: 11
    • View Profile
Safe and unsafe flashing / dual boot with rooted Android
« on: June 17, 2018, 05:23:39 am »
Is it quite safe to run the flashing tool so that I manually select which partitions to flash and which not? Can this result in a bricked device?

I already have a dual booting Gemini, and I'd like to root my Android.

I look at the scatter files, and the only diff between regular Android and rooted Android is "patched_boot.img". And then of course a big bunch of diffs between Android and dual boot.

So can I just change the "boot.img" file to "patched_boot.img" in the dual boot scatter file, then run the flashing tool, and *only* flash the SYS23/boot partition?

The aim here is to:
- not brick the device
- not lose/reset the Debian installation
- not lose Android user data
- ideally not even reset the Android installation
- achieve root in Android

skmakine

  • Newbie
  • *
  • Posts: 11
    • View Profile
Safe and unsafe flashing / dual boot with rooted Android
« Reply #1 on: June 17, 2018, 09:37:47 am »
I went ahead and tried it, I guess things went as expected. Process:

copy Gemini_Dual_Boot.txt as Gemini_Dual_Boot_Rooted.txt
edit Gemini_Dual_Boot_Rooted.txt: replace "boot.img" with "patched_boot.img"
follow Flashing instructions, except that un-check all the boxes except "boot", and use Download Only option.

Flash device, boot: now it's rooted.

Can't see that I would have lost anything in the process; software and accounts remain on Android side, and Debian side seems the same also.

nullr0ute

  • Newbie
  • *
  • Posts: 7
    • View Profile
Safe and unsafe flashing / dual boot with rooted Android
« Reply #2 on: June 17, 2018, 01:18:12 pm »
Quote from: skmakine
I went ahead and tried it, I guess things went as expected. Process:

copy Gemini_Dual_Boot.txt as Gemini_Dual_Boot_Rooted.txt
edit Gemini_Dual_Boot_Rooted.txt: replace "boot.img" with "patched_boot.img"
follow Flashing instructions, except that un-check all the boxes except "boot", and use Download Only option.

Flash device, boot: now it's rooted.

Can't see that I would have lost anything in the process; software and accounts remain on Android side, and Debian side seems the same also.

Thanks. These instructions worked perfectly for me.

Was afraid this would break my dual-boot. but it's still going strong.

sup

  • Newbie
  • *
  • Posts: 35
    • View Profile
Safe and unsafe flashing / dual boot with rooted Android
« Reply #3 on: June 18, 2018, 05:36:36 am »
Quote from: skmakine
I went ahead and tried it, I guess things went as expected. Process:

copy Gemini_Dual_Boot.txt as Gemini_Dual_Boot_Rooted.txt
edit Gemini_Dual_Boot_Rooted.txt: replace "boot.img" with "patched_boot.img"
follow Flashing instructions, except that un-check all the boxes except "boot", and use Download Only option.

Flash device, boot: now it's rooted.

Can't see that I would have lost anything in the process; software and accounts remain on Android side, and Debian side seems the same also.
Are there "official" or recommended ways to root the Gemini? So far, I was recommended Magisk, but not specifically for Gemini.

1668880

  • Jr. Member
  • **
  • Posts: 52
    • View Profile
Safe and unsafe flashing / dual boot with rooted Android
« Reply #4 on: June 19, 2018, 03:20:43 pm »
Quote from: sup
Quote from: skmakine
I went ahead and tried it, I guess things went as expected. Process:

copy Gemini_Dual_Boot.txt as Gemini_Dual_Boot_Rooted.txt
edit Gemini_Dual_Boot_Rooted.txt: replace "boot.img" with "patched_boot.img"
follow Flashing instructions, except that un-check all the boxes except "boot", and use Download Only option.

Flash device, boot: now it's rooted.

Can't see that I would have lost anything in the process; software and accounts remain on Android side, and Debian side seems the same also.
Are there "official" or recommended ways to root the Gemini? So far, I was recommended Magisk, but not specifically for Gemini.

From the Gemini Firmware :" Rooted Android firmware
With Gemini you have the option to easily root your device. Please bear in mind that rooting an Android device comes with associated risks, and some application might not work correctly. You can search the Internet for more information, we suggest that you proceed only if you know what you are doing.
If you know what you are  doing and you want to continue, then you can use the "Gemini_Android_Rooted.txt" scatter file to flash the rooted Android firmware. Please complete the process by installing Magisk Manager"

So since this is from Planet it is for Gemini.

sup

  • Newbie
  • *
  • Posts: 35
    • View Profile
Safe and unsafe flashing / dual boot with rooted Android
« Reply #5 on: June 19, 2018, 04:34:23 pm »
Quote from: 1668880
Quote from: sup
Quote from: skmakine
I went ahead and tried it, I guess things went as expected. Process:

copy Gemini_Dual_Boot.txt as Gemini_Dual_Boot_Rooted.txt
edit Gemini_Dual_Boot_Rooted.txt: replace "boot.img" with "patched_boot.img"
follow Flashing instructions, except that un-check all the boxes except "boot", and use Download Only option.

Flash device, boot: now it's rooted.

Can't see that I would have lost anything in the process; software and accounts remain on Android side, and Debian side seems the same also.
Are there "official" or recommended ways to root the Gemini? So far, I was recommended Magisk, but not specifically for Gemini.

From the Gemini Firmware :" Rooted Android firmware
With Gemini you have the option to easily root your device. Please bear in mind that rooting an Android device comes with associated risks, and some application might not work correctly. You can search the Internet for more information, we suggest that you proceed only if you know what you are doing.
If you know what you are  doing and you want to continue, then you can use the "Gemini_Android_Rooted.txt" scatter file to flash the rooted Android firmware. Please complete the process by installing Magisk Manager"

So since this is from Planet it is for Gemini.
Yes indeed. IT worked. Only TWRP breaks OTA updates.