How to Use ADB & Fastboot Commands Without a Computer « Android :: Gadget Hacks

How to Use ADB & Fastboot Commands Without a Computer « Android :: Gadget Hacks

[ad_1]

ADB and Fastboot are extremely efficient devices, nonetheless they’ve almost on a regular basis required a laptop. Now, you might utterly break free of this by way of using two telephones within the occasion you wished to. It might be less complicated to purchase an inexpensive Android phone which may be rooted to utilize as your ADB and Fastboot provide pretty than looking for a laptop. This opens up an numerous number of prospects.

Inside the earlier days of Android sooner than Marshmallow, it had beforehand been attainable to run these directions by the use of the system, nonetheless that isn’t the case. Nonetheless, the ADB and Fastboot Magisk module, by XDA builders osm0sis and Surge1223, will as quickly as as soon as extra enable this misplaced perform on the system diploma by means of root entry. It actually works systemlessly as successfully, which means it is not going to journey the SafetyNet flag.

On this info, you might uncover methods to do the similar points with ADB and Fastboot that are attainable when using a laptop, nonetheless with a phone instead. This means you might as effectively unlock the bootloader on completely different telephones, arrange TWRP straight, and even root them by means of Magisk — no laptop required! If one thing, you might observe alongside and be taught one factor new within the occasion you’ve got in no way tried one factor like this sooner than.

Requirements

Step 1: Arrange ADB & Fastboot for Android

In your already-rooted phone, head into the Magisk Supervisor app, faucet the menu button on the left, then go to “Downloads.” Faucet the search icon and sort inside the time interval “adb” to ship up the required module for the knowledge. Faucet the receive arrow as quickly as, then hit the “Arrange” selection from there. Grant Magisk Supervisor entry to your media if prompted by tapping “Allow,” then it’ll begin placing in.

It is not going to take very prolonged for the arrange course of to finish, so after it’s achieved, hit the “Reboot” button to restart your system. As quickly as your phone comes once more from the reboot, then you might switch on to the following step beneath.

Step 2: Arrange the Termux App

Using the phone that has root entry, it’s your decision a terminal app to ship over the ADB and Fastboot directions to the alternative phone. Some telephones allow you to make use of a system terminal by the use of the developer selections, nonetheless basically the most typical approach might be to acquire the Termux app. Within the case of all points command-line, Termux is the one possibility as a result of it provides a wonderful whole shopper experience.

Step three: Permit USB Debugging

On the secondary phone that you simply simply want to ship directions to, you might should enable USB debugging inside the developer selections. This allows the phone to easily settle for the directions merely as within the occasion that they’d been receiving them from a laptop. The method is generally the similar all through all models, nonetheless you might hit up the hyperlink beneath to get that taken care of. Merely full the first two steps, then proceed with this info.

Step 4: Be part of the 2 Android Telephones

You most likely have two newer telephones from the last few years, you might most definitely solely need a single USB Type-C cable to connect them collectively. Nonetheless, if you happen to wouldn’t have ae Type-C cable that has the similar connector on every ends, it’s your decision an OTG adapter. Many new telephones embrace this adapter inside the discipline, so check and see in case you may have one laying spherical from a earlier purchase.

If one in every of many telephones is Micro USB and the alternative is USB Type-C, it’s your decision two points: a Micro USB OTG cable and a USB A to USB C cable. You presumably can select each of those up from Amazon for fairly low-cost.

An occasion of two newer telephones being linked with a single USB Type-C information cable.

If you wish to use an OTG adapter, plug it straight into the phone that has root entry and Termux put in, then be a part of the USB information cable from there to the alternative phone. In another case, you might be using a Type-C to Type-C cable, which means it doesn’t matter which phone you be a part of first since they every use the similar connector. All of it comes all the best way right down to what cables you’ve got obtainable to you on the time.

Step 5: Allow USB Debugging Permission

As quickly as every telephones are bodily linked, the secondary phone must receive the “Allow USB debugging” fast instantly. If not, reconnect the phone, and it must pop up from there. Faucet the “On a regular basis allow from this laptop” selection, then hit “OK” to confirm the choice. This means your secondary phone will now be labeled as a trusted system and will ship directions to the primary system at any time.

In case your secondary system is a contemporary Samsung phone, you might most definitely wish to alter the “USB managed by” selection by means of the file change notification. Change it from “Associated system” to “This phone,” then as quickly as it’s transformed, the USB debugging fast must pop up. This can be the case for various explicit models as successfully, so preserve that in ideas if points aren’t working for you immediately.

When you want to forestall one phone from draining the battery of the alternative, keep in mind to disable the “Value linked system” selection. This solely impacts telephones which have a Type-C charging port, so preserve that in ideas as successfully for future use.

Step 6: Grant Root Entry

Now, head over to the phone that has Termux put in so to grant it root entry, which is essential for all this to work. Type the subsequent command in Termux, then press enter.

su

The above command will fast Termux to amass root permissions by means of Magisk. Affirm the Superuser request by tapping “Grant,” then it might have full root entry from proper right here on out. You could on a regular basis ought to execute this quick command everytime you do one thing that requires root entry in a terminal, nonetheless you’ll not ought to faucet “Grant” after the first time.

Step 7: Affirm Your Cellphone Connection

Now that your two telephones are bodily linked with one another, it’s time to verify the connection to verify all of the issues is working appropriately. On the rooted phone with the terminal entry, type the subsequent command in Termux, then press enter.

adb models

This command will ship an indication to the alternative phone to check if it might presumably speak with it by the use of ADB. If worthwhile, it is best to see a instrument ID pop up beneath the “Report of models related” line in Termux. When you occur to do see your system ID listed, then which implies all of the issues is working as supposed!

(1) There is not going to be any models listed if one factor went flawed. (2) If all is successfully, the system ID could be displayed with a novel identifier of numbers and letters.

To take a look at the model new efficiency just a bit additional, type the subsequent command in Termux, then press enter.

adb reboot

This command will ship an indication over to your completely different phone that will strain it to restart the system mechanically. Neat! You merely instructed one phone to reboot one different phone by means of a command-line environment by the use of the ADB interface.

Step eight: Have the benefit of Your New ADB & Fastboot Directions

The two directions I listed above are clearly primary, nonetheless they’re merely a gateway to the lots bigger picture. As talked about earlier, it is best to use this new efficiency to place in all sorts of mods you want onto one different phone, notably TWRP and Magisk. With the flexibility to make use of one phone to mod one different phone by means of ADB and Fastboot is helpful and likewise brings delicate to new prospects.

Alternatively, you additionally must be succesful to acquire the similar end final result with an Android tablet within the occasion you hottest to do it that strategy instead. As long as the tablet has an unlockable bootloader and could also be rooted by means of Magisk, it must work merely the similar. Although Android tablets is not going to be as modern in comparison with their smartphone counterparts, the selection stays to be there to utilize if wished. Happy modding!

Cowl image and screenshots by Stephen Perkins/Gadget Hacks

[ad_2]

Source link