Related
I have a custom kernel I have created and would like to flash it to my Nexus 4. After having problems with fastboot, I found out that fastboot will not flash the boot.img because of the Nexus 4's secure boot. After downloading another developers kernel and flashing it via recovery update.zip method, I found out that this method works. So I created my own update.zip and signed it with jarsigner and used the updater-script and update-binary from the other developers update.zip. However, when trying to flash it in TWRP recovery I get the error "Error flashing zip.". What is the problem?
arynhard said:
I have a custom kernel I have created and would like to flash it to my Nexus 4. After having problems with fastboot, I found out that fastboot will not flash the boot.img because of the Nexus 4's secure boot. After downloading another developers kernel and flashing it via recovery update.zip method, I found out that this method works. So I created my own update.zip and signed it with jarsigner and used the updater-script and update-binary from the other developers update.zip. However, when trying to flash it in TWRP recovery I get the error "Error flashing zip.". What is the problem?
Click to expand...
Click to collapse
+1
I just started using the Nexus 7 (WiFi) and I am on 4.2.1 and I am rooted. I rooted with the Wug's Toolkit. Anyway I want to update to 4.2.2 and I don't want to use any custom rom's, I just want to have an original update that I can flash without having to unroot. I have flashed my nexus with Clockwork Mod Recovery. Any places were I can get this rom and how I can install it?
Help Please!!
hettige677 said:
I just started using the Nexus 7 (WiFi) and I am on 4.2.1 and I am rooted. I rooted with the Wug's Toolkit. Anyway I want to update to 4.2.2 and I don't want to use any custom rom's, I just want to have an original update that I can flash without having to unroot. I have flashed my nexus with Clockwork Mod Recovery. Any places were I can get this rom and how I can install it?
Help Please!!
Click to expand...
Click to collapse
Hello there!
What about a little search? is a search bar in every part of the forum!!!
Anyway there you go:
http://forum.xda-developers.com/showthread.php?t=1745781
Just don't get used to it :good:
Read the forum rules!
So I downloaded the zip but it won't install properly it says error code 7??
Sent from my Nexus 7 using xda app-developers app
n/m
hettige677 said:
So I downloaded the zip but it won't install properly it says error code 7??
Sent from my Nexus 7 using xda app-developers app
Click to expand...
Click to collapse
That's because you are using a custom recovery. You can either flash a stock recovery or edit some files in the zip so you can flash it in the custom recovery.
Leonhan said:
That's because you are using a custom recovery.
Click to expand...
Click to collapse
Possibly, but probably not. In most of the reports that have been coming in - when the users actually report the full error message rather than saying something ambiguous like "I got a Status 7 error" - the problems revolve around altered/removed files in /system, or having a custom kernel (boot or LNX partition) installed. That suggests that the recovery version is not causing assert() failures.
The other thing to rememder is that the program that is interpreting the edify updater-script is the "updater-binary" program which is shipped inside the OTA - so it is virtually identical independent of the choice of recovery (other than perhaps kernel behavior differences).
Leonhan said:
You can either flash a stock recovery or edit some files in the zip so you can flash it in the custom recovery.
Click to expand...
Click to collapse
Even though what you are saying here does only require being able to operate a plain-text editor and a zip tool, it's way above the heads of most folks who think that OTAs should work on non-stock ROMs. And I'm not sure how these folks would be better off with partially-patched ROMs. In any event, if this course is taken indeed a custom recovery would need to be used for this, as modifying the zip contents will break the OTA package signing, so the stock recovery couldn't be used.
The OP should just
- make a full nandroid backup of what they have now
- download the factory 4.2.2 images from Google
- extract the system.img file and boot.img images
( hint for windoze users: 7-zip understands .tgz files)
fastboot flash boot boot.img
fastboot flash system system.img
- reflash a basic SuperSU or Superuser root kit
Sort of crude, but it's a decent hack for the lazy or poorly informed. It won't "erase my data", but presumably it will break whatever it was that altered the stock system and/or boot partitions - the very things that are causing the OTA to fail on them with their rooted & modified ROMs.
If they don't like the result, they can simply restore their nandroid backup.
Is it possible on an unlocked nexus 7 to effectively install a custom ROM from fastboot with the command "fastboot update </path/to/your/RomFile.zip>" without using a custom recovery such as TWRP?
Sent from my Nexus 7 using Xparent Green Tapatalk 2
Fastboot is used to flash .img file not .zip
norcal61 said:
Is it possible on an unlocked nexus 7 to effectively install a custom ROM from fastboot with the command "fastboot update </path/to/your/RomFile.zip>" without using a custom recovery such as TWRP?
Sent from my Nexus 7 using Xparent Green Tapatalk 2
Click to expand...
Click to collapse
What you can do is fastboot flash system system.img.
system.img can come from a backup, a google stock image or make it yourself
So there is no way to flash an actual zip file via fastboot? I found this article here on xda http://forum.xda-developers.com/wiki/index.php?title=Flashing_Guide_-_Android
Sent from my Nexus 7 using Xparent Green Tapatalk 2
Why would you want to? Flash recovery with fastboot and flash your ROM from there.
Sent from my Nexus 7 using Tapatalk HD
korockinout13 said:
Why would you want to? Flash recovery with fastboot and flash your ROM from there.
Sent from my Nexus 7 using Tapatalk HD
Click to expand...
Click to collapse
I want to be able to format my internal SD from TWRP which would wipe everything off the SD including any zip files then flash the zip from my computer from a command prompt with the tablet booted into the boot loader.
Sent from my Nexus 7 using Xparent Green Tapatalk 2
norcal61 said:
I want to be able to format my internal SD from TWRP which would wipe everything off the SD including any zip files then flash the zip from my computer from a command prompt with the tablet booted into the boot loader.
Sent from my Nexus 7 using Xparent Green Tapatalk 2
Click to expand...
Click to collapse
That's quite pointless to format everything... But in this case, you can adb sideload the zip from recovery. No need for the file on the sd card.
Sent from my Nexus 7 using Tapatalk HD
norcal61 said:
So there is no way to flash an actual zip file via fastboot? I found this article here on xda http://forum.xda-developers.com/wiki/index.php?title=Flashing_Guide_-_Android
Sent from my Nexus 7 using Xparent Green Tapatalk 2
Click to expand...
Click to collapse
Only STOCK factory ROMs are flashable this way...
cf. this line from the flash-all.* script for the full factory image of Jellybean 4.2.2.. for 'grouper'.
Code:
fastboot -w update image-nakasi-jdq39.zip
In image-nakasi-jdq39.zip the following files are found...
boot.img
recovery.img
system.img
userdata.img
----
CUSTOM ROMs, however, can only be flashed via a CUSTOM RECOVERY, such as CWM or TWRP.
And as korockinout13 alludes to, it's a trivial matter to FASTBOOT FLASH a custom recovery... and then flash the ROM of your choice.
If you already have FASTBOOT (and your question suggests that you do)... then what's the problem?
Rgrds,
Ged.
The bootloaders of different Android devices have differing capabilities precisely because they are proprietary. Moreover, it is the bootloader that actually implements the heavy lifting of installs etc - the PC fastboot program does little more than send ASCII commands and push blobs of data across the USB cable.
Some Android devices have had bootloaders that understand how to unpack .zip files that contain other types of archives (.tar files, et cetera) but required that the .zip file is placed onto an external SD card using a standardized name for that device. (When the bootloader starts up, it would look for that file automatically). But this was for signed factory bundles, not for arbitrary aftermarket customization. In any event, this doesn't apply to the N7 afaik.
None of these behaviors are standardized though; each vendor decides how it will interpret and respond to fastboot commands from the PC.
The N7 bootloader clearly understands what a sparse ext4 image file is (for use with system.img and userdata.img files) - if it handled them as a pure binary blob, how would it be possible to use the same userdata.img file with 8Gb, 16Gb, and 32Gb devices? Moreover, the N7's "fastboot format" command clearly is capable of creating ext4 filesystems.
So would it be possible to create "sparse ext4" system.img/userdata.img image files corresponding to a custom ROM that could flashed in exactly the same way as the factory image using fastboot? Yes, absolutely. (I've done just that.)
But this is NOT the same thing as taking a custom ROM .zip file (intended to be processed by a recovery using an "edify" script) and flashing it with fast boot; it ain't that easy.
hi,
i have a nexus 7 and i want to flash a custom rom but i wiped everything and the zip gone from my tablet now the tablet is without os,please help!!
paul20 said:
hi,
i have a nexus 7 and i want to flash a custom rom but i wiped everything and the zip gone from my tablet now the tablet is without os,please help!!
Click to expand...
Click to collapse
Better to stick with stock and not attempt to flash custom ROMs if you don't know how to use a custom recovery or toolkit.
paul20 said:
hi,
i have a nexus 7 and i want to flash a custom rom but i wiped everything and the zip gone from my tablet now the tablet is without os,please help!!
Click to expand...
Click to collapse
Not a big deal. You need to download the factory image for your nexus 7 and find instructions on how to restore with fastboot. That will take you back to factory stock. Or another option is to fastboot flash TWRP custom recovery and use the adb sideload feature within TWRP to flash a custom ROM of your choice. You can find instructions on both of these procedures here at xda or with a simple Google search. Let me know if that works out for you. If you need more help I can give you a hand when I get home from work
Sent from my Nexus 7 using Xparent Green Tapatalk 2
everything okay i flashed stock rom with the toolkit and then the custom one,it's ok now i am not so noob but it's my first tablet without external sd card and i got panik
thanks everyone
paul20 said:
hi,
i have a nexus 7 and i want to flash a custom rom but i wiped everything and the zip gone from my tablet now the tablet is without os,please help!!
Click to expand...
Click to collapse
Fastboot flash a custom recovery. Then, there are many threads showing how to get the .zip to the device for flashing.
Sent from my Nexus 7 using xda premium
norcal61 said:
Not a big deal. You need to download the factory image for your nexus 7 and find instructions on how to restore with fastboot. That will take you back to factory stock. Or another option is to fastboot flash TWRP custom recovery and use the adb sideload feature within TWRP to flash a custom ROM of your choice. You can find instructions on both of these procedures here at xda or with a simple Google search. Let me know if that works out for you. If you need more help I can give you a hand when I get home from work
Sent from my Nexus 7 using Xparent Green Tapatalk 2
Click to expand...
Click to collapse
Hey guys,
I made the same mistake as paul20 with my HTC ONE and your answer saved my morning, thanks! adb sideload feature rocks!
rebel1699 said:
Fastboot flash a custom recovery. Then, there are many threads showing how to get the .zip to the device for flashing.
Sent from my Nexus 7 using xda premium
Click to expand...
Click to collapse
Can you point me to one of those threads?
fastboot error
GedBlake said:
Only STOCK factory ROMs are flashable this way...
cf. this line from the flash-all.* script for the full factory image of Jellybean 4.2.2.. for 'grouper'.
Code:
fastboot -w update image-nakasi-jdq39.zip
In image-nakasi-jdq39.zip the following files are found...
boot.img
recovery.img
system.img
userdata.img
----
CUSTOM ROMs, however, can only be flashed via a CUSTOM RECOVERY, such as CWM or TWRP.
And as korockinout13 alludes to, it's a trivial matter to FASTBOOT FLASH a custom recovery... and then flash the ROM of your choice.
If you already have FASTBOOT (and your question suggests that you do)... then what's the problem?
Rgrds,
Ged.
Click to expand...
Click to collapse
========================================
the fastboot says --
archive does not contain 'boot.sig'
archive does not contain 'recovery.sig'
archive does not contain 'system.sig'
i m porting the stock rom (it is a zip file) which has boot.img ,recovery.img ,system.img ,userdata.img into it yet the error comes.
the prob is that the rom is not detecting my sd card and neither the CWM i tried a different sd card yet it isnt detecting...i alst tried mounting sd card it showed error there also! plz help me! everything was working sommoth! this problem came after i ported droid_dd_gb_13.3 v3 ...my device is micromax a57 plz help mee!!!
GedBlake said:
Only STOCK factory ROMs are flashable this way...
cf. this line from the flash-all.* script for the full factory image of Jellybean 4.2.2.. for 'grouper'.
Code:
fastboot -w update image-nakasi-jdq39.zip
In image-nakasi-jdq39.zip the following files are found...
boot.img
recovery.img
system.img
userdata.img
----
CUSTOM ROMs, however, can only be flashed via a CUSTOM RECOVERY, such as CWM or TWRP.
And as korockinout13 alludes to, it's a trivial matter to FASTBOOT FLASH a custom recovery... and then flash the ROM of your choice.
If you already have FASTBOOT (and your question suggests that you do)... then what's the problem?
Rgrds,
Ged.
Click to expand...
Click to collapse
where do you get those .img files from?? bY the way im using sony xperia sp and bricked i guess ;(
no adb, can't enable USB debugging
korockinout13 said:
That's quite pointless to format everything... But in this case, you can adb sideload the zip from recovery. No need for the file on the sd card.
Sent from my Nexus 7 using Tapatalk HD
Click to expand...
Click to collapse
What if you can't enable USB debugging because you accidentally formated /persist and can't get into your system? 16 hours of that arrow turning and nothing...
Can someone help me, I have same problem but i extracted my Zip file and have Boot.img if i flash that will it work again
1, Download the zip file
2, Flash via custom recovery ( TWRP or CWM recommended for best result )
3, Reboot
( creator boot logo for create your own logo by just paste the your own logo.bin file in the zip )
enjoy xda members
Bro am new to this how to install step by step please tell
Bro which I tried to install it from recovery option n this is what I got
Just try with twrp recovery mode.....i think your phone running with stock recovery
Sent from my Micromax AQ4502 using XDA Free mobile app
madhavan dx said:
1, Download the zip file
2, Flash via custom recovery ( TWRP or CWM recommended for best result )
3, Reboot
( creator boot logo for create your own logo by just paste the your own logo.bin file in the zip )
enjoy xda members
Click to expand...
Click to collapse
Maha banchod
madhavan dx said:
Just try with twrp recovery mode.....i think your phone running with stock recovery
Sent from my Micromax AQ4502 using XDA Free mobile app
Click to expand...
Click to collapse
That's not stock recovery, it's CM-Recovery, a fork of CWM made by the CyanogenMod Team.
Sent from my SM-G350 using XDA-Developers mobile app
How can I backup my current Boot Logo?
Sent from my Samsung Galaxy S3 LTE GT-I9305 (Resurrection Remix)?
Iller Chiller said:
How can I backup my current Boot Logo?
Sent from my Samsung Galaxy S3 LTE GT-I9305 (Resurrection Remix)?
Click to expand...
Click to collapse
If you want to back-up your current boot animation..just download any file explorer..I prefer Es file explorer then navigate to where your boot animation is located which is probably in system/media...then rename your current boot animation by adding .bak example bootanimation.zip.bak...just simple like that..then save it.
Decided to wipe the dust of my Ultra Tablet and upgrade to Remix 2.0. Was playing around after rooting it and I never did a nandroid backup. I had to flash 1.5 from fast boot and upgrade to 2.0 and then put cwm and root all over again. can't believe no one made a flashable zip of 2.0 So I made one. Haven't tried with the stock recovery but I'm almost certain you have to have a custom recovery to flash this. The zip is based off a test build I got from jide for 1.5 just added the stuff for 2.0 seems to be working fine for me but use at your own risk.
I'll also include a link to an old CWM and Philz Touch I compiled. The CWM recovery can be flashed.
Philz touch can only be booted through fastboot as it is too large to flash and I don't have my Linux box to really try and get it to compile at the right size
CWM
md5: 374C22EF3360722CEAD04AA1873666EE
https://drive.google.com/open?id=0B6GklA_jRzKZQnI5S0ItVzY0TXM
Philz-Touch
md5: E3C6D6CC2CF11E27500C8E8765987679
https://drive.google.com/open?id=0B6GklA_jRzKZMENuQUc4c2NUTnc
Remix 2.0
md5: 93A98F3EC662ADA75CEE08AA1D139ABD
https://drive.google.com/open?id=0B6GklA_jRzKZUWM1Z0JIWE5xclE
Thanx
Sent from my SM-G361H using Tapatalk
Thanks
Gesendet von meinem Nexus 6P mit Tapatalk
majinvegeta3886 said:
Decided to wipe the dust of my Ultra Tablet and upgrade to Remix 2.0. Was playing around after rooting it and I never did a nandroid backup. I had to flash 1.5 from fast boot and upgrade to 2.0 and then put cwm and root all over again. can't believe no one made a flashable zip of 2.0 So I made one. Haven't tried with the stock recovery but I'm almost certain you have to have a custom recovery to flash this. The zip is based off a test build I got from jide for 1.5 just added the stuff for 2.0 seems to be working fine for me but use at your own risk.
I'll also include a link to an old CWM and Philz Touch I compiled. The CWM recovery can be flashed.
Philz touch can only be booted through fastboot as it is too large to flash and I don't have my Linux box to really try and get it to compile at the right size
CWM
md5: 374C22EF3360722CEAD04AA1873666EE
https://drive.google.com/open?id=0B6GklA_jRzKZQnI5S0ItVzY0TXM
Philz-Touch
md5: E3C6D6CC2CF11E27500C8E8765987679
https://drive.google.com/open?id=0B6GklA_jRzKZMENuQUc4c2NUTnc
Remix 2.0
md5: 93A98F3EC662ADA75CEE08AA1D139ABD
https://drive.google.com/open?id=0B6GklA_jRzKZUWM1Z0JIWE5xclE
Click to expand...
Click to collapse
Sent you a private message, but not sure if it went through...
Hey, saw your old post on the flashable zip(s) for the Jide Ultratablet. Not sure if you still use it. I've got mine rooted and have been tinkering with it, didn't realize there was a custom recovery for it. I'd love to flash CWM and back things up just in case. I also see you shared a "stock" 2.0.305.
I should be able to flash the CWM through Fastboot and then if I ever wanted to return to latest stock I could use that flashable 2.0.305 zip?
THANKS!
You should be able to flash the recovery through fastboot. Or you could just boot into the recovery using fastboot boot recovery then the path to the recovery img file. Then yes you would be able to use this to flash back to stock. Not sure but I think I included the stock recovery when you use this to flash back to stock.
Sent from my XT1575 using XDA Free mobile app
majinvegeta3886 said:
You should be able to flash the recovery through fastboot. Or you could just boot into the recovery using fastboot boot recovery then the path to the recovery img file. Then yes you would be able to use this to flash back to stock. Not sure but I think I included the stock recovery when you use this to flash back to stock.
Sent from my XT1575 using XDA Free mobile app
Click to expand...
Click to collapse
Okay... so if I were ever to flash your "stock 2.0.305" your saying you think it would put back the stock "remix recovery" and in essence create an out of the box 2.0.305 tablet?
Yes
Sent from my XT1575 using XDA Free mobile app
majinvegeta3886 said:
Yes
Sent from my XT1575 using XDA Free mobile app
Click to expand...
Click to collapse
One more question... did you do anything special to get into Fastboot? I see a lot of issues with people getting into it.
If you are rooted there is an app that will reboot into fastboot or recovery for you. Or you can do adb reboot fastboot when connected to you pc
Sent from my XT1575 using XDA Free mobile app
majinvegeta3886 said:
If you are rooted there is an app that will reboot into fastboot or recovery for you. Or you can do adb reboot fastboot when connected to you pc
Sent from my XT1575 using XDA Free mobile app
Click to expand...
Click to collapse
I am rooted....So downloaded Quick Reboot and when I choose reboot to fastboot it takes me to a screen to select fastboot, which then just reloads the same selection screen again. Doesn't enter fastboot.
Edit - So downloaded Flashify and that worked.
If I remember correctly That selection screen is fastboot. if you adb fastboot devices you will see the Id for the remix
Sent from my XT1575 using XDA Free mobile app