Hey guys,
i was on rooted lollipop/element-x kernel ....anyway,i just wanted to do factory reset,so i opened TWRP-recovery and i wiped data, "system", Cache, Dalvik... all of them
As a result, my Nexus 5 has no OS installed. ..so,how do i install the OS ? its now stuck on "google with unlocked bootloader (image ) " ........ssly,i am pissed off T_T ..
1.Download factory image from google ,
2. download and install fastboot/adb drivers (there's a pack on this forum that only requires 3 clicks)
3. Unzip the factory image archive
4. connect phone to pc , reboot to bootloader ( press and hold volume down and power ) ,
4.a type in a command window , from the folder where u have fastboot.exe "fastboot devices" -quotes . If you get a long string of numbers everything is fine
4.b if your bootloader isn't unlocked , type in a command window
fastboot oem unlock
5. run the flash-all.bat from the folder where you unzipped the archive
6. wait
7. wait some more
8. phone should reboot full stock.
1) Boot to TWRP recovery
2) connect USB to computer
3) enable MTP mode
4) copy rom zip to sdcard
5) flash
Related
So I installed TWRP recovery backed up my stock os and flashed cyanagen mod 11
After a week or so I went in the cyanagen mod updates and started updating, everything worked
but now when I tried to flash in to my stock rom I go to recovery and I see that I have Clockwork revovery insted of TWRP
so I was stupid and i flahsed TWRP and didnt unistall clockwork mod
When i went in the recovery i had clockworkmod and then I rebooted and went in to TWRP
Now im stuck in 2 recoverys and cant go to cyanagen
I really need help
im using the LG G2 D802
gamehero said:
So I installed TWRP recovery backed up my stock os and flashed cyanagen mod 11
After a week or so I went in the cyanagen mod updates and started updating, everything worked
but now when I tried to flash in to my stock rom I go to recovery and I see that I have Clockwork revovery insted of TWRP
so I was stupid and i flahsed TWRP and didnt unistall clockwork mod
When i went in the recovery i had clockworkmod and then I rebooted and went in to TWRP
Now im stuck in 2 recoverys and cant go to cyanagen
I really need help
im using the LG G2 D802
Click to expand...
Click to collapse
I don't know if I understood you but just to be sure; you get in recovery mode CWM and on reboot TWRP?
I don't think you will like this solution but probably you will get your phone to work again xD (you will lose your data)
First of all you need:
- Android SDK bundle (google it, you will find it) on your Computer
- And a Rom you want to sideload (In your case the Cyanogen Rom)
- Cwm
Follow this steps:
1. go to the SDK bundle folder you downloaded -> go to sdk
-> go to platformform-tools
-> copy your ROM (ZIP-file) inside that folder
-> and name it to ROM.zip (so you won't need to write down a longname in cmd afterwards)
2. go to the SDK bundle folder you downloaded -> go to sdk
-> now press [shift] + [right mouse button] on platformform-tools (folder) to open cmd
3. Reboot your device into recovery mode (use cwm)
4. Go to “Mounts & Storage” and make sure that you can see “Unmount /sdcard/” and “Unmount /system/” (If they do not show this automatically, just press each one once respectively as pressing just toggles Mount and Unmount).
5. Now connect your device to the PC.
6. Once the phone is connected to the PC type “adb devices” in the cmd. If it returns a long alphanumeric string the phone is successfully connected in ADB mode. (if not look out for a usb driver for your phone; most time the problem lies in there)
7. Now type “adb push ROM.zip /sdcard/ROM.zip” (replace the word ROM if didn't named it)
8. This may take a while so be patient.
9. Once the process is complete you’ll see a message like <12345678kb to 1234567kb> on the cmd window.
10. Now unplug the device.
11. Go to the main screen of recovery and perform factory reset, wipe cache partition and then in advance menu wipe Dalvik cache. (Now you will lose your data for sure xD)
12. Now go to install zip from sdcard and choose the zip file you just transferred.
13. Once the process is complete, reboot the device
Hope this will help you.
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
If you use TWRP there are some similar step by step guides ( maybe you should look for sideload)
GuiltyGod said:
I don't know if I understood you but just to be sure; you get in recovery mode CWM and on reboot TWRP?
I don't think you will like this solution but probably you will get your phone to work again xD (you will lose your data)
First of all you need:
- Android SDK bundle (google it, you will find it) on your Computer
- And a Rom you want to sideload (In your case the Cyanogen Rom)
- Cwm
Follow this steps:
1. go to the SDK bundle folder you downloaded -> go to sdk
-> go to platformform-tools
-> copy your ROM (ZIP-file) inside that folder
-> and name it to ROM.zip (so you won't need to write down a longname in cmd afterwards)
2. go to the SDK bundle folder you downloaded -> go to sdk
-> now press [shift] + [right mouse button] on platformform-tools (folder) to open cmd
3. Reboot your device into recovery mode (use cwm)
4. Go to “Mounts & Storage” and make sure that you can see “Unmount /sdcard/” and “Unmount /system/” (If they do not show this automatically, just press each one once respectively as pressing just toggles Mount and Unmount).
5. Now connect your device to the PC.
6. Once the phone is connected to the PC type “adb devices” in the cmd. If it returns a long alphanumeric string the phone is successfully connected in ADB mode. (if not look out for a usb driver for your phone; most time the problem lies in there)
7. Now type “adb push ROM.zip /sdcard/ROM.zip” (replace the word ROM if didn't named it)
8. This may take a while so be patient.
9. Once the process is complete you’ll see a message like <12345678kb to 1234567kb> on the cmd window.
10. Now unplug the device.
11. Go to the main screen of recovery and perform factory reset, wipe cache partition and then in advance menu wipe Dalvik cache. (Now you will lose your data for sure xD)
12. Now go to install zip from sdcard and choose the zip file you just transferred.
13. Once the process is complete, reboot the device
Hope this will help you.
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
If you use TWRP there are some similar step by step guides ( maybe you should look for sideload)
Click to expand...
Click to collapse
So I got to step 4 and I see the mount system but I don't see umount sdcard
Then mount system or skip this part
5,6 and 7 are the most important part.
Can you push the Rom on your phone?
GuiltyGod said:
Then mount system :S
5,6 and 7 are the most important part.
Can you push the Rom on your phone?
Click to expand...
Click to collapse
adb push ROM.zip /sdcard/ROM.zip if I dont have the sdcard umonted will this still work?
I know I am repeating myself more or less (because I always edit my posts xD)
Well as long as you can push your file there shouldn't be sny problem
GuiltyGod said:
I know I am repeating myself more or less (because I always edit my posts xD)
Well as long as you can push your file there shouldn't be sny problem
Click to expand...
Click to collapse
so I wrote the command and it sad "5143kb/s «241840314 bytes in 45.912s»"
then i went install the zip and I can't find it
ok i went and mounted the data , pushed the file and installed it, thank you so much
But now i need to install the stock backup that I did with TWRP
That's pretty weird xD Because you get the message for a successful transfer but can't find the Zipfile.
You could try to push the Zipfile again and don't wipe anything at all (because you already wiped everything) and try to find the Zip file again to flash it.
Btw what does CWM gives you as options if you click install Zip files?
GuiltyGod said:
That's pretty weird xD Because you get the message for a successful transfer but can't find the Zipfile.
You could try to push the Zipfile again and don't wipe anything at all (because you already wiped everything) and try to find the Zip file again to flash it.
Btw what does CWM gives you as options if you click install Zip files?
Click to expand...
Click to collapse
it's all good now but now i have CWM and i need TWRP to install my stock backup
Watch this video (shows you how to change recovery in general):
http://m.youtube.com/watch?v=jnESTcH2ioA
And read this instructions if you still have some doubts and want to go for sure (recovery for LG2 D802):
http://forum.xda-developers.com/showthread.php?t=2472223
Sry I am a bit lazy right now xD Came back from work
i just ported twrp 3.1.1-1 from libra to aqua, and it suport for OTA update
how to install :
- with adb fastboot :1. turn ur HH to fastboot mode
2. plug ur usb
3. open cmd on ur adb file directory
4. write "fastboot flash recovery twrp-3.1.1-1-aqua.img"
5. fastboot reboot
- with twrp(if u have installed twrp before)
1. save the recovery to ur sdcard
2. turn your recovery mode (press volume up + power button)
3. tap on install
4. tap on image
5. select the new recovery
*if u have stuck on logo install this
1. turn ur hh to fastboot mode
2. on cmd write "fastboot flash boot boot.img"
3. write on cmd "fastboot reboot"
ported by me, tell me if u have some trouble
link bellow
:laugh::silly::good::good:
twrp and boot image:
New TWRP 3.1.1-1-aqua (support OTA update)
en(dot)miui.com/thread-753595-1-1(dot)html
(Source: Xiaomi MIUI Official Forum)
Today I will teach you how I change my rom from miui china to miui eu rom. I am having problems regarding the tutorials on youtube because as of now there is still no English tutorials on it. But first let me give you some idea on how I did it. I am only using windows 7 professional and so I did tried to download the following:
1. platform tools
2. adb set up
3. adb folder
4. Disable_Dm-Verity_ForceEncrypt_02.04.2019
5. Patched_fstab+vbmeta+thermal
6. TWRP-3.2.3-TwrpBuilder-violet-2019-03-22_20-44.img
7. Latest EU Rom on your redmi note 7 pro
The following guides that I use is from Technobuzz "https://www.youtube.com/watch?v=uDcrO61AnZg" Its not me who made this but only modified some methods to make it work on mine.
But to no avail the platform tools doesnt work because of missing dll issues so possible its because I use an older model of windows. I tried to use adb folder but encountered some problems that in no luck i cant format the userdata till i got messed up my device and so Im having this error on recovery saying that system doesnt work anymore and need to press powerbutton in order for me to shut down my phone. and thus I brick my phone.
Ok fast forward, so I did brick my phone then and I go the recovery due to system has been corrupted and so I tried to go to download "violet_images_V10.2.5.0.PFHCNXM_20190316.0000.00_9.0_cn_8e2009cdc7.tgz" in order to reflash my phone using miflash. Btw I came from miui 10.3.5.0 China stable rom so this means I downgraded my phone. Its okay for me cause I can root or install custom recovery more efficiently.
Instructions:
1. Install the adb set up
2. Make sure you unlock your bootloader already.
3. Put the TWRP-3.2.3-TwrpBuilder-violet-2019-03-22_20-44.img and rename it to recovery.img
4. Put the Disable_Dm-Verity_ForceEncrypt_02.04.2019 and Patched_fstab+vbmeta+thermal on your memory card and your latest eu rom zip file.
5. Downgrade your phone to miui 10.2.5.0 china rom to ensure a good installation of your twrp
6. Go to adb folder open cmd from there(right click and click open command window here)
7. Switch off your phone then hold volume down then power button to enter fastboot mode
8. Connect your phone to the computer via USB
9. Type: fastboot devices(It will list down the devices attach with the number to be able to make sure that your device is attached)
10. Type: fastboot erase userdata and press enter(It will run wait for it to end)11. Type: fastboot flash recovery (It will run wait for it to end)
9. Disconnect your phone then hold volume up then click power button to enter recovery mode
10. Go to wipe section then format type yes( It will run wait for it to end)
11. Go to Installation click select storage then choose memory card
12. Install Patched_fstab+vbmeta+thermal and Disable_Dm-Verity_ForceEncrypt_02.04.2019
13. Go to wipe section then Advance wipe wipe the ff: dalvik cache, cache, system and data just ignore the vendor then swipe to wipe.
14. Install your latest eu rom on your sd card.
15. Install Disable_Dm-Verity_ForceEncrypt_02.04.2019 for assurance
16. Install Magisk optional
17. Reboot your phone
and thats it. Pls do credits to the developer not mine thank you. Technobuzz
NOTE !!!
Do that at ur own risk and I'm not responsible for any damage or corruption may happen to ur Phone
Sources :
GSI ROM : »» https://sourceforge.net/projects/treblerom/files/qiDroid/
Platform Tools : »» https://developer.android.com/studio/releases/platform-tools
Realme C2 ADB Driver : »»» https://gsmusbdriver.com/oppo-realme-c2-rmx1941
TWRP : »»» https://twrp.me/realme/realmec2.html
vbmeta : »»» https://dl.twrp.me/gts4lv/vbmeta.tar.html
GApps : »»» https://opengapps.org/
BOOTLOADER Unlock :
1) Go to About Phone and hit Build Number 7 times
2) Head up to Additional Settings and find Developing
3) Enable OEM and Debugging
4) From ur PC/Laptop Open ( Control Panel > View by Large icons > Device Manager ) you will find the name of ur phone Right click on it and choose the driver which u downloaded and extracted it from the link above
5) Choose Browse my computer for driver software then Let me pick up bla bla bla, then choose Have Disk and browse the .inf file after that choose Android ADB Interface then click Next
6) Now you successfully installed the driver, Head up to the extracted Platform Tools and hold Shift + Right Click then choose Open command window here
7) Type ( adb devices ) to check that the phone is read successfully then type ( adb reboot bootloader )
8) After rebooting into bootloader type ( fastboot flashing unlock ) then press the Vol (+) from ur phone to verify bootloader unlocking
Flashing TWRP and installing the ROM :
1) After unlocking bootloader now we're gonna flash the TWRP by the command ( fastboot flash recovery recovery.img ) "Don't forget to move the downloaded TWRP and vbmeta into the platform tools folder"
2) Now we must disable the verity and the verification by typing the following command ( fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img )
3) Now reboot into recovery by the command ( fastboot oem reboot-recovery )
4) Sipe to Factory Reset and Format Data then click on Advanced Wipe and choose ( Dalvik / ART Cache, System, Cache, Data, Internal Storage )
5) Now go to install and select the GSI ROM then flash it as System Image
6) That's All, Done ( btw u can download and flash the GApps and flash it through the TWRP tho ) and if u faced error while installing it head up to ( Wipe > Advanced Wipe > Select System and Resize it then try again )
Hi I'm curious about how to change from COS to RMUi. Can you may create a tutorial for it? Thanks.
I suppose you have a healthy RIVER running Android 10 stock , cool ! Let's get started.
Prerequisites :
1] River , USB-C Cable and a PC.
2] ADB and fastboot installed (system-wide preferred)
3. Unlocked Bootloader
4] i] Rom - Rom.zip
ii] Custom Recovery - recovery.img & recovery.zip [TWRP]
iii] copypartitions.zip
iv] gapps.zip (optional)
5] Make sure you've backed up your data.
Procedure :
1] Remove the Sim Card(s) from the Phone and Power it OFF.
2] Boot your Phone into Bootloader Mode by long pressing Volume Down + Power Button.
3] Once you're in the Bootloader Mode, locate the twrp.img on your PC , open a command prompt there , type in fastboot boot twrp.img , for example : fastboot boot twrp-3.4.0.1.img
4] Once you're booted into the TWRP , Click on WIPE > FORMAT DATA > TYPE YES , If it's done , Return to the Home Screen of TWRP , Click on REBOOT > BOOTLOADER.
5]Boot the twrp.img again like you did earlier , Once you're booted , Click on WIPE > ADVANCED WIPE > tick "INTERNAL STORAGE , SYSTEM , DATA , CACHE" , basically everything except "MICRO-SD and USB OTG" , After wiping , return back to the Home screen of TWRP , REBOOT > BOOTLOADER.
6] Boot twrp.img once again , like you did earlier , Now locate copypartitions.zip , rom.zip , twrp.zip and gapps.zip on your PC and move it to your river , Click on INSTALL > locate the files which you moved to your river ; possibly in /sdcard/ <here>.
7] [FLASHING]
i] First, flash copypartitions.zip , After flashing > Home Screen of TWRP > REBOOT > BOOTLOADER.
ii] Boot twrp.img once again , INSTALL > Now flash rom.zip along with twrp.zip , you can select multiple zips. > Home Screen of TWRP > REBOOT > RECOVERY.
iii] [SKIP THIS STEP IF YOU DONT WANT TO INSTALL GAPPS] ; Once you're into TWRP , INSTALL > gapps.zip , if it's done > Home screen of TWRP > REBOOT > BOOTLOADER.
8] We're Almost done! [IF YOU'RE A GAPPLESS GUY , I SUPPOSE YOU ARE IN TWRP RECOVERY , BOOT INTO BOOTLOADER!] Open Command Prompt on your PC and type fastboot -w , then just power your device OFF , disconnect the cable , manually power it ON , you've successfully installed a custom rom.
9] Once you're booted into the rom , insert your Sim Card(s) , and the phone will prompt which sim to use for data.
Just wanted to say thanks and that following this worked perfectly after I hit errors at the recovery boot stage of the official LineageOS guide.