[Q] editting the updater script - HTC Desire X

Anyone managed to edit the update script? So we can manual load the OTA update;;

Nickyv1987 said:
Anyone managed to edit the update script? So we can manual load the OTA update;;
Click to expand...
Click to collapse
Its easy to modify a normal updater script but HTC's updater script is so different

is this script different then the one from the HTC ONE X? otherwise could try in that way

Related

[Q] How to compile update.zip's

Hello devs...
I'm working on updating the root update.zip's for the Samsung Galaxy S I9000...
But i can't seem to get it to work.
I will include the old working update.zip and the updated update.zip that doesn't work. I really need some help!
The new update.zip applies but after that the phone doesn't seems to be rooted.
I updated Busybox and Superuser in the (new)update.zip
BackfireNL said:
Hello devs...
I'm working on updating the root update.zip's for the Samsung Galaxy S I9000...
But i can't seem to get it to work.
I will include the old working update.zip and the updated update.zip that doesn't work. I really need some help!
The new update.zip applies but after that the phone doesn't seems to be rooted.
I updated Busybox and Superuser in the (new)update.zip
Click to expand...
Click to collapse
Have you noticed that the old update has both an updater-script and an update-script, but the new update does not? I'm not sure why it would need both, but it makes me wonder if the updater-script is doing anything. I would copy the old update-script into the new update, zip, resign, and try again. Actually, I might even get rid of the updater-script and update-binary. It appears to me that they are just duplicating what the update-script is doing.
Maybe updater-script and update-binary aren't supported? Seems unlikely but who knows...
I know I had a similar problem, but mine stemmed down to there being no 'sh' binary in system.
Try skimming through your recovery.log after applying the update, and do a logcat while trying to use a root feature. Other than that I'm not too sure.
GT9500
BackfireNL said:
Hello devs...
I'm working on updating the root update.zip's for the Samsung Galaxy S I9000...
But i can't seem to get it to work.
I will include the old working update.zip and the updated update.zip that doesn't work. I really need some help!
The new update.zip applies but after that the phone doesn't seems to be rooted.
I updated Busybox and Superuser in the (new)update.zip
Click to expand...
Click to collapse
Where can you find for GT9500?

Request: System Dump of full DI01 updated phone.

Someone who has done the whole DI01 update, please dump their system for me, or just the framework folder, apparently the one given to me had the stock android lockscreen patch applied to it lol.
Aside from that, the DI01 deodex works perfect, I opt_png'ed and zip_align'ed all the apk's, as well as the framework-res and twframework-res.
I will also need someone who knows how to sign updater-scripts to open the one attached, and just save it again properly and upload it for me. I am trying to get a flashable CW zip but the darn thing always gives me a status 6 error, which means the CW cannot read the updater script.
Sorry for the n00b question, but what benifit does deodexing provide? Also if there is another software update will I have to readd any .apk's to my /system folder?
Why not just flash your own system back to stock, then run the update, then dump /system? If you'd like an update script that doesn't update modem.bin, I already have one.
Assuming you're updating via CWM, why are you signing the zip? You don't need any signature, just zip the file up.
Is there anything involved in a dump besides just copying the files in /system?
namebrandon said:
Why not just flash your own system back to stock, then run the update, then dump /system? If you'd like an update script that doesn't update modem.bin, I already have one.
Assuming you're updating via CWM, why are you signing the zip? You don't need any signature, just zip the file up.
Click to expand...
Click to collapse
Because I am too lazy to go through all that.
I don't need it signed per say. More like opened, edited, and saved properly. It is said it is best to edit the update script in s Linux based environment which I don't have, but that notepad should suffice, yet when I save it with my notepad, I get the error of cw not being able to read it properly.
I have a fresh phone that just got the D101 update. Just need directions on what if anything is involved beyond just getting the /system directory via adb.
s44 said:
I have a fresh phone that just got the D101 update. Just need directions on what if anything is involved beyond just getting the /system directory via adb.
Click to expand...
Click to collapse
That is all I need. The only things I deodex are the contents of system/app and system/framework.
frostman89 said:
I don't need it signed per say. More like opened, edited, and saved properly. It is said it is best to edit the update script in s Linux based environment which I don't have, but that notepad should suffice, yet when I save it with my notepad, I get the error of cw not being able to read it properly.
Click to expand...
Click to collapse
Try a real editor, like bluefish or something.. Those scripts look like sh#! in notepad.
If no one has done it by tonight, just grab me on IRC and I'll do it under Linux for you.
Make sure you've got the file/directory structure right too.. You can't just throw a script in a zip file, but I'm sure you knew that. Myself and and a few others had the wrong directory structure at first, don't remember what error number that gave us though.. I think it just froze.
OK, how can I get it to you? I can't post links or (I think) files yet.
s44 said:
OK, how can I get it to you? I can't post links or (I think) files yet.
Click to expand...
Click to collapse
You can just zip it up and upload it to mediafire.com
Just splice up the link like WWW. Website. Com and I will just delete the spaces.
Mediafire upload just not working for some reason. Hm.
s44 said:
Mediafire upload just not working for some reason. Hm.
Click to expand...
Click to collapse
http://multiupload.com/
J1HDKEGYAR at multiupload

[Q] Error in OTA update error in /cache/blur_version.4.1.83.MB860.ATT.en.US.zip

hi guys, I have an error that i couldnt find a solution by searching in this forum:
i had a full, stock OLYFR_U4_4.1.83 image SBF'd, rooted it, WIFI&tether enabled and sideloading enabled. Also I believe HDMI mirror AND/OR used the Webtop Mod that doesnt require the docking bay. my problem is now, that i get the OTA update to 4.5.91 (about 161 MB), but at reboot-install i get the error
error in /cache/blur_version.4.1.83.MB860.ATT.en.US.zip
status 7
install aborted
I did the WebTop Restore Mod and I *BELIEVE* its put back to "stock"but I am not 100% sure.
can somebody please point me in the right direction to fix this so OTA can be applied ? In addition are there certain things to be considered that I have used the GingerBreak Mod for Root access before the OTA upgrade to 4.5.91 ?
thx-a-thon
cheers
@
imhaving the same issue! Help please!
If I am not mistaken you cannot pull and apply the OTA via the Software update function if you have modified anything in the /system directory. I had a problem because I changed by bootanimation, which got me in a boot loop when trying to install the update. I ended up unlocking via pudding and flashing the 2.3.4 update... You could also update via MSU (Motorola Software Update) via the Motorola Support site..
Edit: Are you using Stock recovery to try to install the update?
Im getting the same error, i think it's because i messed with the bootanimation.zip to remove the default at&t logo... How do I restore that damn logo?
The name of the file which the install/update fails on is in the error. Replace it with the stock apk and you'll be good. It helps to know what mods modified what system file apk's so you can reverse the changes. dockservice.apk, the odex files and portalapp.apk all stopped me from updating OTA; but once I restored factory apk's in the system app path I was good to go.
http://forum.xda-developers.com/showthread.php?t=1163342&page=1
use that .zip to extract any files that you modified. I don't know if that will work but you can try.
It will work as long as all the modified apks are replaced and it is made easier by the fact the ota update tells you which apk or odex file is failing the install.
Sent from my MB860 using Tapatalk

[Q] ammend to edify

Hello
I have some ZIP scripts i would like to install(flash) via recovery but since the recovery was updated to use only edify sripts I cannot install the old-fashioned ZIPs anymore.
Could someone please guide me about how to modify the ZIPs to be ablle to install them or convert the scrtipts?
Thank you
Maybe this tool can help (amend2edify):
http://forum.xda-developers.com/showthread.php?t=903598
Thanks for the link,
actually I already know about this tool but there are two problems
1) it does not support HTC Sensation mount - i have emaild the dev with HTC mount file and asked him for an update
2) i did not quite understand what to do with the output of the app at first.. now figured it out and trying.....

help!!!

i have made rom for my s duos using xda kitchenn but i get status 1 error when i flash the rom
i have searched a lot but i can't find satisfied answer
can any one help me solve this error?
i'm using this guide
http://forum.xda-developers.com/showthread.php?t=1801690
Vaibhav Chauhan said:
i have made rom for my s duos using xda kitchenn but i get status 1 error when i flash the rom
i have searched a lot but i can't find satisfied answer
can any one help me solve this error?
i'm using this guide
http://forum.xda-developers.com/showthread.php?t=1801690
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=2230733
Status 1 Error:
"Well this is one of the most rarest error that a person can get...but with my experience I came to know that this occurs because you don't have correct permissions set. Use correct perms in updater-script and done "
Grab another rom that is the same base you are using and look at the META-INF/com/google/android folder which contains the updater script and binary to use as your reference points. Compare and contrast yours with that one.
es0tericcha0s said:
http://forum.xda-developers.com/showthread.php?t=2230733
Status 1 Error:
"Well this is one of the most rarest error that a person can get...but with my experience I came to know that this occurs because you don't have correct permissions set. Use correct perms in updater-script and done "
Grab another rom that is the same base you are using and look at the META-INF/com/google/android folder which contains the updater script and binary to use as your reference points. Compare and contrast yours with that one.
Click to expand...
Click to collapse
can i use another rom's updater script in my rom which has same base??
Should be able to. Wouldn't hurt to look at the differences though so then you can understand what things affect the install to help build knowledge.
es0tericcha0s said:
Should be able to. Wouldn't hurt to look at the differences though so then you can understand what things affect the install to help build knowledge.
Click to expand...
Click to collapse
i tried to replace updater script but not working
i also have tried to compare set perms but i am unable to find fault in it
@es0tericcha0s
please tell me what to do??
Sorry, that was my main idea. Are you getting the same error code? Did you unzip and re-zip the rom? If so, you should use an archive manager like 7zip to move the update script into the zip without needing to unzip the whole thing, otherwise you'll break the signature on the rom and have to re-sign it.
es0tericcha0s said:
Sorry, that was my main idea. Are you getting the same error code? Did you unzip and re-zip the rom? If so, you should use an archive manager like 7zip to move the update script into the zip without needing to unzip the whole thing, otherwise you'll break the signature on the rom and have to re-sign it.
Click to expand...
Click to collapse
actually i am using android kitchen to make the rom
and when i use the cosmic rom's updater script in it the status 1 error was solved
but it stuck on boot animation
@es0tericcha0s
my stuck on bootloops can you tell me how to logcat?
Vaibhav Chauhan said:
@es0tericcha0s
my stuck on bootloops can you tell me how to logcat?
Click to expand...
Click to collapse
Not all phones have adb access while in a bootloop. But to do so you would need adb set up on your computer, change directories to the adb folder (or if it's enabled globally, then where ever), and type:
adb logcat
You'll want to save it somewhere like:
http://pastebin.com/
and upload the link.
I am not skilled at reading logcats, so not sure if I can be of any more help after that.
If you don't have adb set up already, then just use this one: http://forum.xda-developers.com/showthread.php?t=2317790

Categories

Resources