yashsingh1/xdaforums huggingface dataset:
[T-Mobile LG G2x] kdunn1994:
Trust me I only put on my live wallpaper when I'm showing off. And this is exactly what I'm saying the battery should be optimized from the get go.
[T-Mobile LG G2x] LordButtersI:
I know that iPhones are (or at least were) underclocked out of the box so I'm sure that has something to do with it.

Keep your phone permanently UC'd to, say, 800MHz and I'm sure you'll see an improvement. Of course, underclocking to 200 when the screen is off is even more effective and doesn't hamper your performance when it matters.
[T-Mobile LG G2x] kdunn1994:
Yeah I have set a couple of profiles including screen off phone at 75, 50 & 15% each one a little bit slower, and the performance decrease is actually not that bad.
[T-Mobile LG G2x] kdunn1994:
Battery at 9% with 15 hours 8min, definitely better with set CPU profiles.
[Captivate Q&A, Help & Troubleshooting] justin860:
I keep recieving a blank text with the name unknown in the name/number field... any ideas? And no its not a contact in my phone with that name
[HTC Aria Q&A, Help & Troubleshooting] Freemantig:
When I has cm6 the trailer engine was more real and clear. With cm7 is sounds like a pos robot woman.? What changed?
[HTC Aria Q&A, Help & Troubleshooting] drumist:
What is your "default engine" set to in Settings > Voice input & output > Text-to-speech settings?

Edit: Actually, what app are you using TTS in? Apps like Google Translate will offload the TTS to Google's servers which gives a realistic voice.
[HTC Aria Q&A, Help & Troubleshooting] Freemantig:
Google navigation. My default is pico tts.
[HTC Aria Q&A, Help & Troubleshooting] Freemantig:
Also sorry for the typos. I haven't set up the new SwiftKey and i didn't even notice
[HTC Aria Q&A, Help & Troubleshooting] tedkunich:
Pico sucks... Get SVOX from the market and pony up a few bucks for one of the voices. Well worth it.

T
[HTC Aria Q&A, Help & Troubleshooting] drumist:
Ah, OK. What you were probably doing in CM6 was running Google navigation without text to speech, which means your navigation was using pre-recorded generic messages like "turn left" instead of saying street names out loud like "turn left on to main street". The pre-recorded messages were of a person actually saying it so it sounds good. Pico TTS is tolerable but definitely not human sounding.

Just to clarify, Pico TSS had to be manually downloaded in CM6 but is now included in CM7, hence why you have it.

If you have S-OFF you can probably try to uninstall it manually. I'm not sure if it's enough to just remove it from the app folder or if you need to do anything else, but it should be possible. If you don't have S-OFF you can reflash a modified CM7 zip with Pico removed.

Alternatively, like tedkunich said, you can get another text to speech (though there aren't any good ones that are free) with a better sounding voice.
[HTC Aria Q&A, Help & Troubleshooting] Freemantig:
Svox works awesome thanks everyone.
[HTC Aria Q&A, Help & Troubleshooting] CallMeAria:
+1. Hearing Victoria's (uk) voice every morning just makes my day ;)

Sent from my cm7 Aria.
[Galaxy S I9000 General] sarauskas:
Howdy!

(sorry... guess Stampede is getting to me...)

I am looking for a Bell Vibrant (Samsung Galaxy S i9000M) expert in the Calgary AB area.

I have successfully rooted, installed custom ROMs and then "bricked" two (yes, 2) i9000M phones. Both times, I "bricked" when using ODIN.

Yes, I had researched how to use ODIN before using it... trading weeks of my "life" for the said pearls of ODIN wisodm ;). I've obviously missed something important, have very bad karma, or I am just an idiot...

After "ODINing", both phones ended-up looping at the SGS Logo. I have tried re-flashing via ODIN many times, always with the same result. I can get both phones into "download" mode (i.e. the yellow triangle screen).

Anyways, I am hoping to find a local expert who is willing to meet me somewhere (library???), look at my phones and confirm:

1. My SD cards have crashed; OR

2. I am a uber noob idiot;

I am also hoping that if #2 is proven the case whether the charitable expert individual might suggest a way and/or help me to fix these expensive plastic paper weights.

So, any charitable local experts willing to help-out an unlucky moron?

t.
[Galaxy S I9000 General] BottleB:
What version are you flashing via odin?
[Galaxy S I9000 General] graison:
you'll most likely have to take them in for warranty repair
[Galaxy S I9000 General] sarauskas:
@ BottleB:

I tried flashing JH2 (Stock Bell Vibrant ROM???) and 512.pit.

I had original installed CM 7.1 RC1 (via CM wiki method). Everything work awesome.

I decided to try some OC'ing, and flashed the Glitch v10 kernel... with spectacular speed results! Unfortunately, post Glitch flashing, SMS would receive but not send. Researched possible causes and cures for this, could not find any, and decided to revert to stock and try again...

... and here I am.

@graison:

I bought these i9000M's "used" off Kijiji (HATE contracts!). Both worked fine until ODINing.

As such, Bell won't "warranty" these devices (tried with the first one).

I have no problems paying for repairs... if the cost is reasonable. Any ideas/suggestions on the "how's and where's" I can go about trying this?
[Galaxy S I9000 General] urself25:
They most probably had lagfix installed which was not disabled when reflashed to stock. You need to flash the rfs...bin file (i'll upload it later tonight for faster accessing). I found the fix here on xda under a thread on bricked phone.

The lagfix change the filesystem used by the phone. Stock firmware is only compatible with the RFS filesystem. Also, i recommend that you flash KC1 instead oh JH2. Froyo is way better than eclair.
[Galaxy S I9000 General] urself25:
Found the fix

Here is the link http://xdaforums.com/showthread.php?t=984140
[Galaxy S I9000 General] BottleB:
+1

Pretty sure thats the problem. You flashed stock kernel on a EXT4'ed filesystem.
[Galaxy S I9000 General] sarauskas:
@urself25,

Ah-ha... I have a feeling that you are right, and that I did miss something :( CRAP!

I await your upload on bated breath... in the mean time, I will search the million posts for the fix you mentioned.
[Galaxy S I9000 General] sarauskas:
ooops... you beat me to my response.
[Galaxy S I9000 General] urself25:
Tell us how it went when you'll try the RFS fix.
[Galaxy S I9000 General] sarauskas:
Tried the RFS fix as per the instructions in the link.

After rebooting, both phones go into a SGS start-up screen loop.

Downloading ODIN files right now (JVE - Gingerbread???). I will try and reflash and let you know how it goes.
[Galaxy S I9000 General] hansonator:
I'm in Airdrie, don't flash gingerbread! Sell me both phones for $100. Or search for the "trick to unbricking my sgs" thread. It worked for me. Though I am worried that because they were on Eclair firmware, they may be dead if they never got the bootloader update. I repeat, DO NOT FLASH GINGERBREAD!
[Galaxy S I9000 General] xWarMachine04:
try a deodexed KC1 (current firmware for Bell Canada) firmware from [Ramad]

Using ODIN -- use a 512.pit file, re-partition ticked, Bootloader Update (just in case), and put PDA -> PDA, PHONE -> PHONE, etc.

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

IF it takes you to android recovery 2e or 3e (i cant remember), do a factory reset/cache wipe, and even format sd if you want. it SHOULD work (i just did this too and it worked mint.
[Galaxy S I9000 General] sarauskas:
Holy crap! It's near 4:30 a.m., and I FINALLY restored/recovered my two phones! Truth be told, I spent half the night screwing up my phones WAY worse than they were :eek: ... and the second half of the night cleaning up my mess :D

@urself25 & @BottleB - I can't say definitively whether or not your link really helped me any... but it definitely put me on the right path. Thanks a lot boys!

@xWarMachine04 - Thanks for the directions and link! I *kinda* went that route in a round-about-way... I just wished I would have check my post and found your reply 4 hours ago! Regardless, my gratitude.

@hansonator - Thanks but no thanks; for $100, I'd use my bricked phones as door stops. REGARDLESS, I do thank you for your gingerbread warning. I did have problems with gingerbread, and (successfully) shifted to froyo on your recommendation. Thanks dude!

All's well that ends well... ;)

- t.
[Galaxy S I9000 General] urself25:
Most probably the firmware didn't install properly because fo the problem RFS problem. A fresh reinstall of the firmware with bootlader finally fix the problem. Glad everything worked out for you.
[Galaxy S I9000 General] davanw:
I'm in Calgary. But I'm hardly an expert. I think you've gotten further than I have.

So I have nothing to contribute to this thread. I'll see my way out. :D
[Galaxy S I9000 General] BottleB:
Glad u got your phones up and running! Good thing is you probably learned a lot during that night! ;)
[Galaxy S I9000 General] sarauskas:
~~~~~~

Learned a lot? No kidding...

Why is it that the biggest/best lessons always have to be soooo painful???

I must admit that my opinion of ODIN has sure changed; it's a pretty slick piece of software when it works right (i.e. when you have half a clue about what you are doing)!

@urself25 - It wasn't so much a firmware installation problem, as much as the SD card file format (like you suggested in the first place). I kept getting a message along the lines of "can't mount sd; storage not ready... blah blah blah... file format blah blah blah...". I did have to do a complete reinstall (PDA, Phone/Modem, CSC) WITH repartition... and on the second phone, a Bootloader update. Didn't do the repartition in the first place because 95% of the threads out there advise against it. Anyways, my solution was pretty much @xWarMachine04's approach/solution.

Unfortunately, I have developed the "randomly self-invoking" back button problem on the second phone. Fortunately, there seems to be an easy fix for that... but that's what I thought at the beginning of this journey! ;)

Again, thanks everyone!

- t.
[Galaxy S I9000 General] hansonator:
Now if you want to flash gingerbread it should be OK. I only advised against it because the phones were bricked. Good to hear you got it sorted out.
[Galaxy S I9000 General] ordio:
i'm in Calgary too, but i am no expert either... however i have been able to upgrade my phone from froyo (after taking my i9000m to market mall due to the internal card dying back in December), to gingerbread.

First went with Darky's 9.5... then upgraded to 10 and had NO issues with GB. I'm on GB still using the F1 Rom V9 now and love this.

For the OP: Glad to see you were able to fix both of your phones! Congrats... definitely no easy feat!
[Galaxy S II Themes and Apps] sunwee:
Thanks you! finally someone willing to write a tutorial on this. :)
[Galaxy S II Themes and Apps] smaberg:
great tutorial.

thanx, we all need help sometimes :D
[Galaxy S II Themes and Apps] sileshnair:
Excellent. Now for a tutorial on how to get the mobile data toggle in the notification bar and we can all build custom roms.
[Galaxy S II Themes and Apps] D.O.C:
Wow, u really went the whole 9 yards explaining this, thanks, as always grateful for ur sharing....
[Galaxy S II Themes and Apps] NitroOnTheRocks:
Seems like you put a lot of time and effort in this post.

Very good and clear instructions on something I wanted to add to my custom rom for a long time. (without just adding some files)

Thank you very much.
[Galaxy S II Themes and Apps] designgears:
No credit for the how to you copied this from?

what a shame

http://xdaforums.com/showthread.php?t=811532
[Galaxy S II Themes and Apps] _JKay_:
Nice guide. Two things when using apkmanager:

1) Never ever edit the public.xml

2) When Recompiling: Never sign system files. Copy their signature!
[Galaxy S II Themes and Apps] Hunteres:
as Cognition user i can only agree with "my" developer, that most of the statings above are simply coppied - Ctrl+a--->Ctrl+V ---> well done
[Galaxy S II Themes and Apps] Ghostbustersin:
If we don't edit Public.xml, how are going to achieve this? I keep getting errors while recompiling using apkmanager? They sometimes don't even extract the resources.arsc and throw a lot of errors.

I'm working on adding a few options in the settings apk and neither apkmanger nor apktool is letting me decompile settings apk. It always throws errors. I need to decompile to edit a few xml in values which i don't find if i unzip it with 7-zip or winrar! Editing smali files is not a prob for now!

Any solutions?
[Galaxy S II Themes and Apps] Ghostbustersin:
@ sicopat

All three options call the Shutdown thread and present the "Your phone will shutdown" dialog. How do we change this?

And i also want to add the subtext in all three options in the main options, where are those located?
[Galaxy S II Themes and Apps] _JKay_:
public.xml is auto-generated! Try add a string or a png and compile then decompile again. You will see that the new resources has been added to the public.xml

The ids MUST be unique and increased by one! Its all done in the apktool!
[Galaxy S II Themes and Apps] sicopat:
You are totaly right.

I didn't find lines to modify,

I just built a new How To, from a french one I found here : http://www.galaxys-team.fr/viewtopic.php?f=6&t=14562

I believe this french How To took its inspiration from this thread : http://xdaforums.com/showthread.php?t=811532

I didn't found this thread myself, you found it for me.

I finished to write this thread at 1h30 AM and I am going just now correct this mistake ...

Sorry for this
[Galaxy S II Themes and Apps] sicopat:
1/ Why never edit public.xml ?

2/ You are right for that
[Galaxy S II Themes and Apps] sicopat:
Ok but i never had errors using this How To and so, modifing public.xml.

But I will add your recommandation for people to try this How To, without modifing public.xml.

Thanks
[Galaxy S II Themes and Apps] _JKay_:
Why this statement? I'd rather say ONLY edit PNGs when decompiled!
[Galaxy S II Themes and Apps] sicopat:
Cause when using Apk manager, during re-compilation a keep folder is created and if you don't delete every files (and png) you modified in this keep folder, then after recompilation you will have olds .png from the keep folder and not your new png from your project folder.

It is easier to just push your new .png after recompilation.

I am just a noob who want to help a little with my short experience.

I am ready to learn and to optimise my how to :)
[Galaxy S II Themes and Apps] _JKay_:
Its true you need to delete the files you modify from the keep folder. But you should never try and modify 9patch pngs if they are not decompiled!!
[Galaxy S II Themes and Apps] sicopat:
Yes i agree with you.

But in this How to, you don't need to edit 9patch.png

For begginers i think it's easier to push the customised reboot, power off, download mode icons ... after recompilation.
[Galaxy S II Themes and Apps] _JKay_:
Ok...... But I think this could make beginners believe that this is always the case and how it should always be done. I rather teach them the right way :)
[Galaxy S II Themes and Apps] Dextrosan:
May the Lord bless you for this tutorial! I was looming around XDA trying to find out how to do this and viola! Great Tutorial, can't wait to get home from work to finish my mod attempt.
[Galaxy S II Themes and Apps] sicopat:
I agree with you.

I should have been more precise.

I will modify this How to with your precisions.

It is not an easy thing to explain with simple words in my non native langage.

I must be understandable for beginners and must be presise enough for Devs.
[Galaxy S II Themes and Apps] sunwee:
buddy i have some free time so i try this today.

so far everything fine until step 3b, where i am suppose to find this line is GlobalActions.smali

"b/ Then find the line "invoke-static {v0}, Lcom/google/android/collect/Lists;->newArrayList([Ljava/lang/ObjectLjava/util/ArrayList;" and insert just above"

there is no such exact line. the closest i can find is "invoke-static {v1}

I am trying this mod on deodex (ownself following your deodexing guide :)) KF3.

Any help?
[Galaxy S II Themes and Apps] kahvitahra:
Yeah, this tutorial is for kg1. The code have changed from 2.3.3 so this is more like guideline.

If i can remember right atleast in kf2 version those lines were put before that invoke-static v1. There was two of those lines, so it was before that second one.

Hope this helps :)
[Galaxy S II Themes and Apps] sunwee:
thanks...but more problems.

there already exists a GlobalActions$8.smali, i've try to change the earlier lines from 8,9,10 to 9,10,11 respectively. but which $x.smali file is the one on shutdown thread that I should use to amend to 9,10 and 11??
[Galaxy S II Themes and Apps] kahvitahra:
Same as this tutorial number 4. You can easily find out which is right one by comparing smali files with notepad++.
[Galaxy S II Themes and Apps] designgears:
credit added! yay! thanks!

weird, I cannot read the french one ;)
[Galaxy S II Themes and Apps] mostyle:
I am interested in this as well. Duplicate confirmations.. are aggravating.
[Galaxy S II Themes and Apps] _JKay_:
There's an argument with the call. Argument is 'showDialog'. Just use false instead of true. 0 is false 1 is true.
[Galaxy S II Themes and Apps] mostyle:
Much appreciated.
[Galaxy S II Themes and Apps] :
Can you explain how to go about it.
[Galaxy S II Themes and Apps] sicopat:
I made a traduction from french to english and rebuilt phrases ...

I used the screenshots

It's not just a copy/paste and it's a bit more complete than original thread.

I dindn't even know this xda thread when doing mine.

I used the french How To

If you are not happy about this thread, just ask moderators to close it...

I made it not to make believe I am not just a noob.

I made it hoping help some others "noobs" like me.

Advanced devs don't often give us beautifull How To ...

Just some modded apps to be used with only one firmware version ...
[Galaxy S II Themes and Apps] sicopat:
Modification of the How To.

Now more simple, without having to mod framework.jar
[Galaxy S II Themes and Apps] dully79:
Very nicely laid out for idiots like me to easily understand, thanks.

One problem though:

"Ic_lock_reboot.png" for reboot menu

"Ic_lock_recovery.png" to enter recovery

"Ic_lock_download.png" for download Mode

should say

"ic_lock_reboot.png" for reboot menu

"ic_lock_recovery.png" to enter recovery

"ic_lock_download.png" for download Mode
[Galaxy S II Themes and Apps] sicopat:
Thanks, corrected :D
[Galaxy S II Themes and Apps] sambastrakan:
Thanks a lot for posting this tutorial !

:)
[Galaxy S II Themes and Apps] KanGz:
Is that possible to add subtext under the "Reboot", "Recovery" & "Download" ?
[Galaxy S II Themes and Apps] cerede2000:
Hello,

I've modified my framework-res.apk and android.policy.jar.

With only modified framework-res.apk no problem.

But when i push my android.policy.jar my SGS2 no boot.

It stay on first Samsung spalsh screen with the yellow triangle.

When i restore the original android.policy.jar my SGS2 it boot :D

Help me please. Why my android.policy is not good :(

Thanks ;)
[Galaxy S II Themes and Apps] alias_neo:
Same problem guys,

editing the android.policy.jar/odex is no go, the tutorial is a little vague on what to do once the modifications have been completed.

I used baksmali to decompile the .odex then i modified and recompiled with smali and I get a classes.dex, if I put the classes.dex into the .jar and push, won't boot, if I rename the classes.dex to android.policy.odex and push, won't boot.

The tutorial is too vague and needs updating on how to do this correctly.
[Galaxy S II Themes and Apps] sicopat:
This tutorial will work for deodexed ROMs.

To use it on odexed firmware, you need to re - odex back, see my other How To odex back ;)
[Galaxy S II Themes and Apps] :
hi,

is possible to use this idea in order to delete all menu options except power options ?
[Galaxy S II Themes and Apps] sicopat:
Yes this is possible, but simplest way is to use Jkay theme and configure power menu with his apk to only have power option
[Galaxy S II Themes and Apps] SERGI.3210:
ouch!!!

Trying again deodexing the rom

edit; now works
[Galaxy S II Themes and Apps] LOSTLOGIC89:
Thanks for this, worked like a charm for samsung captivate
[Galaxy S II Themes and Apps] gcrutchr:
The easiest way to not show the menu title is to comment out the 2 setTitle function call lines in .method private createDialog using the # char at the beginning of the line.

I got compile errors when changing the variable to 0xXXXXX.

I went through the code and found where the title was set.

Someone correct me if I am wrong but it does work on my Galaxy S2.

Here is the line to comment out (there are 2 of them):

# invoke-virtual {v1, v3}, Landroid/app/AlertDialog;->setTitle(I)V
[Galaxy S II Themes and Apps] sicopat:
I will try that soon, many thanks for your help :D

Would you be able to founf the way to skip the confirmation step when rebooting or entering in recobery "do you want to shut down ...""
[Galaxy S II Themes and Apps] gcrutchr:
I will look into removing that dialog as I find it annoying too.
[Galaxy S II Themes and Apps] gcrutchr:
Okay, here is how to remove the annoying "confirm shutdown message".

ALWAYS MAKE A BACKUP BEFORE MODIFYING YOUR ROM...JUST IN CASE THINGS GO TERRIBLY WRONG.

1 - Decompile framework.jar

2 - Open /com/android/internal/app/ShutdownThread.smali

3 - In .method public static shutdown(Landroid/content/Context;Z)V

look for the following:

.line 159

const-string v2, "ShutdownThread"

const-string v2, "Notifying thread to start radio shutdown"

invoke-static {v4, v2}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I

.line 161

if-eqz p1, :cond_2

4 - at about .line 161, comment out: if-eqz p1, :cond_2 as follows

# if-eqz p1, :cond_2 (make sure # is at beginning of line)

5 - then add the following after the above commented line:

goto :cond_2

the 2 lines should look like this:

# if-eqz p1, :cond_2

goto :cond_2

6 - recompile framework.jar

7 - use adb to push it to your sdcard

8 - then do the following:

adb shell

cd /sdcard/

stop

cp framework.jar /system/framework/

reboot

That's it - no more shutdown prompt!
[Galaxy S II Themes and Apps] sicopat:
@gcrutchr : Thanks a lot.

Will try this next time. But i don't like to modify framework.odex cause often bugs when odexing back ...
[Galaxy S II Themes and Apps] gcrutchr:
Why aren't you using deodexed files?
[Galaxy S II Themes and Apps] kahvitahra:
Isn't this too complicated way to do this?

There is argument with reboot call where

0x1 shows confirm window

0x0 dosen't
[Galaxy S II Themes and Apps] gcrutchr:
Whether you modify the code my way or your way does not matter, but thanks for the alternative.

I was just trying to show people "how" to remove the shutdown prompt.
[Galaxy S II Themes and Apps] taha_e:
For those who want to remove the title (Phone options) from the popup menu:

in framework-res.apk/res/values/strings.xml

change this:

<string name="global_actions">Phone options</string>

to this:

<string name="global_actions" />

if you are going to remove it in different locales then go to your desired locale folder like /res/values-cs or /res/values-bg and ...

and change the same codes in strings.xml
[Galaxy S II Themes and Apps] A|G:
@_JKay_

..can you please help me make one for my custom modaco rom but only showing the reboot option i would greatly appreciate and donate to the cause ;-)
[Galaxy S II Themes and Apps] kahvitahra:
Don't add recovery and download. Easy as that. :)

In globalactions that

"const/4 v9, 0x4"

becomes

"const/4 v9, 0x5"

cause you only add one array.

And then you only make that globalactions$8.
[Galaxy S II Themes and Apps] A|G:
EHM

thanx muxh but for as muc as i try i cant get my hex editing on, can you please help me bro ;-)
[Galaxy S II Themes and Apps] kahvitahra:
What you can't get?

Baksmali android.policy.jar and use notepad++ for editing.