[-]
Who's Online
There are currently 2148 online users. [Complete List]
» 44 Member(s) | 2104 Guest(s)
AvatarAvatarAvatarAvatar
AvatarAvatarAvatarAvatar
AvatarAvatarAvatarAvatar
AvatarAvatarAvatarAvatar
AvatarAvatarAvatarSee all...

[-]
Tech & Science
[Sci-Am] Coronavirus Lockdowns Have Changed the Way Earth Mo...
Last Post: Scientific American
Today 08:56
» Replies: 0
» Views: 19
[Harvard] Arboretum welcomes botanists from China for inaugu...
Last Post: Harvard
Today 08:56
» Replies: 0
» Views: 11
[Wired] How We Will All Solve the Climate Crisis
Last Post: Wired Magazine
Today 08:56
» Replies: 0
» Views: 7
[Science Daily] Exoplanet where it rains iron discovered
Last Post: Science Daily
Today 08:56
» Replies: 0
» Views: 9
[Science Daily] Looking for dark matter close to home
Last Post: Science Daily
Today 08:56
» Replies: 0
» Views: 11
[Sci-Am] What Called Them to Physics?
Last Post: Scientific American
Yesterday 19:35
» Replies: 0
» Views: 35
[Harvard] Researchers discover what’s behind a sense of dire...
Last Post: Harvard
Yesterday 19:35
» Replies: 0
» Views: 17
[Wired] The Battle Against Global Warming Is the New Cold Wa...
Last Post: Wired Magazine
Yesterday 19:35
» Replies: 0
» Views: 12
[Science Daily] Ancient shell shows days were half-hour shor...
Last Post: Science Daily
Yesterday 19:35
» Replies: 0
» Views: 17
[Science Daily] Video game experience, gender may improve VR...
Last Post: Science Daily
Yesterday 19:35
» Replies: 0
» Views: 11
[Sci-Am] Soylent vs. Huel--Can Powdered Meals Replace Food?
Last Post: Scientific American
Yesterday 06:13
» Replies: 0
» Views: 43
[Harvard] Researcher looks at plaque to gain insight about t...
Last Post: Harvard
Yesterday 06:13
» Replies: 0
» Views: 34
[Wired] Geoengineering Is an Option. Just Read the Fine Prin...
Last Post: Wired Magazine
Yesterday 06:13
» Replies: 0
» Views: 21
[Science Daily] Water splitting advance holds promise for af...
Last Post: Science Daily
Yesterday 06:13
» Replies: 0
» Views: 20
[Science Daily] Making 3D cameras easier to use
Last Post: Science Daily
Yesterday 06:13
» Replies: 0
» Views: 18

[-]
Latest Threads
HOW TO PORT TWRP MT6735, MT6752, MT6753,...
Last Post: danny1323
Yesterday 22:36
» Replies: 483
» Views: 243449
[Open Thread] Fix SP Flash tool errors a...
Last Post: lucifer1413
Yesterday 14:31
» Replies: 43
» Views: 235026
Easily Unbrick Mediatek MT65xx Dead dev...
Last Post: Techie Guy
2020-04-01 09:54
» Replies: 11
» Views: 44372
ZH960-MB-V3.1 SOLVE
Last Post: nyizo
2020-03-30 22:17
» Replies: 29
» Views: 8889
Need a firmware K107-MB-V5.0
Last Post: charlyfn58
2020-03-28 02:40
» Replies: 1
» Views: 8381
android, SP Flash Tool stuck on download...
Last Post: 007fred52
2020-03-26 21:31
» Replies: 1
» Views: 264
Rom for JLINKSZ k960
Last Post: freedite
2020-03-25 03:33
» Replies: 31
» Views: 35325
How can I unbrick a Cubot King Kong Mini...
Last Post: robra
2020-03-24 13:09
» Replies: 0
» Views: 189
recovery-from-boot.p
Last Post: maxim10
2020-03-23 21:52
» Replies: 0
» Views: 171
HELP
Last Post: hafid2009
2020-03-23 21:00
» Replies: 0
» Views: 117
Vernee Thor E MT6753 - TWRP and Stock Ro...
Last Post: lumo66
2020-03-23 02:22
» Replies: 204
» Views: 84300
ZH960 128gb / 6gb ram - Stock ROM/Firmwa...
Last Post: 0v3rkill87
2020-03-22 15:53
» Replies: 0
» Views: 261
NEED ROM ZH960-MB-V4.1
Last Post: 0v3rkill87
2020-03-22 15:45
» Replies: 11
» Views: 3892
Need ROM for Mediateck MT6581V ZH960-MB-...
Last Post: 0v3rkill87
2020-03-22 11:18
» Replies: 66
» Views: 67897
Easy Magic PhilZ Touch Installer for Med...
Last Post: nigerman
2020-03-11 19:08
» Replies: 242
» Views: 114607
[CWM For All MTK] Easy Magic CWM MT6575 ...
Last Post: nigerman
2020-03-11 18:58
» Replies: 200
» Views: 407279
Bobarry k10se tablet ROM needed. Mtk6580...
Last Post: besengek
2020-03-11 14:33
» Replies: 2
» Views: 3360
HELP Need ROM for MTK6580 with WT_E960_M...
Last Post: besengek
2020-03-11 14:26
» Replies: 0
» Views: 288
[Doogee S95 Pro] Any successful root?
Last Post: jargon456
2020-03-10 06:03
» Replies: 0
» Views: 351
Lg K8 - k350n - root, twrp
Last Post: enriqueperez
2020-03-06 21:11
» Replies: 11
» Views: 16459
Request for rom
Last Post: elibinsone
2020-03-05 20:56
» Replies: 2
» Views: 582
i need a rom
Last Post: Ankukr1108
2020-03-04 14:10
» Replies: 0
» Views: 303
betools
Last Post: amjj
2020-03-02 04:04
» Replies: 3
» Views: 2605


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Tutorial] use sideload to install root
#1
under construction until I remove this line please
It would help if you don't reply as your questions comments will look funny until i finish the edits

Lets begin

Credits
siewarner testing on Windows
Athos for Windows preparation info and testing
sniper47 for his non-root CWM tutorial

What is sideload
A function to bypass normal security with luck, done in custom recovery mode
that tries to do the following

A inject a zip file into your device
B install it

Packages needed
Windows has been tested for this download.....gives you the adb command
Try link one first then second if you have any issues, both links work but first is preferred
Link 1
[Only registered and activated users can see links Click here to register]
Link 2
[Only registered and activated users can see links Click here to register]

Linux users can use normal package
android-tools-adb

NEXT, you need a zip file that contains the su command and APK
[Only registered and activated users can see links Click here to register]

I suggest you rename it so you can type in the command below as
chain.zip

Windows adb command preparation
Setting up Minimal ADB and Fastboot

1. Connect your phone to PC with USB debugging enabled, and drivers installed.
2. Run the downloaded installer package
3. Setup will prompt you for preferences.
Choose where to install/place program files.
eg
Quote:C:\Program Files (x86)\Minimal ADB and Fastboot\
Select whether or not to add a Start Menu folder for it.
Select whether or not to create a Desktop shortcut.
4. Run ADB from the either the Start Menu entry or the shortcut (if you created one).
Run as administrator.

Optional: (To enable you to run adb commands on a command prompt from anywhere in your system)
i. Go to My Computer. Do not select anything.
ii. Right-click anywhere in the window, select Properties.
iii. A new window will open. On the left pane, select Advanced System Settings
iv. in the Advanced Tab, click on Environmental Variables
v. Under System Variables, find and select Path, and click Edit.
vi. under Variable Path, go to the end of the existing line, add this
Code:
;C:\Program Files (x86)\Minimal ADB and Fastboot\
or your corresponding appropriate path of installation. (The folder path wherein you had the program installed (Step 3))
vii. OK on everything.

OR if Windows instructions is a minefield, just run a live Linux cd, no need to install.
Start a new post in Linux corner and have a couple of tea instead of needing stronger stuff.

ANDROID PREPARATION
You need a custom recovery installed such as CWM/CTR/TWRP

If you do not have one as yet try tutorial here
[Only registered and activated users can see links Click here to register]

Reboot into that recovery
choose install zip
choose option to sideload

Android screen should show some indication its waiting for a sideload command issued from your PC

PC PREPARATION
1) Open a terminal ...Linux users have a multitude to choose from. For
Windows users, the terminal is the command c m d.exe (without the gaps)

Probably you need to find it in your file manager, more to follow, then right hand click if right handed and choose option to run it as admin

2) Windows users navigate or change directory to where you put chain.zip ----if you used the Optional method.
If you chose not to use the optional method......then chain.zip must be moved into the install directory of folder you set up at step (3) above.

Linux users should navigate to where chain.zip is, normally in Downloads.
Code:
cd Downloads

3) start the adb command in admin mode for Windows
Linux users appear OK as local user

4) We need to ensure adb detects your Android such as example using Linux commands.....Windows commands will be similar
Code:
adb devices
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
List of devices attached
0123456789ABCDEF    sideload

You can not proceed unless you see sideload in output.

On your Android do not cancel sideload (an option in CTR)

5) now we sideload
Code:
adb sideload chain.zip
sending: 'sideload'  100%

[Image: 1zwnbcx.jpg]

Now check if root is working on your Android

good luck


Trouble shooting


A For Windows users you need to have the root still in zip format.
---- Not in APK format. Linux users know this instinctively. Tongue

B Don't try to go past adb devices command without seeing a device and that the device is in sideload mode

C Your custom recovery (like mine) was from needrom. It may be a mod and not correctly built for your actual device. Can't look

This can be resolved but need you ....not me....to unpack it and fix the various
init*rc scripts.

These scripts are dumb....they know nothing of your true USB IDs.
Put the right ones in, and all should be good. Put the wrong ones in and
custom recovery should still work for backup and restore but not sideload.
Reply
#2
i have lost ability to edit...must be a timing thing

so I will put here...various changes....then when ready copy and paste into combined text file then ask for this thread to be deleted.

sorry about......so Athos if you are reading this....feel free to reply below
same for siewerner and any good looking mods Big Grin

-----for your long list of corrections and suggestions

Note that I am a Linux user so suggestions about what I should do is start using Windows will be treated with the contempt it deserves

I neglected to point out the bleeding obvious to Linux lovers
You do not need to set up any udev rule before using sideload

here is proof....well I could lie but I assure it can be easily proved by moderator if you challenge me and they are willing to duplicate.

Distro Live Xubuntu 64 bit

Summary of action
download the adb package
try to run it as local user
try to run it as root user
kill the adb server
go to root
sideload established

[Image: 2hi35a0.jpg]


2) I suspect any kind Windows user can try modifying the post ONE instructions to ignore installing USB Windows drivers (the linux version is udev rule)
and sideload should still work

Thumbs Up

and the image shows I have run a command to prove I have no udev rule set up.
You like this post
Reply
#3
Hi,
I tried that but it gives me error in the phone after "adb sideload chain.zip" command
Restarting adbd...
Error: Invalid OTA package, missing scatter
Instalattion aborted.

I have a s960s (lenovo fake) with android system recovery <3e> 109v82_tg_t5qhd_20140619
Reply
#4
orion13

Did the title of this tutorial escape your attention?
Quote:use sideload to install root

Your error mentioning scatter file suggests you have downloaded a zip file meant to be used with flashtools.
I use Linux and can't use Windows so can not help.

Please start a new thread in the general area where Windows users might offer some advice. good luck

Will all windows users not reply to this poster, in this thread as its off topic thankyou.

I will shortly ask mods to delete this entire thread so I can post an amended tutorial which I shall rename tool.
Reply
#5
Start a new post in Linux corner and have a couple of [Only registered and activated users can see links Click here to register] instead of needing stronger stuff.

---------------------------

Does it means this step will take a long time to go through?
Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  How ROOT Hardware : MT8163? TABLET GabrielPetrova 1 2,311 2019-05-12, 04:15
Last Post: guruboy
  [Tool] Graphical Easy Root MTK6589 MTK6575 MTK6577 GizBeat 88 92,804 2019-01-15, 15:51
Last Post: edunicia
  Root mtk6753 walber luiz 0 990 2018-12-24, 09:45
Last Post: walber luiz
  HELP Pls: Looking for HTC Desire 12+ Root Access Method drszone 0 814 2018-12-23, 04:21
Last Post: drszone
  [Question] How to root AGM A1Q my bootloader is locked Musipatel 0 873 2018-11-19, 12:37
Last Post: Musipatel

Forum Jump:


Users browsing this thread: 1 Guest(s)
[-]
Tech & Science
[Sci-Am] Coronavirus Lockdowns Have Changed the Way Earth Mo...
Last Post: Scientific American
Today 08:56
» Replies: 0
» Views: 19
[Harvard] Arboretum welcomes botanists from China for inaugu...
Last Post: Harvard
Today 08:56
» Replies: 0
» Views: 11
[Wired] How We Will All Solve the Climate Crisis
Last Post: Wired Magazine
Today 08:56
» Replies: 0
» Views: 7
[Science Daily] Exoplanet where it rains iron discovered
Last Post: Science Daily
Today 08:56
» Replies: 0
» Views: 9
[Science Daily] Looking for dark matter close to home
Last Post: Science Daily
Today 08:56
» Replies: 0
» Views: 11
[Sci-Am] What Called Them to Physics?
Last Post: Scientific American
Yesterday 19:35
» Replies: 0
» Views: 35
[Harvard] Researchers discover what’s behind a sense of dire...
Last Post: Harvard
Yesterday 19:35
» Replies: 0
» Views: 17
[Wired] The Battle Against Global Warming Is the New Cold Wa...
Last Post: Wired Magazine
Yesterday 19:35
» Replies: 0
» Views: 12
[Science Daily] Ancient shell shows days were half-hour shor...
Last Post: Science Daily
Yesterday 19:35
» Replies: 0
» Views: 17
[Science Daily] Video game experience, gender may improve VR...
Last Post: Science Daily
Yesterday 19:35
» Replies: 0
» Views: 11
[Sci-Am] Soylent vs. Huel--Can Powdered Meals Replace Food?
Last Post: Scientific American
Yesterday 06:13
» Replies: 0
» Views: 43
[Harvard] Researcher looks at plaque to gain insight about t...
Last Post: Harvard
Yesterday 06:13
» Replies: 0
» Views: 34
[Wired] Geoengineering Is an Option. Just Read the Fine Prin...
Last Post: Wired Magazine
Yesterday 06:13
» Replies: 0
» Views: 21
[Science Daily] Water splitting advance holds promise for af...
Last Post: Science Daily
Yesterday 06:13
» Replies: 0
» Views: 20
[Science Daily] Making 3D cameras easier to use
Last Post: Science Daily
Yesterday 06:13
» Replies: 0
» Views: 18
[Sci-Am] Undersea Telescopes Scan the Sky from Below
Last Post: Scientific American
2020-04-02 16:50
» Replies: 0
» Views: 50
[Harvard] Preventing sudden cardiac death through gene seque...
Last Post: Harvard
2020-04-02 16:50
» Replies: 0
» Views: 33
[Wired] The Search for the Next Big Idea in Magnetic Field M...
Last Post: Wired Magazine
2020-04-02 16:50
» Replies: 0
» Views: 36
[Science Daily] Scientists monitor brains replaying memories...
Last Post: Science Daily
2020-04-02 16:50
» Replies: 0
» Views: 16
[Science Daily] New mathematical model can more effectively ...
Last Post: Science Daily
2020-04-02 16:50
» Replies: 0
» Views: 31
[Science Daily] 'Whiskey webs' are the new 'coffee ring effe...
Last Post: Doriskaf
2020-04-02 09:29
» Replies: 1
» Views: 55
[Science Daily] Preventing spread of SARS coronavirus-2 in h...
Last Post: Doriskaf
2020-04-02 08:59
» Replies: 1
» Views: 35
[Harvard] New laser hits mark on cancer imaging to airport s...
Last Post: Harvard
2020-04-02 03:27
» Replies: 0
» Views: 50
[Wired] A Creator of the Ebola Vaccine Has Hope for Slowing ...
Last Post: Wired Magazine
2020-04-02 03:27
» Replies: 0
» Views: 33
[Sci-Am] Why Some People Resist Advice on How to Behave in t...
Last Post: Scientific American
2020-04-01 14:05
» Replies: 0
» Views: 59
[Harvard] How humans’ sense of ‘intuitive physics’ touches f...
Last Post: Harvard
2020-04-01 14:05
» Replies: 0
» Views: 38
[Wired] That 8-Star System in *Star Trek: Picard*  Really Co...
Last Post: Wired Magazine
2020-04-01 14:05
» Replies: 0
» Views: 54
[Sci-Am] Could Newly Found "Peacekeeping" Cells Be a Weapon ...
Last Post: Scientific American
2020-04-01 00:43
» Replies: 0
» Views: 66
[Wired] The Heady, Intricate Beauty of Watching Whiskey Evap...
Last Post: Wired Magazine
2020-04-01 00:43
» Replies: 0
» Views: 55
[Science Daily] The brains of shrimps and insects are more a...
Last Post: Science Daily
2020-04-01 00:43
» Replies: 0
» Views: 50
[Science Daily] Coronavirus massive simulations completed on...
Last Post: Science Daily
2020-04-01 00:42
» Replies: 0
» Views: 48
[Sci-Am] Firefighter Suit Draws Breathable Air from the Floo...
Last Post: Scientific American
2020-03-31 11:20
» Replies: 0
» Views: 51
[Harvard] Broad Institute races to enable coronavirus testin...
Last Post: Harvard
2020-03-31 11:20
» Replies: 0
» Views: 55
[Wired] Researchers Push for Mass Blood Tests as a Covid-19 ...
Last Post: Wired Magazine
2020-03-31 11:20
» Replies: 0
» Views: 79
[Science Daily] Design of inorganic materials for brain-like...
Last Post: Science Daily
2020-03-31 11:20
» Replies: 0
» Views: 63
[Science Daily] New 3D view of methane tracks sources
Last Post: Science Daily
2020-03-31 11:20
» Replies: 0
» Views: 57
[Wired] The Covid-19 Pandemic Is a Crisis That Robots Were B...
Last Post: Wired Magazine
2020-03-30 21:57
» Replies: 0
» Views: 83