yashsingh1/xdaforums huggingface dataset:
[Sony Xperia T, TL, TX, V] SphereOfCuriosity:
Ok, I tried to root .152 after repairing using v21 of Bin4ry's toolkit after I installed Backup & restore. I closed B&r and ran the batch, the app opened, but RootMe was not listed in the Restore record. How is that fixed? I'm assuming it's an internal permission error. I'm gonna try a .303 and try how scythekain did it.

EDIT: I tried scythekain's method, with the root right after flashing .303, and nada. Until I get something concrete and something I haven't done. Sorry if I seem douche-y, I'm just looking to get to the root of the issue (still funny :D).
[Sony Xperia T, TL, TX, V] gregbradley:
Re: Bricked

Please follow instructions, I asked you to repair via pccompanion before trying to use v21

Sent from my star trek communicator

Sony Flagship device circa 2145
[Sony Xperia T, TL, TX, V] SphereOfCuriosity:
Re: Bricked

I'll do that when possible. When I.tried last night there was the 9.1.A.0.489 update with no option to repair, just update (sorry about that bit of info). How would I repair then?
[Sony Xperia T, TL, TX, V] gregbradley:
Re: Bricked

Just update it then...

I am not sure if I can give you more advice on this as we are going around in circles and I end up repeating myself and i have now been trying to help you for about 3 week's in this thread

Please let me know if you manage to get root

Sent from my star trek communicator

Sony Flagship device circa 2145
[Sony Xperia T, TL, TX, V] itsbrantar:
Xperia TL(LT30at) Bricked

I used flash tool and used the wrong ftfand now it wont do anything. no led from power+ volume + and - and am totally lost. after flashtool was done it told me to unplug and power on my device and when i did it was just nothing no power i pluged it in and nothing. i will ship my phone to a trusted member if they can fix it or walk me through it.ill even get remote access of my computer and allow someone to fix it for me.
[Sony Xperia T, TL, TX, V] SonyXperiakiasT:
Download From This Link

AS ZIP

https://www.dropbox.com/sh/eoidnljyu6yzlfl/8pQ_P-NgR4

If you like it please click thanks :)
[Sony Xperia T, TL, TX, V] paullu:
thank you

very nice
[Verizon Samsung Galaxy S III] sagorr:
hi, i just tried to update my firmware from Synergy-S3_31Jan13_0412_r326_s to this omega 43, and after reboot, the phone died.

it doesnt boot into recovery, or any other option. whenever i plugged it to computer, it says QHSUSB-LOAD driver, which is unknown.

what should i do now?

and is this the solutions?

http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItem&item=160908811157&ssPageName=ADME:X:RTQ:US:1123

please help me
[Verizon Samsung Galaxy S III] corbn89:
When you say Omega 43, do you mean the Omega 43 ROM in the GS3 International version forum?
[Verizon Samsung Galaxy S III] HHF2:
Got to be, I searched and that is all I could find. OP, if this is what you have done, you will have to Jtag your phone for it to ever work again. You should never flash anything to your phone that isn't designed for it.
[Verizon Samsung Galaxy S III] Addiso:
And this is why we need rooting tools to be much harder than a one click for all those people wasting 200-500 dollar phones.
[Verizon Samsung Galaxy S III] ddurandSGS3:
verizon roms for verizon phones, whenever youget your replacement.

why should i and others be inconvenienced by people that cannot read or do their own research?

there are warnings everywhere. if people dont heed them and do some learning its their own damn fault.
[Verizon Samsung Galaxy S III] sagorr:
yes, that was the big mistake i did it.
[HTC Pico (Explorer)] Rishik999:
Here you go..tutorial on [how to] make a flashable zip :D

Special Thanks to ateeq72 for teaching me :D

REQUIREMENTS

- Any file that you want to replace or add to your phone;

- An existing (base) cwm flashable zip file. - I've attached one below;

- 7-zip, Winrar or any program which can open and modify zip files .

STEPS:

DIRECTORY STRUCTURE:

(1) Download and place the sample.zip (attached below) anywhere on your desktop;

(2) Right-click on it and open the archive with 7zip, winrar ... [DO NOT extract]

Now you should see two folders: one called "system" and one called "META-INF".

1. Let's start with the "system" one, so open it:

In there, will go all files that what you want to add or replace to the system. So let's say for example that you want to replace the bootanimation.

Make a "New Floder"

-Rename its as "media" (make sure its aint in CAPS nor with in quotation marks)

-drag those two new empty folders into the /system/ folder of the 7-zip opened archive

-now simply drop the two files in their respective place: the bootanimation.zip file should go in '/system/media' folder

.. If you have more files to add, just follow the logic above; I'm sure you get the idea by now.. :silly:

Hints

/system/app - all the system apps (SystemUI.apk etc)

/system/framework/ -framework-res.apk,android.policy.jar

/system/media - bootanimation.zip

/system/lib - libraries (*.so)

2. The other folder included in the opened archive is named "META-INF" and all the file in it should be left unchanged.

Now,just place the zip into your sd card! & try your luck ;) Ofc it will work :D

That's it !

CMON!Thats easy :P
[HTC Pico (Explorer)] Parth_14:
Exactly what was i looking for!! Thanks mate:):thumbup:
[HTC Pico (Explorer)] Rishik999:
Welcome mate!

hit the thanks button twice :p xD
[HTC Pico (Explorer)] theviper:
Nice tut

Thnx a ton
[HTC Pico (Explorer)] Rishik999:
Welcome man:cool:
[HTC Pico (Explorer)] russelldias:
Nice Guide :) +1

meant for the NOOB's out there!
[HTC Pico (Explorer)] Rishik999:
Welcome to all..welcomes for future thanks :p
[HTC Pico (Explorer)] Minimilised_MR:
No need to change updater script?.... I suppose if we need to set permissions... We have to edit updater script! Can you teach me how to?:rolleyes:

Sent from my HTC Using my Fingers
[HTC Pico (Explorer)] ajeet0112:
I was trying to build one flashable zip and this came to my rescue. Great job man !
[HTC Pico (Explorer)] Rishik999:
No ..no changes needed in the updater scripts..

For what u wanna set permission for? :rolleyes:

Haha...I know ..this a small ...kinda basic guide ..but its damn helpful ..I believe :)
[HTC Pico (Explorer)] 7alvi:
you can also add a personal message in the updater script so when u flash the zip they can see ur personal message..the format is like this
[HTC Pico (Explorer)] Rishik999:
ui_print("your personal msg");

Correct it please :thumbup:
[HTC Pico (Explorer)] 7alvi:
whats there to correct?
[HTC Pico (Explorer)] Rishik999:
I m sorry mate ..I thought u made that emotion ..but that was made by xda :p

My bad
[HTC Pico (Explorer)] 7alvi:
haha no worries mate ;)
[HTC Pico (Explorer)] salil.bajaj:
how to add a script to make it flashable.??
[HTC Pico (Explorer)] salil.bajaj:
Anyone??
[HTC Pico (Explorer)] kirmaniarslan:
Can you tell me how to make a flashable zip that flash apps to to sd_ext ?
[HTC Pico (Explorer)] edomali:
Thanks
[HTC Pico (Explorer)] sanny5:
Bro what do u do for the files that are not located in /system ??

How do u write an updater script for them? Can u inclyde it in the guide??

=========HOLO-UBUNTU========theme
[HTC Pico (Explorer)] Rishik999:
It's already here by red-devil,make use of search button,before posting something,no worries for now!

http://xdaforums.com/showthread.php?t=2187804 :silly:
[HTC Pico (Explorer)] nit_in:
i have tried to flash init.d scripts

but when i am flashing zip

it is giving me error that

E:\ error to open zip...( bad zip file)

i also tried adding these scripts to the rom's zip

it is not working

Is it fault of my compression/decompression software(I am using izarc and when I m compressing the files into zip i choose deflate compression type )

or something else is the cause of the error:confused::confused::confused:
[HTC Pico (Explorer)] thewisenerd:
Set compression level to normal.

Its not the problem of which archiving software you use, as long as you use the compression level "Normal" you wouldn't get any problems.

---------- Post added at 12:11 PM ---------- Previous post was at 12:06 PM ----------

set_perm_recursive(0, 2000, 0755, 0755, "/system/etc/init.d");

Add this line to the updater script, so that the permissions are correctly set, and the script actually "runs" at startup :D

---------- Post added at 12:24 PM ---------- Previous post was at 12:11 PM ----------

First, you want to link the apps to sd-ext, so, you gotta get ready for some work!

First of all, edit the updater script, and mount the sd-ext partition to the /sd-ext folder.

Add this at preferably top of the updater-script.

run_program("/sbin/busybox", "mount", "-t", "auto", "/dev/block/mmcblk0p2", "/sd-ext");

This should mount the sd-ext partition to the sd-ext folder.

Now, you need to actually extract them to the sd-ext.

Make sure the folders are set up correctly.

--------working rom folder

-----------------META-INF

-------------------------------com

-----------------system

-------------------------------system folders

-----------------sd-ext

-------------------------------app

---------------------------------------*.apk files

-----------------any other files

Now, execute the following command to extract the sd-ext folder to the sd-ext partition:

package_extract_dir("sd-ext", "/sd-ext");

Now, merely symlinking the app folder to /system partition wouldn't help. So, you need to add a script so that the apps are mounted in the /system/app folder. For this, I would take an example from [MENTION=3360260]derefas[/MENTION] 's Sense 4.0 Revolt. Make a script named 78mv2ext in the system/etc/init.d folder, and add the following to it:

#!/system/bin/sh
#
##############SUPER SD-EXT SCRIPT BY DEREFAS##########
##############derped by vineethraj49############
# Linking app folder to system
mount -o remount,rw /system
if [ ! -d "/system/app" ];
then
mkdir /system/app
chmod 755 /system/app
chown root.root /system/app
fi;
chmod 755 /sd-ext/app
chown root.root /sd-ext/app
mount -o bind /sd-ext/app /system/app

Now, that you have created an init.d script in the /system/etc/init.d folder, you need to set its permissions. So, we will be editing the updater-script again.

Search for the following line:

set_perm_recursive(0, 2000, 0755, 0755, "/system/etc/init.d");
set_perm(0, 0, 0755, "/system/etc/init.d");

Now, if you can see the lines, you wouldn't need to add anything else. But, just for safety, you can add the following line:

set_perm(0, 0, 0755, "/system/etc/init.d/78mv2ext");

So, that's it. This should work, if you do everything correctly.
[HTC Pico (Explorer)] kirmaniarslan:
Thankx Man...!!
[HTC Pico (Explorer)] nit_in:
Thanks but i really tried everything

I tried compressing in other pc also but i am getting same error on flashing it

E.\error in opening zip file(bad zip)

I m using twrp recovery 2.2.2.1

And having 1 GB sd ext

And i am getting this error when i m flashing sense roms
[HTC Pico (Explorer)] thewisenerd:
The problem lies in the main zip file.

As you always get "bad file" error, the main zip file, i.e. the ROM's zip file in which you wanted to add the zip; wasn't downloaded properly for some reason. Try re-downloading it once again, and then try adding the script file.

IMHO, I suggest you use 7-zip or WinRAR. Both are good. I have no problems when I use WinRAR. When you use 7-zip, you might encounter problems while trying to add scripts to JellyBean (4.1+) ROMs. So, I would suggest that you get WinRAR.

And, again, make sure that compression level is set to normal. :)
[HTC Pico (Explorer)] nit_in:
I use izarc for compression

Comprrssion level is normal and method is deflate
[HTC Pico (Explorer)] thewisenerd:
Try some other Archiving software.

I would first recommend that you try with "WinRAR" and/or "7-zip".

GB/ICS=7zip/WinRAR

JB=WinRAR.

Let me know if it works :)
[HTC Pico (Explorer)] harisnana:
Thanks
[HTC Pico (Explorer)] ermacwins:
Just tried this /system/app and placed root explorer in there. Flashed fine but that app didnt show on phone
[HTC Pico (Explorer)] nit_in:
Which rom you are using

If sense then flash the app to sd-ext/app_s/
[HTC Pico (Explorer)] ermacwins:
Nexus 4 rootbox rom
[HTC Pico (Explorer)] thewisenerd:
Device and /etc/fstab.

You might need to edit the mountpoints manually in the META-INF/com/google/android/updater-script to correspond with your device's mount points. Different devices have different mountpoints and so does their file system format change.

Make sure you have the correct lines in your updater script. :D
[HTC Pico (Explorer)] ermacwins:
This is the update script from gapps

Not sure what I need to do if I want to make root explorer a flashable zip
[HTC Pico (Explorer)] thewisenerd:
Gapps is simplified, you can use the same :D

The system variable is present in the /etc/fstab file, in your recovery, so you can mount it using the command mount /system. This is what has been done in your phone's Gapps package too with the following line:

run_program("/sbin/busybox", "mount", "/system");

So, the updater script that you need will look like this:

ui_print("Mounting system...");
run_program("/sbin/busybox", "mount", "/system");
ui_print("Copying files...");
package_extract_dir("system", "/system");
ui_print("Fixing Permissions...");
set_perm_recursive(0, 0, 0755, 0644, "/system/app");
ui_print("Unmounting system...");
run_program("/sbin/busybox", "umount", "/system");
ui_print("Flashing complete!");

Edit the updater-script file inside the zip to correspond with this. :fingers-crossed:
[HTC Pico (Explorer)] ibshar:
Thanks man i was looking for this...
[HTC Pico (Explorer)] thewisenerd:
You could have rather hit the thanks button instead of typing in a whole line. :D :o
[HTC Pico (Explorer)] ibshar:
Well this is kind of awkward but, I was actually talking about the first post of the thread and I did hit the thanks button for it... :o

But your post looks cool too.. ;) :good:
[HTC Pico (Explorer)] thewisenerd:
xD

meh bad, I misunderstood :silly:

you could always remove ur thanks ;)

Anyways, no more spamming :cowboy:
[HTC Pico (Explorer)] currway:
how to really create a zip file ?

From all the tutorials like these ones i managed to find so far, the method advised is to make use of a pre-made zip file, use a windows based zip GUI to add/replace files.

I've to admit i'm not a windows or zip util GUI guy, my host OS is either a Linux or a Mac OS.

What i've tried so far is to unzip and extract the provided zip file, modify the files (including updater-script) , add some files, and zip it back just using the very standard 'zip' or 'unzip' executable on Linux. Flashed it in CWM, it says failed. Then i tried to use testsign.jar util to sign the zip file, flashed and it doesn't work as well. Error displayed on the recovery was along the lines of "installation aborted", it didn't go as far as the ui_print output , so that eliminates any possibiity of me messing up the edifier syntax, it seems it's more towards it not being able to validate a correct format of zip method or some sort of properties is missing. I have made all files/directories within the zip , and the zip itself to 775 or 777.

I'd like to know what's the secret in actually zipping up a new zip file instead of editing an existing pre-made zip provided ?
[HTC Pico (Explorer)] thewisenerd:
Compression level.

If you set the compression level to anything other than normal, you definitely will get an error. :p
[HTC Pico (Explorer)] currway:
For the standard Linux zip utility, if user doesn't specify compression level, it will be left at 6, which is the normal.
[HTC Pico (Explorer)] thewisenerd:
Did you use any archive manager?

If not, try this in the terminal:

zip -r -y -q <name of folder>

Try it without adding the compression levels using the -6 switch. :fingers-crossed:
[HTC Pico (Explorer)] currway:
no i'm not using archive manager, just the zip util via terminal.

Tried your suggestion, doesn't work though.
[HTC Pico (Explorer)] thewisenerd:
update-binary.

try replacing an update-binary from another zip file that you can *correctly* flash.

path: META-INF/com/google/android/
[HTC Pico (Explorer)] currway:
That did it! For some reason the update-binary that i was using was wrong.

Thanks a lot mate!
[HTC Pico (Explorer)] reshampanth:
Thats What I was looking for ;)

Had been working on making zip files by myself but cudnt succeed. Thanks alot ;):laugh:
[HTC Pico (Explorer)] Rishik999:
Welcome to everyone .

Thanks to those for keeping the thread alive
[HTC Pico (Explorer)] hb17:
This is a simple nice to have tool. Thanks:cool:
[HTC Pico (Explorer)] sakshamx:
[MENTION=4790568]Rishik999[/MENTION]

can u provide sample zip to flash app to sd-ext/app

that sample zip didnt work for me:(
[HTC Pico (Explorer)] Rishik999:
Ah,I don't actually know how can an app directly can be sent on /sd-ext partition, my bad !!

But, My guess if you sent it over /data partition using a memory script, it can go /sd-ext!

I'm uploading an other sample.zip for /data partition
[HTC Pico (Explorer)] sakshamx:
still didnt work
[HTC Pico (Explorer)] viijay4b7:
Success...

Great tutorial..

Thank you. I was searching for this. it was very helpful. Now I can able to make cwm flashable zips..!! Cheers!!!
[HTC Pico (Explorer)] Pangkoy08:
Much appreciated

[MENTION=4790568]Rishik999[/MENTION]

I've been searching for a good way to make flashable zip and with your TUT it made it easier.

Thank you.
[HTC Pico (Explorer)] -TheKoolAnie-:
Doesn't Work When flashing audio... :thumbdown:

System/media/audio
[HTC Pico (Explorer)] sunnyyen:
I've been trying to put 2 files I extracted from RUU into /system/framework so I made the attached zip but couldn't flash them in CWM into the location I specified on my HTC One. Can you help to check what's wrong? Thanks.
[HTC Pico (Explorer)] thewisenerd:
Replace the update-binary inside the META-INF folder with an update-binary got from a zip that works in your phone. :D
[HTC Pico (Explorer)] sunnyyen:
Did that and it worked! Thanks!
[HTC Pico (Explorer)] metalfan78:
Thanks for this guide, so simple but so important.
[HTC Pico (Explorer)] AFN:
Wallpapers

What about Wallpapers?!
[HTC Pico (Explorer)] Axenrot52:
How to convert the pac file(stock rom) into flashable zip so that it can flash the whole phone using the method u used???
[HTC Pico (Explorer)] hiren xperia ion:
help me please

hey bro..thanks for help but still problem here.....

i want to make flashable zip file for my own collection fonts...so please help me..........what to do for this ?????reply please ....guide me step by step please....

thanks again:good:
[HTC Pico (Explorer)] Rishik999:
I guess this zip gonna help you,remove the fonts,add your own :D
[HTC Pico (Explorer)] hiren xperia ion:
Hey all

I want help from all of ,

How to make script For flashingfonts of my own...

What is requiring for this.....

I have flash creator but need own script so problem is there...pls help

Hope u all will help me

Thanks
[HTC Pico (Explorer)] thewisenerd:
Dug up my bookmarks and found this:

http://xdaforums.com/showthread.php?t=1847203

This would give you an overview of what you'd have to rename your fonts to. And, just place the fonts in appropriate folder. IMO, you could/should use the zip given by [MENTION=4790568]Rishik999[/MENTION] in a couple of posts above.

P.S. My e-mail isn't free tech-support. I am sure you'd understand.

---------- Post added at 11:12 PM ---------- Previous post was at 11:11 PM ----------

PAC file? More details please :)

---------- Post added at 11:18 PM ---------- Previous post was at 11:12 PM ----------

More details please.

*Simply posting bugs in thread* - Doesn't work out that way.

P.S. Why it might not work? The files have to be in OGG format. Was your file in OGG format?

If yes, try factory resetting your phone.

If no, try converting your music file to OGG. http://bit.ly/191HSHf

Depends. Whether you want to do all the hard work or not. You would need to follow this guide and either edit CMWallpapers.apk the way given, or make your own wallpaper app. And then, push the app to /system/app.

Link: http://xdaforums.com/showpost.php?p=29407567
[HTC Pico (Explorer)] iluvyoulinux:
Which script should i use for the zip installation?
[HTC Pico (Explorer)] Rishik999:
Didn't get you?
[HTC Pico (Explorer)] bloodhound42:
can we make flash zip only for apps ?
[HTC Pico (Explorer)] RedSkyRoad:
Hey,

What is in the "update-binary". Almost every flashable ZIP has a different one... Should I use one from my ROM and just insert it into this template?
[HTC Pico (Explorer)] thewisenerd:
Update-binary is an executable file which contains code to be executed by the recovery. Get a pre-compiled binary from any of the flashable zips that work on your phone. :D

---------- Post added at 02:32 AM ---------- Previous post was at 02:28 AM ----------

Any thing from scripts to apps to ringtones can be flashed using a flashable zip. Actually, the whole of system partition or data partition or any other accessible partition can be modified. Also, boot.imgs and recoveries can be flashed using such zips. If you know how, you can even *run* basic scripts in the recovery :p.
[HTC Pico (Explorer)] malachow:
[MENTION=4790568]Rishik999[/MENTION]

One question if I correctly understood your tutorial - applications put in /system/app(in that .zip) and flashed will be seen by android as system apps, yes?

What do I have to change in your method if I'd like them to install as user apps?

Thanks in advance for any response. :)
[HTC Pico (Explorer)] thewisenerd:
Hope you don't mind me answering your question but...

To install them as user apps, you need to mount the data partition and extract them to /data/app. In this way, you can install apps as user apps. One problem that you would face is that, you might see "Android is upgrading" screen whenever you boot your phone. For solving this, you need to clear the dalvik-cache and cache of your phone :laugh:

Mounting the data partition, make appropriate changes to updater script.
[HTC Pico (Explorer)] asification:
right said

i agree
[HTC Pico (Explorer)] jynt_panwar:
Nice tutorial MAN...:cowboy::cowboy::cowboy::cowboy:
[HTC Pico (Explorer)] amitkhare:
Why if I extract and modify and zip it again? and if I wanted to do so, what I have to do?

sorry for bad english.
[HTC Pico (Explorer)] thewisenerd:
Yes, you can... Just note that when you re-zip it, the compression level should be set at "Normal" :laugh:
[HTC Pico (Explorer)] Th3Dictator:
Thanks for the guide and this also applies on a rom.. for example

I want to remove a certain app from /system/ it works?
[HTC Pico (Explorer)] thewisenerd:
Yes, just delete the apk from /system/app, and it wouldn't be installed. It can be used for removing apps, ringtones, scripts, etc :)
[HTC Pico (Explorer)] ravitelang:
Try this apk I have attached with the post..It can schedule power on off your phone at set time..I am getting it difficult to install on my htc one OS 4.2.2..If anyone succeeds plz let me know...
[HTC Pico (Explorer)] geekyboy12:
Removing features

Excellent post and very helpful. Can this be used to remove Super User from Custom Roms? I am presently using Paranoid Android on my Kindle Fire HD 7" and want to remove super user and then flash it back on when necessary. Can a Flashable ZIP be used to remove as well as install SuperUser? I can't uninstall it because it is built into the system build.
[HTC Pico (Explorer)] thewisenerd:
Yes, you need to make your own personalised updater-script for doing so. Basically, add these lines into the updater script after mounting /system.

delete("/system/app/Superuser.apk","/system/bin/su","/system/xbin/su");
[HTC Pico (Explorer)] Gabrieltan:
by using this method, is that fix permission will occur directly?