[Q] Error flashing su zip - HTC EVO 3D

I am trying to flash the superuser zip found on this post:http://forum.xda-developers.com/showthread.php?t=1192525
I get the following output in recovery when flashing the su zip file:
Mounting SYSTEM...
Deleting SYSTEM:bin/su...
Deleting SYSTEM:xbin/su....
Extracting files to SYSTEM...
Setting SYSTEM:bin/su permissions to 6755...
Creating SYSTEM:xbin/su symbolic link...
E:Error in /tmp/sideload/package.zip
Anyone know how I can fix this?
Thanks!

Sounds like a bad download.
sent from my...click, click boom

Use the one in this link. Should work.
http://forum.xda-developers.com/showpost.php?p=16120006&postcount=3
Sent from my PG86100 using XDA Premium App

jayharper08 said:
Use the one in this link. Should work.
http://forum.xda-developers.com/showpost.php?p=16120006&postcount=3
Sent from my PG86100 using XDA Premium App
Click to expand...
Click to collapse
The su linked in the sticky post I originally downloaded from must be bad. I grabbed the one you suggested and flashed it fine.

No Permission
forceOnature said:
The su linked in the sticky post I originally downloaded from must be bad. I grabbed the one you suggested and flashed it fine.
Click to expand...
Click to collapse
I had the same problem. Your zip flashed okay for me but I don't have superuser permission. Any help is much appreciated.

Related

Touchwiz 4

Does somebody know if Touchwiz 4 will work on the Ace?
http://forum.xda-developers.com/showthread.php?t=1077641
Hope so!
Sent from my GT-S5830 using XDA Premium App
dude i am ready to take risk but how to install
boot into recovery and installthe .zip
wont't work its a clockworkmod installation package...
Yeah thought so
Sent from my GT-S5830 using XDA Premium App
kills999 said:
wont't work its a clockworkmod installation package...
Click to expand...
Click to collapse
just replace file update-binary from file for root gingerbread upd_1.zip and it will work....
ingbrzy said:
just replace file update-binary from file for root gingerbread upd_1.zip and it will work....
Click to expand...
Click to collapse
can you please post the file?
ingbrzy said:
just replace file update-binary from file for root gingerbread upd_1.zip and it will work....
Click to expand...
Click to collapse
dude can u send me the link
Here extract update-binary with winrar and replace... I didnt test it... it will just allow install zip file with touchwiz without clockwork...
but file with touchwiz 4 is for 240dpi and SGA has 160dpi... So I am not sure if it will work properly...
so we will need some voluntary testers
so we will need some voluntary testers
dude i am ready just give me the files.....
Try it... file with replaced update-binary is HERE
reboot to recovery mode and apply .zip file...
I didnt try, so good luck...
ingbrzy said:
Try it... file with replaced update-binary is HERE
reboot to recovery mode and apply .zip file...
I didnt try, so good luck...
Click to expand...
Click to collapse
waiting for results
You wanted it!
Sent from my GT-S5830 using XDA Premium App
ingbrzy said:
Try it... file with replaced update-binary is HERE...
Click to expand...
Click to collapse
instalation aborted...
error in /tmp/sideload/package.zip (status 0)
during installation writes... TouchWiz4 for Tab
cult007 said:
instalation aborted...
error in /tmp/sideload/package.zip (status 0)
during installation writes... TouchWiz4 for Tab
Click to expand...
Click to collapse
Try again with attached files....
182dpi try first....
if it will not install automatically at recovery mode, you can add files manually with root explorer to the folder:
system / app /
system / lib /
sorry no success... i copied files with rootexplorer... wiped twlauncher's and dalvik's cache... set the rights
...there is just blank screen and after a minute FC
cult007 said:
sorry no success... i copied files with rootexplorer... wiped twlauncher's and dalvik's cache... set the rights
...there is just blank screen and after a minute FC
Click to expand...
Click to collapse
So, now we know TW4 is not working on SGA...
possible that the problem is here...
[tutorial] manually moving apps to /system/app
Requirements:
- Rooted SGA
- File Explorer with Root permission (i'm using File Expert)
NOTE: I was only successful in moving apps/games without 'lib' linked to them
Click to expand...
Click to collapse

[Q] adb app install failure

i tired best i could to avoid being noob and starting a new thread.
but i've searched and searched and tried everything it seems and have become frustrated.
im on LG-p509 running RevOidOpt rom
this rom has stock MMS app removed/ replaced with Go SMS. this seems to be causing a problem with me receiving ( while i have no problem sending ) mms.
i sought out to re-install stock Mms.apk.
firs i have tried "adb install" - with error: Failure [INSTALL_FAILED_DEXOPT]
then i tried, mounted /system and sdcard in recovery and in adb with su#:
/system/bin/mv /sdcard/Mms.apk /system/app/Mms.apk -
with error: failed on '/sdcard/Mms.apk' - Cross-device link
adb push does not work b/c file system is read only.
any advice would be greatly appreciated!! i cant post in the dev thread of the rom b/c i do not have enough posts yet.
The mms.apk you use is odexed you have to deodex it or place both mms.apk and mms.odex In phone.
Sent from my LG-P500 using XDA Premium App
silver tooth, thanks for the reply.
could you provide me with a link on how to deodex the file? or a link to where i can get mms.odex?
and even so, if it will not let me move mms.apk, how will it let me move either file while im getting these errors?
Deodexing will be long procedure but you can get mms.apk from a deodex custom roms that might be available. If you get it use adb install and dexopt error will not come up.
The mms.odex will be exactly in the same place where you got mms.apk and placing them is the same procedure as you did in first post but give adb remount before mv or cp
Sent from my LG-P500 using XDA Premium App
i obtained mms.odex but i still can not place the files. same errors
i did do "adb remount" before mv the first time when i recieved the error mentioned.
autonami said:
i obtained mms.odex but i still can not place the files. same errors
i did do "adb remount" before mv the first time when i recieved the error mentioned.
Click to expand...
Click to collapse
Install some non-borked busybox version and try again with busybox mv instead.
Sent from my LG-P500 using XDA App
autonami said:
i obtained mms.odex but i still can not place the files. same errors
i did do "adb remount" before mv the first time when i recieved the error mentioned.
Click to expand...
Click to collapse
Just do a
adb shell
Then commands to cp
Don't use mv I think mv makes hard links. cp should work.
Sent from my LG-P500 using XDA Premium App
ok cp worked. thanks a lot guys.
bad thing now though is..... the files i had didnt work lol. gotta find the right ones. >.<
autonami said:
ok cp worked. thanks a lot guys.
bad thing now though is..... the files i had didnt work lol. gotta find the right ones. >.<
Click to expand...
Click to collapse
There's also apn to be updated for mms to work.
Sent from my LG-P500 using XDA Premium App
xD
i dont suppose you could point me in the right direction to fix that could you? lol
the problem is now, while GoSMS still works, and will send, but not receive texts.
the Mms.apk that i just installed will not run. it just force closes everytime.
sorry to trouble your sir. but your help is greatly appreciated. i cant recieve txts!!
What does logcat say...on FC.
Download aLogcat from market.
Sent from my LG-P500 using XDA Premium App

can re-root phone

had to un-root to take phone into sprint. now i can't re-root the phone. torpedo is throwing all kinds of funky errors any ideas? on stock rom 2.35
foxsdaddy67 said:
had to un-root to take phone into sprint. now i can't re-root the phone. torpedo is throwing all kinds of funky errors any ideas? on stock rom 2.35
Click to expand...
Click to collapse
What errors is it throwing?
reloc_library[1316]: 807 cannot locate 'android_reboot'...
CANNOT LINK EXECUTABLE
su Binary Not Detected!
Checking for Superuser.apk!
reloc_library[1316]: 809 cannot locate 'android_reboot'...
CANNOT LINK EXECUTABLE
Superuser Not Detected!
Checking for busybox!
busybox not Detected!
superuser is installed. but its not seeing it evidently. busybox hasnt been installed
another weird thing is i cant connect to wifi or 4G and cant do PRL or profile update
Anyone?
Sent from my MB855 using xda app-developers app
reboot and try again but make sure you're rooting with the 2.3.5 method and not the 2.3.4.
* daemon not running. starting it now *
* daemon started successfully *
Transferring files
1068 KB/s (28440 bytes in 0.026s)
608 KB/s (4359 bytes in 0.007s)
36 KB/s (226 bytes in 0.006s)
25 KB/s (211 bytes in 0.008s)
1364 KB/s (22364 bytes in 0.016s)
1084 KB/s (760637 bytes in 0.685s)
reloc_library[1316]: 5159 cannot locate 'android_reboot'...
CANNOT LINK EXECUTABLE
reloc_library[1316]: 5161 cannot locate 'android_reboot'...
CANNOT LINK EXECUTABLE
reloc_library[1316]: 5163 cannot locate 'android_reboot'...
CANNOT LINK EXECUTABLE
reloc_library[1316]: 5165 cannot locate 'android_reboot'...
CANNOT LINK EXECUTABLE
reloc_library[1316]: 5167 cannot locate 'android_reboot'...
CANNOT LINK EXECUTABLE
reloc_library[1316]: 5169 cannot locate 'android_reboot'...
CANNOT LINK EXECUTABLE
"please type /data/tmp/torpedo.sh and press enter"
"then type /data/tmp/install.sh and press enter"
type exit and press enter. type exit again and press enter
wait for the phone to reboot. if a message says you are now
rooted you should have root access!
$ /data/tmp/torpedo.sh
/data/tmp/torpedo.sh
/data/tmp/torpedo.sh: permission denied
$
try this method http://forum.xda-developers.com/showthread.php?t=1819660
it looks like you tried the method from my site that i made. which was actually intended for the Electrify. i'm not sure if it works on the photon at all. let me know how this one works out.
Tried that one too. Same stuff. What sucks is there isn't an sbf to just reflash the damn thing and start from scratch
Sent from my MB855 using xda app-developers app
you might not like this idea but.. you could try factory resetting? maybe that will help? you could also try loading the files on the phone and doing it from terminal? see if you can get some better results? if you're familiar with linux like commands you should have no trouble doing it from the phone.
na7q said:
reboot and try again but make sure you're rooting with the 2.3.5 method and not the 2.3.4.
Click to expand...
Click to collapse
He is using the photon direct method which will work on 2.3.5. Or 2.3.4.
foxsdaddy67 said:
Tried that one too. Same stuff. What sucks is there isn't an sbf to just reflash the damn thing and start from scratch
Sent from my MB855 using xda app-developers app
Click to expand...
Click to collapse
Download root browser lite and check and see if the directory /lib exists.
mof9336 said:
He is using the photon direct method which will work on 2.3.5. Or 2.3.4.
Download root browser lite and check and see if the directory /lib exists.
Click to expand...
Click to collapse
I don't know what the direct method is. I've never heard of that. All I know is he's trying the ones intended for 2.3.5. One I made that works for the electrify 2.3.5 and another for the photon on 2.3.5.
What do you suggest then?
Sent from my SCH-R950 using XDA
I'm assuming you mean the libs file in the system file?
Sent from my MB855 using xda app-developers app
foxsdaddy67 said:
Tried that one too. Same stuff. What sucks is there isn't an sbf to just reflash the damn thing and start from scratch
Sent from my MB855 using xda app-developers app
Click to expand...
Click to collapse
There is, but its a rather long process. Check Peetr's SV2 thread. There is a step by step
Sent from my MB855 using Tapatalk 2
xNicoyAx said:
There is, but its a rather long process. Check Peetr's SV2 thread. There is a step by step
Sent from my MB855 using Tapatalk 2
Click to expand...
Click to collapse
I may have to try it cuz this is pissing me off
Sent from my MB855 using xda app-developers app
i don't qet why that error appears. it boggles my brain.
na7q said:
i don't qet why that error appears. it boggles my brain.
Click to expand...
Click to collapse
Imagine how I feel lol. I've done this before and never had a problem till now
Sent from my MB855 using xda app-developers app
foxsdaddy67 said:
I'm assuming you mean the libs file in the system file?
Sent from my MB855 using xda app-developers app
Click to expand...
Click to collapse
yea there is a folder in the root of the phone called lib see if its there. root explorer will show you even with out root access.
mof9336 said:
yea there is a folder in the root of the phone called lib see if its there. root explorer will show you even with out root access.
Click to expand...
Click to collapse
its there. is there a specific folder or file thats not getting r/w permissions?
foxsdaddy67 said:
its there. is there a specific folder or file thats not getting r/w permissions?
Click to expand...
Click to collapse
No there is a set of circumstances that when that directory is not there which causes similar issues. Just ruling it out.
mof9336 said:
No there is a set of circumstances that when that directory is not there which causes similar issues. Just ruling it out.
Click to expand...
Click to collapse
well I said screw it and used peetr's USC sbf and then boot strapped your ROM on my phone. everything is back to working again. including wifi and 4G.thank god. and i am rooted again YAY! :good:

Q - Automated flashable zip not flashing

When I create a flashable zip from backups with zip.exe and a one click-tool,(like easy flasher in sig) it doesn't flash, it errors out (error: E: unable to open zip file, error flashing zip [zipname] ). But if the same folder is right-clicked and selected send to zip, it flashes perfectly..
Any ideas to get it automated?
Regards
-N
mnishamk said:
When I create a flashable zip from backups with zip.exe and a one click-tool,(like easy flasher in sig) it doesn't flash, it errors out (error: E: unable to open zip file, error flashing zip [zipname] ). But if the same folder is right-clicked and selected send to zip, it flashes perfectly..
Any ideas to get it automated?
Regards
-N
Click to expand...
Click to collapse
Hi,
In your RUNME.bat, on line 213, in the :FINAL block where your update.zip is made, just replace that line with this -
Code:
zip -r update.zip * -x zip.exe
I have made a flashable zip which should install qualcomm battery guru in /data/app. Just test it and tell me if it works since I don't have my mini.
Good luck
abcdjdj said:
Hi,
In your RUNME.bat, on line 213, in the :FINAL block where your update.zip is made, just replace that line with this -
Code:
zip -r update.zip * -x zip.exe
I have made a flashable zip which should install qualcomm battery guru in /data/app. Just test it and tell me if it works since I don't have my mini.
Good luck
Click to expand...
Click to collapse
Changed it, tried yours and created one myself, both didnt work. still says unable to open zip file
mnishamk said:
Changed it, tried yours and created one myself, both didnt work. still says unable to open zip file
Click to expand...
Click to collapse
A quick question are u using TWRP?
Sent from my Xperia Mini Pro using xda premium
sandy7 said:
A quick question are u using TWRP?
Sent from my Xperia Mini Pro using xda premium
Click to expand...
Click to collapse
yes.
Ok will try in cwm and report
Edit: got the same error can't open zip followed by (bad)
mnishamk said:
yes.
Ok will try in cwm and report
Click to expand...
Click to collapse
Bcz twrp need a new updater binary...so that's y u got the status 0 error
Sent from my Xperia Mini Pro using xda premium
Where can I get the newer binary.
Regards
-N
mnishamk said:
Where can I get the newer binary.
Regards
-N
Click to expand...
Click to collapse
Search for any twrp flashable zip and edit updater script as per ur needs
Sent from my Xperia Mini Pro using xda premium
But this still doesn't explain how was he able flash the zip by manually adding the files to the update.zip since the update binary was still the same.
Sent from my LT26i using xda app-developers app
abcdjdj said:
But this still doesn't explain how was he able flash the zip by manually adding the files to the update.zip since the update binary was still the same.
Sent from my LT26i using xda app-developers app
Click to expand...
Click to collapse
Good point. When right clicked and send to Zip, it flashes I'm twrp
Besides when right clicked and clicked, the process is
Goto system32/zip.exe and zip it using zip command right?
Regards
-N
mnishamk said:
Good point. When right clicked and send to Zip, it flashes I'm twrp
Besides when right clicked and clicked, the process is
Goto system32/zip.exe and zip it using zip command right?
Regards
-N
Click to expand...
Click to collapse
Try using 7z.exe from 7zip......and use code giving command to 7z to zip it...might work...best of luck
Cheers,
AJ
alokbina is now Abhinav2
Abhinav2 said:
Try using 7z.exe from 7zip......and use code giving command to 7z to zip it...might work...best of luck
Cheers,
AJ
alokbina is now Abhinav2
Click to expand...
Click to collapse
Thanks a lot, works now.
Just gotta read up more on usage though.
mnishamk said:
Thanks a lot, works now.
Just gotta read up more on usage though.
Click to expand...
Click to collapse
Happy to know it work btw with that 7z.exe u can practically compress anything with any extension....
Press THANKS if I helped,
Best Regards,
AJ
alokbina is now Abhinav2
I searched but didn't get it to work with 7za.
I want to create a zip but exclude 7za.exe (I copy 7za to workdir and want to zip everything except 7za) but can't get it to work it always includes the 7za.exe file too.
Or is there a better method to do it?
Regards
-N
mnishamk said:
I searched but didn't get it to work with 7za.
I want to create a zip but exclude 7za.exe (I copy 7za to workdir and want to zip everything except 7za) but can't get it to work it always includes the 7za.exe file too.
Or is there a better method to do it?
Regards
-N
Click to expand...
Click to collapse
There is a workaround for that. Once you create the zip file, there is an option which allows you to delete a file from the newly created zip file. It is 7za -d I think so and it does the job perfectly.
Sent from my LT26i using xda app-developers app
abcdjdj said:
There is a workaround for that. Once you create the zip file, there is an option which allows you to delete a file from the newly created zip file. It is 7za -d I think so and it does the job perfectly.
Sent from my LT26i using xda app-developers app
Click to expand...
Click to collapse
i try this and it gives error
Code:
7za a -tzip UPDATE.zip
so i do
Code:
7za a -ax7za.exe -tzip UPDATE.zip
and it gives a zip file includeing 7za.exe
and i do
Code:
7za d UPDATE.zip 7za.exe
it says updating archive and completes but the 7za file is still there
(Click on pic to get better image)
Thank you all,
It works now...

Update binary error while flashing

Hi guys, i created my first own rom but while flashing it with TWRP 2.5 i get error "Error executing update binary in the zip"
So is there any solution?
First see you are properly rooted by using root checker.
Also it may be the problem of TWRP . Try flashing it through cwm.
Sent from my Micromax A116 using xda app-developers app
---------- Post added at 04:28 AM ---------- Previous post was at 04:26 AM ----------
I faced this problem twice with a particular rom using twrp. I used cwm and it worked fine.
Sent from my Micromax A116 using xda app-developers app
---------- Post added at 04:44 AM ---------- Previous post was at 04:28 AM ----------
Try downgrading the twrp version to 2.3
Sent from my Micromax A116 using xda app-developers app
princechandela said:
Hi guys, i created my first own rom but while flashing it with TWRP 2.5 i get error "Error executing update binary in the zip"
So is there any solution?
Click to expand...
Click to collapse
In between of updater script try to print some texts at various places to identify the reason and then you can work to resolve the error. It will give you a hint of the problem Happy porting.
No!
I think you are not understanding my problem. My problem is when I create stock ROM from kitchen and flash it I get error as I mentioned in first post.
princechandela said:
I think you are not understanding my problem. My problem is when I create stock ROM from kitchen and flash it I get error as I mentioned in first post.
Click to expand...
Click to collapse
i understood , that is the reason i suggested.
rajneeshk said:
i understood , that is the reason i suggested.
Click to expand...
Click to collapse
OK I got your point now and I found the error the error at the beginning of the script as soon as script starts trap shows update-binary error. Now what?
princechandela said:
OK I got your point now and I found the error the error at the beginning of the script as soon as script starts trap shows update-binary error. Now what?
Click to expand...
Click to collapse
Please share your updater script.
Sent from my Micromax A116i using XDA Premium 4 mobile app
rajneeshk said:
Please share your updater script.
Sent from my Micromax A116i using XDA Premium 4 mobile app
Click to expand...
Click to collapse
here is the script :
princechandela said:
here is the script :
Click to expand...
Click to collapse
1. I hope you only used notepad++ or editplus to modify updater script and build.prop ( notepad will corrupt these files)
2. Try replacing your META-INF folder with the ROM you were able to flash succesfully on your device ( do modifications as per your need in updater script)
3. please ensure files like marked in green color i.e. symlink("dumpstate", are present in system\bin folder
4. please ensure files like marked in red color i.e. symlink("toolbox", "/system/bin/restorecon"); are not present in their respective locations.
5. all files written under set_perm or set_perm_recursive should be present in their respective locations.
6. please insert ui_print("line number x ") after each line so that you get to know which line has caused the error.
Hope, i am clear
rajneeshk said:
1. I hope you only used notepad++ or editplus to modify updater script and build.prop ( notepad will corrupt these files)
2. Try replacing your META-INF folder with the ROM you were able to flash succesfully on your device ( do modifications as per your need in updater script)
3. please ensure files like marked in green color i.e. symlink("dumpstate", are present in system\bin folder
4. please ensure files like marked in red color i.e. symlink("toolbox", "/system/bin/restorecon"); are not present in their respective locations.
5. all files written under set_perm or set_perm_recursive should be present in their respective locations.
6. please insert ui_print("line number x ") after each line so that you get to know which line has caused the error.
Hope, i am clear
Click to expand...
Click to collapse
i got your point one quest are my location right in format command and mount command?
EDIT:
i didn't your step 6 and i replaced the update binary file and now my rom is flashing correctly but can you tell me what was the error with update-binary file? it was the file created by kitchen.
script even don't start executing and before it i get "error executing update-binary" any help?
princechandela said:
script even don't start executing and before it i get "error executing update-binary" any help?
Click to expand...
Click to collapse
have you taken care notepad++ and meta-inf folder?
rajneeshk said:
have you taken care notepad++ and meta-inf folder?
Click to expand...
Click to collapse
I got success by using option 2 in kitchen(lazy mode) the the zip is now flashing but now my question is should i edit update script after zip is created and signed?
princechandela said:
I got success by using option 2 in kitchen(lazy mode) the the zip is now flashing but now my question is should i edit update script after zip is created and signed?
Click to expand...
Click to collapse
if you are able to flash , why you want to edit updater script?
rajneeshk said:
if you are able to flash , why you want to edit updater script?
Click to expand...
Click to collapse
I just want to add some ui print command and the apks in data folder are not flashing because the dont have right location in the script
princechandela said:
I just want to add some ui print command and the apks in data folder are not flashing because the dont have right location in the script
Click to expand...
Click to collapse
You can modify the updater script and then can zip and sign again.
Sent from my Micromax A116i using XDA Premium 4 mobile app
Just replace the updater-binary from any other zip and you are good to go. Kitchen has known problems with updater-scripts
SaketJoshi said:
Just replace the updater-binary from any other zip and you are good to go. Kitchen has known problems with updater-scripts
Click to expand...
Click to collapse
I replaced updater binary from some other some other stock rom zip from a116 but it didnt work.
princechandela said:
I replaced updater binary from some other some other stock rom zip from a116 but it didnt work.
Click to expand...
Click to collapse
copy whole META-INF folder from stock.zip to your zip. After that, modify the script.
rajneeshk said:
You can modify the updater script and then can zip and sign again.
Sent from my Micromax A116i using XDA Premium 4 mobile app
Click to expand...
Click to collapse
I don't know but i am again getting this problem even if i use option 2(lazy mode) in kitchen.
I did everything again from scratch but i am still getting error executing update binary error.

Categories

Resources