[Q] [DEV] Error during flashing due to update-binary - Acer Iconia A500

I'm trying to build my own custom ROM, I downloaded the original acer 3.1 update and I made some mods, like zipalign, remove apps, add su, busybox ecc...
I edited the updater-script according to my mods, I rebuilded the zip and signed it.
When I try to flash it in cwm i get (Status 0) error.
If I put an update-binary from an other coocked ROM I get (Status 6) error.
How can I build my own and working update-binary?
I'm working on a Windows machine.
I use notepad++ to edit the updater-script.

Related

Got warnings when compiling Busybox 1.18.1

I compiled the new Busybox 1.18.1 with a lot of warnings, no error though. Will this build work? The complete stdout & stderr is in the attached make.log.txt.
PS: the zip file is not flashable.

Nov. OTA Update w/S-OFF - My experience...

Just wanted to share my experience applying the November OTA. I'm working off the solo.dc3.com/dinc how-to doc.
The doc should be a piece of cake but if you're like me and deleted your bloatware without backing it up then you could be in some trouble...
Here's what I was working with:
I verified I have S-OFF
Radio (baseband version) 2.15.00.07.28
Android Version 2.2
Build Number 3.21.605.1.CL231334 release keys
Software Number 3.21.605.1
Clockwork v2.5.0.5
I ran into trouble when I get to step #8 in the doc. This is the part when I apply the update.zip file. I receive the following error:
Verifying current system...
assert failed: apply_patch_check("/system/app/VzNav.apk", "de955dbcd1d9644ae4870cf0f0320ce178cc06ff", "1c4af8208e712a6df83150671d1bcf0a59a86a38")
E:Error in /sdcard/update.zip
(Status 7)
Installation aborted.
There is a site that contains ALL the default applications that come with the 3.21.605.1 release. It took me a little time but I had to download and place the VzNav.apk, com.htc.TwitterWidget.odex, and install_flash_player.apk to my /system/app/ folder. I consider myself lucky because its one failure after another and I was expecting to have to go through the process many more times.
If you want the link to all the default incredible apps including the bloatware then google the following: "Incredible Default Applications (3.21.605.1) chadhaney". (chadhaney is part of the url)
Didn't personally delete any of the bloatware as it's to easy to overlook for me. However, did read that a safer way to stop the bloatware is to rename it to something like bloatware.archive instead of bloatware.apk. Then when you go to update an OTA then just rename the files.
Just what I read as I didn't remove the files myself.
I had the same issues as you, except I removed a lot of apps, not just the VzNav one. I ended up just using the RUU instead of taking the time to put them all back and make sure the permissions were correct.

Stock Netflix.apk needed

I'm trying to upgrade my rooted TF101 to 9.2.1.11 and every zipI use complains on an assert failure for /system/app/Netflix.apk. Oddly, I can't get Ti backup to restore it, so I tried downloading it and putting it in that directory. This doesn't work. Does anyone have the stock Netflix.apk they can post so I can move past this? thx!!
Here ya go!
Title says it all.
Thanks! But no cigar!
I tried that, but it gives me the following error when I attempt to apply the zip from the sd card:
ClockworkMod Recovery v3.2.0.1 roach2010-tf101-r1
-- Installing: /sdcard/ics-us-8.6.5.21-to-9.2.1.11-CWM-rooted.zip
Finding update package...
Opening update package...
Installing update...
Verifying current system...
assert failed: apply_patch_check("/system/app/Netflix.apk", "459b736ea95188dd3500005f621b4fa22291c40c", "58c70e894dfc98166d16c64cb9555a7e83ceb7e4")
E:Error in /sdcard/ics-us-8.6.5.21-to-9.2.1.11-CWM-rooted.zip
(Status 7)
Installation aborted.
Click to expand...
Click to collapse
Any suggestions out there in the development community? I didn't think that uninstalling Netflix would cause such a hassle later on. Is there a different version of the .apk I can try? Or a different way of installing it (I just copied it over after remounting /system/app as rw).
Alternatively, can I unroot, then download the update, then re-root? Anybody have any practice with that, or will the Netflix.apk package.
Thank you! Have a nice day (or evening).
crinis said:
I tried that, but it gives me the following error when I attempt to apply the zip from the sd card:
Any suggestions out there in the development community? I didn't think that uninstalling Netflix would cause such a hassle later on. Is there a different version of the .apk I can try? Or a different way of installing it (I just copied it over after remounting /system/app as rw).
Alternatively, can I unroot, then download the update, then re-root? Anybody have any practice with that, or will the Netflix.apk package.
Thank you! Have a nice day (or evening).
Click to expand...
Click to collapse
That wasn't a zip file, it was an apk. And you don't flash those in recovery. Just put it in /data/app directory, then restart the tablet. Or you can try to execute it, and it will automatically install to the appropriate folder.
I solved it!
Yes, I just copied it over using scp (after remounting /system as rw). I'm no noob!
Here's what I did to get it to work.
I unzipped the rooted zip file, edited the updater-script to remove references to Netflix.apk (three of them), then rezipped it up, copied it to the sdcard , rebooted to recovery, then flashed it. Worked! Here's the exact steps took:
On my linux latop:
mkdir /tmp/ics-us-8.6.5.21-to-9.2.1.11-CWM-rooted
cd /tmp/ics-us-8.6.5.21-to-9.2.1.11-CWM-rooted
unzip ~/Download//tmp/ics-us-8.6.5.21-to-9.2.1.11-CWM-rooted.zip
vi ./META-INF/com/google/android/updater-script
# /Netflix\.apk finds the lines, I deleted two, and modified the third to remove the reference.
zip -r /tmp/ics-us-8.6.5.21-to-9.2.1.11-CWM-rooted.zip *
scp /tmp/ics-us-8.6.5.21-to-9.2.1.11-CWM-rooted [email protected]:/Removable/MicroSD
Click to expand...
Click to collapse
From there it's all Clockwork.
Thanks so much for the help of this forum. I love xda developers!

[Q] Pre "fixewd" CM 10.1 nigtly for 16. wanted

There is a lot of problems installing updates atm. I am currently stuck in CMW because none of the CM 10.1 roms will flash.
Here is what happens:
Status 7 (if I dont modify the script)
Installation aborted (if I have modified the script)
I know we can edit the script file and delete the device check and or the format of /system. But for me, it is not working. I have tried many editors (on OS X) but the finished zip is always 0.3 MB bigger than the original, making me suspect that its saving the script file wrong.
So if any one could link me a .zip they have used, I would be very grateful!

VRTheme not sticking / (and a question about sbin/busybox)

Hi guys,
I made a VRTheme zip (using a VRTheme template) to flash on my phone, and it was successful but when I rebooted, the changes were not applied. I read about it and found that flashing VRT with TWRP requires me to replace the zipalign binary so I did that, but to no avail. What should I do to make the theme stick? TIA.
PS. In the updater-script, it states 'run program sbin/busybox mount', but upon checking sbin, there are no instances of busybox. I suspect that is the case of the zip not flashing. If that is the case, what should I do?

Categories

Resources