Im trying to flash a file from twrp but the files simply don't appear in it. It appear only when I access it through the computer.
Anyway, how to change that ?
maybe because the file is not a flashable zip? With TWRP you can flash flashable zip or img files for partitions.. Also, be sure to access the /sdcard from the TWRP file manager when you tap Install. If it's and External SD you could have to mount it before..
EDIT:
Last but not least, if you are sure the zip is flashable you could use sideload.. From TWRP go to Advanced / Sideload and start sideload.. Open a command prompt into your PC and with the device attached to it use
Code:
adb sideload G:/whatever/the/file/is/into/your/PC/file.zip
Naturally you need adb
brainvision said:
maybe because the file is not a flashable zip? With TWRP you can flash flashable zip or img files for partitions.. Also, be sure to access the /sdcard from the TWRP file manager when you tap Install. If it's and External SD you could have to mount it before..
EDIT:
Last but not least, if you are sure the zip is flashable you could use sideload.. From TWRP go to Advanced / Sideload and start sideload.. Open a command prompt into your PC and with the device attached to it use
Code:
adb sideload G:/whatever/the/file/is/into/your/PC/file.zip
Naturally you need adb
Click to expand...
Click to collapse
It says "failed". Despite that, even if it was an image, shouldn't I see the file at least ? There's an option in twrp which I can choose between zip and images...
The file is the XposedInstaller_3.0_alpha4.apk, xposed-v86-sdk23-arm.zip.asc and eu.chain.fire.supersu_v2.78-278_Android-2.1.apk
No one is a zip as you can see..
Liooh said:
The file is the XposedInstaller_3.0_alpha4.apk, xposed-v86-sdk23-arm.zip.asc and eu.chain.fire.supersu_v2.78-278_Android-2.1.apk
Click to expand...
Click to collapse
You should download zip file instead of the asc file if you want to flash the xposed framework.the apk files you have to install it on the phone and you don't have to flash it on the recovery
Related
After flashing clockworkmod recovery via rom explorer my phone will not boot into clockworkmod recovery- only the stock android recovery mode. I did notice that the clockworkmod "recovery-update.zip" file contains files that *look* like they want to be in the root directory (ie /sbin/*), but some of these files do not exist in my root directory. I'm guessing maybe that rom manager did not successfully extract the contents of this zip file? Should I manually copy the contents of this zip file over to my root directory?
When you boot into recovery from ROM Manager..you may need to hit "reinstall packages" a couple of times
yup
Thanks, that did it.
I am very new to the android world, seeing as I am a recent iOS convert. However, I am still struggling with all the terminology and technicalities of android and require assistance (perhaps a lot! :cyclops.
I have managed to root my G2 (VERIZON MODEL) but am stuck there. I do not know how to install CWM or TWRP, nor install any custom ROMs like CM or Gummy.
So will anyone be kind enough to guide me through the process? Thank you.
P.S.
I have searched through the threads in this forum regarding installing custom ROMs and am still confused.
from this thread here
http://forum.xda-developers.com/showthread.php?t=2449670
first download twrp for your device, http://techerrata.com/file/twrp2/g2vzw/openrecovery-twrp-2.6.3.3-g2vzw.zip
plug the phone to the computer, make sure u have usb debugging on in developer settings of phone
since you are already rooted, place that file recovery img to the IOROOT folder.
once done, rename the recovery file to recovery.img
one done, CONTROL + SHIFT + RIGHT CLICK, OPEN COMMAND PROMPT HERE
then type this
adb push recovery.img /data/local/tmp/recovery.img
adb shell
(IF YOU DONT SEE A # prompt on your phone, type su in the command prompt to get it then allow it on phone. once thats done then contine onto next step blow.)
cd /data/local/tmp
dd if=/data/local/tmp/recovery.img of=/dev/block/platform/msm_sdcc.1/by-name/recovery
exit
adb reboot recovery
once its complet just reboot the phone and you should have twrp installed!
once twrp is installed, you can dl the verizon version of paranoid android here
http://downloads.codefi.re/houstonn/kitkat/G2/PA/vs980/pa_g2-4.0-ALPHA-20131205-vs980.zip
and
http://www.androidfilehost.com/?fid=23252070760973599
dl the file, drag the files to the phone, dont place into any folder though.
to install, go to the ioroot folder again, control shift right click open prompt again, type adb reboot recovery
phone should reboot to recovery, go to settings, then select USE RM-F instead of formatting, then go to wipe, advance, select dalvik cache, system, data, and cache. IMPORTANT DO NOT SELECT INTERNAL STORAGE!!!
then swipe to wipe
then go to install then install the paranoid android download first, once its installed, hit the back button on the botom right, then install the GAPPS, then reboot the device your done.
Or you could just download the recovery.img that u choose, and flash it using the app called "Flashify". Easiest way by far and works perfectly for me everytime, using both TWRP and CWM whenever I need.
Once you have that done, installing a ROM such as GUMMY is fairly simple since it usually has the instructions right there in the OP of the thread. Pretty straightforward.
expertzero1 said:
from this thread here
http://forum.xda-developers.com/showthread.php?t=2449670
first download twrp for your device, http://techerrata.com/file/twrp2/g2vzw/openrecovery-twrp-2.6.3.3-g2vzw.zip
plug the phone to the computer, make sure u have usb debugging on in developer settings of phone
since you are already rooted, place that file recovery img to the IOROOT folder.
once done, rename the recovery file to recovery.img
one done, CONTROL + SHIFT + RIGHT CLICK, OPEN COMMAND PROMPT HERE
then type this
adb push recovery.img /data/local/tmp/recovery.img
adb shell
(IF YOU DONT SEE A # prompt on your phone, type su in the command prompt to get it then allow it on phone. once thats done then contine onto next step blow.)
cd /data/local/tmp
dd if=/data/local/tmp/recovery.img of=/dev/block/platform/msm_sdcc.1/by-name/recovery
exit
adb reboot recovery
once its complet just reboot the phone and you should have twrp installed!
once twrp is installed, you can dl the verizon version of paranoid android here
http://downloads.codefi.re/houstonn/kitkat/G2/PA/vs980/pa_g2-4.0-ALPHA-20131205-vs980.zip
and
http://www.androidfilehost.com/?fid=23252070760973599
dl the file, drag the files to the phone, dont place into any folder though.
to install, go to the ioroot folder again, control shift right click open prompt again, type adb reboot recovery
phone should reboot to recovery, go to settings, then select USE RM-F instead of formatting, then go to wipe, advance, select dalvik cache, system, data, and cache. IMPORTANT DO NOT SELECT INTERNAL STORAGE!!!
then swipe to wipe
then go to install then install the paranoid android download first, once its installed, hit the back button on the botom right, then install the GAPPS, then reboot the device your done.
Click to expand...
Click to collapse
So I take it that I put the "ioroot10" file into my phone over the USB, then extract the files of the TWRP file, then place the extracted TWRP file inside of the ioroot10 file? Also, I did the control+shift+right click, but there is not OPEN COMMAND PROMPT option. Sorry for all the questions..
dlee96 said:
So I take it that I put the "ioroot10" file into my phone over the USB, then extract the files of the TWRP file, then place the extracted TWRP file inside of the ioroot10 file? Also, I did the control+shift+right click, but there is not OPEN COMMAND PROMPT option. Sorry for all the questions..
Click to expand...
Click to collapse
no, you place the recovery.img to the ioroot10 folder, ioroot10 stays on your computer.
control + shift + right click = open command window here
Just use flashify its free n so much easier
the definition of open: “mkdir android ; cd android ; repo init -u git:// android.git.kernel.org/platform/manifest.git ; repo sync ; make" gansta mic drop
its my first time rootnig my phone (galaxy a5 - SM-A520F ) and all ive done so far is installed TWRP. I downloaded supersu.zip but the files i see in the android's file explorer are diffrent from those that the twrp explorer shows so i cant find the zip file in twrp. I dont have an sd card to move it on. What can i do?
anastbogia said:
its my first time rootnig my phone (galaxy a5 - SM-A520F ) and all ive done so far is installed TWRP. I downloaded supersu.zip but the files i see in the android's file explorer are diffrent from those that the twrp explorer shows so i cant find the zip file in twrp. I dont have an sd card to move it on. What can i do?
Click to expand...
Click to collapse
R U sure you selected zip and not img from twrp? Twrp might be looking only for img if that is so.
File manager in twrp is no different than standard file manager , only zips or img are visible.
jason_l367 said:
R U sure you selected zip and not img from twrp? Twrp might be looking only for img if that is so.
File manager in twrp is no different than standard file manager , only zips or img are visible.
Click to expand...
Click to collapse
From what i read online (but could be totaly wrong) twrp files are the system files whereas android file explorers are internal storage.
I figured out how to access my system files but its read only so I cant paste in zip
anastbogia said:
I figured out how to access my system files but its read only so I cant paste in zip
Click to expand...
Click to collapse
Need to "swipe to allow modifications" when you first time start TWRP
You'll be able to flash SuperSU then.
jason_l367 said:
Need to "swipe to allow modifications" when you first time start TWRP
You'll be able to flash SuperSU then.
Click to expand...
Click to collapse
My problem is that I cant modify the system files from android not from twrp
anastbogia said:
My problem is that I cant modify the system files from android not from twrp
Click to expand...
Click to collapse
Place the SuperSU zip file in 'Downloads' directory on your phone (there's no way it won't be visible in TWRP) do button combo ,enter twrp -swipe to allow modifications (so it's not 'read only') ,navigate to Downloads , select the 'supersu . zip ,swipe to install. There's literally no way it can fail.
jason_l367 said:
Place the SuperSU zip file in 'Downloads' directory on your phone (there's no way it won't be visible in TWRP) do button combo ,enter twrp -swipe to allow modifications (so it's not 'read only') ,navigate to Downloads , select the 'supersu . zip ,swipe to install. There's literally no way it can fail.
Click to expand...
Click to collapse
I cant mount data folder in TWRP without wiping first so the data is empty and i cant see no downloads
I got an sd card and now I can locate the file, I flashed it but it failed and my phone couldn't boot so I install the Samsung firmware with odin. Will wiping before flashing fix this?
anastbogia said:
I got an sd card and now I can locate the file, I flashed it but it failed and my phone couldn't boot so I install the Samsung firmware with odin. Will wiping before flashing fix this?
Click to expand...
Click to collapse
If it were my phone , upon booting to twrp I'd wipe system data and cache(s) formatt data and flash a rom /root!
Since you got twrp ur bootloader is unlocked so u should be good to flashmagisk or latest SuperSU without issue. I'm not an expert. Sorry for the delayed responses this oppo phones are crap.
jason_l367 said:
If it were my phone , upon booting to twrp I'd wipe system data and cache(s) formatt data and flash a rom /root!
Since you got twrp ur bootloader is unlocked so u should be good to flashmagisk or latest SuperSU without issue. I'm not an expert. Sorry for the delayed responses this oppo phones are crap.
Click to expand...
Click to collapse
I watched a tutorial and the guy in the vid doesnt wipe before flashing but after supersu is install he taps on the "wipe cache " or something like that. So I have to do that and will my data be erased?
anastbogia said:
I watched a tutorial and the guy in the vid doesnt wipe before flashing but after supersu is install he taps on the "wipe cache " or something like that. So I have to do that and will my data be erased?
Click to expand...
Click to collapse
You phone should be rooted if you have twrp and flash the root zip. You don't have to wipe cache
The device may reboot 1-2 times after you flash the root.zip but you should be ok.
I have a Samsung Tab 2 with TWRP 3.3 installed. I wanted to try out some old jellybean roms but they didnt support my device codename so i edited updater-script to fix the issue. I did the same thing a year ago using winrar to make it into a zip again and the edited rom flashed with no problems but now trying the same thing with winrar or 7-zip doesnt work and gives me the "Invalid Zip File Format" error. Any way to fix this?
You try to flash the ZIP-file via ADB Sideload option from TWRP's Advanced option?
If you are facing this TWRP invalid zip file format issue, then by unpacking and re-zipping these zip files could simply fix your issue instantly.
jwoegerbauer said:
You try to flash the ZIP-file via ADB Sideload option from TWRP's Advanced option?
If you are facing this TWRP invalid zip file format issue, then by unpacking and re-zipping these zip files could simply fix your issue instantly.
Click to expand...
Click to collapse
No i copy them to my sd card and flash them from there
jwoegerbauer said:
You try to flash the ZIP-file via ADB Sideload option from TWRP's Advanced option?
If you are facing this TWRP invalid zip file format issue, then by unpacking and re-zipping these zip files could simply fix your issue instantly.
Click to expand...
Click to collapse
still doesnt work. then can i change my device codename so i dont have to edit updater-script?
Having the same problem here... fairly reputable zips Magisk and Flashify. Tried sideload and repakaging, no joy
I have the same problem in my Samsung J5 (2016).Model J510F.
I have the same problem "invalid zip file format" with Xperia Z2 and Resurrection Remix 10.
I found some possible help here. They recommend to unpack and repack the zip or install with ADB Sideload, too. Instructions for using ADB Sideload are also included.
So, I tried flashing it through Partition backer but it always should some error, I also placed it in the same folder as the platform-tools and extract zip of file but it does not work. I was thinking what would if I flashed it directly using ADB Sideload? What could go wrong?