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 )

2 Pages V   1 2 >  
Reply to this topicStart new topic
> Helio X27 Root and removing GAPPS ?
scops
post Dec 28 2017, 12:46 AM
Post #1





Group: Members
Posts: 13
Joined: 24-November 07
Member No.: 20,976



Planet Computers doesn't answer to questions about rooting the Gemini. We could expect that there won't be an official way for rooting.
So, whats the best way to root a device with Helio X27 and is there an good howto how to remove (or deactivate) all GAPPS/Services?

Go to the top of the page
 
+Quote Post
Varti
post Dec 28 2017, 04:34 AM
Post #2





Group: Admin
Posts: 740
Joined: 30-April 08
From: Italy
Member No.: 21,713



I believe Planet prefers not to talk about the use of rooting tools, like any other smartphone/tablet maker, for obvious reasons...

I have a limited experience in rooting; I have always used only vroot, and according to the following post (in italian only, sorry), both kingroot and vroot should support any MTK chipset: http://www.androidiani.com/forum/modding-u...tml#post7782386 From my experience, vroot works as expected, though at least on my smartphone it keeps showing annoying warnings in chinese, plus the installer only works under Windows, so I don't know if I'd recommend it. I have never tried kingroot. I have read about UMIDIGI's rootjoy, though it is officially only for the UMI Z smartphone, so I'm not sure it would work with other X27 devices.

I'm going to reopen the Wiki section soon; still no PHP upgrade on our server, though it is being worked on, so we'll use the current MediaWiki installation for now. I'll add a Gemini section too, so if anybody will find a reliable procedure for rooting and GAPPS removal I'd gladly host it there: https://www.oesf.org/wiki/

Varti
Go to the top of the page
 
+Quote Post
Michael Liberman
post Jan 3 2018, 01:07 AM
Post #3





Group: Members
Posts: 4
Joined: 2-January 18
Member No.: 815,729



The other question is, whethere rooting our devices (I intend to root mine as soon as I can), will void the warranty.
Is Vroot reversible?
I am asking because I haven't used any rooting method for a long time now (having used Cyanogenmod on all my android devices for the last 5 years or so).


Go to the top of the page
 
+Quote Post
Varti
post Jan 3 2018, 01:27 AM
Post #4





Group: Admin
Posts: 740
Joined: 30-April 08
From: Italy
Member No.: 21,713



QUOTE(Michael Liberman @ Jan 3 2018, 10:07 AM) *
The other question is, whethere rooting our devices (I intend to root mine as soon as I can), will void the warranty.
Is Vroot reversible?
I am asking because I haven't used any rooting method for a long time now (having used Cyanogenmod on all my android devices for the last 5 years or so).

Yes, Vroot's interface (on Windows) has an option to uninstall it, the app on the phone is uninstalled too. Anyway, after removing it a factory reset of the device is recommended, to make sure that no traces of the vroot's installation are left.

PS: Welcome! smile.gif

Varti
Go to the top of the page
 
+Quote Post
Michael Liberman
post Jan 3 2018, 03:48 AM
Post #5





Group: Members
Posts: 4
Joined: 2-January 18
Member No.: 815,729



I see.
Well I suppose then Vroot is a good interim solution, until LineageOS people hopefully release a version of their OS for Gemini.

P.S
Thanks smile.gif
Go to the top of the page
 
+Quote Post
Varti
post Jan 3 2018, 04:59 AM
Post #6





Group: Admin
Posts: 740
Joined: 30-April 08
From: Italy
Member No.: 21,713



Note that it is yet unconfirmed that vroot, or any other rooting utility, will work with the Gemini. As soon as the Gemini will be released I believe (or hope smile.gif ) that rooting tutorials will start to appear here.

I'm also interested in seeing a port of LineageOS. I hope it will be possible to use Gemini's boot menu for alternative OSes too, and that it will be possible to boot them from an external microSD card.

Varti
Go to the top of the page
 
+Quote Post
speculatrix
post Jan 8 2018, 03:59 AM
Post #7





Group: Admin
Posts: 3,494
Joined: 29-July 04
From: Cambridge, England
Member No.: 4,149




I usually use Titanium Backup Root to remove apps and bloat, and this depends on you having not just root but also be able to control selinux. If you can get a root shell and do "setenforce permissive" then you can probably remount the root partition read/write, and then remove bloat.

Removing GAPPS could render your device unusable!
Go to the top of the page
 
+Quote Post
Isaac
post Jan 9 2018, 07:59 AM
Post #8





Group: Members
Posts: 10
Joined: 3-January 18
Member No.: 815,752



The strange aspect of this is that they are shipping with Linux support out of the box. This almost by definition requires rooting does it not?
Go to the top of the page
 
+Quote Post
Grench
post Jan 9 2018, 10:44 AM
Post #9





Group: Members
Posts: 58
Joined: 9-January 18
Member No.: 816,120



QUOTE(Isaac @ Jan 9 2018, 09:59 AM) *
The strange aspect of this is that they are shipping with Linux support out of the box. This almost by definition requires rooting does it not?


I have an outlandish theory on how they might be handling the Android Vs Linux boot.
Android is installed as the primary/only OS on the 64GB eMMC.
A special button-hold during boot forces the device to boot from microSD.
Linux will be user-downloadable and writable to a microSDXC via an ISO image.

I.e. to my theory, you will need to have Linux installed on the primary/boot partition of the user supplied microSDXC card. I suspect that the device will not actually ship with Linux installed.

Which, if you're into Linux and think about it - that's actually a pretty good solution.
Go to the top of the page
 
+Quote Post
speculatrix
post Jan 9 2018, 11:26 AM
Post #10





Group: Admin
Posts: 3,494
Joined: 29-July 04
From: Cambridge, England
Member No.: 4,149



it could be that bootloader is locked down so that it will chain the android bootloader securely, and the android system is then encrypted as per normal, so if you boot linux you might not be able to see much of Android?
much like you might have secure boot enabled on a Windows laptop with a UEFI stage to boot a signed Grub to load linux which can then run with normal security?
Go to the top of the page
 
+Quote Post
terryowen
post Jan 9 2018, 01:12 PM
Post #11





Group: Members
Posts: 17
Joined: 8-May 06
Member No.: 9,808



I don't know how they are handling the Linux install but Planet has said that the units will be delivered with the dual boot Linux ready to use.

And while I don't plan on rooting as my employer has started using iOs/Android mobile apps that won't run on rooted devices, being able to choose from multiple Linux setups on boot sounds good.
Go to the top of the page
 
+Quote Post
Grench
post Jan 12 2018, 11:32 AM
Post #12





Group: Members
Posts: 58
Joined: 9-January 18
Member No.: 816,120



QUOTE(terryowen @ Jan 9 2018, 03:12 PM) *
I don't know how they are handling the Linux install but Planet has said that the units will be delivered with the dual boot Linux ready to use.


Another way to do that while claiming dual boot Linux ready to use:

Create an Android app that when clicked on checks to make sure that there is a microSDXC card in the Gemini, asks the user if it's OK to overwrite it then if Yes to both, downloads and writes the Debian Linux image directly to the microSDXC.

Then the user just has to do the funky hold buttons while resetting trick (which they showed in one of the videos) to force boot to the microSDXC and thus Linux.

It's ready - just put in a microSDXC card and install the latest image.

Personally I'd rather have Linux ride on the microSDXC and leave the eMMC entirely to Android. I can see where others might want to flip that and others might want them to both be a true dual boot from the same eMMC.

But - from the video where they hold the buttons through reset to boot Linux, that directly resembles how to force most Android phones with SD cards to boot from the SD card to root & load custom ROMs. Powering on while a 'secret' set of buttons are held forcing the SoC to boot to an alternate target.

All entirely speculative until someone has one in hand and can start trying things and answering questions.
Go to the top of the page
 
+Quote Post
depscribe
post Jan 12 2018, 12:18 PM
Post #13





Group: Members
Posts: 113
Joined: 3-January 18
Member No.: 815,753



QUOTE(Grench @ Jan 12 2018, 11:32 AM) *
Another way to do that while claiming dual boot Linux ready to use:

Create an Android app that when clicked on checks to make sure that there is a microSDXC card in the Gemini, asks the user if it's OK to overwrite it then if Yes to both, downloads and writes the Debian Linux image directly to the microSDXC.


Then they'd pretty well have to ship the SD card with the unit, because otherwise they'd have to say not that it ships dual boot but that when it ships dual boot would be possible with the addition of non-included storage. In short, the whole dual-booting Linux thing would be a lie. If additional storage is required to run Linux, they surely would have said so by now.
Go to the top of the page
 
+Quote Post
Grench
post Jan 12 2018, 03:10 PM
Post #14





Group: Members
Posts: 58
Joined: 9-January 18
Member No.: 816,120



QUOTE(depscribe @ Jan 12 2018, 02:18 PM) *
QUOTE(Grench @ Jan 12 2018, 11:32 AM) *
Another way to do that while claiming dual boot Linux ready to use:

Create an Android app that when clicked on checks to make sure that there is a microSDXC card in the Gemini, asks the user if it's OK to overwrite it then if Yes to both, downloads and writes the Debian Linux image directly to the microSDXC.


Then they'd pretty well have to ship the SD card with the unit, because otherwise they'd have to say not that it ships dual boot but that when it ships dual boot would be possible with the addition of non-included storage. In short, the whole dual-booting Linux thing would be a lie. If additional storage is required to run Linux, they surely would have said so by now.


I've seen that idea floated around a few times - that the unit will ship with both Android and Linux pre-installed on the eMMC. However, I have not seen anything from Planet Computers that directly claims that.

What the Indiegogo listing for the Gemini says about Linux:

"Designed for Android, it also features a dual boot Linux option"

"What Linux distribution will Gemini run?
We are currently talking to a few companies representing different Linux flavours and we are considering a number of options but the decision has not been taken yet. We are also taking into accounts comments from the backers into consideration, including Sailfish & Ubuntu OS, which have been suggested several times."

That is all. "Dual boot Linux option" does not equal, "Linux pre-installed."

Note this video showing the Gemini booting Linux:
https://vimeo.com/239095559
At 16 seconds into the video you see that in order to boot Linux, the side-button must be held until the logo splash screen appears.

If this were truly dual boot from the eMMC, then it should boot to a bootloader selection menu drawn from the eMMC.

The key hold during power on is critical to this assessment - it's happening prior to and through the device reset. I.e. it appears to be a conditional choice during boot media selection. Pretty much every phone I've encountered with a microSD card slot has a 'secret button' combination that when held during reset points the device to boot from microSD.

If it were 'Two OS installs on one eMMC' dual boot, then there would have to be a select write to the bootloader when exiting Android to tell it to boot Linux when it restarts. I.e. something on the eMMC's bootloader to tell it to go to the next partition.

We'll see, but I will not only not be surprised but very happy if this is booting Linux from the microSD (at the end user's option) and leaving the eMMC to Android. And yes, I plan to use both. I simply prefer to keep the two separated with Debian Linux on a media point that is easily backed up, changed out, changeable, etc...
Go to the top of the page
 
+Quote Post
ArchiMark
post Jan 13 2018, 06:50 PM
Post #15





Group: Admin
Posts: 1,418
Joined: 25-June 03
From: Silicon Valley
Member No.: 208



Interesting discussion...

As for linux coming installed on Gemini....

I recall reading a recent Planet quote somewhere that linux will not be pre-installed on Gemini, but buyers will Planet will provide a download link to an image to install ourselves.

Among other possible reasons, I think this is due to Gemini not having the image 'ready for primetime', as they say.....

Somewhat similar situation happened with the GPD Pocket....linux was not ready when they had the Win10 units ready to ship...had to ship the linux ones later...and then provided download link for anyone that had the Win10 version and wanted to switch.

It's pretty clear to me now that most vendors are not that linux savvy and/or have adequate resources available to devote to it. The other angle is the vendors have figured out that guys like you on this and other forums are savvy and can fix things up linux-wise and not on the vendor's nickel, as we say...so, good for them....

smile.gif

Mark
Go to the top of the page
 
+Quote Post

2 Pages V   1 2 >
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 April 2018 - 02:59 AM