yashsingh1/xdaforums huggingface dataset:
[Upgrading, Modifying and Unlocking] byboyz:
Can I patch the firmware using windows??

Because I'm on win :(

I don't really understand using linux :(

Or can you make single click batch file that I can use it to patch my firmware???

I really appreciate it if someone provide it :)

Thanks :)
[Upgrading, Modifying and Unlocking] ETTT:
I don't know windows that much to make a batch clone of the script. so you need linux.

But you can use a live cd (maybe from ubuntu) to run the script.
[Upgrading, Modifying and Unlocking] byboyz:
Thx for ur reply :)

How can I open XWALH3.patch that u give earlier??

Bcause I don't know anything about linux :(
[Upgrading, Modifying and Unlocking] ETTT:
that patch is an xdelta patch.

There is an xdelta application on windows, don't know if it works, but it should work.
[Upgrading, Modifying and Unlocking] smhybrid:
hi there, I'm stuck at last point/step: ./post-firmwareUpdate.sh

my terminal respond many error about busybox

the code like this:
[Upgrading, Modifying and Unlocking] ETTT:
Ok it seams busybox has a thing against ")" in comments.

Here is the script without comments, so try this.
[Upgrading, Modifying and Unlocking] smhybrid:
no good, it's still have same error...

maybe the problem is in busybox?

and i don't know why I'm unable to do chmod
[Upgrading, Modifying and Unlocking] ETTT:
give this command:

adb shell ls -l /system/bin/toolbox

and let's see if the toolbox has suid.
[Upgrading, Modifying and Unlocking] smhybrid:
what i get is

-rwxr-xr-x root shell 99068 2012-08-09 11:59 toolbox

how to get suid?
[Upgrading, Modifying and Unlocking] ETTT:
have you flash the patched firmware?
[Upgrading, Modifying and Unlocking] smhybrid:
well, I've just do all of Your step, except this:

because I don't know the meaning of flash the firmware. How to do that?

So I skip that and hook the phone to pc with usb debugging enabled

i'm new at linux, but I want to try this method for my galaxy chat
[Upgrading, Modifying and Unlocking] ETTT:
you should just step back and read some more, you know so little about linux/adroid that it is dangerous for you to rood your device.:p

you load your firmware like this:

http://www.teamandroid.com/2012/10/...330-xxali2-android-404-ics-official-firmware/

you have to follow the steps and understand the steps, not like "ooo, what this button do?!?"

how have you imagined that after patching the firmware on your computer and not put it on your phone will make your phone behave differently??!?
[Upgrading, Modifying and Unlocking] smhybrid:
ah, from odin... I have done that... so what next? about my earlier question..

I'm new at linux but I have done many times root android... that's why I'm excited to try this method since this gchat is my new phone... :D
[Upgrading, Modifying and Unlocking] byboyz:
I don't even understand about android :(

Hy ETTT can u make the tutorial with screenshot it will be appreciated :)

Please :(
[Upgrading, Modifying and Unlocking] ETTT:
Well if you done that then you have miss something.

The first chepoint whould be:

reflash the patched firmware and then do:

adb shell ls -l /system/bin/toolbox

will give you:

-rwsr-xr-x root shell 99068 2012-08-09 11:59 toolbox

you are looking for that "s" instead of "x" at the permisions.

This means that you have flush the patched firmware as this is actually the only modification that the patching does to the firmware.

This is the suid (switch user id).

if you do have suid then the problem is in the script. look at the script and just run it line by line in adb shell (the commented script tells you what it does in comments.)

if you don't have suid then the flashing has not occured or you have flash with the original firmware or something is wrong with the patching.

try it and get back to me.
[Upgrading, Modifying and Unlocking] smhybrid:
OMG... let me clear this, what You mean about Odin is I flash my rom with the new FW right? with myfrm.tar.md5?

(What I do is flash it with XWALH...) sorry.. my bad...

Will try it now....

Btw, about Your patch code, is that no problem? Because I always getting same error.. maybe something wrong with the busybox or post-firmwareUpdate.sh ?

====edit

How to flash it with odin ETTT? because I don't see how to flash with 1 package...

I'm using Odin3 v.185
[Upgrading, Modifying and Unlocking] ETTT:
about firware flash:

i've used odin3 v3.07 (don't know about it mutch used it only once to falsh the firmware).

the file is put in the PDA section (you only reflashing the PDA firmware).

and options that I've checked ware only auto reboot and f. reset Time.

about the post flash script.

please just execute every line (like copy paste) from the script. look at the script and just copy paste inside an adb shell session every line that is in the script between (and not including) the line with adb shell and the line wiht HERE.

Tell me at what line it gives you an error and we can fix this for you.

P.S.: If you have not pass the checkpoint that I have mention, don't bother runing the script.
[Upgrading, Modifying and Unlocking] fulmix:
keyboard problem

Hi ETTT,

i root my phone (galaxy chat b5330) with the help of bogdan_rize with your romanian patched firmware...but i have a problem with the keyboard (i live in italy) the letters are different and i have only one personalizate taste ...can you tell me how to patch the italian firmware? or if you say where can download it?

thanks

fulmix
[Upgrading, Modifying and Unlocking] ETTT:
the answer is in this thead read the thread use the patch and so on.
[Upgrading, Modifying and Unlocking] fulmix:
i tried to patch the firmware but i not understan nothing of the part with unix and the script....can you make a tutorial most easy or patch the ita firmware?
[Upgrading, Modifying and Unlocking] fulmix:
up have a tutorial

up... anyone have a tutorial more easily ?
[Upgrading, Modifying and Unlocking] ETTT:
I'm puzzeled, what do you want more easy then running a script?

If you have run the script so that you can patch the firmware of your choise, what was the output? what was the error code?

I cannot help you if you don't run the script.
[Upgrading, Modifying and Unlocking] fulmix:
ok

the tutorial to patch is this right?

mkdir -p /tmp/foo

sudo mkdir /mnt

cd /tmp/foo

tar -xzf universal-patch.tar.gz

export PATH=./:$PATH

{get the firmware here and unzip it, it should have a file with .tar.md5 suffix}

./universal-patch.sh {the name of the firmware including the .tar.md5 suffix}

wait a while. you should have by the way about 10 times the size of the zip as free space.

if all goes well you will have a myfrm.tar.md5 rady for flashing.

flash the firmware, and after boot enable usb debuging, hook the phone to pc

sudo adb devices

./post-firmwareUpdate.sh

you should have a rooted phone.

but wherei write this codes? on linux??? i have write this in cmd on windows ..... but not work...

can you explain me type:

open cmd and write

mkdir -p /tmp/foo (is an example)

a tutorial step to step if is possible

thanks
[Upgrading, Modifying and Unlocking] ETTT:
Again, read the whole thread and understand it.

To make it short.

you have to have a unix box, the easyest way for you probaby is to download ubuntu (it is a gnu/linux based os (your android is android/linux os si they are related; gnu/linux is a unix like os) and run a live session (this will boot up the ubuntu and run from the cd-rom without messing your harddrive) have a partition with at least 10GB available (the best is to have a partition formated as FAT32 inside windows and then it is certanly that ubuntu will not damage the partition in any way).

you mount the partition in ubuntu and open a terminal go to that partition make a directory there and then in the terminal (you open a terminal) you will run those commands.

All of this, if you think of it, is implied by the fact that the patching requires you to have linux in order to run those commands.

I'm sure that there are many tutorials out there to help you run a ubuntu live cd and help you get started.

Cheers.
[Upgrading, Modifying and Unlocking] fulmix:
ok

ok, i have ubuntu and tomorrow i try to patch it... so i install ubuntu i open the terminal and i follow the istructions writed by you...right?

and after that i flash the firmware and i root the phone ?
[Upgrading, Modifying and Unlocking] ETTT:
Basicaly, yes. Be advice that the script that you must run after you flash your phone with the new firmware runs also on linux.
[Upgrading, Modifying and Unlocking] fulmix:
but the root i can do with windows (cmd promot)?
[Upgrading, Modifying and Unlocking] ETTT:
It is possible, look in the script and see what it does.

it uploads some files and then it will run a script on the phone.

however if you are on win I can give you no support. sorry.
[Upgrading, Modifying and Unlocking] fulmix:
the root is not a problem...the problem is the patch ..i try today with ubuntu 12.10 ...aren t necessary other program but only the terminal ....right?

---------- Post added at 01:20 PM ---------- Previous post was at 01:16 PM ----------

and to patch is necessary only the firmware or also the phone with the firmware installed?
[Upgrading, Modifying and Unlocking] ETTT:
yes all the non standard executables that the script relies on are in the achive that comes with the patch.

and you don't need the phone to make the patching.

btw: you have to download the archibe that is in the post with "after qa" and not the archive that is in the first post.

here is the link to the achive (so that you don't have to look for it):

http://xdaforums.com/attachment.php?attachmentid=1447768&d=1351751405
[Upgrading, Modifying and Unlocking] fulmix:
.....

so...i tried to patch the firmware and:

after sudo mkdir /mnt tell me that mnt exist but i go awey

i relly not understand this part

export PATH=./:$PATH

{get the firmware here and unzip it, it should have a file with .tar.md5 suffix}

./universal-patch.sh {the name of the firmware including the .tar.md5 suffix}

i writted export PATH=./:$PATH and push ok * i must write this igual or i must insert the directory?

after that i cant have anything >*

the terminal will be started from the universal patch folder or normal?

*ps i can t send you PM

thanks
[Upgrading, Modifying and Unlocking] ETTT:
ok. tell me the firmware that you wish to use and I will make an xdelta patch that you can use to patch your firmware (and only that exact firmware) on windows.
[Upgrading, Modifying and Unlocking] fulmix:
i downloaded the firmware from here:

http://hotfile.com/dl/176016367/a15a311/B5330XWALI2_ITVALH3_Italy_Android_4.0.4.zip.html
[Upgrading, Modifying and Unlocking] ETTT:
Ok all you italiano people out there rejoice, and maybe some one of you will put the patched firmware also.

Here is the xdelta patch fo the above mentioned firmware that should give you a rootable firmware.

Be advice that you still has to run the post patch script so that you get su and other stuff.

Maybe some other guy will put the script for running it on windowze.

so here is:

the input file (that I have downloaded from the above link) has this md5sum:

ef4ffeb9f70761c333d152167cc7b75f B5330XWALI2_B5330ITVALH3_B5330XWLH1_HOME.tar.md5

the file after patching should have this md5sum:

1ccd2570156b3fff391bd7d160f3075a myfrm.tar.md5

You have to use xdelta for patching.

have fun.
[Upgrading, Modifying and Unlocking] Maciej21:
grazie so much!

as an italian now i'm just waiting someone will root his phone with this and explain me in some basic way ho to do it with mine.
[Upgrading, Modifying and Unlocking] Maciej21:
ettt, while giving terminal the command

./universal-patch.sh B5330XWALI2_B5330ITVALH3_B5330XWLH1_HOME.tar.md5

it tells me

Error reading sparse file header

Naspa 7

what did i do wrong?

EDIT.

i managed to patch. it is everything right.

Now, to flash the firmware i have just to turn on my galaxy chat in recovery and select "apply update from external..." right?

i'm a bit afraid to do that. i admit.
[Upgrading, Modifying and Unlocking] fulmix:
ok ... now i start the patch from terminal? so, i open terminal ,i insert your patch directory and after that i flash the firmware with odin?

when i open the termin i must go mannualy on firmware ditectory?

(sorry for my bad english :) )
[Upgrading, Modifying and Unlocking] Maciej21:
ettt i managed even to flash the myfrm file with odin in windows, then, i installed successfully on ubuntu JDK and SDK, but when i write the last passage to the root (post firmware update) it tells me ACCESS DENIED.

please tell me what it could be. i'm getting really mad on it
[Upgrading, Modifying and Unlocking] ETTT:
As I said earlier in the thread.

The thing to verify on the new firmware that you have flashed is:

adb shell "ls -l /system/bin/toolbox"

shoul give you:

-rwsr-xr-x root shell 99068 2012-09-11 09:22 toolbox

and not:

-rwxr-xr-x root shell 99068 2012-09-11 09:22 toolbox

If this check is not verified then the patching or the flashing of the firmware has an issue.

If you don't know what adb stands for look at enabling debug mode on android.

if this check is verified then you can go on and execute the post patch script.
[Upgrading, Modifying and Unlocking] ETTT:
yes you have to "cd" in the directory that the firmware and the scripts are.
[Upgrading, Modifying and Unlocking] Maciej21:
i ha ve done everything again but the adbshell gives me the wrong script.

i'm starting to get really crazy

i have no idea where i am making the error. everyhing went smooth

EDIT

adbshell gives me the right string after have flashed with an other version of odin

but when i give the post patch command it responds me this way
[Upgrading, Modifying and Unlocking] ETTT:
have you verify that the toolbox is with "s" insead of "x" after you have flash the firmware?
[Upgrading, Modifying and Unlocking] ETTT:
got it have fix it.

here is the new post-firmwareUpdate.sh

how ever the last line was not so important.

your phone should be already rooted.

the last line that failed to execute was creating symlinks for busybox, not so important.

you can run the line with "for k in..." manually over an adb shell session in /system/xbin dir.
[Upgrading, Modifying and Unlocking] Maciej21:
Root checker tells me that i have not root access. Asap i ll retry with your new .sh.

I ll even recheck the ADB shell though i m 200% sure. The string given was the correct one. Thanks so much ettt
[Upgrading, Modifying and Unlocking] Maciej21:
oh god. i did it.

i'll write for an italian site the complete guide in easier words quoting you as the creator. you're a hero.

HERE you'll find a simpler guide in italian by me, thx to ettt.
[Upgrading, Modifying and Unlocking] fulmix:
ufff...new proble... after

./universal-patch.sh B5330XWALI2_B5330ITVALH3_B5330XWLH1_HOME.tar.md5

tell me that there is an error on line 19 somthere about ./simg2img ??

Maciej21 can you post your myfrmw.tar.md5 ???

thanks
[Upgrading, Modifying and Unlocking] Maciej21:
its way too big for me to up that. but you are using the wrong .sh, you have to use the one ettt posted not in the first post but at fifth (or simila)

Inviato dal mio GT-B5330 con Tapatalk 2
[Upgrading, Modifying and Unlocking] KcLKcL:
Could you make the patch for this?

http://www.hotfile.com/dl/175941073/1696e0e/B5330XWALH3_B5330OLBALH2_XSE.zip.html

Or, what did you actually do to the firmware? I have no idea how do I "decode" that xdelta patch lol :P

Script seems working until I got:

computed crc32 of 0x3ffad83c, expected 0x00000000

naspa 7

So I thought I may need to patch that.

Help? :D
[Upgrading, Modifying and Unlocking] fulmix:
nothing also with the other .sh tell me ./simg2img: File or directory dont exist
[Upgrading, Modifying and Unlocking] ETTT:
have you setup the PATH enviroment variable?

you should do:

export PATH=./:$PATH
[Upgrading, Modifying and Unlocking] ETTT:
lol the xdelta works for a specific firmware only.

use the script for patching.

Anyway here is the xdelta for your firmware.(after flashing you still have to run post-firmwareUpdate.sh)

and olso a brand new updated archive with all the scripts and binary that you need to patch.
[Upgrading, Modifying and Unlocking] KcLKcL:
Thank you!

Well, your firmware-patch.sh failed. It wasn't the xdelta.

I ran the steps you gave:

Made a folder on /tmp/foo (I skipped mkdir /mnt because it's already exists)

Extracted all the files there, and I replaced simg2img with my own compiled binary as I am on 64bit. (Your binary doesn't seem to work on 64bit)

Set the path environment

Ran ./firmware-patch.sh

Everything seem to be working, and then that script produces that crc32 error.

I don't know what's wrong..

Will try your patch now, I don't need to run firmware-patch.sh anymore with this patch, right? :D

--------------

EDIT:

xdelta works, but your universal patch doesn't :/

arif@arif-PC-Linux /tmp/foo $ export PATH=./:$PATH
arif@arif-PC-Linux /tmp/foo $ ls
adb simg2img
B5330XWALH3_B5330OLBALH2_B5330DXLH3_HOME.tar.md5 su
busybox Superuser.apk
post-firmwareUpdate.sh universal-patch.sh
arif@arif-PC-Linux /tmp/foo $ ./universal-patch.tar.md5 B5330XWALH3_B5330OLBALH2_B5330DXLH3_HOME.tar.md5
bash: ./universal-patch.tar.md5: No such file or directory
arif@arif-PC-Linux /tmp/foo $ ./universal-patch.sh B5330XWALH3_B5330OLBALH2_B5330DXLH3_HOME.tar.md5
computed crc32 of 0x3ffad83c, expected 0x00000000
naspa 7
arif@arif-PC-Linux /tmp/foo $

(P.S: I just woke up, still sleepy, I mistype .sh to tar.md5 lol)

But anyways, thanks for the xdelta! :D
[Upgrading, Modifying and Unlocking] fulmix:
yes i setup it yet but nothing ....:(

the same error...
[Upgrading, Modifying and Unlocking] ETTT:
from what I see the compilation you have done on simg2img is broken.

I have not compile the simg2img program myself, just use the one that I have taken from a forum on xda.

maybe the simg2img is not 64-bit proof. so a compile on 64-bit machine will make a broken binary.

when the script fails with 7 it will leave in the curent directory a "my.simg" file. This is a sparce image file that should be good for simg2img to consume.

your simg2img is unable to consume it, the problem is there.

simg2img converts the sparce image file in an ext4 image that you can mount.
[Upgrading, Modifying and Unlocking] ETTT:
do you have enough space in that directory? you do need about 10GB of free space.
[Upgrading, Modifying and Unlocking] fulmix:
yes i have 30 gb ....

the error is ./simg2img file or directory dont exist. naspa 7 (or same)

.... help me.....

---------- Post added at 04:27 PM ---------- Previous post was at 04:22 PM ----------

can this problem be? is the problem with 7... where i found a simg2img for 64 bit ? in this forum?

thx
[Upgrading, Modifying and Unlocking] KcLKcL:
The source is in this forum

Compile it by yourself :p
[Upgrading, Modifying and Unlocking] fulmix:
i compiled the simg2img.c with the new file i made myfrm.tar.md5 and i flash it (with win) :) :) :)

after that with windows and adk i rooted the phone :)

now i have a ita rooted phone

i thanks:Ettt,Bogdan_rize and Maciej21
[Upgrading, Modifying and Unlocking] Maciej21:
congrats!!!
[Upgrading, Modifying and Unlocking] KcLKcL:
Awesome. Did you compile it on a 64bit system? Wondering why it didn't work on me :/
[Upgrading, Modifying and Unlocking] Crank8x:
How about sharing it?
[Upgrading, Modifying and Unlocking] androsamace:
Good News for Galaxy Chat!

:laugh: Easiest way to Root Galaxy chat Soooooon... :good:

Follow the link in my Signature!!
[Upgrading, Modifying and Unlocking] DeRival:
Hmm...

line 19: ./simg2img: cannot execute binary file

naspa 7
[Upgrading, Modifying and Unlocking] jaspreet997:
So this phone is dead now?

Sent from Samsung Chat
[HD2 Windows Mobile 6.5 Themes and Apps] pfg:
I have no voice guidance and a comprehensive sys.txt I file for HTC HD2
[Off-topic] grease2000:
Hi guys, im new, great forum, full of loads of useful info :D
[Off-topic] TheSkinnyDrummer:
and amazing stickies. it's like Disneyland up there.
[Off-topic] LoopDoGG79:
Say hello to where you should of posted!:D

http://xdaforums.com/showthread.php?p=11092640
[Off-topic] GuestK00178:
There's a say hi thread and you made one just for you?
[Off-topic] rain987:
Op took such an effort to create a topic to say hi, I have to say hi back if not it would be just plain rude.

Helloo

Sent from my HTC Desire S
[Off-topic] TeeJay3800:
Closed....for oh so many reasons.
[HD2 Windows Phone 7 Q&A, Help & Troubleshooting an] skinbis:
Will there be a wp8 for this phone?
[HD2 Windows Phone 7 Q&A, Help & Troubleshooting an] Iojjj:
searching..
[HD2 Windows Phone 7 Q&A, Help & Troubleshooting an] thereillbe:
god knows
[Galaxy S III Themes and Apps] panosfx:
Can anyone make a mode for CRT-OFF for this rom?It's deodex.
[Galaxy S III Themes and Apps] sznurrek:
You can find it here:

http://xdaforums.com/showthread.php?t=1944485
[Galaxy S III Themes and Apps] panosfx:
Thanks!It worked!
[Sprint Samsung Galaxy Note II] patrickjaden:
Does anyone know of a working tethering app that bypasses the native one?
[Sprint Samsung Galaxy Note II] Zoidpilot:
You need to be rooted to bypass... WifiTether (basic name I know) works good once you are
[Sprint Samsung Galaxy Note II] cherylbaker:
Hmm I was under the impression Wifi tether was broke in jb
[Sprint Samsung Galaxy Note II] ZenInsight:
Funny..I came in here to ask the same thing. Wifitether works but it doesn't broadcast the SSID properly. Not even by typing the name in manually can you connect. So, no...it doesn't work in JB. But I also would like tether to work.
[Sprint Samsung Galaxy Note II] tenebrulus:
I tried all afternoon with many different apps to get some sort of tether working, and was unsuccessful with anything other than "Klink Tether" which is a paid app in the Play store. It is a USB tether and it works very well. Highly recommended.
[Sprint Samsung Galaxy Note II] humdrum2009:
Cm10. Wifi tether worked on my gs3 if I remember correctly.

Which cm10 won't be too much longer for an alpha for us.
[Sprint Samsung Galaxy Note II] Kikoshi:
Foxfi works for me by bluetooth :D
[Sprint Samsung Galaxy Note II] leond:
Did anyone try PDANET?
[Sprint Samsung Galaxy Note II] Stank0:
EasyTether works fine. I'm using it for years on all of my phones. It never failed me. I'm using it right now as a matter of fact.

Edit: If you are ok with wired tethering. If you look for Wi-Fi... then I don't know of any way. Yet.
[Sprint Samsung Galaxy Note II] madsquabbles:
same here. it'll hold me over until wifi tether gets working.
[Sprint Samsung Galaxy Note II] patrickjaden:
Thanks a lot! and Wifi Tether for root actually works on my 4.1 NS4G. So for those programs to work you have to be connected via USB?
[Sprint Samsung Galaxy Note II] Stank0:
Yes.

Or someone mentioned BT tethering with different app. I don't know since I don't use it.
[Sprint Samsung Galaxy Note II] zack2491:
EasyTether works. It's a $10 app, but there is a free version. Free version blocks all https websites, however.

Just to be clear, this is a USB tether. I don't know of any hotspot hacks yet.

EasyTether also requires a program running on your computer.
[Sprint Samsung Galaxy Note II] Stank0:
II think it used to be cheaper. I don't remember how much I paid. I think it's worth it though. Besides... not so many other options at this time and still much less than one month paying for official hotspot.
[Sprint Samsung Galaxy Note II] Kelvala:
You know whats funny....(not really) is while at the Sprint store, every phone that was being sold, the salesperson said. You do understand that illegally tethering will get your contract cancelled, do you understands? .

Asked me too and I was like, huh, tethering, I just go to Starbucks :silly:? (hoping he wouldn't hit the big fat tethering button on my home screen (old phone) he was holding. whoops....
[Sprint Samsung Galaxy Note II] Stank0:
I wonder how exactly can they detect someone tethering?
[Sprint Samsung Galaxy Note II] zack2491:
It's a violation of your contract, so yeah, they "reserve the right to terminate". Same can be said for a lot of things that happen on this forum. Just don't abuse it and they won't bother you.
[Sprint Samsung Galaxy Note II] Stank0:
Will I need to pay the ETF if they terminate the contract?