yashsingh1/xdaforums huggingface dataset:
[AT&T Samsung Galaxy S II SGH-I777] jazzboyrules:
I think that the battery life is good but it can get better. You need to check how much the battery drains overnight if you don't keep it plugged in. Also, use the phone normally till the battery life is in single digits and then compare with what people using different configs get (in that spreadsheet). That should give you a general idea of whether or not you can get more time without charge.

Again, the battery life is dependent on a lot of parameters not covered in that spreadsheet, but whatever is covered should help you at least improve on what you have right now.
[AT&T Samsung Galaxy S II SGH-I777] K Rich:
Well, I flashed the stock CM7 kernel last night, and without any under volting, its not as good, but close to what I was getting with under volting and Siyah .12 so tomorrow I'm gonna under volt the stock CM7 kernel and see what I can get. Plus, using the touch recovery is pretty fun!
[Galaxy S II Android Development] sebyku:
Hello, i don`t know if is ok to post here my problem but is android development and i have galaxy s II, i`m trying to make an webview application for android with progress bar, i tried a lot of examples from here but none was working .. my problem is that on a frame page or a page with facebook likes or comment plugin the progressdialog never stoped .. here is my code.. please test it and tell me what is wrong.

private WebView webview;
private ProgressDialog progressDialog;
boolean loadingFinished = true;
boolean redirect = false;
int nr = 0;

@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.main);
webview = (WebView) findViewById(R.string.webview);

final Activity activity = this;

webview.getSettings().setJavaScriptEnabled(true);

webview.setWebViewClient(new WebViewClient() {
public boolean shouldOverrideUrlLoading(WebView view, String url) {

if (!loadingFinished) {
redirect = true;
}

loadingFinished = false;
webview.loadUrl(url);

return true;

}

public void onLoadResource(WebView view, String url) {
if (progressDialog == null) {
progressDialog = new ProgressDialog(activity);
progressDialog.setTitle("PitziWorld");
progressDialog.setMessage(progressDialog.toString());
progressDialog.setCancelable(isFinishing());
progressDialog.show();

}
loadingFinished = false;
}
public void onPageFinished(WebView view, String url) {

if(!redirect){
loadingFinished = true;
}

if(loadingFinished && !redirect){
if (progressDialog.isShowing() || progressDialog!=null) {
progressDialog.hide();
progressDialog = null;
}
} else{
redirect = false;
}

}
});
webview.loadUrl("http://www.example.com");

}
@Override
public boolean onKeyDown(int keyCode, KeyEvent event) {
WebView webView = (WebView) findViewById(R.string.webview);
//Verifica daca tasta apasata a fost back si daca exista istoric
if ((keyCode == KeyEvent.KEYCODE_BACK) && webView.canGoBack()) {
webView.goBack();
return true;
}
// Daca nu a fost tasta back sau nu este istoric, returnam valoare buton
[Samsung Galaxy Nexus] Vingelstad:
Can some one tellenme how to do this:

On my first homescreen i want icons/objects that links to another homescreen of my choice :)
[Samsung Galaxy Nexus] martonikaj:
Wouldn't it be easier to just take what's on the homescreen you want to link to, and put it in a folder on the first homecreen? lol
[Samsung Galaxy Nexus] Vingelstad:
Thanks for ypur intelecruall answer, it really answers my question......
[HTC Sensation] malybru:
[MODS]▲▲▲ICS▲▲▲LOCKRINGS & BATTERY % MODS for BASE 3.30 SENSE 3.6 ROMS▲▲▲

​

Hi,

Firstly,credit where credit is due.

Mine,and your thanks should go to :

Steve0007,Dougi,SeriouslyCrazy, for their clever methods to get this working. :D

Thanks to gjvah for the banners

OK,now the downside...[size=+2]PLEASE READ[/size]

We can only have the rings as part of a skin(Blue Sky or Burgundy).

This is not ideal,and there is no way around it at the moment(so don't ask :( )

If you decide to try it ,then here is the installation guide.

IT DOES WORK!

I've had mine for several days now...

DO A NANDROID BACKUP!!!!!

Make sure you have HTC default skin on.

Go into recovery,

wipe cache and dalvik,

flash like a ROM,

reboot.

Select Blue Sky or Burgundy skin.

All requests will be considered.

There are elements of transparency,due to the skin I had to use.

:) Enjoy :)

Here are some examples of my work.

I will convert them upon request:

4. Android

5. Android2

7. Assassin Creed

8. AC

11. Blue

12. Black

20. Rangers

21. ManU

25. N.I.

27. UK

29. Beats

30. Batman

37. Cod

39. Serious Sam

44. YingYang

45. Philosoraptor

48. Tiger

49. Weed

55. Red

58. sharingen

59. Pokeball

61. Mike

62. Kohr-Ah

64. Hal

67. EYE

68. Duke

70. MSU

71. CFC

72. Black Ravens

73. NYK

74. BMW

75. LOTR

76. THS

77. Dolphins

78. Germany

79. Mercedes

80. Real

81. Red ARHD

82. Diesel

83. Georgia square

84. Geogia round

85. Liverpool

86. DPlogo

87. Audi

88. Chrome

89. Barca

90. VW

91. Arsenal

92. Sensation

93. Like a Sir

94. Plectrum

95. Black NZ

96. Spud

97. Infinity

DO A NANDROID BACKUP!!!!!

Make sure you have HTC default skin on.

Go into recovery,

wipe cache and dalvik,

flash like a ROM,

reboot.

Select Blue Sky or Burgundy skin.

:) Enjoy :)

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

[size=+4]ICS Sense 3.6 Battery % Mods For 3.30 Base[/size]​

MAKE A NANDROID BACKUP.

WIPE CACHE AND DALVIK,

FLASH LIKE A ROM,AND REBOOT.

circle:

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

Smooth Circle:

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

Blue:

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

Honeycomb:

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

hoolm:

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

Android:

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

stock:

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

Revolution:

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

vertical:

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

Tiny:

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

Skull:

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

Digital:

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

Stock green:

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

glowing:

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

Android formula:

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

MAKE A NANDROID BACKUP.

WIPE CACHE AND DALVIK,

FLASH LIKE A ROM,AND REBOOT.

:) Enjoy :)
[HTC Sensation] cdman1980:
Stock green isn't correct, it's a circle but thx anywayz man.
[HTC Sensation] malybru:
Hi,

Thank you for the feedback.

I am correcting it as we speak.

Try again in 20 minutes.

:)
[HTC Sensation] c3d76:
Stock green working. Thanks Malybru!
[HTC Sensation] deadpool2e:
You the man... cheers

Any idea if the locking rings from the last base work on 3.30??
[HTC Sensation] johnerz:
thanks great work, I like the android. looks top dollar :)
[HTC Sensation] malybru:
Hi,

I'm not on 6.3.0 yet,so I do not know if they will work or not.

If you are willing to try,make a nandroid and test it out.

Please leave some feedback if you do...

EDIT:

It looks like there will need to be some updating of files to make it work properly.

So, maybe hold off until that is done.

:)
[HTC Sensation] digimac:
Hey man, thanks for the battery mods as always.

I have one question. I flashed extended quick settings and apm that were posted by badnews on the arhd thread for the 3.3.0 base and they dont wanna play nice with the battery mod.

I can have both eqs and apm, but when I flash those I loose your batter mod and if I re-flash the battery mod after eqs and apm the apm breaks.

Any ideas?
[HTC Sensation] malybru:
Hi,

You are not the first to have this problem.

Until someone makes a mod which includes apm/eqs and battery mod, they will continue to break each other.

So for the moment, it is either one or the other.

Sorry. :(

I will get in touch with fallenangel, and see if he has the time to make one.

:)
[HTC Sensation] hal20000:
Thanks...

...for your effort, dear malybru :-)

"glowing" seems to have the wrong graphics too.

Could you check it please?

regads, hal.
[HTC Sensation] vince25:
Yes I noticed this too, could you fix please. :)
[HTC Sensation] digimac:
Badnews just updated apm and eqs mods. I wiped cache and dalvik, flashed apm then your circle battery mod followed by eqs. All working fine together now. Thought I'd let you know
[HTC Sensation] greves1:
can you please change stock mod to have roboto font. there was someone else who made that for 3.24, i'd like to have it on 3.30 as well. thanks!
[HTC Sensation] awdlexusis:
waiting patiently for the mercedes lockring for the new 6.3.0 rom 3.30 base :cool:
[HTC Sensation] liamstears:
http://xdaforums.com/showthread.php?t=1500557
[HTC Sensation] malybru:
Hi,

Thanks for that.

:)
[HTC Sensation] malybru:
Hi,

Updated [OP]

:)
[HTC Sensation] malybru:
Hi,

Lockrings now available.

:)
[Nexus S General] devgee:
User Pablo Sanfilippo posted this on the CM Google+ page. The File is

around 60 mb. All credits goes to him and the cm9 team.

Its the short version !

Download

Best quality

http://www.mediafire.com/?v1m1p7d5uc75d99

Low quality

http://www.mediafire.com/?383dmhraqxrvw4u

Cyanogen Mod 9 Bootanimation

[YOUTUBE]w-5Av_EVpyI[/YOUTUBE]
[Nexus S General] resetreflectt:
Are these flashable?
[Nexus S General] tankkiez:
you just replaced it in /system/media/bootanimation.zip

use any file manager apps that can browse your system files.
[Nexus S General] Tonyroid:
Nice gonna try it
[Nexus S General] ljordan2:
This is epic!!

Sent from my Nexus S from Tapatalk
[Nexus S General] byeonggonlee:
:eek:This is awesomeeeee!!!
[Nexus S General] Zardos66:
Downloading at the speed of Wi-Fi!
[Desire HD Android Development] memnoc:
We are all here to learn, take from community and give back to community!!!

@Lord ClockaN

Hya guys, after A LOT of requests, I decided to share with the community something that I found really REALLY useful for Dev's but also for other users too that want to mess up with compiling and decompiling process. Usually, non problems at all with that, but since ICS come out, many dev\users are not able to decompile\compile properly many ics apk (not all). This guide will ensure you a good result, 100% working, easy, and fastest way to mess up with ics for theming and resizing purposes, or whatever you want;)

BIG THX to my friend and Dev teammate @Bichon for this;)

Credits

@Bichon (yes, again:))

@Xavierjohn22, the amazing author of AutoApktool! Visit his thread HERE, click his thanks button, and support his work with donations, and my personal thanks to author for this tool which is the most powerful and easiest tool ever.

@Brut_all for Apktool

@XDA Community

@Google

About Apktooll

Please consider to visit the original thread about this tool, because what I'm explaining here is just 1\10 of the real skill of this tool. You can do basically whatever you want with AutoApktool, themers will love it, Dev's will appreciate it a lot, I'm sure.

Why can't we use Apktool???

Well, you can, but it's more difficult, that's it.

Why do you say "must use 1.4.1 apktool version"??

The reason why is that since 1.4.2 version, apktool generate java code while recompiling process is going on, and this lead to errors that 9/10 makes decompile process fail.

Requirements (Windows environment, mine is Seven 64 bit)

Java (last version)

JDK (last version)

JDR (last version, usually included in JDK or Java)

SDK (last 3.0 version for ICS source code)

Auto_Apktool 2.0.0 (DOWNLOAD THIS ONE NOT OTHERS!!!)

HOW-TO (NOTE: before start, select Apktool version with option 21, YOU MUST CHOOSE 1.4.1 version!!)

1) Download and simply unpack Auto_ApkTool 2.0.0

2)Click on "autoapktoolmain.bat", prompt will open

3)put the apk you want to mess up with in "_INPUT_APK"

4) you can chose more than one option to decompile (option 6 is strongly recommended)

5) when option 6 is being selected, drag the apk from _INPUT_APK folder into the windows prompt and click enter

6) A Note window will appear, and will show IF the decompiling process has been done properly. Once you close that window, you will see the decompiled folder in _INPUT_APK folder

7) do your edits (xml, snali, or png, doesn't matter)

8) recompile with option 7 (NOTE: this time you MUST drag all the FOLDER, NOT the apk)

9) Once recompiling finished, open the decompiled folder, go to "dist" folder, and here you got your edited apk

10) you MUST sign the apk with option 10 (NOTE: drag the apk from dist folder to the prompt, then press enter, and in the SAME folder, a signedxxx.apk will appear)

11) Rename the apk, and push it |NOTE: you can push the apk with 62 option or with sdk typing:

adb remount
adb push xxx.apk system/app
adb reboot

That's it;)
[Desire HD Android Development] memnoc:
NOTE FOR SAMSUNG USERS

Samsung changed some Hex value in the compiled dex code.

It has nothing to do with resources apks or anthing.

If you want to decompile those apks you have to do the follwing:

Using 7zip extract the classes.dex file from the apk and save it somewhere.\

Delete the classes.dex file from the apk.

Now you can decompile the apk using this tutorial.

If you want to decompile the classes.dex to edit the smali code, download baksmali 1.3.2 and smali 1.3.2 and use them to decompile and recompile the classes.dex.

After you recompiled the edited smali code, just drag back in the new classes.dex file you made.

this won't be fixed until Brut will make a new Apktool, or someone inserted the new baksmali/smali code into apktool

THX @Firefeds

When you're in trouble...try this one, you can apply the following method to the op too

Downloads:

http://code.google.com/p/smali/downloads/list

smali/baksmali editing v1.3.2

- Download both smali and baksmali v1.3.2

http://code.google.com/p/android-apktool/downloads/list

This is the latest apktool used to compile/decompile .apk.

Download apktool1.4.3.tar.bz2 and apktool-install-windows-r04-brut1.tar.bz2 for Windows or

apktool-install-macosx-r04-brut1.tar.bz2 and apktool-install-linux-r04-brut1.tar.bz2 for Mac. Follow the instruction on installation.

Step by step:

1. Extract the classes.dex from the desired apk.

2. Decompile it with baksmali v1.3.2 (for modding smali)

3. Recompile classes.dex with smali v1.3.2.

4. Decompile the apk with apktool (without classes.dex in the apk itself).

4a. Modify the apk however you want to, adding your changes.

4b. Recompile it with apktool.

5. Put the modified apk back into classes.dex.

6. Sign the apk.

thx @djolebih
[Desire HD Android Development] Headbanger1982:
You're the boss man ^_^

Great work.
[Desire HD Android Development] zFr3eak:
great tutorial ;)
[Desire HD Android Development] memnoc:
Thx my friend, I have a great team behind the scene;)
[Desire HD Android Development] mattkle:
Awesome bro!

I shall include your insight on the official Smartdroid website too.

Keep it up your contribution to the DHD community is invaluable.

:D:D
[Desire HD Android Development] memnoc:
thx bro, hope people find it useful, you too;)
[Desire HD Android Development] OrcoX1iSE:
Well done Mem!! This will be so much usefull when ICS Sense ROM will arrive for DHD!!:D
[Desire HD Android Development] memnoc:
Ics Sense rom is already available for dhd ;) LOL

Thx anyway

Inviato dal mio HTC Desire HD with Beats Audio usando Tapatalk
[Desire HD Android Development] Vertumus:
Great tutorial mate. As soon as I come home ill try. I am moving my theme to the ICS and I hope this works with samsung ics apps

All the best,

Vert

---------- Post added at 09:59 AM ---------- Previous post was at 09:43 AM ----------

It doesn't work with bloody samsung ics apps...

[*] C:\Users\040588\Desktop\AutoAPKTool2.0.0\_INPUT_APK\SystemUI.apk

decompiling C:\Users\040588\Desktop\AutoAPKTool2.0.0\_INPUT_APK\SystemUI.apk...

I: Baksmaling...

Exception in thread "main" java.lang.RuntimeException: bad magic value: 64 65 78 0a 30 33 36 00

at org.jf.dexlib.DexFile.<init>(DexFile.java:377)

at org.jf.dexlib.DexFile.<init>(DexFile.java:274)

at brut.androlib.src.SmaliDecoder.decode(SmaliDecoder.java:44)

at brut.androlib.src.SmaliDecoder.decode(SmaliDecoder.java:33)

at brut.androlib.Androlib.decodeSourcesSmali(Androlib.java:68)

at brut.androlib.ApkDecoder.decode(ApkDecoder.java:85)

at brut.apktool.Main.cmdDecode(Main.java:128)

at brut.apktool.Main.main(Main.java:65)
[Desire HD Android Development] OrcoX1iSE:
Really??? Where is related thread? The only one I've found have too much modules that doesn't work (e.g. wi-fi, gps), so I mean something usable!!!
[Desire HD Android Development] memnoc:
then u should have said "when a fully working ICS will come out";)
[Desire HD Android Development] memnoc:
mate make sure u have loaded all resources apk, then follow the errors, isn't a tool fault for what I can see...u edited some smali right?
[Desire HD Android Development] BiCh0n:
thanks for all user would mod ics apk and thanks for put my name in OP.. ;)
[Desire HD Android Development] memnoc:
it's absolutely a pleasure, thx to you;)
[Desire HD Android Development] 0utl4wZ:
Thanks for this great tutorial memnoc.

But when you create your own app you can checkout your project in eclipse or something like this. Ive read that this is for security that your app cant be decompiled.

Will this program decompile such apk's too?
[Desire HD Android Development] memnoc:
can't follow u mate, give me an ex so i can understand what app r u talkin about
[Desire HD Android Development] 0utl4wZ:
Is there a difference between market and system app? I'm talking about normal market apps, which you can build in java with eclipse. There is a choice to publish. I don't know the right name there. With this the apk should built that you can't decompile this. (So I read it)

But if there is a difference you can decompile all system apks without problems? This would be very nice :)
[Desire HD Android Development] memnoc:
Guess yeah, but you should try, I don't create the tool i just posted a way to use it changing aapt and make it ready to use for you

Inviato dal mio HTC Desire HD with Beats Audio usando Tapatalk
[Desire HD Android Development] agat63:
I'm trying to decompile Contacts.apk and Phone.apk and getting same error message:

[*] C:\Android\AutoAPKTool2.0.0\_INPUT_APK\Contacts.apk

decompiling C:\Android\AutoAPKTool2.0.0\_INPUT_APK\Contacts.apk...

I: Baksmaling...

Exception in thread "main" java.lang.RuntimeException: bad magic value: 64 65 78 0a 30 33 36 00

at org.jf.dexlib.DexFile.<init>(DexFile.java:377)

at org.jf.dexlib.DexFile.<init>(DexFile.java:274)

at brut.androlib.src.SmaliDecoder.decode(SmaliDecoder.java:44)

at brut.androlib.src.SmaliDecoder.decode(SmaliDecoder.java:33)

at brut.androlib.Androlib.decodeSourcesSmali(Androlib.java:68)

at brut.androlib.ApkDecoder.decode(ApkDecoder.java:85)

at brut.apktool.Main.cmdDecode(Main.java:128)

at brut.apktool.Main.main(Main.java:65)

I had this message in ApkManager 4.9, 5.0.

Not new to themeing. Done my fair share and never had problem decompiling apps.

Did try to decompile framework-res.apk and it went through without any errors or problems. However the Contacts.apk for ICS will not decompile.
[Desire HD Android Development] agat63:
system path.

So every program can find it.

If you running windows7 you should go

start->control panel->system-> advanced system settings.

New window will pop up.

At the bottom left corner you will see button

"Environment Variables"

Click it and new window will pop up with 2 fields.

In bottom field scroll down till you see "PATH".

Click on it and than click Edit button under the bottom field.

You will get a new window with one line field in it. Scroll to that line to the end and add this:

;C:\Program Files\java\jre6\bin;C:\Program Files\java\jre7\bin;C:\Program Files\java\jdk1.7.0_02\bin

I hope your java will be installed in Program files. If not just type the full path to your java bin folders.

Save and close all windows.

You might need to restart PC after that.
[Desire HD Android Development] agat63:
I'm on dual boot as well

What rom/os/phone is app for?

but I do all theming in windows.
[Desire HD Android Development] kifac:
UCLE2 ICS for Galaxy Note. All APK's have been De-odxed and such.
[Desire HD Android Development] agat63:
Did you install framework first?
[Desire HD Android Development] kifac:
yes sir..option 1
[Desire HD Android Development] agat63:
I'm on SGS2 and we have 2 framework files.

Both should be installed.

May be you have to do same.

I'm familiar with note so I'm just asking.

For me the tool to work I have to install

framework-res.apk and twframework-res.apk

HTC has some rosie app that should be installed.

Check you framework folder and see if you have another apk there.
[Desire HD Android Development] kifac:
Yup i have 2.

So i just place both in _INPUT_APK?
[Desire HD Android Development] agat63:
yes.

And than install both with option 1

or add second one with option 81 or something like that.

Option called install additional framework
[Desire HD Android Development] agat63:
Can you upload those files so I can try it here.

I need both frameworks and app you want to mod.

and try one more thing for me.

Open cmd window and just type

java and hit return.

let me know what happens.
[Desire HD Android Development] kifac:
cmd shows me a list of commands with what i can do with jave :S

Files are here http://d-h.st/WEF

and iv been trying to just change the default background to a S3 wallpaper :/
[Desire HD Android Development] agat63:
Java is recognized and that's good.

Let me try to decompile and recompile here.

I hope I have all files I need.

you didn't include app you want' to recompile.

only 2 frameworks. I need the apk file as well so I can try.

---------- Post added at 12:30 AM ---------- Previous post was at 12:06 AM ----------

I think I found your problem.

Download this file:

http://d-h.st/d2l

it's aapt.exe

Replace same file in root of your tool directory.

It should work.

It's from windows-sdk API 15.(ICS)
[Desire HD Android Development] kifac:
Wow, that got rid of my error. I now have a DIST folder with the new APK in there.

CMD says verification succesful and the log says this...

[*] C:\AutoAPKTool2.0.4\_INPUT_APK\framework-res
recompiling C:\AutoAPKTool2.0.4\_INPUT_APK\framework-res...
W: Could not find sources
I: Building resources...
aapt: warning: string 'gps_assisted_data_download' has no default translation in C:\AutoAPKTool2.0.4\_INPUT_APK\framework-res\res; found: ko
aapt: warning: string 'lockscreen_too_many_failed_attempts_countdown' has no default translation in C:\AutoAPKTool2.0.4\_INPUT_APK\framework-res\res; found: de en_US es es_ES fr it ko
aapt: warning: string 'policydesc_allow_htmlemail' has no default translation in C:\AutoAPKTool2.0.4\_INPUT_APK\framework-res\res; found: en_US
aapt: warning: string 'policylab_allow_htmlemail' has no default translation in C:\AutoAPKTool2.0.4\_INPUT_APK\framework-res\res; found: en_US
aapt: warning: string 'wifi_p2p_pbc_go_negotiation_request_message' has no default translation in C:\AutoAPKTool2.0.4\_INPUT_APK\framework-res\res; found: es
aapt: warning: string 'wifi_p2p_pin_display_message' has no default translation in C:\AutoAPKTool2.0.4\_INPUT_APK\framework-res\res; found: es
aapt: warning: string 'wifi_p2p_pin_go_negotiation_request_message' has no default translation in C:\AutoAPKTool2.0.4\_INPUT_APK\framework-res\res; found: es
I: Building apk file...

Can i sign it now?
[Desire HD Android Development] agat63:
Yes. Tool found everything it needed.

APK is build.

Congratulations.

It's been a long day for me.

I'm out.

Good luck.
[Desire HD Android Development] kifac:
Wow, your amazing. Appreciate the help.

I wish i can buy you a beer :(

ans same here...I can finally get sleep :)
[Desire HD Android Development] agat63:
You can buy me a beer when you visit Las Vegas.:D

We will go for drink together.