yashsingh1/xdaforums huggingface dataset:
[HTC Titan] SuperSport:
Is there a Registry Editor for the Titan yet? If so, I wonder if you can change the 4G to what you want it to be like you can on the Samsung Focus? On the Focus, you have the option to change each individual network to show whatever you want it to show.

HKEY_LOCAL_MACHINE\Software\Microsoft\Connectivity \CellularUx\DataConnectionIcon
[HTC Titan] SuperSport:
6G Speeds on Samsung Focus

Using ATT's methods, I've modified my Samsung Focus to receive 6G Speeds. Yes, this is the SAME method ATT uses to get 4G speeds...

They just edit the Registry like I did.
[Android Apps and Games] omr911:
New MIUI Music App.

Rename to MiuiMusic.apk then copy to /system/app.

If not working then Clear data/Cache.

In case if you don't have it:

http://www.mediafire.com/download.php?9wd1ir4ubqpy49x
[Android Apps and Games] mdandollah:
is this the new MIUI music player 4.0?
[Android Apps and Games] omr911:
No its v3.0 latest...
[Android Apps and Games] houruoha:
How Do I Insert Lyrics manually!

where is MIUI Music Player Lyrics Database?

:)
[Android Apps and Games] ROYandhika:
Thx bray :D
[Android Apps and Games] tbaker077:
Kind of an old thread, but what is the latest version out now? I think there is version of MIUI out for Galaxy Nexus/ICS, did that come with V3, or is like some newer build? Thanks.
[Android Apps and Games] yken:
can someone mod this? Remove online music, remove up and above bars, they are

very thick, icons are very old looking...
[Android Apps and Games] Fenkosmo:
This is awesome braw.
[Android Apps and Games] chriskinetic:
thank you, installing now ! ive been looking for a good music player that can navigate specific folders :)
[Android Apps and Games] iSxy:
hi..i present yo u modded miui music player to beats audio style.

install as usual apk.

tested on my Samsung Galaxy Ace with CM7.2.

- disable display album in settings to show beats audio logo.

http://i.imgur.com/ot5Ge.png

Download- http://db.tt/jEZQ7c1T

Thanks To MicroLizard
[Android Apps and Games] chriskinetic:
First impressions of MIUI Music Player v3.0 are very good , nice simple GUI,ability to shuffle individual folders is fantastic !

one thing that id really love to see in this app is a horizontal display mode for tablets ? or is that in a setting ive missed ?

apart from that it seems very good so far

thank you :)
[Android Apps and Games] malnav:
Does this player show lyric of song ?:D
[Android Apps and Games] emjimadhu:
do we have to install or push to system/app???
[Android Apps and Games] tbaker077:
A bit ot but is MIUI Muisc 4.0 out yet, and if so where can I download it?
[Android Apps and Games] Spex:
search forum a bit

and its only for ics or cm9
[Android Apps and Games] droidface:
how to insert lyrics manually?

anyone knows?
[Android Apps and Games] j-skeelz:
What the music player? i tried it and it works for me :D

---------- Post added at 09:31 PM ---------- Previous post was at 09:30 PM ----------

Wheres the widget? in v3 we have the widget :(

---------- Post added at 09:35 PM ---------- Previous post was at 09:31 PM ----------

i dont know about this system/app but i tried putting it in Android/data and installing it from there ......... and it worked :)
[Android Apps and Games] rkharat98:
MIUI Music App

This is the link for stock MIUI Music Player app....

Can anyone port this app.. So that we can install it as User app...

https://www.dropbox.com/s/v0lsgclpjiu4ryw/MIUIMusic.apk

Its the latest one from the ROM which was for Canvas HD A116...

This one is way different than the one in this post.....

This one is from the latest 4.1.13 MIUI ROM for Canvas HD....
[Android Apps and Games] Dhiraj:
Link is dead.
[Android Apps and Games] rkharat98:
https://www.dropbox.com/s/v0lsgclpjiu4ryw/MIUIMusic.apk

Actually i changed the folders, that was the reason....

This is valid
[Galaxy S II Q&A, Help & Troubleshooting] fdbailes:
need some help over here

Phone Info:

PDA:I9100UHKI2

PHONE:I9100UHKI1

CSC:I9100TPAKI2

GINGERBREAD 2.3.4 AND LAST SIYAH KERNEL

i want to stay on stock firmwares, but i want jkay mod.

last version is 13.2 for xwkk5 (2.3.6)

can i update to the XWKK5 from frankestein? (2.3.6)

and then flash my csc from the original stock firmware to have my apn setting or enter them manually.

maybe that is not possible and will brick the phone, so let me know if i can, with custom rom i have made it but i haven´t found one i like and i think is not the same for stock roms.

So i will stay on stock and i want to know if is possible to get to the last gingerbread firmware from mine stock rom!
[Galaxy S II Q&A, Help & Troubleshooting] SaneinOne:
I would do a full wipe including both cache through recovery mode and then flash away!
[Galaxy S II Q&A, Help & Troubleshooting] JJEgan:
i want to stay on stock firmwares, but i want jkay mod.

last version is 13.2 for xwkk5 (2.3.6)

can i update to the XWKK5 from frankestein? (2.3.6)

and then flash my csc from the original stock firmware to have my apn setting or enter them manually.

Yes you can flash a separate CSC or copy and replace the CSC files on the phone or rom .

Thats for stock or custom roms .

So i will stay on stock and i want to know if is possible to get to the last gingerbread firmware from mine stock rom

If its been released for your product code its on Kies .

Or via the stock rom thread .

jje
[Sony Tablet S] guyenxda000:
Hello guys, I got my tablet s today and I would say it is next best thing after Ipad. Now needs rooting, I looked around here but no info and also trying to find if there is windows drv available. I am doing development work on Eclipse with android SDK which I can use my samsung to upload and test. However, currently, the tablet S does not show up in "adb devices". Is it possible?
[Sony Tablet S] condi:
Take a look into "Tablet S Android Development" - there is all the info you need.
[Sony Tablet S] Lunat1c:
If u mean can u map a network drive, yes u can. Just get urself a file explorer like ES Filemanager or FileExpert. Then search ur local network and link it permanently.
[AT&T Samsung Galaxy S II SGH-I777] Fahimxda:
Hi Guys,

I am using MIUI rom 2.11.26 in my sgh i777 the problem is when i record videos outdoor the recording is perfect but when i record it in door under lights i see there is a black type of waves across the screen and it records with it any idea to caliberate the sensor.
[AT&T Samsung Galaxy S II SGH-I777] chibixzero:
that's a screen issue I use to get that after my third exchange the issue is minimal.
[AT&T Samsung Galaxy S II SGH-I777] Fahimxda:
Hi Could you let me know did you ever get over this problem. Is there any possiblity through software to get over it.
[G1 Q&A, Help & Troubleshooting] bb46970:
Hi,

I have a Google G1. My carrier is T-Mobile. I am using a stock Android ROM 1.6, build number DMD64. I rooted the phone with SuperOneClick. I installed BusyBox. I installed an OpenVPN installer. I want to use OpenVPN to connect to a Watchguard, shared key, IPSEC VPN. Where can I get a tun.ko for my phone to use OpenVPN.

Thanks,

David
[TouchPad General] onephattai:
Everytime when I tried to install flash, the browser took me to an empty mobile setting screen. :confused:
[TouchPad General] Leoisright:
you need to install it from Market. Once it's done it is working fine.
[Android] lotherius:
okay nobody had any suggestions...

Now I'm stumped....

Is there any way to check that a file EXISTS without using an assert - I do not want the install to ABORT if the file does not exist.... currently, even trying to use read_file will cause an abort if the file does not exist. This of course means I can't use the method of checking for tsugi.txt that I thought I could...

EDIT:.... okay, looks like I'll have to use a shell script to do the dirty work... have ifelse act upon the exit code of the shell script... and I'm hoping run_program is actually smart enough to pass the return code.... Who in the world thought that edify scripting was sufficient?

EDIT2: Still NOT working.... either my shell scripting is worse than I think, or run_program does NOT actually pass the result back to the calling function, thus I *cannot* do this:

ifelse	( run_program("/tmp/tsugicheck.sh"), ui_print("result 1"), ui_print("result 2) )

Looks like I can either move more updater-script functions out to the shell script... or use the shell script to set properties that can then be checked by edify scripting...
[Android] IlluminatedOne:
Hey,

I don't really have suggestions for you but I am really interested in this kind of script. If works, I too would love to have this thing in my ROM.

BTW, instead of reading a txt file which might not be there and crashing the script, how about reading the build.prop??

Build.prop is there in every system and usually every developers modifies it before releasing his/her ROM build.
[Android] lotherius:
The problem with Build.prop is I'm not sure if getprop can deal with substrings... That is, if the version is "Tsugi 11-23-11-1048" and another version is "Tsugi 11-25-11-0430" to only match on the Tsugi portion. I did add a developer ID which doesn't vary between versions, but I only did that on the very last release.

I was thinking maybe of using the shell script to build a temporary properties file that describes the current install - which kernel, addons, etc - and then edify can use getprop on THAT file to match the current install. And, of course, by knowing which kernel is installed, I know if I can safely install the ext3 kernel, or if they require an ext4 kernel, etc.

I've seen another updater script that shells out and uses the actual filename of the update zip to modify the installation. that seems a little complicated to me, personally... since it assumes the user is going to name the file ahead of time. I want the updater to figure things out on its own.
[Android] cdesai:
Calling a shell script from the updater-script would be the best way, you could check for a file/string, if it exists, echo one to a temp file, and then the updater-script checks if the file is there, if it is, it installs the rom, if it isnt, then it aborts and prints goodbye

or the easiest way

Call a shell script from the updater-script, and let it do all the work, and recovery show output from the script too!
[Android] lotherius:
Worked out a bit of a compromise, and I back up the existing build.prop to the tmp partition on the phone using a shell script, then I can use file_getprop on it as needed, even after the /system partition is wiped. Once I determine if a new kernel needs to be flashed or not, I restore the old wireless.ko (which is linked to kernel build on a g2x) back to the system directory if necessary. All works out pretty smoothly.

I am surprised more people don't use ifelse and getprop in their updater scripts. If anyone wants to steal the work I've done in a more intelligent update script, I have rolled it out on the current version of my Rom here: http://xdaforums.com/showthread.php?t=1358724 ... anyone can feel free to use bits and pieces of the updater script to make their updates a little smarter.

The only catch so far, is if someone already has my rom installed, and wants to revert to the ext3 kernel, they have to flash a scrubber (which i've provided) which reformats the partitions, since you can't revert from ext4 to ext3 without a wipe.. and the whole purpose of the intelligent updater was to avoid putting an ext3 kernel onto an ext4 install...

In theory, the shell script can detect all sorts of things about the current install and create a specific properties file that can be checked by the edify script to modify the new installation, but I haven't implemented that much intelligence.
[Android] IlluminatedOne:
Thanks. I am gonna look into your Intelligent Script. All I need is to figure out a simple thing, that is to wipe or not. Will get back here if I have any questions.
[Android] lotherius:
Btw, the 12-06 version had a bug in the shell script... if the user wiped /system manually before running the script, there would be no build.prop...

EDIT:

Copied the info I posted here up to the first post and made this a HowTo... :)
[Android] insink71:
Nice How To

I've seen various installer methods coming from the g2 forums. Kind of liked the meXdroid method. This is a wonderful guide though. Was going to try to make an installer [like meX but different] that installed d2sd and deletes a2sd if cued [a2sd default] for wildfire s users. Severe memory challenges with that device. Wish me luck and any pointers are more than welcome.

Rob
[Android] lotherius:
The more you can move off to shell scripts, the more power you have during the install....

Unfortunately, I am no good with shell scripting in any detail, and even worse (hopeless) at string operations... A person good at shell scripting could do a lot more.

The basic lesson is that Edify is way too simple, you have to run shell scripts to do a lot of ops.

The one thing I couldn't find a way to do that I would've liked was an interactive install. I saw that ages ago back when I had a G1, but it depended on the keyboard. Maybe with the new touch-enabled recoveries it will be possible, but I suspect it'll be a while (if ever) before we see that built for "older" devices.
[Android] Phil3759:
Hi,

I read your post and your script. Very helpful to learn edify possibilities

I would like to ask a question:

How can I assert that a given file (/path/File_Check.do) exists using edify with assert command?

Also, how can I do it in an external script that will cause the update.zip to stop or continue depending on answer?

Any help would be appreciated
[Android] fbatti73:
In edify, I don't know,

but you can use a script.

In your updater-script you can copy one files (with only 1 string "ro.chiave=0") and one script in /tmp and run the script (somthing like that)

package_extract_file("test/test.prop", "/tmp/test.prop");
package_extract_file("test/script1", "/tmp/script1");
set_perm(0, 0, 0777, "/tmp/script1");
set_perm(0, 0, 0777, "/tmp/test.prop");
run_program("/tmp/script1");

the script

#!/system/bin/sh

CHKRIP=0

EXTRIP="/path/File_Check.do"
PROP_PATH="/tmp/test.prop"

if [ -f $EXTRIP ]; then
echo "Find file"
CHKRIP=1
fi

if [ $CHKRIP -eq 1 ]; then
#Update test.prop
echo "ro.chiave=1" > $PROP_PATH
fi

Now in the updater-script you can test the ro.chiave value like that

ifelse
(
file_getprop("/tmp/test.prop", ro.chiave) == "1",
(
ui_print("DO SOMTHING");
),

(
ui_print("FILE NOT FOUND");
)
);
run_program("/sbin/reboot");
run_program("/xbin/reboot");

This is only an idea

Ciaooooo
[Android] Phil3759:
Thank you a lot

I would run assert on file_getprop to avoid auto reboot

Thank you again. Thought it was possible in edify, but yes, easier in script
[Android] osm0sis:
That last idea is the only thing I can think of that would work:

Have the shell script echo a value out to a tmp file based on whether the file exists and have an ifelse with either a file_getprop or a read_file conditional for the contents.

Edit: Doh, that's exactly what fbatti73 wrote out above. That's what I get for reading the first page and skimming the 2nd :p

Gave it another think though, this MIGHT work.. :) :

ifelse(run_program("/sbin/busybox", "[", "-f", "/system/etc/FILETOTEST", "]", "&&", "/sbin/busybox", "true"),
(ui_print("FILE EXISTS");
),
(
ui_print("FILE DOES NOT EXIST");
)
);

Edit: Tried it out for my new Nexus Louder installer and the above doesn't work, though it should, just edify being idiotic I guess. Resorted to the following:

ui_print("Checking for previous install...");
package_extract_file("instchk.sh", "/tmp/instchk.sh");
set_perm(0, 0, 0755, "/tmp/instchk.sh");
run_program("/tmp/instchk.sh");
ifelse(file_getprop("/tmp/insttest", "installed") == "1",
(ui_print("");
ui_print("Nexus Louder is already installed.");
ui_print("");
ui_print("To upgrade or repatch please run");
ui_print("revert for version: ", file_getprop("/system/etc/.nexuslouder", "installed.version"), ".");
ui_print("");
delete("/tmp/instchk.sh", "/tmp/insttest");
ui_print("Script will now exit...");
ui_print("");
unmount("/system");
unmount("/data");
abort();
),
(package_extract_file(".nexuslouder", "/system/etc/.nexuslouder");
delete("/tmp/instchk.sh", "/tmp/insttest");
)
);

And the instchk.sh is as follows:

#!/system/bin/sh

# check for the install file and write a value for edify to check
[ -f /system/etc/.nexuslouder ] && echo installed=1 > /tmp/insttest || echo installed=0 > /tmp/insttest

Pretty much the same as fbatti73, but perhaps streamlined a little. Hope my trial and error helps someone in the future. Cheers. ;)
[Android] Tungstwenty:
If you want to chain commands with "&&", you'll need to invoke the "sh" binary since it's the shell that knows how to handle that. The "[" busybox applet will just receive it as an additional argument and not know what to do with it.

This will work:

ifelse(run_program("/system/bin/sh", "-c", "/sbin/busybox [ -f /system/etc/FILETOTEST ] && /sbin/busybox true"), ...

sh requires exactly 2 arguments: "-c" and another string with the command line as typed on the interactive shell.

To simplify the particular scenario you're targeting, you can simply run the normal test (or "[" ) command and use == to validate the exit code:

ifelse(run_program("/system/bin/sh", "-c", "test -f /system/etc/FILETOTEST") == 0, ...

The sh binary understands the built-in "test" command (at least on my device), so this will work even without using busybox. (Just the toolbox-bundled sh).
[Android] KreNtal:
I know that this is an old thread but I'm just trying to check with a script if a file already exists or not.

This is the code I am using but without success:

ifelse(run_program("/system/bin/sh", "-c", "test -e /system/priv-app/LGSystemUI/LGSystemUI.apk_orig") == 0,
(
ui_print("BACKUP ALREADY EXISTS");
),
(
ui_print("BACKUP DOES NOT EXIST");
ui_print("Backing up original...");
run_program("/sbin/busybox", "mv", "/system/priv-app/LGSystemUI/LGSystemUI.apk", "/system/priv-app/LGSystemUI/LGSystemUI.apk_orig");
)
);

Can anybody please help me?
[Android] crazymister:
Yes i can, but you'll have to wait until I'm at home later today.

I used to do the exact same thing, though its a long time ago so I'll have to take a closer look.
[Android] KreNtal:
You will definitely make my day. I'll wait patiently.
[Android] crazymister:
you used above code, but i think you forgot some --> "" <--

try this line instead:

run_program("/system/bin/sh", "-c", "test -e /system/priv-app/LGSystemUI/LGSystemUI.apk_orig") == "0",

or in complete code:

ifelse(
run_program("/system/bin/sh", "-c", "test -e /system/priv-app/LGSystemUI/LGSystemUI.apk_orig") == "0",
(
ui_print("BACKUP ALREADY EXISTS");
),
(
ui_print("BACKUP DOES NOT EXIST");
ui_print("Backing up original...");
run_program("/sbin/busybox", "mv", "/system/priv-app/LGSystemUI/LGSystemUI.apk", "/system/priv-app/LGSystemUI/LGSystemUI.apk_orig");
)
);
[Android] KreNtal:
Still doesn't work, it always goes to the false condition even if the file already exists...
[Android] crazymister:
ok let's try this one.

use this as your edify script:

ui_print("Checking for previous backup...");
package_extract_file("chkbckp.sh", "/tmp/chkbckp.sh");
set_perm(0, 0, 0755, "/tmp/chkbckp.sh");
run_program("/tmp/chkbckp.sh");
ifelse(file_getprop("/tmp/check", "installed") == "1",
(ui_print("");
ui_print("Backup already exists");
delete("/tmp/chkbckp.sh", "/tmp/check");
),
run_program("/sbin/busybox", "mv", "/system/priv-app/LGSystemUI/LGSystemUI.apk", "/system/priv-app/LGSystemUI/LGSystemUI.apk_orig");
delete("/tmp/chkbckp.sh", "/tmp/check");
)
);

and make another file, named chkbckp.sh and place the following code in it.

put this file in the root of your update.zip

(and make sure you put an (extra) blank line at the end)

#!/system/bin/sh

# check for the install file and write a value for edify to check
[ -f /system/priv-app/LGSystemUI/LGSystemUI.apk_orig ] && echo check=1 > /tmp/check || echo check=0 > /tmp/check

=====================================================================================================

and if above code still fails you could add the following code:

ui_print("Script will now exit...");
ui_print("");
unmount("/system");
unmount("/data");
abort();

making it:

ui_print("Checking for previous backup...");
package_extract_file("chkbckp.sh", "/tmp/chkbckp.sh");
set_perm(0, 0, 0755, "/tmp/chkbckp.sh");
run_program("/tmp/chkbckp.sh");
ifelse(file_getprop("/tmp/check", "installed") == "1",
(ui_print("");
ui_print("Backup already exists");
delete("/tmp/chkbckp.sh", "/tmp/check");
ui_print("Script will now exit...");
ui_print("");
unmount("/system");
unmount("/data");
abort();
),
run_program("/sbin/busybox", "mv", "/system/priv-app/LGSystemUI/LGSystemUI.apk", "/system/priv-app/LGSystemUI/LGSystemUI.apk_orig");
delete("/tmp/chkbckp.sh", "/tmp/check");
)
);
[Android] KreNtal:
If I try to flash this one it gives me the error "E:Error executing updater binary in zip"

I'm attaching the log. I think this has to do with the configuration of my system or maybe it's the updater binary. Don't know what to think...
[Android] crazymister:
I'll look at it again at the end of the day.

It looks as if it can't find the file check the script should create.

And that's where it fails
[Android] KreNtal:
Tried at least 50 times changing 1 thing everytime, the problem seems that the script cannot write to the file. Maybe it's the Rom or don't know why. I give up.

EDIT: Found a solution finally: I used this code

ifelse(run_program("/system/bin/sh", "-c", "test -f /FILETOTEST") == 0

But instead of /system/bin/sh I called the function from /sbin/sh and everything is working as expected now. Thank you for your support [MENTION=2965774]crazymister[/MENTION]
[Android] crazymister:
Good to hear that you found a solution, sorry for my late reaction but i had some computer problems so i couldn't answer
[Android] KreNtal:
No problem man and thanks for everything
[Android] PratyushJayachandran:
Since it took me over an hour to find this using a search engine and countless hours were wasted trying to find the EDIFY script that works, I am tagging this with some helpful tags.

Tags: find, sbin/sh, find a file using edify, find a file using updater-script, how to check if a file exists from updater-script
[Samsung Galaxy Mini] venkatarajeev131:
hai friend

i had updated new cyanogenmod 7.2.0 RC-2 .

can anyone tell how to overclock it?
[Samsung Galaxy Mini] stumpyz9:
Download a kernel that supports overclocking and use setcpu
[Samsung Galaxy Mini] venkatarajeev131:
do this overclock kernal works for cyanogenmod 7.2.0 RC-2 ?

http://xdaforums.com/showthread.php?t=1344440
[Samsung Galaxy Mini] stumpyz9:
Yes that kernel will work
[Samsung Galaxy Mini] venkatarajeev131:
hooooooooooo............

but some kernal are not working for cm 7.2.0 rc 1 ,. they are showing some error message
[Samsung Galaxy Mini] stumpyz9:
Well you wont have to worry, your running rc2
[Samsung Galaxy Mini] venkatarajeev131:
may be there is a chance .............
[Samsung Galaxy Mini] dheeraj (dhlalit11):
you can overclock the cyanogenmod rom version by tj style and above it

it can be oc'd by partitioning you SD card and movind dalvik cache to SD card

to partition your SD card use cwm recovery (partitioning your SD card will format it completely so before doing it just copy your data to a cloud storage service or on a computer)

after partitioning download smart boot kernel by going to this link www*mediafire*com/?ak9z1axkz19dcdp (change * with . )

go to recovery mod and install it there without partitioning it will not work also create a nandroid backup before doing it just for safety reasons

---------- Post added at 12:08 PM ---------- Previous post was at 12:00 PM ----------

after partitioning your sdcard you will need this script to move app and cache to SD card

link:- www*darktremor*info/files/a2sd/dtapps2sd-2.7.5.3-beta04-signed.zip
[Samsung Galaxy Mini] kecikhebat:
i'm using squadzone cm7.2 and using his 782 oc kernel..

Sent from public phone using 10cents.
[Samsung Galaxy Mini] yagya:
You can over RC2 as stated here http://yagyagaire.blogspot.com/2011/11/how-to-overclock-latest-cyanogen-mod-7.html

:)
[Samsung Galaxy Mini] fueart:
Its better to use No-Frills. you can set the governors