[Guide] How to Flash TWRP Recovery on Chromebook - OnePlus 7 Pro Guides, News, & Discussion

Credits to mauronofrio, nathanchance
My contribution? How do you find that flast flibberen file path?!
This Guide is for Chromebooks only!
You must have your Chromebook in Developer Mode First (please google and search)!!!
To download platform tools / adb or fastboot tools for chromebook (chromebook must be in Developer Mode!!) visit:
https://forum.xda-developers.com/ha...oks/guide-setting-adb-fastboot-x8664-t3806428
then click README
Or just:
1. control + alt + t in a Chrome Browser window
2. type:
uname -m
3. make sure that after pressing enter this shows up:
x86_64
4. if it doesn't show this: x86_64 buy a new chromebook
5. type: shell
6. type:
curl -s https://raw.githubusercontent.com/nathanchance/chromeos-adb-fastboot/master/install.sh | bash
7. then type:
cd ${HOME}/Downloads; curl -s https://raw.githubusercontent.com/nathanchance/chromeos-adb-fastboot/master/install.sh -o install.sh
8. to check if the phone is being seen by the chromebook, type:
adb devices
9. your smartphone device should be listed
10. Done
Next:
Steps to find the correct file path name (Chromebook must be in DEVELOPER MODE!!):
1. download the file that needs to be flashed into the Downloads Folder of your Chromebook
2. control + alt + t in a window in the Chrome browser
3. (without the quotes) type "shell"
4. (without the quotes) type "adb devices" to make sure the phone is attached and can be seen by your chromebook
5. type the command you need, e.g. "fastboot boot," adb, etc.
6. in another tab, take a PDF file from the Downloads Folder and open it in chrome browser
(make sure you go to the Chrome Browser Settings, scroll down and click on "Privacy and Security," then scroll down and click on "Site Settings," then scroll down and click on "PDF documents," then make sure "Download PDF files instead of automatically opening them in Chrome" is toggled Off ((so make sure that the little circle is to the left and Not lit up and colored blue)) to make sure pdfs open in the browser so that you can See the file path name)
7. copy the file path name that is in the url box/omni box and paste it into the shell tab you opened in Chrome Browser in step 2 (I suggest pasting it First into a notes app for future use.)
8. after pasting the file name to where you need it, delete "file:///" or delete the part of the file path name BEFORE "home/chronos..."
9. after "Downloads/" delete the PDF file name and type the name of the file you need to flash so "home/chronos...Downloads/Filename.img" or "Filename.zip"
10. you should have typed into the shell window something similar to this:
fastboot boot home/chronos/u-fhd6557gfh5659h55dg464dyt563652/MyFiles/
Downloads/twrp33170q.img
11. press enter
12. Done
Also, Chromebook must be in Developer Mode!!
My current phone is Oneplus 7 pro and I flashed trwp recovery with my Lenovo chromebook while upgrading to android 10.

Was trying to make it not links on 6 and 7 but whatever.

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}

Please can i ask which best Power bank for one plus 7 pro ??
Sent from my GM1913 using Tapatalk

You have no idea how much this has helped me especially from #6... Thank you.

Thanks for this! It helped me figure out some things I couldn't before.
(Edit)

hey why i cant check my pixel 2xl when use adb device cammand
but i can use adb reboot to reboot my phone or ues adb to reboot my phone into fastboot mode
another question is how to flash twrp to my phone

awarson2233 said:
hey why i cant check my pixel 2xl when use adb device cammand
but i can use adb reboot to reboot my phone or ues adb to reboot my phone into fastboot mode
another question is how to flash twrp to my phone
Click to expand...
Click to collapse
Try: adb devices instead of "device.." If that doesn't work and your Chromebook is in developer mode and setup right with phone, try sudo adb devices. I'm quite sure it's just a simple typo though and if you use devices instead of device you will be good.

Related

[HELP] I replaced my HTC One Launcher And Now I Think I bricked It

please delete thread
deleted
good news is, is that your not bricked. Assuming you have twrp installed, go back into recovery, then advanced, then ADB sideload. On your computer (assuming you have sdk installed), open a command prompt and navigate to your platform tools folder (or where ever adb is located) - (cd C:\where ever the folder is ), then make sure you have a rom (viper or stock) in the same folder as adb and in the command prompt do adb sideload nam_of_rom.zip (may take a few minutes)
jcwxguy said:
good news is, is that your not bricked. Assuming you have twrp installed, go back into recovery, then advanced, then ADB sideload. On your computer (assuming you have sdk installed), open a command prompt and navigate to your platform tools folder (or where ever adb is located) - (cd C:\where ever the folder is ), then make sure you have a rom (viper or stock) in the same folder as adb and in the command prompt do adb sideload nam_of_rom.zip (may take a few minutes)
Click to expand...
Click to collapse
...what he said, or just use the RUU to go back go stock.
---------- Post added at 10:36 AM ---------- Previous post was at 10:34 AM ----------
Either way it sounds like you'll be just fine but make sure there's juice in your battery before trying any of the solutions.
ADB Can't find the device :/
deleted
Wipe and reflash rom
Sent from my HTCONE using Tapatalk 4 Beta
raphyv23 said:
I tried to sideload it but adb would not recognize my HTC One. I have installed the drivers correctly on Windows 8 and its recognized as Android ADB Interface under Android Devices on my device manager. when i type adb devices on adb it doesnt come up with anything. I also tried using my Windows 7 Laptop but the drivers wont install on windows 7
Please help :/
Click to expand...
Click to collapse
your cmd window needs to be in the folder with the adb tool, normally something like c:adroid sdk\platform tools navigate to this directory in windows explorer the hold shift and right click on and empty part of the window and select "open command prompt here"
Still wont work
deleted
raphyv23 said:
Thats where it is and it wont work my device is attached to the pc as you can see on the picture
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Click to expand...
Click to collapse
in your recovery, when your in advanced, did u swip to start sideload? even if it doesnt recognize it, try to sideload a rom anyways, should give u a %
raphyv23 said:
Thats where it is and it wont work my device is attached to the pc as you can see on the picture
Click to expand...
Click to collapse
are you running as administrator, try typing after that adb reboot bootloader and see what you get
another thing are you using a 3.0 usb port??
It worked thank you
deleted

[GUIDE] Set up Android SDK (ADB) for Windows 8 / 8.1 / [ADB][Bootloader][Fastboot]

Android SDK - Powerful tool and easy to set up for use with your HTC One M8
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
The Reason that you would want to use Android SDK is because its very easy, it's well updated and it just WORKS! There is much more use with HTC devices with adb then with Samsung when it comes to the daily things like splash screens, radio updates, firmware. You will be dealing a lot with the bootloader and fastboot flashing. So to help out, I will post a helpful guide to help you get started for use with the HTC One M8.​
Click to expand...
Click to collapse
USB 3.0 Information if Needed
USB 3.0 Windows 8 Solution Link 1
USB 3.0 Windows 8 Solution Lin 2 - Found in above thread
Part 1. Follow These Steps Below - (Preparation)
1. Download Android SDK For Windows
2. Click the
either the 32bit version or 64bit version
3. Create a folder in the C: and name it Android. See below
4. Place adt-bundle-windows in the Android Folder you just created. Use WinZip, WinRAR or 7-Zip to extract the contents inside the folder. See Below
5. Once extracted, Double click SDK Manager and instal all 4.4.2 and 4.3 items and under tools (SDK Tools and Platform Tools). See Picture Below
6. After all packages are installed and updated, download the latest HTC Sync Manager and install once download completes
7. Once Sync Manager completes installation process, go to control panel and uninstall HTC Sync Manager only, you will see HTC Driver in there as well (LEAVE IT THERE)
8. Important, make sure you enable developer options and turn on USB Debugging. Instructions Below if you are unsure how to do that
1. Go to Settings > About > Software information > More > Tap Build Number 5x
2. Once you get notification saying Developer options is unlocked go back to > settings
3. Click Developer options
4. Add check in the box USB Debugging
9. Plug phone into the computer and let it install all the drivers, you should see pop ups.
Click to expand...
Click to collapse
The Computer and Phone are now prepped for you to start the whole ADB Process
Click to expand...
Click to collapse
Part 2. Verifying ADB is set up properly and Working
1. Open Command Prompt and Change directories to your platform-tools folder. This is where all the adb files are located. See Below
In Command Prompt Type - Refer to Part 3 so you no longer need to Change Directory
Code:
cd c:\Android\sdk\platform-tools
2. In Command prompt type
Code:
adb devices
3. If your output shows your device attached like below, then you are good to go!!!
YOU ARE FINISHED!!! Below is a command to get into the bootloader if interested!! Good Luck
Click to expand...
Click to collapse
Part 3. Environment Variables - No need to Change Directory in Command Prompt Anymore (This is if you want to - Not Required)
1. Press Win+R, then type sysdm.cpl
2. Click Advanced Tab
3. Click Environment Variables Button
4. Under System Variables, find Path, click to highlight it and then hit the edit button
5. Go to the end of the Variable Value and add the following exactly as you see it in the code box below
Code:
;C:\Android\sdk\platform-tools
6. Click OK to accept the changes you just added
7. Open Command Prompt again to verify by pressing Win+R and type cmd and hit enter
8. Once Command Prompt is open -> Simply type adb devices with your device connected with USB Debugging already enabled
9. If you did everything correctly, there is no need to change paths anymore
Click to expand...
Click to collapse
Getting into the Bootloader
In Command Prompt Type:
Code:
adb reboot bootloader
Thanks To:
Ashraf - Images used for Environment Variables - Not all were his since the guide was modified
Reserve if needed
Updated OP
Updated OP
1. Added Environment Variables to no longer have to Change Directory
2. Cleaned up OP
3. Added Thanks
Nice tutorial. This should help a lot of people.
via sexy M8.
Added to FAQ Guide Q8
BD619 said:
Added to FAQ Guide Q8
Click to expand...
Click to collapse
Thanks man
Sent from my HTC6525LVW using Tapatalk
very simple anyone should b able to follow these steps

[How-To] Install Windows 8 Drivers to Establish ADB with NookColor

Hello mods, surely haven't done one of these before but there seems to be a big hole in our knowledgebase here and I thought I'd take a stab at filling it. If I somehow overlooked another solution for this, feel free to take this down and also smack me because I turned the web upside down trying to find the answer before putting it together.
All that being said....I've now done this on two Windows 8 machines so I feel confident that it works. All of the following was done on a fresh install of the Android SDK by installing Android Studio with all default options. Get Android Studio here. You'll need to install Java first if you haven't already, you can grab Java SE Development Kit 7u75 here.
1) The first step is to disable driver signature enforcement on Windows 8, which is the cause of all this devilry that makes it seemingly impossible to install the drivers and get ADB working with the NookColor. Follow the instructions on this link: Disabling Signed Driver Enforcement on Windows 8
2) Download and extract the attached adb_usb.zip file. Take the adb_usb.ini file inside and drop it in your.android directory. If my Windows username is cabbieBot, then I find it here: C:\Users\cabbieBot\.android
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Alternatively, you can just make this file yourself by opening up notepad, typing 0x2080 into it, clicking save, change dropdown from .txt to All Files, and save it as adb_usb.ini
3) Open Device Manager and plug in your NC. You will see NookColor under "Other Devices" with a yellow exclamation mark.
4) Download/extract the attached NookColorADBInstall.zip file.
5) Open Device Manager in Windows 8 You will see "NookColor" under "Other Devices" with the exclamation mark. Right-click on it and click "Update Driver". From here on out its all about just going through the right process of menus and dialogs.
6) Click whats in the red box: "Let me pick from a list of device drivers on my computer".
7) Just leave it on "Show All Devices" and click Next.
8) IMPORTANT STEP! Click "Have Disk"
9) Click "Browse"
10) Navigate to where you extracted the NookColorADBInstall zip and you'll select the "usbdrivers" folder inside.
11) Without restarting Windows with the driver signature check we'd hit a dead-end here but we good. Click "Next".
12) Tell the dialog to eff off and click "Yes"
13) Click "Install this driver software anyway".
14) DING DING DING! If you have your NC hooked in, you should now see it prompting you to accept the computer's RSA certificate which means your computer and nook are gloriously flirting, so lets check it out to be sure.
15) Navigate to where ADB lives, which on a default installation will be at C:\Users\cabbieBot\AppData\Local\Android\sdk\platform-tools. Hold SHIFT and RIGHT-CLICK in the folder to select "Open Command Window Here"
type:
adb kill-server
then....
adb start-server
then...
adb devices
When you see your device's serial number pop up, you are certifiably done. I decided I wanted to learn to build CM from source and the trusty old NookColor is a handy device to play on. If you are worried about the driver signature check being disabled, just reboot your computer because it doesn't survive a reboot. Hope this is useful to someone else even though dear old Encore is downright ancient at this point.

Bootloader Blocked!

Hi guys, i have a problem with my device. Htc Desire 500.
I apologize for my english .. I try to make the bootloader to my device , but when I have to write in cmd : fastboot flash unlocktoken Unlock_code.bin .
In my device not I get anything to finally unlock the device .
You know what I can do ?
Attached I send you pictures of my device
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
MrR4nma said:
Hi guys, i have a problem with my device. Htc Desire 500.
I apologize for my english .. I try to make the bootloader to my device , but when I have to write in cmd : fastboot flash unlocktoken Unlock_code.bin .
In my device not I get anything to finally unlock the device .
You know what I can do ?
Attached I send you pictures of my device
Click to expand...
Click to collapse
Type fastboot devices and see if a device name tag gets listed. If not, it means you haven't installed the usb drivers correctly.
Are you on Windows 8 or 10?
To install ADB and Fastboot drivers on Windows 8 and 10, a forum member posted the following solution:
1. Uninstall all drivers for HTC phone
2. Install latest HTC Sync Manager
3. Connect phone in normal mode
4. Connect phone in fastboot mode (system reports unrecognized device)
5. Run regedit as administrator
6. Navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Contro l\usbflags
7. Right-click on usbflags, click new > key, name it 0BB40FF00100
8. Select 0BB40FF00100 and in the right window right click > new > binary value
9. Rename created binary value to SkipBOSDescriptorQuery
10. Right click SkipBOSDescriptorQuery > modify binary data, type 01 00 00 00 , click ok
11. Unplug usb cable and plug again.
12. In fastboot cmd window type fastboot devices, press enter and see if your device is listed
You can also try WinDroid, it works with Desire 500
http://forum.xda-developers.com/showthread.php?t=2499926
razvangrig said:
Type fastboot devices and see if a device name tag gets listed. If not, it means you haven't installed the usb drivers correctly.
Are you on Windows 8 or 10?
A forum member posted the following solution (not tested) to install Adb and Fastboot drivers on Windows 8 or 10:
1. Uninstall all drivers for HTC phone
2. Install latest HTC Sync Manager
3. Connect phone in normal mode
4. Connect phone in fastboot mode (system reports unrecognized device)
5. Run regedit as administrator
6. Add this key:
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Contro l\usbflags\0BB40FF00100]
"SkipBOSDescriptorQuery"=hex:01,00,00,00
7. Unplug usb cable and plug again.
8. In fastboot cmd window type fastboot devices, press enter and see if your device is listed
You can also try WinDroid, it works with Desire 500
http://forum.xda-developers.com/showthread.php?t=2499926
Click to expand...
Click to collapse
Can i use disable driver signature enforcement in windows 8.1 to use adb for this device?Without modifying registry only allow unsigned driver.

How to connect Android Studio with Nox App Player for development and debug

The most well recognized Android emulator for developers must be Genymotioin. However, its installation and UI is a bit complex. So here today I would like to introduce this new tool called Nox App Player which is just as fast as Genymotion, very easy to install and is totally free.
So, here are the steps to connect Android Studio with Nox:
1. Download and install Nox App Player from their official website where there’s the latest version:http://en.bignox.com/
2. Start Android studio and create a new activity
3. Start Nox App Player, go to Nox system settings >> turn root mode on >> save changes and restart Nox
Note: Nox is defaulted to start in tablet mode, you could choose here in System Settings >> Advanced >> Startup as Phone to better emulate the Android phone experience
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
4. Go to Android settings in Nox >> About Tablet >> Keep clicking Build number until it shows that you are now a developer >> go back to Android settings and you will find the developer options now.
5. Go to developer options >> tick USB debugging
6. Now in cmd go to the bin folder under the installation path of Nox App Player, input this command: nox_adb.exe connect 127.0.0.1:62001. You will see a successfully connected notice in cmd.
IF: it shows null or offline, just re-start Nox and try again
7. Now Android studio will detect Nox.
This also works for intellij idea and eclipse
Android Studio || Intellij || eclipse
1.set root ON in nox app player in Nox app setting (System Setting) in General Tab.
2.goto nox android setting (not nox app setting) then
About Phone/Tablet then tap 7 times on build Number until you see a message
shows "you are developer."
3.Go back to setting then go to develepoer option and activate it then set usb debugging ON.
4.get intellij working port in resource mointor/network tab/listening port/coloumn "Port" .
5.run cmd and change directory to bin folder of nox app
[ex. cd C:\Users\Hossein\AppData\Roaming\Nox\bin ].
6.run this code : nox_adb.exe connect 127.0.0.1:<retrived intellij port>
7.if shows "connected to 127.0.0.1:<retrived intellij port>" then you are successfully connected.
8.Go to intellij to Menu Run/Edit Configuration/Android Apptiaction/"Your Android Application Package name"
in right side in General tab set target device to usb device.
9.Run your application.
10.Have fun
Thanks man!
Any idea on how to do this with Mac?
-----
Nevermind, found it! After 5th step, just go to terminal and enter the command: "adb connect 127.0.0.1:62001"
I've found the simplest method to connect Android Studio with Nox without open cmd and type command.
1. Go to Android SDK Platform Tools folder (Android/sdk/platform-tools)
2. Copy these file and rename adb.exe to nox_adb.exe
3. Go to Nox/bin folder and paste these files copied on step 2 - Overwrite all
4. Start Android Studio and Nox App
5. Enjoy!
unable to go to bin folder in cmd
I made a simple batch file to launch&connect to Nox Player on Windows :
Code:
c:
cd\
cd C:\Program Files (x86)\Nox\bin
start /b Nox.exe
timeout 5
nox_adb.exe connect 127.0.0.1:62001
Should work fine.
Can someone tell me how to connect Nox player with Lollipop version 5.1.1 in Android Studio?
For Mac...
Guys can anyone help me for mac?
Thanks in advance.
Solution to Connect NOX with Android Studio
Avinash Ch said:
Guys can anyone help me for mac?
Thanks in advance.
Click to expand...
Click to collapse
you can use something like this in Terminal macUser$ /Applications/Nox\ App\ Player.app/Contents/MacOs/adb connect 127.0.0.1:62001
before you need configurate NOX in root, you can do this in the gear icon, like the firsts steps.

Categories

Resources