OESF Portal | OESF Forum | OESF Wiki | LinuxPDA | #planetgemini chat on matrix.org | #gemini-pda chat on Freenode | #zaurus and #alarmz chat on Freenode | ELSI (coming soon) | Ibiblio

IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Safe and unsafe flashing / dual boot with rooted Android
skmakine
post Jun 17 2018, 01:23 AM
Post #1





Group: Members
Posts: 11
Joined: 14-June 18
Member No.: 824,431



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
Go to the top of the page
 
+Quote Post
skmakine
post Jun 17 2018, 05:37 AM
Post #2





Group: Members
Posts: 11
Joined: 14-June 18
Member No.: 824,431



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.
Go to the top of the page
 
+Quote Post
nullr0ute
post Jun 17 2018, 09:18 AM
Post #3





Group: Members
Posts: 7
Joined: 16-June 18
Member No.: 824,565



QUOTE(skmakine @ Jun 17 2018, 02:37 PM) *
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.
Go to the top of the page
 
+Quote Post
sup
post Jun 18 2018, 01:36 AM
Post #4





Group: Members
Posts: 10
Joined: 17-June 18
Member No.: 824,637



QUOTE(skmakine @ Jun 17 2018, 05:37 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.

Are there "official" or recommended ways to root the Gemini? So far, I was recommended Magisk, but not specifically for Gemini.
Go to the top of the page
 
+Quote Post
1668880
post Jun 19 2018, 11:20 AM
Post #5





Group: Members
Posts: 49
Joined: 3-January 18
Member No.: 815,735



QUOTE(sup @ Jun 18 2018, 02:36 AM) *
QUOTE(skmakine @ Jun 17 2018, 05:37 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.

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.
Go to the top of the page
 
+Quote Post
sup
post Jun 19 2018, 12:34 PM
Post #6





Group: Members
Posts: 10
Joined: 17-June 18
Member No.: 824,637



QUOTE(1668880 @ Jun 19 2018, 11:20 AM) *
QUOTE(sup @ Jun 18 2018, 02:36 AM) *
QUOTE(skmakine @ Jun 17 2018, 05:37 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.

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.
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 25th May 2020 - 01:34 AM