flashing oneplus one - ONE General

howto flash the one without working volume controls??
is this possible?

Yes, it is possible. LineageOS has an option to boot to recovery or fastboot via the standard reboot dialogue.
You can also use adb commands "adb reboot recovery" or "adb reboot fastboot".

kekerosberg said:
Yes, it is possible. LineageOS has an option to boot to recovery or fastboot via the standard reboot dialogue.
You can also use adb commands "adb reboot recovery" or "adb reboot fastboot".
Click to expand...
Click to collapse
thanks for the reply. is there any manual to do so?
for im´m an absolute newbie on this. adb and faastboot are installed on my ubuntu machine.

Depends on what you are trying to accomplish.
Flash TWRP recovery? You may also use LineageOS recovery instead of TWRP if you want. Follow their instructions https://twrp.me/oneplus/oneplusone.html
Flash LineageOS? Follow the wiki instructions https://wiki.lineageos.org/devices/bacon/install
Beware that unlocking the bootloader will erase all data on the phone.

kekerosberg said:
Yes, it is possible. LineageOS has an option to boot to recovery or fastboot via the standard reboot dialogue.
You can also use adb commands "adb reboot recovery" or "adb reboot fastboot".
Click to expand...
Click to collapse
yes i tried but failed because in the last step i had to reboot in recovery with the volume control and start button, because at that point iḿ in fastboot mode and adb reboot recovery won work?!

yes i tried but i failed because in the last step i had to reboot in recovery with the volume control and start button, because at that point i'm in fastboot mode and adb reboot recovery won't work?!

While in fastboot mode, you may boot into recovery using "fastboot reboot recovery". Almost there, good luck!

kekerosberg said:
While in fastboot mode, you may boot into recovery using "fastboot reboot recovery". Almost there, good luck!
Click to expand...
Click to collapse
doesn't work on my ubuntu machine. "unkown rebbot target recvery..
i tried .guess i check it on my win machine.

You can also reboot to recovery from within the OS by using "adb reboot recovery". It should work if you were able to reboot to fastboot using this method.

unfortunately it does not work while being in fastboot mode.
adb says device 'null'not found..

Yes, you are supposed to use adb from whatever OS you have installed, CM, CyanogenOS, LOS, ...

but?
is flashing possible without being in fastboot mode? just using adb?

I understood that you had already flashed the recovery. Now you need to boot into the recovery to flash an OS.
Fastboot is used to flash the recovery.
Recovery is used to flash the OS.

yes i think that's it and therefore i had to reboot to recovery without working controls..

koeskemc said:
yes i think that's it and therefore i had to reboot to recovery without working controls..
Click to expand...
Click to collapse
any idea?

kekerosberg said:
I understood that you had already flashed the recovery. Now you need to boot into the recovery to flash an OS.
Fastboot is used to flash the recovery.
Recovery is used to flash the OS.
Click to expand...
Click to collapse
yes, and that's my prob how to boot into recovery without using any controls?
or is there another way?e.g adb sideload??

You have a working operating system installed? Cyanogenmod, LineageOS or something similar?
Use the power button to boot into the operating system. Then connect the phone to your PC and "adb reboot recovery".

hello again.
i got a new prob. i've istalled twrp(don know how!)
with terp i imstalled lineage 18.1...zip.
but after booting i alwasy get twrp and not the os.
whats my fault

or do ihavr to istall the .img file??instead of.zip?

hello again,
everything's fine so far. i got lineage os on boot up! but how to get back to twrp again to install gapps??

Related

Unable to Flash Custom Recovery

Hi guys,
Im on the cm12s, and unlocked bootloader but im unable to get into custom recovery, it keeps reverting to Cynogen recovery.
I tried toolkit also, it flashes and then it shows waiting for device, i manually boot into recovery its just a blank screen.
Please help i need root and ROMS
varun.gid said:
Hi guys,
Im on the cm12s, and unlocked bootloader but im unable to get into custom recovery, it keeps reverting to Cynogen recovery.
I tried toolkit also, it flashes and then it shows waiting for device, i manually boot into recovery its just a blank screen.
Please help i need root and ROMS
Click to expand...
Click to collapse
how did you unlock bootloader ?
may be using adb drivers right ?
so if you are using adb drivers then follow this procedure ....
copy this recovery file in your adb folder LINK
now go to adb folder
now press and hold shift button and right click on empty space there you will see open cmd , click on it cmd will open
now copy below code (this is for CM12 only)
Code:
fastboot -i 0x1ebf flash recovery recovery_twrp.img
anow right click in cmd and click on paste.
hit enter and after a while you will se 'Okay ' message at the end.
bingo you have flasher recovery :highfive: :good:
ashish_zarekar said:
how did you unlock bootloader ?
may be using adb drivers right ?
so if you are using adb drivers then follow this procedure ....
copy this recovery file in your adb folder LINK
now go to adb folder
now press and hold shift button and right click on empty space there you will see open cmd , click on it cmd will open
now copy below code (this is for CM12 only)
Code:
fastboot -i 0x1ebf flash recovery recovery_twrp.img
anow right click in cmd and click on paste.
hit enter and after a while you will se 'Okay ' message at the end.
bingo you have flasher recovery :highfive: :good:
Click to expand...
Click to collapse
I tried this method.. but it always reverts to stock recovery. and when i boot into recovery directly from fastboot i get a blank screen. Please help.
varun.gid said:
I tried this method.. but it always reverts to stock recovery. and when i boot into recovery directly from fastboot i get a blank screen. Please help.
Click to expand...
Click to collapse
have you tried with this recovery which i provided in link ?
first try using this recovery.
earlier i also face this.
now go to this thread download software from this thread only. there are two thread for this tool but i prefer you to go to this one.
GUIDE
now unlock bootloader.
and go for step 4(which flash twrp recovery)
now flash the recovery which is provided by me using code.
and now go can go into recovery
****************************************************************************************************
i suggest you this guide this method do for me
Disable update CM recovery option in developer options... Then flash custom recovery.... it will work.
once flashing twrp recovery, you will need to use
Code:
fastboot -i 0x1ebf reboot
command.
remove battery after install recovery before restarting phone
then insert battery and start in custom recovery
install Custom Recovery
1) enable developer options
2)enable advance reboot and usb debugging
3)disable Update CM recovery option
4)reboot to bootloader and flash recovery
" fastboot -i 0x1ebf flash recovery recovery_twrpyulolli.img "
5) directly disconnect phone (phone displaying FASTBOOT MODE)
6) remove battery and start phone in recovery mode using volume UP+DOWN and power key
7) And YOUR are IN TWRP RECOVERY ......
THIS method work for me perfectly .....i m also having same problem of flashing custom recovery and again showing CM RECOVERY
:laugh::laugh:
Thank You...!
Which is best for yureka cwm or twrp recovery
I'm facing the same problem but this trick didn't work for me.

[Recovery][LG-H901] Updated TWRP 3.0.0.0 (Still unofficial)

Here is your unofficial TWRP
Please report all issues on my github so I can track them
Download the update!
Merged in TWRP 3.0.0.0
Fixed the time issue Bug in LG's kernel (however daylight savings time does not work when set on/off in recovery)
3.0.0.0
https://www.androidfilehost.com/?fid=24407100847293244
md5: f7c84c5328fb073a1a57fb75dc70191a
2.8.7.1
https://www.androidfilehost.com/?fid=24269982086988199
md5: 736456843ecaa2b65fbbb749008e1ff3
2.8.7.0
https://www.androidfilehost.com/?fid=24052804347853160
md5: f6d38b88b51d8cc39635534b559f719f
This requires you to have an unlocked bootloader which will wipe data if you have not unlocked already.
Recovery does take some time to boot It has taken up to 45 seconds for the TWRP curtain to show for me
To get to bootloader without adb:
Turn device off
Hold Vol Down
Insert USB plug while plugged into your PC
Hold Vol Down until fastboot pops up
Instructions:
If you have issues with adb or fastboot follow this post: HERE
If bootloader is unlocked:
reboot into bootloader
Code:
adb reboot bootloader
fastboot flash recovery twrp-2.8.7.1-h901.img
fastboot boot twrp-2.8.7.1-h901.img
If your bootloader is locked:
enabled developer options
in developer options "Enable OEM unlock"
reboot into bootloader
Code:
adb reboot bootloader
fastboot oem unlock
fastboot reboot-bootloader
fastboot flash recovery twrp-2.8.7.1-h901.img
fastboot boot twrp-2.8.7.1-h901.img
Known issues:
You get to see that it's not truly 2 displays
Time is not saved from Android to Recovery
Display does not turn off when it times out
TheJesus said:
I've messaged @KAsp3rd to include it in his OP.
ONLY PERFORM IF YOU HAVE ALREADY FLASHED TWRP AND CREATED AN EXTERNAL BACKUP!!!
1. Hold Volume Down
2. Hold Power button until you see LG screen
3. Release Power button and then rehold Power button
4. Follow on-screen prompts to perform a Factory Reset (If you have TWRP, this should not actually factory reset, but there has been one case of it doing it, that's why I suggest keeping a copy of your backup on your computer), may take a minute to boot into TWRP
5. Enjoy TWRP without fastboot
EDIT: On hold until verified on latest TWRP/more devices.
Click to expand...
Click to collapse
Device tree is here https://github.com/KAsp3rd/android_device_lge_h901
Compiled using omnirom 5.1 with 6.0 bootable/recovery
Get superSU from chainfire http://download.chainfire.eu/supersu
Thanks to @TheJesus @shabbypenguin @Dees_Troy @_that @bigbiff @helicopter88 @savoca @autoprime and anyone I've forgotten.
I'm getting the android with his guts (triangle exclamation) open when I do a
{adb reboot recovery}
Am I doing something wrong or have done something wrong?
My bootloader is UNLOCKED.
geeserver said:
I'm getting the android with his guts (triangle exclamation) open when I do a
{adb reboot recovery}
Am I doing something wrong or have done something wrong?
My bootloader is UNLOCKED.
Click to expand...
Click to collapse
I get the same thing
geeserver said:
I'm getting the android with his guts (triangle exclamation) open when I do a
{adb reboot recovery}
Am I doing something wrong or have done something wrong?
My bootloader is UNLOCKED.
Click to expand...
Click to collapse
Did you reboot to bootloader and fastboot flash recovery "img"?
re-read the op
adb reboot bootloader
then do the fastboot commands
KAsp3rd said:
Did you reboot to bootloader and fastboot flash recovery "img"?
Click to expand...
Click to collapse
Here are the commands
-In OS, Android with ADB Debugger on with UNLOCKED bootloader checked
{adb reboot bootloader}
-Welcome to Fastboot Mode:
{fastboot flash recovery twrp-2.8.7.0-h901.img}
{fastboot reboot}
-Phone back in Android
{adb reboot recovery}
NO TWRP
Right now I'm using stock.img files to restore everything and retrying.
I'm currently using Minimal ADB and Fastboot [8-28-15] to push commands.
geeserver said:
Here are the commands
-In OS, Android with ADB Debugger on with UNLOCKED bootloader checked
{adb reboot bootloader}
-Welcome to Fastboot Mode:
{fastboot flash recovery twrp-2.8.7.0-h901.img}
{fastboot reboot}
-Phone back in Android
{adb reboot recovery}
NO TWRP
Right now I'm using stock.img files to restore everything and retrying.
Click to expand...
Click to collapse
Flashing stock.img myself to make sure
same issues here also
Mine worked first try... I personally change the recovery img file's name to recovery.img, but other than that I use the same commands.
yeah, mine has the android open door with "no command" under it
KAsp3rd said:
Flashing stock.img myself to make sure
Click to expand...
Click to collapse
I can't push stock.img from fastboot. Reading from mickeyinid post in that thread, "Make sure you have the newest fastboot binary or it won't flash the system.img" It has a cap at 53MB but the filesize for system.img is 4.2GB.
android has a file /system/etc/install-recovery.sh when you boot up it overwrites teh recovery with stock, chances are its doing that.
boot into fastboot, flash it, then use
fastboot boot twrp-2.8.7.0-h901.img
that will drop you into recovery (it takes like 30 seconds) form there you can do a syou wish, then click on reboot system and it will remove that file so youll have twrp always.
shabbypenguin said:
android has a file /system/etc/install-recovery.sh when you boot up it overwrites teh recovery with stock, chances are its doing that.
boot into fastboot, flash it, then use
fastboot boot twrp-2.8.7.0-h901.img
that will drop you into recovery (it takes like 30 seconds) form there you can do a syou wish, then click on reboot system and it will remove that file so youll have twrp always.
Click to expand...
Click to collapse
Didn't catch that one shabby thanks for pointing it out. I'll update op
this worked. Thanks!!
and thank you so much @KAsp3rd for this recovery
shabbypenguin said:
android has a file /system/etc/install-recovery.sh when you boot up it overwrites teh recovery with stock, chances are its doing that.
boot into fastboot, flash it, then use
fastboot boot twrp-2.8.7.0-h901.img
that will drop you into recovery (it takes like 30 seconds) form there you can do a syou wish, then click on reboot system and it will remove that file so youll have twrp always.
Click to expand...
Click to collapse
Once I put in the fastboot boot twrp-2.8.7.0-h901.img command, I heard the computer disconnect and it took more like a minute or a minute in a half but it worked. Then I flashed SuperSU and now I'm ROOTED!!! Thanks!!!!
All rooted. Thank you @KAsp3rd!!
Sent from my LG-H901 using Xparent Skyblue Tapatalk 2
that worked. TWRP installed and rooted. FYI it does take a little time to boot into TWRP with the fastboot command and normal also.
Thanks for the help all
shabbypenguin said:
android has a file /system/etc/install-recovery.sh when you boot up it overwrites teh recovery with stock, chances are its doing that.
boot into fastboot, flash it, then use
fastboot boot twrp-2.8.7.0-h901.img
that will drop you into recovery (it takes like 30 seconds) form there you can do a syou wish, then click on reboot system and it will remove that file so youll have twrp always.
Click to expand...
Click to collapse
Xposed
Can you flash xposed in this recovery?
huynh727 said:
Can you flash xposed in this recovery?
Click to expand...
Click to collapse
Yes. I have it. Use the arm64 for Lollipop version. It does however break the second screen occasionally (it FC's when I get/make a phone call, but that's it). BUT it has RootCloak which lets me use Android Pay while rooted
Success! The whole process was very easy and worked the first time! Thanks for posting this!

P9 lite Bootloop, but can use fastboot

Today I tried to restore an old backup through TWRP, but for some reason my phone is now in bootloop and I cannot access TWRP anymore. Nevertheless, I can use Fastboot. How can I proceed in order to be able to boot into TWRP and restore a backup?
Thank you for your help
p.s. the bootloader is ofc unlocked
Pav90 said:
Today I tried to restore an old backup through TWRP, but for some reason my phone is now in bootloop and I cannot access TWRP anymore. Nevertheless, I can use Fastboot. How can I proceed in order to be able to boot into TWRP and restore a backup?
Thank you for your help
p.s. the bootloader is ofc unlocked
Click to expand...
Click to collapse
Enter fastboot mode. Open cmd and type fastboot reboot recovery
RazOne said:
Enter fastboot mode. Open cmd and type fastboot reboot recovery
Click to expand...
Click to collapse
I tried, but it does not work. For example, `fastboot reboot` and `fastboot reboot bootloader` work. Any idea why? I tried to install again the recovery and it succeeded, but I could not boot into it :/
EDIT. it seems that `fastboot reboot recovery` command does not exist. How to get there then?
Pav90 said:
I tried, but it does not work. For example, `fastboot reboot` and `fastboot reboot bootloader` work. Any idea why? I tried to install again the recovery and it succeeded, but I could not boot into it :/
EDIT. it seems that `fastboot reboot recovery` command does not exist. How to get there then?
Click to expand...
Click to collapse
Hmm..you need to flash recovery again via fastboot. ( fastboot flash recovery ) .
me too who can help me please

Ascend XT H1611 – Bricked

Hello,
Can anyone assist me in fixing my issue? My phone couldn't boot to recovery mode, i see the TWRP bluescreen and it immediately enters the boot loop. I can boot to fastboot&rescue mode but adb is not detecting my devices. I tried reinstalling the driver and also restart the adb server, but no luck. Tried different USB ports \cable\laptop, but no luck.
Need some assistance or direction to address this issue.
Regards
sri1225 said:
Hello,
Can anyone assist me in fixing my issue? My phone couldn't boot to recovery mode, i see the TWRP bluescreen and it immediately enters the boot loop. I can boot to fastboot&rescue mode but adb is not detecting my devices. I tried reinstalling the driver and also restart the adb server, but no luck. Tried different USB ports \cable\laptop, but no luck.
Need some assistance or direction to address this issue.
Regards
Click to expand...
Click to collapse
adb does not work in the bootloader (Fastboot mode)
in bootloader use
fastboot boot twrp.img
just be sure twrp has the correct name and is in the same folder as adb / fastboot
@sri1225,
Adding to clsA post:
If the phone is in fastboot mode, "fastboot devices" should work to confirm PC connection is good and produces a similar response as "adb devices" does when in adb mode.
What led up to the phone getting broken? You said it's bricked - so it won't boot up to normal operating mode?
clsA said:
adb does not work in the bootloader (Fastboot mode)
in bootloader use
fastboot boot twrp.img
just be sure twrp has the correct name and is in the same folder as adb / fastboot
Click to expand...
Click to collapse
divineBliss said:
@sri1225,
Adding to clsA post:
If the phone is in fastboot mode, "fastboot devices" should work to confirm PC connection is good and produces a similar response as "adb devices" does when in adb mode.
What led up to the phone getting broken? You said it's bricked - so it won't boot up to normal operating mode?
Click to expand...
Click to collapse
I tried to flash with the B180+Stock+Rom, after that I cannot go back to TWRP or in recovery mode.
When I do the "fastboot boot twrp.img", in the fastboot&rescue mode, the phone reboots to twrp screen and goes back to the boot loop again. I have tried both the twrp images available in the forum for this device.
Regards
sri1225 said:
I tried to flash with the B180+Stock+Rom, after that I cannot go back to TWRP or in recovery mode.
When I do the "fastboot boot twrp.img", in the fastboot&rescue mode, the phone reboots to twrp screen and goes back to the boot loop again. I have tried both the twrp images available in the forum for this device.
Regards
Click to expand...
Click to collapse
The B180 stock rom replaces TWRP with stock recovery
If you want TWRP again flash it from the bootloader
fastboot flash recovery twrp.img
when you enter TWRP
goto Wipe/Format Data/ and type yes
now you can root the phone or leave it as is
Fwiw, the 'boot' command only boots twrp, it doesn't flash it. Thats useful for testing that twrp works. The proper command to flash is immediately above this post. Take it from me - always test first. If it boots, it works.
clsA said:
The B180 stock rom replaces TWRP with stock recovery
If you want TWRP again flash it from the bootloader
fastboot flash recovery twrp.img
when you enter TWRP
goto Wipe/Format Data/ and type yes
now you can root the phone or leave it as is
Click to expand...
Click to collapse
Tried flashing TWRP but didn't work. Couldn't get to TWRP screen at all.
sri1225 said:
Tried flashing TWRP but didn't work. Couldn't get to TWRP screen at all.
Click to expand...
Click to collapse
Try the command 'fastboot devices', what does it output..? Are you sure you are in fastboot mode, with the screen and the Android with its chest popped open..?

soft brick help, adb help

was running the xiaomi.eu rom beta then flashed to stable and now soft brick
adb devices shows "recovery" instead of "device"
adb reboot fastboot and the phone goes into an encrypted twrp 3.3.0.0
I have miflashtool
Aaagogo said:
was running the xiaomi.eu rom beta then flashed to stable and now soft brick
adb devices shows "recovery" instead of "device"
adb reboot fastboot and the phone goes into an encrypted twrp 3.3.0.0
I have miflashtool
Click to expand...
Click to collapse
Hey there!
I kinda new here so forgive me if I gave you a wrong guide, but from what i read across forums, if you're phone get soft bricked, you just need to flash the stock firmware. try to find latest xiaomi stock firmware.
Adb devices shows "recovery" means your device was in recovery mode. Try "adb reboot recovery" and you'll end up in your custom recovery (I assume you installed one). If your recovery was encrypted try to install push "disable dm variety" command on adb and when your custom recovery asks for password, just press cancel or enter and you'll enter recovery mode.
From your recovery mode, you can enter sideload and install everything from there using adb from your computer.
Hopefully your phone will get better soon! lol
P.S.: sorry for my bad English, I'm not a native speaker.
rchmdnglng said:
Hey there!
I kinda new here so forgive me if I gave you a wrong guide, but from what i read across forums, if you're phone get soft bricked, you just need to flash the stock firmware. try to find latest xiaomi stock firmware.
Adb devices shows "recovery" means your device was in recovery mode. Try "adb reboot recovery" and you'll end up in your custom recovery (I assume you installed one). If your recovery was encrypted try to install push "disable dm variety" command on adb and when your custom recovery asks for password, just press cancel or enter and you'll enter recovery mode.
From your recovery mode, you can enter sideload and install everything from there using adb from your computer.
Hopefully your phone will get better soon! lol
P.S.: sorry for my bad English, I'm not a native speaker.
Click to expand...
Click to collapse
going to retry twrp from 10.3.6.0 PFGMIXM
TWRP is encrypted,
i miflashtoll back to 10.3.6.0 PFGMIXM, unlocked bootloader
flash twrp 3.3.0.0 and still the same result, encrypted TWRP.
no twrp means no root, need assistance.
Aaagogo said:
was running the xiaomi.eu rom beta then flashed to stable and now soft brick
adb devices shows "recovery" instead of "device"
adb reboot fastboot and the phone goes into an encrypted twrp 3.3.0.0
I have miflashtool
Click to expand...
Click to collapse
Hello,
And if instead of executing "adb fastboot reboot", you try to access fastboot mode with Vol- and Power?
What happen?
hugomoya said:
Hello,
And if instead of executing "adb fastboot reboot", you try to access fastboot mode with Vol- and Power?
What happen?
Click to expand...
Click to collapse
i can access fastboot with no problems, it's booting into recovery that doesn't work
i am using twrp from the official thread;
https://forum.xda-developers.com/redmi-note-7/how-to/one-redmi-note-7-unlock-bootloader-t3890751
same thing happen on all 3 methods of rebooting after flashing, all boots into encrypted twrp.
i hope there is a solution, i can't try anything now, there is a 24hour waiting period to unlock more than 1 bootloader a day
IceMan on xiaomi.eu has a working twrp;
TWRP 3.3.2-2 RN7 by IceMan
Aaagogo said:
i can access fastboot with no problems, it's booting into recovery that doesn't work
i am using twrp from the official thread;
https://forum.xda-developers.com/redmi-note-7/how-to/one-redmi-note-7-unlock-bootloader-t3890751
same thing happen on all 3 methods of rebooting after flashing, all boots into encrypted twrp.
i hope there is a solution, i can't try anything now, there is a 24hour waiting period to unlock more than 1 bootloader a day
Click to expand...
Click to collapse
Which is the principal problem?
Does the smartphone not start? I mean, the operating system.
Because if that's the problem, and you can start in "fastboot" mode, you can install your official ROM with MiFlash.
And reinstall TWRP, Orange Fox for example.
Regards!
hugomoya said:
Which is the principal problem?
Does the smartphone not start? I mean, the operating system.
Because if that's the problem, and you can start in "fastboot" mode, you can install your official ROM with MiFlash.
And reinstall TWRP, Orange Fox for example.
Regards!
Click to expand...
Click to collapse
every method of twrp with the "unofficial" twrp from the link to boot into encrypted twrp, can't install magisk for twrp to take
https://forum.xda-developers.com/redmi-note-7/how-to/one-redmi-note-7-unlock-bootloader-t3890751
twrp from link above
normal reboot goes into encrypted android
fastboot no prob
Aaagogo said:
every method of twrp with the "unofficial" twrp from the link to boot into encrypted twrp, can't install magisk for twrp to take
https://forum.xda-developers.com/redmi-note-7/how-to/one-redmi-note-7-unlock-bootloader-t3890751
twrp from link above
normal reboot goes into encrypted android
fastboot no prob
Click to expand...
Click to collapse
Try with Orange Fox R10.0 Stable (Based in TWRP 3.3.1)
https://sourceforge.net/projects/orangefox/files/lavender/
Regards!
hugomoya said:
Try with Orange Fox R10.0 Stable (Based in TWRP 3.3.1)
https://sourceforge.net/projects/orangefox/files/lavender/
Regards!
Click to expand...
Click to collapse
cheers for that, i'm using twrp 3.2.3-2 RN7 by IceMan over at xiaomi.eu

Categories

Resources