yashsingh1/xdaforums huggingface dataset:
[Transformer TF300T Q&A, Help & Troubleshooting] Ashcunak:
w00t will check as soon as i get home... in like 6.5 hours.. dammit..
[Transformer TF300T Q&A, Help & Troubleshooting] Uss_Defiant:
Got an OTA today as well just as I was about to return it..... lol. Unlocked as well.
[Transformer TF300T Q&A, Help & Troubleshooting] shaboobla:
Confirmed got my OTA. Had rootkeeper installed but it appeared as though I didn't need it.
[Transformer TF300T Q&A, Help & Troubleshooting] Ashcunak:
yep, there it is, yay, installing now.
[Galaxy S II Q&A, Help & Troubleshooting] Funkadelick:
I went on the samfirmware.com website but it says the latest firmwares are from Jan 2012 ???? how is that even possible ?

I am looking for the latest firmware for Canada. I know it was released recently, because my friends are updating, but I'm on a custom ROM and I just want to find the latest ICS firmware and flash it.

Please help!
[Galaxy S II Q&A, Help & Troubleshooting] simonaijiamin:
try the link below, and you should also check your Region Code first:

http://samsung-updates.com/gt-i9100-galaxy-sii/

---------- Post added at 03:53 AM ---------- Previous post was at 03:43 AM ----------

use the link below to find your region code

http://xdaforums.com/showthread.php?t=1647653
[Galaxy S II Q&A, Help & Troubleshooting] ctomgee:
It's NOT possible. No offense, but if you can't navigate a website to find the latest firmwares (which are from May for the i9100 as of the time of this post), perhaps you should rethink flashing anything to your phone personally.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] sumkee:
I tried search for answers, but no luck.

Story is that I just bought a Skyrocket and cant be happier, but I'm planning to go to Taiwan for a month. I just realized that Taiwan uses UMTS 2100 for 3G and HSPA. I'm getting a lot of different info on the ATT skyrockets.

I'm wondering if I can take this skyrocket to Taiwan and use their 3G/4G networks.

Any input would be helpful.

Best!

edit: I think it will work.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] davelu:
3G or 4G will both work in Taiwan. I was able to use my skyrocket to tether and make skype video calls with no problem.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] jedah:
Did you have to do anything (like switch APNs)? My previous phone (Touch Pro 2) had 2100, but I wasn't able to connect, even though my phone said "3G". My brother's Atrix had the same problem. We couldn't get any data working at all.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] Shanghai.Knight:
Hi, I live in Shanghai, and want to use China Unicom, which uses the 2100 network.

Sounds like from these posts that the Samsung Skyrocket will work here without any problems.

Does it need to be unlocked? Some Skyrocket specs list the 2100 while others don't. That due to ATT trying to discourage others from buying this phone?

Thanks for the info in this thread.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] jose makalolot:
Of course you need it unlocked. I used my unlocked skyrocket last month in my vacation in the Philippines where networks uses 2100 for 3g and 4g.

Sent from my Calculator with Android.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] Shanghai.Knight:
Sweet, now to find one online, and order it so that it is waiting for me next week when I return to the states. :D

Thanks!!!
[Galaxy S II Q&A, Help & Troubleshooting] atifsh:
Depends on the model of the phone..... Look in that specific model and region and you will get latest for that.

It's don't have to be Canada, you can flash latest from any region if it's for your phone.
[Galaxy S II Q&A, Help & Troubleshooting] vincedoggy:
Search for the Bell stock ICS 4.0.3 then flash it by Odin that what i did for mine. Good luck.

http://hotfile.com/dl/155035750/45433e2/GT-I9100M_BMC_ICS_4.0.3_I9100MUGLD3_I9100MBMCLD3_I9100MUGLD3_Original.zip.html
[Galaxy S II General] simonaijiamin:
Hi forks, I have friends was trying to download the official rom of ICS for S2, but didn't know which one to. The main problem is to check the region code.

Here is the guide:

1. open the dial screen, and dial: *#06#, and you will get your IMEI　number, write it down

2. dial this command: *#272*IMEI# and you can get your Region code.
[Galaxy S II General] atifsh:
Our just dial*#1234#
[Galaxy S II General] victorator:
*#1234# does not give you your CSC code.

The easiest way without checking and typing in the imei is to use this app.
[Galaxy S II General] g00ndu:
Where are all the spoons?
[Galaxy S II General] atifsh:
Right! Good luck with doing simple things hard way
[Galaxy S II General] JJEgan:
Lets have a FAQ and Guide post save repetitive posting when some noob finds his arse .

jje
[Galaxy S II Q&A, Help & Troubleshooting] kgthenerd:
Guys,

Recently I upgraded my SGSII to Resurrection Remix ICS.

It's a great I'm already i love with it. The only problem is after couple of calls

the signal goes out automatically in order to get back i need reboot twice.

I'm on Vodfone can anyone suggest me a suitable modem for ICS?
[Galaxy S II Q&A, Help & Troubleshooting] alc027:
You have a very old Gingerbread baseband from september last year. LPS works excellent, I'd give it a try.
[Galaxy S II Q&A, Help & Troubleshooting] kgthenerd:
Downloading LPS now from this thread

http://xdaforums.com/showthread.php?t=1131950&page=105

does Vodafone has any different modem for SGS2?
[Galaxy S II Q&A, Help & Troubleshooting] kgthenerd:
Still facing same issue upgraded modem LPS Its still the same.

Strange thing is Use 2G network and Data Enabled is unchecked itself whenever I had this problem.
[Galaxy S II Q&A, Help & Troubleshooting] JJEgan:
There are a larhe number of modems .

Start with the last one and work your way back .

jje
[Galaxy S II Q&A, Help & Troubleshooting] Keasby:
Best way to find a good Modem is testing them all.
[Galaxy S II Q&A, Help & Troubleshooting] kgthenerd:
Thanks guys,

I'll try. But I noticed a thing recently that signal status remains same -89dBm 12 asu... don't know exactly what's the problem :(
[Galaxy S II Q&A, Help & Troubleshooting] runedrune:
Happens on all AOSP based ROMS. Type *#*#0011#*#* in dialer to see actual values.
[Galaxy S II Q&A, Help & Troubleshooting] kgthenerd:
I did but nothing happens ;(
[Galaxy S II Q&A, Help & Troubleshooting] runedrune:
Guess your rom doesn't come with service mode then.
[Galaxy S II Q&A, Help & Troubleshooting] emzic:
i have pretty much the same problem. i am on austrian t-mobile network. where can i find a modem for that and how do i flash it?
[Galaxy S II Q&A, Help & Troubleshooting] JJEgan:
You need a computer and a thing called search and you look on XDA thread for Modem post with flashable modems .Like most stuff its found in development .

But you would do better to read the basics first .

jje
[Galaxy S II Q&A, Help & Troubleshooting] kgthenerd:
I'm on AOKP 4.0.4 Resurrection Remix :) anyways after flashing to LPQ that problem vanished thanks to all who helped :)
[Galaxy S II Q&A, Help & Troubleshooting] alc027:
Lithium ion batteries hate heat. Since it tends to get a bit hot while charging, and I don't care how long it takes to charge, I have reduced the AC charging current to 450mA like a USB socket. Can anyone think of any negative effects this might produce?
[Galaxy S II Q&A, Help & Troubleshooting] jzmtl:
Takes longer to charge, otherwise no.

But honestly, the little heat it produces when charging probably doesn't matter in your phone's useful life.
[Galaxy S II Q&A, Help & Troubleshooting] alc027:
If I'm not using it I agree, but if I happen to be using the phone while plugged in it gets plenty hot. Much more so than normal use (I have extreme CPU and GPU undervolt).
[Galaxy S II Q&A, Help & Troubleshooting] republicano:
i charge my 2 batteries with a wall charger, it charges at 4.2v, 350mAh, it takes like 6hours to complete

i dont do this because of your question but it is much simpler swaping, then charging via usb,i get better cycles like this, swap every morning.
[Android] KnowledgeBroker:
Okay, I see a lot of devs that want to put out a "rom", and I am trying to do that for all the roms- leaks, roms, etc. I think I can accomplish what most rom devs do with small flashable zips-- I just need this help to make it possible!

The only thing that is hanging me up is - change A to B, if A doesn't exist add B. I've done lots of googling, but the sed command seems REALLY complicated for what I am trying to do- and I think there must be an easier way people are already using for android! Or is there a program people are using to make these insanely complicated scrips I see?!?!

Here is an example I know I can do, and works- but it is modifying a line I know IS there:

sed 's/^ro.product.version=*/ro.product.version=Revolutionized Nonsense 2.1Final/g' /system/build.prop

Like as simple as changing my build, no problem, I know that build is there, but what if I want to change "ro.ril.gprsclass=10" to "ro.ril.gprsclass=12"- but if it ISN'T there, I want to add that line??(I'm not saying it ISN'T there, this is just an example..)

Like I said, I am sure there is a simpler way, I know SED allows patterns and all of that- I am trying to keep this simple! I don't want to replace someone's build.prop, I want to modify it(and I will make a backup)- and for all non RO(read only) lines I plan to use local.prop..

Please, I have asked a few questions here that never got answered, I eventually found a workaround, but this one has TRULY stumped me! This is all a learning process for me, and I am trying to learn the simplest/best way, not just the long and complicated way..

Thanks in advance!

SBD
[Android] tommytomatoe:
So from my understanding, you are looking to write a script that modifies the build.prop, yes?

If so, you'd want to do something like this. This is pseudo-code!

if entry exists ; then

replace entry

else if entry does not exist ; then

add entry

fi

For your test, use grep.

if grep ro.sample.prop build.prop ; then

sed -d CODE HERE TO REPLACE

else

echo CODE HERE >> build.prop

fi

Please let me know if you need further help.
[Android] KnowledgeBroker:
So with my example above would this work??

if grep ro.ril.gprsclass= /system/build.prop ; then
sed 's/^ro.ril.gprsclass=*/ro.ril.gprsclass=12/g' /system/build.prop
else
busybox echo "ro.ril.gprsclass=12" >> /system/build.prop

Your example makes me wonder if sed gets use differently aftergrep(or is that formatted correctly?) and what is the -d for?

I need to do this with a lot of lines, so if this does work I need to make sure that the formatting is correct.. because I just want to make a file that works, not troubleshoot it a million times!(My luck I'd leave a space in it somewhere that screws it all up)..

I'm sorry if these questions seem ridiculous, but this will help me get done what I am trying to do - I've already learned so much java, scripting, coding, unix- I don't even know what's what anymore.. I'm just trying to keep learning!:cool:
[Android] tommytomatoe:
I would use busybox sed just I'm case.

You have two choices with sed.

sed -d will remove the line and then you would echo a new one.

sed -i would replace it inline. Your current script would not work. You need to use -i flag.
[Android] KnowledgeBroker:
I would actually prefer it removed the original line if it will add the modified line at the end of the build.prop

So would this work:

Or does the sed command have to be modified because of the -d or because of the grep command?

I appreciate you taking the time- I have had several questions get totally overlooked when trying to ask development questions, no matter where I post! You're awesome(and people will be thankful when I get this done, I'm sure!)

SBD
[Android] lithid-cm:
#!/bin/bash

arg="Cool ass rom bro!"
oldarg=`grep ro.product.version /system/build.prop |cut -d"=" -f2`

sed -i "s/^ro.product.version=*/ro.product.version=${arg}/g" /system/build.prop >> /tmp/tmp-prop

chknewarg=`grep ro.product.version /tmp/tmp-prop |cut -d"=" -f2`

if "$chknewarg" = "$arg"; then
mv /tmp/tmp-prop /system/build.prop
echo "File edited"
else
rm /tmp/tmp-prop
echo "Expected $arg, got $chknewarg instead"
exit 1
fi

exit 0

POC, piece not tested, but should be what you are looking for. This will indeed sed the file but output the file to tmp, then run a check to make sure it wrote it properly, if so it will replace your file. Simple enough.
[Android] KnowledgeBroker:
Okay, if I get this right, the line that says

chknewarg=`grep ro.product.version /tmp/tmp-prop |cut -d"=" -f2`

is cutting the line that was taken out or modified by sed, or added by the grep command if it didn't exist, and it puts that line at the end of the original build.prop? I could just have this same script 10 times if I wanted to make 10 prop edits and all would be at the end of the original build.prop?

I plan on making a backup of the original build.prop in the script before doing any of this, I just want to make sure that I understand exactly what the outcome is(and this is all just trying to learn anyways, so I am trying to breakdown the commands to understand which line is doing what)..

And thanks for the reply, I'm trying to keep it simple, but I also want to do this as safely as possible too :) if this goes right, this might end up modifying many phones, and I don't want to screw up any of them!

EDIT: and is there a way I can test this on my pc before trying it on the phone? I would think there is a way to run the script on my pc with a test build.prop to make sure it makes the expected changes- THIS would be very helpful in getting the script perfect!
[Android] lithid-cm:
test it with this:

script

#!/bin/bash

file=$HOME/build.prop
tmpf=/tmp/tmp-prop
line=ro.product.version
arg="Cool ass rom bro!"

oldarg=`grep $line $file |cut -d"=" -f2`
sed "s/$line=.*/$line=${arg}/g" $file > $tmpf

chknewarg=`grep $line $tmpf |cut -d"=" -f2`
if [ "$chknewarg" = "$arg" ]; then
mv $tmpf $file
echo "File edited"
else
rm $tmpf
echo "Expected $arg, got $chknewarg instead"
exit 1
fi

exit 0

$HOME/build.prop

ro.product.version=Old Rom Name
ro.generic.type=ForSure
[Android] tommytomatoe:
Btw. Do you plan on running this script from Android or from Linux?
[Android] lithid-cm:
Yes, it does matter if your running from the linux OS or android. My example was more edited for him to test locally. There will need to be a few changes before he can run this via android. Plus he should think about getting his own busybox binary to run from, that way he knows that the version he has would work for him.
[Android] tommytomatoe:
Yeah I just wanted it to be clear for him. Since your sample script has /bin/bash I didn't want OP to be confused at why it didn't work :-)

And definitely as lithid said you should build your own busybox so you know what all the applets are and what arguments they can receive.

If you need one I have one built with all features enabled. (v1.9.4) I need to download latest source.
[Android] KnowledgeBroker:
Well, I decided that I can try testing with script manager, the goal is to have an updater-script run this script to make a backup then the modifications to the build.prop that I need. I modified your last example to this

#!/bin/bash

file=/system/build.prop
tmpf=/tmp/tmp-prop
line=ro.product.version
arg="Cool ass rom bro!"

oldarg=`grep $line $file |cut -d"=" -f2`
sed "s/$line=.*/$line=${arg}/g" $file > $tmpf

chknewarg=`grep $line $tmpf |cut -d"=" -f2`
if [ "$chknewarg" = "$arg" ]; then
mv $tmpf $file
echo "File edited"
else
rm $tmpf
echo "Expected $arg, got $chknewarg instead"
exit 1
fi

exit 0

and I get a

failed on '/tmp/tmp-prop' - cross-device link
File edited

And yes I am running it as root.

But I imagine it is because commands in the script aren't using busybox? The final update already has the busybox binary to run from that SHOULD work - but I'll gladly take an updated one!

So for testing with script manager(or even in my flashable) what changes do I need to make? I figured I'd ask before I try flashing this..

EDIT: I did some googling, the only reason it didn't work with Script manager had to do with the mv command, I changed it to copy, and it executed beautifully.. since it deletes the tmp file anyways, shouldn't be an issue right?

Edit2: This is where my noobiness with scripts come in(especially when you involve if/then or variable statements)

I am trying to create probably 15 build.prop edits, I am sure there is just an error in the formatting(or worse), but I get a

when I try to add the next build.prop edit:
[Android] tommytomatoe:
Change #/bin/bash at the top to #/system/bin/sh

That was what my previous comment was referring to
[Android] KnowledgeBroker:
Noted. I just realized this script doesn't create the line if the line isn't found.. how do I fix that?

For example this:

#!/sbin/sh

file=/system/build.prop
tmpf=/sdcard/tmp/tmp-prop
line=ro.ril.gprsclass
arg="12"

oldarg=`busybox grep $line $file |cut -d"=" -f2`
sed "s/$line=.*/$line=${arg}/g" $file > $tmpf

chknewarg=`grep $line $tmpf |cut -d"=" -f2`
if [ "$chknewarg" = "$arg" ]; then
cp $tmpf $file
echo "File edited"
else
rm $tmpf
echo "Expected $arg, got $chknewarg instead"
exit 1
fi

exit 0

Gives me "Expected 12, got instead"

so how do I make sure to insert the line if it isn't actually there? People rolling with stock won't have many of the tweaks I am trying to modify- I want to make sure they are covered(without possibly duplicating script)
[Android] lithid-cm:
#/system/bin/sh

# Definitions
file=/system/build.prop
tmpf=/tmp/tmp-prop
line_list="ro.product.version=New ro.ril.gprsclass=12"

# Function to get args as needed for loop
getargs() {

par=$1
line=`echo $par |cut -d"=" -f1`
arg=`echo $par |cut -d"=" -f2`

}

# Loop to make all changes in line_list
for x in $line_lst; do

# Get all needed arguments
getargs $x

# Write this change to a tmp file to check on it
oldarg=`grep $line $file |cut -d"=" -f2`
sed "s/$line=.*/$line=${arg}/g" $file > $tmpf

# Check if the change was made
chknewarg=`grep $line $tmpf |cut -d"=" -f2`
if [ "$chknewarg" = "$arg" ]; then
cp $tmpf $file

if [ -f $tmpf ]; then
rm $tmpf
fi

echo "File edited"
else
if [ -f $tmpf ]; then
rm $tmpf
fi

echo "Expected $arg, got $chknewarg instead"
exit 1
fi

# If it doesn't exist at all append it to the file
chkexists=`grep -c $line $file`
if [ $chkexists -eq 0 ]; then
echo "$x" >> $file
fi
done

exit 0
[Android] KnowledgeBroker:
Alright, I got some stuff to do now so I won't be able to play with it for a while, but extra thanks for including the #reasons for the lines, with that I will hopefully be able to get it working AND learn more about what it is I am doing..

Of course the frustrating part is that as a CONCEPT this seems so simple, and I was a little scared it would get fairly complicated to do it.. but this isn't as bad as I thought it would be. Thumbs up for the help!
[Android] KnowledgeBroker:
Alright, let me ask you this, because I haven't decided yet what the final choice will be as far as future updates..

What if I did this - my original release has lines like this in the updater script:

The add_to_buildprop.sh script could be changed to a different script(to avoid duplicates), and each tweak.sh script would modify or add ONE line of code in the build.prop.

Calling up separate scripts, each modifying the build.prop like the code in post #14(except with code added to add a line when none exists)..

Then in the next update I add NEW tweaks - this way if someone is new to the "rom" they would flash the first update, then the second one - or I could offer a combined update for new users and old alike(as long as the scripts were written to modify or add missing lines in the build.prop it wouldn't create duplicate lines, and everything they've already flashed wouldn't duplicate)?

I'm just seeing how complicated the script in the last post would get as I continue to add more and more updates to the same script, rather than create more small flashable scripts and modifying the updater script to flash them? Does this make sense?

I am guessing this is why people put out full "roms" - but I am trying to find a way to accomplish the same task for EVERYONE - as long as I pick the right modifications(like specific to the ICS build) it WILL work on ANY rom..

If my logic makes sense, then what lines would I add to the code in post #14 to add lines when they don't already exist? I'm sorry if I am being a pain, but it seems easier to flash 14 scripts than make one incredibly complex script that makes 14 changes..(especially when you consider future updates)

Thanks in advance

SBD
[Android] lithid-cm:
The script I gave you already does everything. Just add edits to line_list
[Android] KnowledgeBroker:
Alright, I just wasn't sure if this code was better for a one time flashable since I intended to put out future updates.. I'm gonna play with it now, and thanks again for taking the time to put so much work into it!(it is quite informative, and most of this is me trying to learn, to break into the next level of work).

Thanks again!
[Android] tommytomatoe:
Oh also, in the script make sure you use busybox to mount system with rw (busybox mount -o remount,rw /system). It is not enough most of the time to Mont system in updater-script
[Android Themes] django23:
Anyone knows if there's a way to change the sms skin with a mod?

I have ICS 4.0.3 on Samsung Galaxy S2.

I'm using Vertemus theme mod but i wont change the sms theme.. could you help me?

Thanks!
[Android Themes] d_phekt:
Check here: http://rootzwiki.com/topic/19845-how-to-theme-your-mms-a-step-by-step-guide/

It gives pretty detailed instructions on how to theme your mms.
[Android Themes] django23:
Thank you! But there'snt anything of already done? XD

Atm i'm busy with my work so i can't make it myself... i want change the sms skin like in the old Vertemus ICS style (4.2)... it was more clear and i prefer it!
[Galaxy S III Themes and Apps] Baldilocks:
Check the link(s) in my siggy. I've been adding them for a while. These will be great for showing off that HD screen! :)

Can't wait until mine gets here.
[Galaxy S III Themes and Apps] camspy:
The screen size is 720x1280, so do we need 1440x1280 because of wallpapers could be seen in landscape view too, right?
[Galaxy S III Themes and Apps] Baldilocks:
It's because wallpapers scrolls as you move through homescreens.
[Galaxy S III Themes and Apps] krabman:
lol Not if I can help it, I never did like scrolling wallpaper and always disable it.
[Galaxy S III Themes and Apps] Baldilocks:
Ahh, not me. I like the 3D effect it gives. :)
[Galaxy S III Themes and Apps] <<Raj$>>:
Thanks mate, all the pictures look awesome.

I do use wallpaper scrolling and I love it. :D:D:D:D
[Galaxy S III Themes and Apps] zeitgeb3r:
Also try WallbaseHD.
[Galaxy S III Themes and Apps] Xplorah:
cant wait to put a beautiful hd pic on that big screen
[Galaxy S III Themes and Apps] mbsky723:
Too beautiful
[Galaxy S III Themes and Apps] Baldilocks:
Anxiously awaiting mine as well. :)
[Galaxy S III Themes and Apps] madushan92:
can't u post the link? sigi is not available in the mobile app :)

Sent from ICS333
[Galaxy S III Themes and Apps] Baldilocks:
Sure. :)

http://euphoricarythmia.com/showthread.php?t=31040
[Galaxy S III Themes and Apps] Baldilocks:
I have them zipped up finally. Here is a direct link: http://www.euphoricarythmia.com/HDWallpaper.zip

I'll keep updating the .zip file and the thread(s) regularly.
[Galaxy S III Themes and Apps] leviackerman91:
Hi Baldilocks! I really like your works and i have one request: can you please adjust the walls contained in the .rar? They have different resolution and need to be converted to 1440*1280

Thanks in advance :D
[Galaxy S III Themes and Apps] Baldilocks:
Here you go.
[Galaxy S III Themes and Apps] eizyark:
anyone having problems setting the wallpapers? for me it won't let me set the wallpaper without cropping it.. anyone got any ideas how to work around it?
[Galaxy S III Themes and Apps] Baldilocks:
Screenshots? Which are you trying to set? Home screen or Lock screen wallpaper?

Sent from my Galaxy S II