[-]
Who's Online
There are currently 778 online users. [Complete List]
» 2 Member(s) | 776 Guest(s)
AvatarAvatar

[-]
Latest Threads
User What is the effect of food intake o...
Last Post: fildena150as
2024-03-13 16:37
» Replies: 0
» Views: 13
Thanks, I've been looking for this for a...
Last Post: StevenRip
2024-02-25 05:00
» Replies: 0
» Views: 12
[SOLVED] Need ROM for ZH960-MB-V4.1
Last Post: ery1988
2024-02-21 08:59
» Replies: 0
» Views: 61
NEED ROM ZH960-MB-V4.1
Last Post: ery1988
2024-02-21 08:53
» Replies: 18
» Views: 13517
Budget phone choice help needed
Last Post: sabir7272
2024-02-10 06:52
» Replies: 4
» Views: 4180
ZH960-MB-V3.1 SOLVE
Last Post: Pranav1
2023-12-20 20:22
» Replies: 77
» Views: 33564
Need ROM for SONIM XP7S Android 5.1.1
Last Post: Alpa
2023-11-29 22:17
» Replies: 0
» Views: 64
Need rom for X101 Mt6592
Last Post: carencell
2023-11-24 21:30
» Replies: 3
» Views: 2032
Gizbeat 101: Get your MTK6589 MTK6577 MT...
Last Post: Alexia78
2023-11-13 11:28
» Replies: 8
» Views: 22259
ZH960-MB-V3.1
Last Post: Giankyworld81
2023-11-01 19:35
» Replies: 21
» Views: 15339
Need rom for a tablet with board id "K10...
Last Post: oliver2
2023-10-24 20:23
» Replies: 6
» Views: 4990
How to Connect open public wifi
Last Post: oliverben45
2023-10-24 16:03
» Replies: 11
» Views: 8787
I NEED FILE FOR ITEL MOBILE PHONE AND TO...
Last Post: Meghnad45
2023-10-22 02:38
» Replies: 1
» Views: 1374
NEED Help Bricked my phone.
Last Post: Meghnad45
2023-10-22 02:36
» Replies: 4
» Views: 4783
Introduction
Last Post: ezrahidaya
2023-10-14 14:38
» Replies: 3
» Views: 1288
Needs help to root a china tablet brand ...
Last Post: ezrahidaya
2023-10-14 14:37
» Replies: 1
» Views: 160
Any tips to stay awake?
Last Post: ezrahidaya
2023-10-14 14:35
» Replies: 6
» Views: 4858
Need ROM for china TAb MT6797
Last Post: ezrahidaya
2023-10-14 14:34
» Replies: 1
» Views: 297
need this stock firmware for my tablet M...
Last Post: ramzii888
2023-10-14 02:20
» Replies: 4
» Views: 4437
Encryption Unsuccessful - Reset Android
Last Post: Aakriti
2023-10-13 16:51
» Replies: 3
» Views: 12373
betools
Last Post: egdeim
2023-09-21 12:41
» Replies: 4
» Views: 5016
[Movie Suggestion] Automata with Antonio...
Last Post: GottaGetX
2023-09-07 09:19
» Replies: 3
» Views: 4079
Suggest a movie thread
Last Post: GottaGetX
2023-09-07 09:17
» Replies: 5
» Views: 8775





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
  Needs help to root a china tablet brand and manufact :Android muzmarmin73 1 160 2023-10-14, 14:37
Last Post: ezrahidaya
  How ROOT Hardware : MT8163? TABLET GabrielPetrova 2 5,096 2021-12-07, 06:39
Last Post: Mindi Brown
  [Tool] Graphical Easy Root MTK6589 MTK6575 MTK6577 GizBeat 89 107,544 2021-04-07, 03:01
Last Post: Lana Banks
  Root mtk6753 walber luiz 0 2,292 2018-12-24, 09:45
Last Post: walber luiz
  HELP Pls: Looking for HTC Desire 12+ Root Access Method drszone 0 1,986 2018-12-23, 04:21
Last Post: drszone

Forum Jump:


Users browsing this thread: 1 Guest(s)
[-]
Tech & Science
[Sci-Am] How the Seven Bridges of Königsberg Spawned New Mat...
Last Post: Scientific American
Today 04:51
» Replies: 0
» Views: 10
[Sci-Am] Biden’s State of the Union Promises Big Job Gains f...
Last Post: Scientific American
Yesterday 14:15
» Replies: 0
» Views: 23
[Sci-Am] Paying Attention to Sensations Can Help Reset the M...
Last Post: Scientific American
Yesterday 00:26
» Replies: 0
» Views: 25
[Sci-Am] How Arguments that Embryos Are People Pose a Threat...
Last Post: Scientific American
2024-03-17 10:12
» Replies: 0
» Views: 30
[Sci-Am] NASA’s Hopes for Space Solar Power Are Looking Dim
Last Post: Scientific American
2024-03-16 19:58
» Replies: 0
» Views: 31
[Sci-Am] Deepwater Sharks Are Threatened by Demand for Liver...
Last Post: Scientific American
2024-03-16 06:21
» Replies: 0
» Views: 34
[Sci-Am] The Amazing Aerial Adventures of the 'Flying Femini...
Last Post: Scientific American
2024-03-15 16:28
» Replies: 0
» Views: 44
[Sci-Am] We Need Small Astronomy as Much as Big Astronomy
Last Post: Scientific American
2024-03-15 02:13
» Replies: 0
» Views: 37
[Sci-Am] Two Giant U.S. Telescopes Are Threatened by Federal...
Last Post: Scientific American
2024-03-14 11:57
» Replies: 0
» Views: 11
[Harvard] Did fermented foods fuel brain growth?
Last Post: Harvard
2024-03-14 11:57
» Replies: 0
» Views: 22
[Sci-Am] What Are the Benefits of Sleeping Alone?
Last Post: Scientific American
2024-03-13 22:27
» Replies: 0
» Views: 3
[Sci-Am] Is Raw Milk Cheese Safe to Eat?
Last Post: Scientific American
2024-03-13 08:41
» Replies: 0
» Views: 2
[Sci-Am] Why Do So Many Mental Illnesses Overlap?
Last Post: Scientific American
2024-03-12 17:56
» Replies: 0
» Views: 3
[Sci-Am] Sora Is OpenAI’s New Text-to-Video Generator. Here’...
Last Post: Scientific American
2024-03-12 03:40
» Replies: 0
» Views: 9
[Sci-Am] Is This the Earliest Evidence of Human Cannibalism?
Last Post: Scientific American
2024-03-11 13:29
» Replies: 0
» Views: 10
[Sci-Am] This New Antivenom Defangs the Toxins of Cobras, Bl...
Last Post: Scientific American
2024-03-10 09:19
» Replies: 0
» Views: 20
[Sci-Am] Florida Surgeon General Risks Making a Dangerous Me...
Last Post: Scientific American
2024-03-09 19:15
» Replies: 0
» Views: 18
[Sci-Am] A Sexbot Gains Sentience in an Eerie New Novel
Last Post: Scientific American
2024-03-08 16:14
» Replies: 0
» Views: 34
[Sci-Am] A Solar Eclipse, Cancer Treatments and Robots with ...
Last Post: Scientific American
2024-03-08 01:32
» Replies: 0
» Views: 49
[Sci-Am] By Preserving Resources, We’re Protecting People, T...
Last Post: Scientific American
2024-03-07 10:49
» Replies: 0
» Views: 41
[Sci-Am] Even 'Twilight Zone' Coral Reefs Aren't Safe from B...
Last Post: Scientific American
2024-03-06 20:41
» Replies: 0
» Views: 51
[Sci-Am] The Life and Gruesome Death of a Bog Man Revealed a...
Last Post: Scientific American
2024-03-06 06:39
» Replies: 0
» Views: 23
[Harvard] ‘Radcliffe Wave’ is waving
Last Post: Harvard
2024-03-06 06:39
» Replies: 0
» Views: 47
[Sci-Am] Stunning Comet Could Photobomb This April's Total S...
Last Post: Scientific American
2024-03-05 16:23
» Replies: 0
» Views: 27
[Sci-Am] The Industrial Designer behind the N95 Mask
Last Post: Scientific American
2024-03-05 01:03
» Replies: 0
» Views: 50
[Sci-Am] Asexuality Research Has Reached New Heights. What A...
Last Post: Scientific American
2024-03-03 20:21
» Replies: 0
» Views: 29
[Sci-Am] Russia's War on Ukraine Chills Arctic Climate Scien...
Last Post: Scientific American
2024-03-03 06:58
» Replies: 0
» Views: 5
[Harvard] Aramont Fellows bring cutting-edge scientific inno...
Last Post: Harvard
2024-03-03 06:58
» Replies: 0
» Views: 3
[Sci-Am] JWST Is Tracking Down the Cosmic Origins of Earth's...
Last Post: Scientific American
2024-03-02 16:02
» Replies: 0
» Views: 14
[Harvard] What shapes your dog’s personality
Last Post: Harvard
2024-03-02 16:02
» Replies: 0
» Views: 14
[Sci-Am] Flimsy Antiabortion Studies Cited in Case to Ban Mi...
Last Post: Scientific American
2024-03-02 01:37
» Replies: 0
» Views: 13
[Harvard] Deep in the Amazon, SEAS team tracks a mobile elem...
Last Post: Harvard
2024-03-02 01:37
» Replies: 0
» Views: 14
[Sci-Am] Why Writing by Hand Is Better for Memory and Learni...
Last Post: Scientific American
2024-03-01 11:16
» Replies: 0
» Views: 11
[Sci-Am] Shifting to EVs Could Prevent Millions of Childhood...
Last Post: Scientific American
2024-02-29 21:47
» Replies: 0
» Views: 39
How to increase likes and followers on Facebook
Last Post: vigreen
2024-02-28 18:02
» Replies: 0
» Views: 89
[Sci-Am] How to Close the 'Orgasm Gap' for Heterosexual Coup...
Last Post: Scientific American
2024-02-28 17:23
» Replies: 0
» Views: 57
[Sci-Am] Sculptures about to Land on the Moon Join a Long Hi...
Last Post: Scientific American
2024-02-28 04:01
» Replies: 0
» Views: 39