LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Mobile
User Name
Password
Linux - Mobile This forum is for the discussion of all topics relating to Mobile Linux. This includes Android, Tizen, Firefox OS, Sailfish OS, Maemo, MeeGo, Ubuntu Mobile, WebOS, Open Mobile Alliance and other similar projects and products.
A reminder that LQ now has a dedicated Android sister site: AndroidQuestions.org

Notices


Reply
  Search this Thread
Old 06-11-2017, 05:42 AM   #1
trumpforprez
Member
 
Registered: Nov 2016
Location: UK
Distribution: Debian Jessie
Posts: 92

Rep: Reputation: Disabled
How to root your android phone


I have Android Marshmallow on my smartphone and would like to install LineageOS onto it.

I have bought a new microSD card for my phone and this can be put into a USB adapter to connect to my PC.
I haven't rooted a phone before so I will need some real basic help.

Firstly, how do I backup my current rom onto my SD card?

Secondly, how can I be certain the LineageOS rom I download from a 3rd party site is legit?
Is there a sha256sum (checksum) I can do?
 
Old 06-12-2017, 02:32 AM   #2
tshikose
Member
 
Registered: Apr 2010
Location: Kinshasa, Democratic Republic of Congo
Distribution: RHEL, Fedora, CentOS
Posts: 404

Rep: Reputation: 73
Hi,

This is LinuxQuestions site for ... Linux Questions.
Why don't you post in its sister site AndroidQuestions?
Had you tried Google?
 
Old 06-12-2017, 02:27 PM   #3
BW-userx
Senior Member
 
Registered: Sep 2013
Location: MID-SOUTH USA
Distribution: Void Linux / Slackware 14.2
Posts: 4,742

Rep: Reputation: 877Reputation: 877Reputation: 877Reputation: 877Reputation: 877Reputation: 877Reputation: 877
xda developers -- I'd go there, do an extensive search on the phone I owned (make and model) to see if it is supported within that sight for root, and new ROMS and restores before rooting my phone.
 
1 members found this post helpful.
Old 06-12-2017, 03:02 PM   #4
trumpforprez
Member
 
Registered: Nov 2016
Location: UK
Distribution: Debian Jessie
Posts: 92

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by tshikose View Post
Hi,

This is LinuxQuestions site for ... Linux Questions.
Why don't you post in its sister site AndroidQuestions?
Had you tried Google?
This is the Linux Mobile forum on LQ.
The forum describes itself thusly:

''This forum is for the discussion of all topics relating to Mobile Linux. This includes Android, Tizen, Firefox OS, Sailfish OS, Maemo, MeeGo, Ubuntu Mobile, WebOS, Open Mobile Alliance and other similar projects and products.''
You can see this info at the top of this webpage.

Android uses the Linux kernel.
This is why this forum exists on LQ.

Quote:
Why don't you post in its sister site AndroidQuestions?
I refer you to my previous answer.

Quote:
Had you tried Google?
But that's just a search engine.
We join forums to get help from people who want to help others.
Thank you for your reply.
 
1 members found this post helpful.
Old 06-12-2017, 03:29 PM   #5
trumpforprez
Member
 
Registered: Nov 2016
Location: UK
Distribution: Debian Jessie
Posts: 92

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by BW-userx View Post
xda developers -- I'd go there, do an extensive search on the phone I owned (make and model) to see if it is supported within that sight for root, and new ROMS and restores before rooting my phone.
Yep, I saw it.
I was registering for the site but there's a captcha you have to pass.
Only problem is NoScript add-on on Firefox will only show the captcha if you allow 'goggle.com'.

Interestingly, it's the same when registering with LQ.
You need to pass a captcha - but you can only see it if you enable NoScript to allow goggle to show its script on the webpage.
Of course, this is the same webpage where you've just input your username and password.

Ha ha. I really shouldn't care about such coincidences!

The best secure rom on android is apparently 'Replicant' (it's funded by the Free Software Foundation).
But it only works on a few phones - like the Samsung Galaxy S3!.

I don't mind buying a 2012 phone today cos the S3 still does the job (IMO).
However, I bought a different phone and it doesn't support Replicant.
 
Old 07-04-2017, 10:03 PM   #6
Barkester
Member
 
Registered: Jan 2017
Location: SE Asia
Distribution: Arch
Posts: 67

Rep: Reputation: Disabled
I'd like to root Android more easily as well. Nobody's really focusing on that. I'd really like full functionality on the terminal without having to plug into a computer.

The install part is easy and you should be able to move everything in it around using a terminal or file manager on your computer. Save what you want and implant the new OS on the card just like it was a USB stick.

I dislike Android. Leave it in a drawer under a speaker and even then its got tape on the cameras. Worse than Windows. Looking into replacements.

An if there's a checksum, the site will have it right under the iso download. Again, do it from a computer. Android is useless.

Good luck on that.

Edit:

Got me curious so I rooted mine. Strange process. I used an app called Kingoroot. Tried it out on a Huawei and an Oppo and worked on one of two (the Oppo). Just a dice throw really. Decent odds though. Not on Google Play (probly' 'cuz its an exploit).
Found Busybox and Smanager on my way though the jungle as well. Pretty cool. The phone is much more interesting now.

Last edited by Barkester; 07-05-2017 at 03:55 AM.
 
Old 07-09-2017, 01:41 PM   #7
trumpforprez
Member
 
Registered: Nov 2016
Location: UK
Distribution: Debian Jessie
Posts: 92

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Barkester View Post
The install part is easy and you should be able to move everything in it around using a terminal or file manager on your computer. Save what you want and implant the new OS on the card just like it was a USB stick.
Are you saying install a full linux distro onto a microSD, insert the microSD into your android phone and then boot from microSD?

Because that would be a great idea!
Unfortunately, I don't think it's possible due to politics.

Quote:
Got me curious so I rooted mine. Strange process. I used an app called Kingoroot. Tried it out on a Huawei and an Oppo and worked on one of two (the Oppo). Just a dice throw really. Decent odds though. Not on Google Play (probly' 'cuz its an exploit).
When you download Kingroot or any files, is there a checksum you can do?
How do we know the downloads are secure and legit?
Also, how do we know rooting your phone doesn't make you an even easier target for mass surveillance?
Thanks for your reply, btw.

Quote:
Found Busybox and Smanager on my way though the jungle as well. Pretty cool. The phone is much more interesting now.
What do these programs do on a rooted phone?
 
Old 07-09-2017, 10:20 PM   #8
Barkester
Member
 
Registered: Jan 2017
Location: SE Asia
Distribution: Arch
Posts: 67

Rep: Reputation: Disabled
? 1. Yes. But its a special modem-like hard-boot using a key combination for your make and model. One example is to hold both the up volume and the power simultaneously. You will get a menu that will be able to run a fresh install from the card. Get your model number and surf for your combo.

Politics? Maybe in the states, but there are very legit reasons for doing it. Changing a language. Clean installs. You can get factory Androids or customized. All kinds. 'Probly illegal there but screw them.

? 2. Can do, but its still an issue of trust with the proprietor of Kingoroot. He is regularly updating new updates and they are exploits. He could well put anything in there.
Honestly, rooting your phone using any methods I've seen are no doubt a bad idea if your phone has things you wish to keep private. I am only messing with mine because its easy for me to reinstall and my phone is taped and stays home under the speaker where its drowned in dubstep and raggae. It has nothing on it, stays home and is blind, deaf and dumb.
If there was any value in it at all, I wouldn't root it. I would access and change it from the terminal in a linux system on a pc. Even then I wouldn't give it much trust. Stupid phones are what you want for security. Play your games on a PSX or something if you gotta.

? 3. I happen to have this up now : http://smanager.wikidot.com/docs:smanager-manual for Smanager.
Busybox is a nice rooted applet manager. Both require rooting to work.

They are fun to mess with and you can always just reinstall after you've learned your way around and had your fun. It is a weird Linux. Definitely not the secure way to go though. Only playtime.

And thats pretty much everything I know thats Android-specific. Hope it helps.
 
1 members found this post helpful.
Old 07-22-2017, 04:48 AM   #9
trumpforprez
Member
 
Registered: Nov 2016
Location: UK
Distribution: Debian Jessie
Posts: 92

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Barkester View Post
? 1. Yes. But its a special modem-like hard-boot using a key combination for your make and model. One example is to hold both the up volume and the power simultaneously. You will get a menu that will be able to run a fresh install from the card. Get your model number and surf for your combo.
If I can boot my phone from an OS on microSD, then that is something!
Is there a Youtube tutorial showing this?

The linux OS for the phone must be a special one so it still allows phone calls to be made.

Is there a website with more info on this?
 
Old 07-22-2017, 05:53 AM   #10
aus9
LQ Addict
 
Registered: Oct 2003
Location: Australia
Distribution: MX 16
Posts: 5,298

Rep: Reputation: Disabled
AFAIK ubuntu touch is the main linux project that might work on some phones not all
https://wiki.ubuntu.com/Touch/Devices

XDA forum is still the best place for you to go....sorry but its true!

one of the main issues is this....some makes of android do not publish their kernel headers...a breach I believe of the GPL
if you do not have the headers for your specific device a number of things won't work so you risk have a linux pc on the phone but
no---sim radio/wifi/touch screen (ouch), proximity sensor, accel sensor (for rotation) the list goes on.

good luck
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: This Android malware can secretly root your phone and install programs LXer Syndicated Linux News 0 06-22-2016 02:30 PM
[SOLVED] What is the Safest way to ROOT an android phone? angel115 Linux - Mobile 14 08-13-2015 03:20 AM
LXer: How to Root Your Froyo Android Smart Phone` LXer Syndicated Linux News 0 10-08-2011 06:00 PM
[SOLVED] Android Phone snjksh Linux - Mobile 1 05-04-2011 12:44 PM
"how to get root access in android phone emulator" preetb123 Linux - Mobile 3 02-19-2011 07:25 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Mobile

All times are GMT -5. The time now is 12:44 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration