I accidently formatted my sd card, so i had to flash a stock 4.4.4 image, root, and recovery via adb and command prompt. The problem i have is the recovery is not installed, yet, i can get into recovery once by flashing the customrecovery.img but upon reboot- no more recovery? I have no idea what's going on and could use a little help. Also i am now on 5.0.
Thanx for your time.
Get one of the toolkits available like WugFresh's and use it to push a recovery image to the phone. I believe the device needs a pathway renaming to keep the recovery image from flash to flash. The tool kits sort all that out. I'm running modified stock lollipop with multirom and no disappearing recovery image here.
You can also simply press the volume up button and then the power button to get into recovery (twrp recovery) after flashing the twrp img in bootloader, go to the mount menu and mount system, press the home button, press Advanced -> File Manager. Now navigate to /system and rename the file named recovery-from-boot.p to recovery-from-boot.bak. This will stop stock recovery from overwriting twrp on reboot.
Related
I wiped everything in TWRP on accident. the only thing on the phone is TWRP, no backups, nothing. i was wondering if there was a way to get all the system files and such back?
it can not unzip files.
the only thing it can do is run twrp. that's it.
TWRP can only restore backups it's made. Unless you copied them off the device before you wiped it.. you are out of luck on doing a restore.
You should be able to reload a Rom though.
If he were to try and flash a stock.zip, how would he get it onto /sdcard?
Mount USB in TWRP
1. once you are in twrp click the mount button from the recovery
2. mount sdcard - it should show up on your computer
3. download http://www.mediafire.com/?gtxrohbc4gmu4m8
4. copy the downloaded file to sdcard
5. in twrp tap install, select the file, clear the small button with "X md5" or something like that(if you don't do this the kf will not install the rom) and install it - ignore failures about volume /misc - the kf don't have a volume /misc
6. on the screen where you return after installation tap clear dalvik/cache (in the lower left)
7. go to you command prompt and issue "adb shell idme bootmode 4000" and "adb reboot"
8. be patient - the first boot takes long time
9. enjoy !
you don't have to root it because this rom is a prerooted stock rom
What would this forum do without b63? Thank you.
Hey guys.
So I rooted my Nexus 10, running stock firmware. I want to install the stock update from google but it's not working.
I downloaded it (or rather the system automatically downloaded it), and then i pressed restart and install.
It rebooted into CWM Recovery and I pressed 'install zip'. There's an error thou. It says
assert failed: apply_patch_check("/system/app/BrowserProviderProxy.apk" . "eea9b34d255faa1088912
more weird number blab blah blah
E: Error in /cache/07ac4f5d6c30.signed-mantaray-JOP40C-from-JOP40C. 07ac4f5d.zip
(status 7)
installation aborted
I have a feeling that something is wrong with my browser provider proxy apk i'm guessing?
I honestly have no idea, but if someone could maybe give me a working browserproviderproxy.apk and i can try replacing mine and see if that works?
Does anyone know where this stock update zip file is saved to? Maybe I could try it manually.
Anyways, any help is appreciated! Thanks!
Yep. It sounds like BrowserProviderProxy.apk is modified in some way. The deal with OTAs is that they are deltas, meaning they contain only the data that was changed in an update. If a file was changed, the delta will not work.
Basically, you need to restore to stock, apply the OTA, then re-root. The procedures I have outlined will restore the system to stock without wiping your data.
You will need working drivers and the fastboot command. These can both be obtained from Google's Android SDK. The installation instructions differ depending on what OS you are running.
I apologize if this is a little complicated. I like to use the command line instead of graphical toolkits for tasks such as these. If your graphical utility can do a stock restore without wiping your data, then try it.
Download the 4.2 mantaray factory image from Google. Also, download the 4.2.1 OTA.
Dig through the factory image and extract the boot.img, recovery.img, system.img, and cache.img. (They are in another zip inside the tgz archive.)
Do not run the script that automatically flashes everything. This script will wipe all data on the device. Instead, flash the images individually. Power the device off, then hold all three buttons at once (power and volume up/down). If done successfully, your device will have some text on the screen with an android in the background. (This is bootloader mode.) Run the following:
Code:
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash system system.img
fastboot flash cache cache.img
Now your device has the stock firmware, but your data is still intact. Boot into recovery by selecting "Recovery Mode" with the volume buttons and pressing power.
When the "dead android" appears, immediately press and hold power. While holding power, press vol. up. Release vol. up then power. If done correctly, the recovery menu should appear. (If you did not succeed, press and hold all three buttons until you are back in bootloader mode.)
Select the adb sideload option in the recovery menu. Run
Code:
adb sideload <OTA package name>
inserting the name of the OTA package.
You are now upgraded. Now, you need to root your device again. This can be done using any method of your choice.
Whew! I know it's a little complicated, so please ask questions. I will do my best to answer.
Hi,
The N4 of my wife has big problem.
I wiped in "custom recovery" (TWRP) some stuff for return all in factory settings (this was stupid, I know)
Now, when she reboots on recovery, there is a message "No OS installed !"
How fix this, please ?
Edit: I tried with a toolkit, everything seems good, but when I boot, I have only the google screen.
Edit 2: I send with adb: image-occam-jdq39.zip, but when it failed when I try to install it.
Thanks.
https://developers.google.com/android/nexus/images#instructions
^^ negroplasty has given you the link to download the latest factory image. You can flash that to your phone no problem as long as you can boot into the bootloader (from off state, hold power + vol down)
Connect phone to pc, go to bootloader
Throw the image you want to flash to the same folder where your adb tools are
Open terminal, change directory to that folder
Then write: ./adb push EXACTNAMEOFROM.zip /sdcard/
Example of me trying to adb push Xylon
Then go to "Install" on your phone, sdcard, select the image, swipe to flash and that's it, hope this clears it.
first of all I am really apologies if I am at wrong room, because this is my new thread.
I am frustated to my problem with oppo find 5.
1. I had a stock ROM of color os in my oppo, then I want to upgrade to pacrom marshmallow alpha1 (this link)
2. I started to root my device, with TWRP img flash through fastboot from above pacrom thread post #2.
3. i had made a backup but not yet moved to computer, then I bravely click on LVM merge partition. this simply delete all in my sdcard. at this stage I only had TWRP (power button only) and stock recovery (vol down+power) also fastboot (power+vol up)
4. I assume that I have no more ROM installed since I did LVM merge, thats why every press power button only, I went automatically into TWRP. when I press power+vol down in went to stock recovery.
5. then I copied ONLY pacrom .zip and Gapps into my device with mount storage from TWRP. and flash it through TWRP---succesfull. but I dont know why TWRP is gone. I tried to open it via power + vol down but I faced stock recovery only.
6. reboot system and android started, but now I have internal storage 1,97GB (I assume this is my RAM) and also sdcard0 corrupted.
does anyone can fix this issue? really need the answer immediately since this is my only phone.
- I have tried to flash stockrom with put stockrom .zip file but cannot put it into sdcard since its corrupted,
- I have access to ADB debug, but when I push to /sdcard its failed. (i think it's again because it is corrupted)
- device cannot connected if I move to fastboot mode. so I cannot re-install TWRP
edit : my problem solved with reinstall stock ROM then reflash pacrom with TWRP - ADB sideload.
just take a look at my updated post at page 5.
I will try to re-arrange it on 2nd post.
reserved for editing
Alright so I went to dirty flash a new ROM update but TWRP errored out so I was unable to. I went to update TWRP (I was 2 versions out of date) and it flashed without a problem. However now I can no longer boot into recovery or quickboot but my ROM loads just fine. What the hell is going on?
I actually did NOT correctly flash TWRP. I am still on the older version and still cannot boot into it
flash twrp from fastboot.
1) reboot into bootloader
2) open a terminal inside the folder where you downloaded the recovery .img file
3) type into terminal: fastboot flash recovery recoveryfilename.img
4) reboot into recovery holding power and vol -
I cannot boot into fastboot or the bootloader.
Fixed by flashing older version of TWRP with the app inside of android.