[-]
Who's Online
There are currently 1396 online users. [Complete List]
» 1 Member(s) | 1395 Guest(s)
Avatar

[-]
Latest Threads
Need ROM for Q223_MB_V41
Last Post: aamm065065
2024-05-13 00:34
» Replies: 0
» Views: 904
K107-MB-V4.2
Last Post: Alby
2024-04-24 00:37
» Replies: 0
» Views: 505
[ROM] NEED ROM ZH960-MB-V5.0 MTK 6592
Last Post: sendycat2
2024-04-21 08:57
» Replies: 0
» Views: 590
ZH960 Tablet Bricked
Last Post: luis mar que
2024-03-20 19:52
» Replies: 14
» Views: 10303
Thanks, I've been looking for this for a...
Last Post: StevenRip
2024-02-25 05:00
» Replies: 0
» Views: 952
[SOLVED] Need ROM for ZH960-MB-V4.1
Last Post: ery1988
2024-02-21 08:59
» Replies: 0
» Views: 630
NEED ROM ZH960-MB-V4.1
Last Post: ery1988
2024-02-21 08:53
» Replies: 18
» Views: 14249
Budget phone choice help needed
Last Post: sabir7272
2024-02-10 06:52
» Replies: 4
» Views: 4556
ZH960-MB-V3.1 SOLVE
Last Post: Pranav1
2023-12-20 20:22
» Replies: 74
» Views: 34650
Need ROM for SONIM XP7S Android 5.1.1
Last Post: Alpa
2023-11-29 22:17
» Replies: 0
» Views: 426
Need rom for X101 Mt6592
Last Post: carencell
2023-11-24 21:30
» Replies: 3
» Views: 2533
Gizbeat 101: Get your MTK6589 MTK6577 MT...
Last Post: Alexia78
2023-11-13 11:28
» Replies: 8
» Views: 22640
Need rom for a tablet with board id "K10...
Last Post: oliver2
2023-10-24 20:23
» Replies: 6
» Views: 6201
How to Connect open public wifi
Last Post: oliverben45
2023-10-24 16:03
» Replies: 11
» Views: 9456
I NEED FILE FOR ITEL MOBILE PHONE AND TO...
Last Post: Meghnad45
2023-10-22 02:38
» Replies: 1
» Views: 1647
NEED Help Bricked my phone.
Last Post: Meghnad45
2023-10-22 02:36
» Replies: 4
» Views: 5104
Introduction
Last Post: ezrahidaya
2023-10-14 14:38
» Replies: 2
» Views: 1569
Needs help to root a china tablet brand ...
Last Post: ezrahidaya
2023-10-14 14:37
» Replies: 1
» Views: 467
Any tips to stay awake?
Last Post: ezrahidaya
2023-10-14 14:35
» Replies: 6
» Views: 8181
Need ROM for china TAb MT6797
Last Post: ezrahidaya
2023-10-14 14:34
» Replies: 1
» Views: 636
need this stock firmware for my tablet M...
Last Post: ramzii888
2023-10-14 02:20
» Replies: 4
» Views: 5052
Encryption Unsuccessful - Reset Android
Last Post: Aakriti
2023-10-13 16:51
» Replies: 3
» Views: 12816
betools
Last Post: egdeim
2023-09-21 12:41
» Replies: 4
» Views: 5232





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 467 2023-10-14, 14:37
Last Post: ezrahidaya
  How ROOT Hardware : MT8163? TABLET GabrielPetrova 2 5,403 2021-12-07, 06:39
Last Post: Mindi Brown
  [Tool] Graphical Easy Root MTK6589 MTK6575 MTK6577 GizBeat 89 108,201 2021-04-07, 03:01
Last Post: Lana Banks
  Root mtk6753 walber luiz 0 2,326 2018-12-24, 09:45
Last Post: walber luiz
  HELP Pls: Looking for HTC Desire 12+ Root Access Method drszone 0 2,007 2018-12-23, 04:21
Last Post: drszone

Forum Jump:


Users browsing this thread: 1 Guest(s)
[-]
Tech & Science
[Sci-Am] Some Counties Voted for Trump and Approved Climate ...
Last Post: Scientific American
Yesterday 17:36
» Replies: 0
» Views: 31
[Sci-Am] Fun Facts about Teeth across the Animal Kingdom
Last Post: Scientific American
Yesterday 03:45
» Replies: 0
» Views: 49
[Sci-Am] The U.S. Must Lead the Global Fight against Superbu...
Last Post: Scientific American
2024-11-20 21:24
» Replies: 0
» Views: 124
[Sci-Am] Trump Administration Likely to Repeal Methane Leak ...
Last Post: Scientific American
2024-11-20 07:40
» Replies: 0
» Views: 47
[Harvard] Mars may have been habitable much more recently th...
Last Post: Harvard
2024-11-20 07:40
» Replies: 0
» Views: 30
[Sci-Am] Clean Energy Is Bringing Electricity to Many in the...
Last Post: Scientific American
2024-11-19 18:11
» Replies: 0
» Views: 31
[Sci-Am] The Law Must Respond When Science Changes
Last Post: Scientific American
2024-11-19 04:42
» Replies: 0
» Views: 32
[Harvard] What happened when a meteorite the size of four Mo...
Last Post: Harvard
2024-11-19 04:42
» Replies: 0
» Views: 15
[Sci-Am] Epic Gravity Lens Lines Up Seven-Galaxy View
Last Post: Scientific American
2024-11-18 01:54
» Replies: 0
» Views: 79
[Sci-Am] Voting Has Never Been More Secure Than It Is Right ...
Last Post: Scientific American
2024-11-17 10:52
» Replies: 0
» Views: 39
[Sci-Am] The Virus That Causes Mpox Keeps Getting Better at ...
Last Post: Scientific American
2024-11-16 20:14
» Replies: 0
» Views: 57
[Sci-Am] How to Calm Your Election Anxiety—Even after Polls ...
Last Post: Scientific American
2024-11-16 06:43
» Replies: 0
» Views: 103
[Harvard] When we say ‘smart,’ what do we mean?
Last Post: Harvard
2024-11-15 03:38
» Replies: 0
» Views: 128
[Sci-Am] Why Election Polling Has Become Less Reliable
Last Post: Scientific American
2024-11-14 14:18
» Replies: 0
» Views: 45
[Harvard] Big discovery about microscopic ‘water bears’
Last Post: Harvard
2024-11-14 14:18
» Replies: 0
» Views: 22
[Sci-Am] The Universe in 100 Colors Provides a Stunning Tour...
Last Post: Scientific American
2024-11-14 00:31
» Replies: 0
» Views: 61
[Sci-Am] One in Three Tree Species Is at Risk of Extinction
Last Post: Scientific American
2024-11-13 11:08
» Replies: 0
» Views: 51
[Sci-Am] A Bird Flu Vaccine Might Come Too Late to Save Us f...
Last Post: Scientific American
2024-11-12 20:46
» Replies: 0
» Views: 99
[Sci-Am] Why Are Close Elections So Common?
Last Post: Scientific American
2024-11-12 07:16
» Replies: 0
» Views: 93
[Sci-Am] More Men Are Getting Vasectomies Since Roe Was Over...
Last Post: Scientific American
2024-11-11 17:54
» Replies: 0
» Views: 70
[Sci-Am] Exploring the Science of Spookiness at the Recreati...
Last Post: Scientific American
2024-11-10 14:38
» Replies: 0
» Views: 123
[Sci-Am] Underwater Temple from ‘Indiana Jones Civilization’...
Last Post: Scientific American
2024-11-10 01:00
» Replies: 0
» Views: 141
[Sci-Am] Math and Puzzle Fans Find Magic in Martin Gardner’s...
Last Post: Scientific American
2024-11-09 11:01
» Replies: 0
» Views: 76
[Sci-Am] How Harris’s Medicare Plan Could Make At-Home Care ...
Last Post: Scientific American
2024-11-08 21:03
» Replies: 0
» Views: 68
[Sci-Am] Wildfires Are Moving Faster and Causing More Damage
Last Post: Scientific American
2024-11-08 07:40
» Replies: 0
» Views: 70
[Sci-Am] Climate Goal “Will Be Dead Within a Few Years” Unle...
Last Post: Scientific American
2024-11-07 04:40
» Replies: 0
» Views: 126
[Sci-Am] This Is Your Robot Brain on Mushrooms
Last Post: Scientific American
2024-11-06 15:00
» Replies: 0
» Views: 105
[Sci-Am] The Unsettled Science behind Weight-Loss Drugs for ...
Last Post: Scientific American
2024-11-06 01:19
» Replies: 0
» Views: 96
[Sci-Am] Treat or Trick? Astronomical Objects Are Beautiful—...
Last Post: Scientific American
2024-11-05 11:42
» Replies: 0
» Views: 77
[Sci-Am] Celebrating Spooky Lake Month with Its Creator Geo ...
Last Post: Scientific American
2024-11-04 20:46
» Replies: 0
» Views: 92
[Sci-Am] Hurricane Helene Disrupted Abortion Care in the Sou...
Last Post: Scientific American
2024-11-04 07:11
» Replies: 0
» Views: 109
[Sci-Am] These Hornets Can Thrive on Just Alcohol without Ge...
Last Post: Scientific American
2024-11-03 17:38
» Replies: 0
» Views: 78
[Sci-Am] Apples Have Never Tasted So Delicious. Here’s Why
Last Post: Scientific American
2024-11-03 03:45
» Replies: 0
» Views: 94
[Sci-Am] Climate Change Is Raising the Temperature on Global...
Last Post: Scientific American
2024-11-02 13:38
» Replies: 0
» Views: 88
[Sci-Am] Largest-Ever Pair of Black Hole Jets Stretches 23 M...
Last Post: Scientific American
2024-11-02 00:01
» Replies: 0
» Views: 80
[Sci-Am] We Need More Meds, Not Beds, to Help People Recover...
Last Post: Scientific American
2024-11-01 10:40
» Replies: 0
» Views: 122
[Sci-Am] Did Decriminalizing Drugs Such As Fentanyl Cause Op...
Last Post: Scientific American
2024-10-31 21:16
» Replies: 0
» Views: 115