yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Original Android Development] hospital349:
New settings are up folks! ;)

I'll upload my results once I return home from visiting my family.

The verdict is that: Simone is a GOD!

Enjoy!

Nearly 7 hours of screen time was my most recent outcome. I know everybody's talking about Fluxi, but N.E.A.K. ain't beat. Actually, it's the winner every time in my eyes. :)

Uploading the results once I return home from seeing family.
[Samsung Galaxy SL i9003] sanjshetty:
Trying it now.
[Samsung Galaxy SL i9003] drajax:
God, u don't need to QUOTE the whole post :o :banghead:
[Samsung Galaxy SL i9003] ilcorsaronero:
thanks a lot! I'll try this for shure. Is it going to work only on KPU? I have stock gingerbread. DDKP3.
[Samsung Galaxy SL i9003] sirilpta:
Good work...
[Samsung Galaxy SL i9003] .Harshit:
Thanks for working upon this.

But i would suggest one can use Screenfliter app from Market. Its more elegant solution
[Samsung Galaxy SL i9003] shriom_manerker:
ur screen filter app works only in SUPERAMOLED and AMOLED displays ! i had used it in the past and the screen just looks faded brown with the same brightness level ! with this tweak u can actually lower the real brightness leel ! i myself use this app called ROOTDIM its amazing lets u put shortcuts on the desktop with the brightness levels :) i kept night as 1 ! and its awesome !
[Samsung Galaxy SL i9003] ivAnash:
Screenfilter does not reduce the brightness of the screen, it actually creates another darker layer (or something like that) so the screen is running at the same brightness but u see another darker layer on top...

The Dev in this thread is directly reducing the screen brightness itself obviously resulting in better battery life...

Thanks loSconosciuto for working on this..
[Samsung Galaxy SL i9003] drajax:
Can some kind Soul make a CWM for KPQ & DK3 & post it? :thumbup: :beer:

☞★sent from drajax's Galaxy SL!!! *♂ツ Hit thanz if I helped! ;) :P
[Samsung Galaxy SL i9003] loSconosciuto:
It's better to mod Settings.apk and services.jar again.

I can do it when I have some spare time.
[Samsung Galaxy SL i9003] loSconosciuto:
I made the flashable zips for XXKPQ and DDKP3. See the OP.

This time I used as minimum level 1 instead of 4, as shown in the guide. Even if they are close, the difference is significant and to avoid brightness increases, the brightness is set to 1 when inactive.

If you think it's too low, I could use again 4 as value or ignore the minimum value achievable and use a higher value for inactive status.
[Samsung Galaxy SL i9003] pancit:
Clarification

I think line 5964 reads const/16 v5, 0x14 and not const/16 v2, 0x14 as stated.
[Samsung Galaxy SL i9003] loSconosciuto:
Oh thanks, I forgot to change this.

OP updated.
[Samsung Galaxy SL i9003] ilcorsaronero:
Confirmed to work on DDKP3. RootDim can achieve lower light level than this, this has got a good balance. Great.

Just wondering... is it possible to merge this fix and that one about phone not vibrating when fully charged? Like they did here for SGS2 http://xdaforums.com/showthread.php?t=1070506 and http://xdaforums.com/showpost.php?p=18900464&postcount=150? It would be the perfect "night pack" for i9003!!!

:)
[Samsung Galaxy SL i9003] loSconosciuto:
Another update. See the OP for the changes (in the guide there's a better explanation).

Are you sure? I can set as minimum level 1 from the settings and sliding the finger on the statusbar (in this case is harder to set the brightness at 1). If you used the first version (the one made for KPU, not avaible anymore), you are allowed to set as minimum brightness 4 (I decided to do so).

Otherwise I think I did something wrong, I can't test all the flashable zips.

Regarding the notification:

I disabled it in a dirty way renaming

/system/media/audio/ui/TW_Battery_caution.ogg

to

/system/media/audio/ui/TW_Battery_caution.ogg.bak

You can do the same for Charger_Connection.ogg and TW_Low_Battery.ogg (the names are self explanatory).

Anyway I'll see the guide, thanks.
[Samsung Galaxy SL i9003] pancit:
You mean add this line:

goto :goto_1

And will you please add a date in the title of the post whenever you update the OP...

Thanks man
[Samsung Galaxy SL i9003] loSconosciuto:
I think I should read multiple times the post before hitting "Submit Reply" :rolleyes:. Anyway you mean goto :goto_11.

Thanks a lot!
[Samsung Galaxy SL i9003] ivAnash:
I'm sorry if u consider this off topic..

There are 2 apps in the market ROOTDIM & SCREENDIM... Are these apps safe to use IN THE LONG RUN and which one's better .. The one using root or the one without...
[Samsung Galaxy SL i9003] drajax:
They are pretty safe, & the best of those is Rootdim mate! IMHO! :thumbup:

☞★sent from drajax's Galaxy SL!!! *♂ツ Hit thanz if I helped! ;) :P
[Samsung Galaxy SL i9003] ivAnash:
What makes u say that?. Just asking.. Other than being free any other advantages???
[Samsung Galaxy SL i9003] loSconosciuto:
They are similar apps, the developer is the same and they share some code.

Here a post of the developer with the main differences between them: http://xdaforums.com/showpost.php?p=20587666&postcount=108

So there's no difference between them in the way they control your screen backlight, maybe RootDim could seem more "dangerous" because of the root permissions, but those permissions are required for the extra features. If you want to save some money, go with RootDim.

I think that keeping your screen brightness low will not damage the screen. Of course correct me if I'm saying something stupid, I'm not a 100% sure.

I think is right to prevent the user to set a too low brightness value (by default). This is a touchscreen device, there are no physical buttons to change the brightness. I know that is possible to change it by simply keeping the finger on the statusbar (finger in the middle=50%, right coner=100% etc), but it's not an obvious thing.

Moreover some devices don't support low brightness values, below a certain value the screen turns off (see the description of RootDim). That's probably another reason why Android behaves like this, in my opinion.

Even if I think this is not not a bad Android's behaviour, I don't like to be limited. That's why I opened this thread.
[Samsung Galaxy SL i9003] vishal24387:
Can u implement this????

ICS rotation in GB
[Samsung Galaxy SL i9003] pancit:
Yup... but you should define first goto_11

It should also be stated that :goto_11 be inserted on like line 1521... if I'm not mistaken :)
[Samsung Galaxy SL i9003] loSconosciuto:
Sorry, I can't. Those are changes in the source code that we don't have, I even don't know where to begin.

Plus I keep autorotation always disabled, it would be a cool feature but I really don't care that much ;)

What exactly do you mean with this?

I think the problem is that the smali file depends on the changes you did to the dex file. The guide was right at first, if you get the original services.jar from KPU you have to use cond_10.

So probably you don't have goto_11, if that's what you mean with "define goto_11".

Anyway I don't know why I did that. I mean, the "goto" statement is there just to always return 0, so why don't we simply add a return statement in the beginning of the method?

Something like:
[Samsung Galaxy SL i9003] pancit:
ohh... i thought the purpose was before going to this line

if-nez v0, :cond_10

Was to go to the line stated by goto_11, which is stated after the line...

return v0

So, defining goto_11, we insert this line from:

:cond_10
const/4 v0, 0x0

So that it will look like this:

:cond_10
:goto_11
const/4 v0, 0x0

:D

Is this right?
[Samsung Galaxy SL i9003] loSconosciuto:
I think so. It's hard to follow what you say, so probably I didn't understand you (I have 4 different smali files and I don't know to which one should I look at, I should see the entire batteryIsLow() method to be sure).

Anyway the goto is ok, but as it is, you need two "goto". The first one to initialize "v0" and the second one to jump to "return v0". You can put the first "goto" right after ".prologue .line 1812", because we don't need to know the battery level (iget-boolean v0, p0, Lcom/android/server/PowerManagerService;->mIsPowered:Z), so we can directly jump to the return statement (1 if the screen brightness should be lowered, 0 if not).
[Samsung Galaxy SL i9003] pancit:
Well... thanks man

Anyways for your future reference here is the whole method of batteryIsLow...

.method private batteryIsLow()Z
.registers 3

.prologue
.line 1812
iget-boolean v0, p0, Lcom/android/server/PowerManagerService;->mIsPowered:Z

goto :goto_11

if-nez v0, :cond_10

iget-object v0, p0, Lcom/android/server/PowerManagerService;->mBatteryService:Lcom/android/server/BatteryService;

invoke-virtual {v0}, Lcom/android/server/BatteryService;->getBatteryLevel()I

move-result v0

const/16 v1, 0xa

if-gt v0, v1, :cond_10

const/4 v0, 0x1

:goto_f
return v0

:cond_10
:goto_11
const/4 v0, 0x0

goto :goto_f
.end method

Hey... I got a question... and its off-topic... :)

From OP, you mentioned a link about auto-brightness level, and as stated there, we can have the values from array.xml be edited to look like this:

<integer-array name="config_autoBrightnessLcdBacklightValues">
<item>5</item>
<item>30</item>
<item>70</item>
<item>130</item>
<item>255</item>
</integer-array>

What if I add more item, is that OK? Like instead of 5 items, make it 6...
[Samsung Galaxy SL i9003] loSconosciuto:
Yes, but you need to change config_autoBrightnessLevels too.

config_autoBrightnessLevels has 1 item less than config_autoBrightnessLcdBacklightValues.

<integer-array name="config_autoBrightnessLevels">
<item>8</item>
<item>40</item>
<item>150</item>
<item>1500</item>
<item>4000</item>
</integer-array>
<integer-array name="config_autoBrightnessLcdBacklightValues">
<item>10</item>
<item>35</item>
<item>65</item>
<item>108</item>
<item>182</item>
<item>255</item>
</integer-array>

means (where x is the ambient light)

x < 8 => 10
8 < x < 40 => 35
40 < x < 150 => 65
150 < x < 1500 => 108
1500 < x < 400 => 182
x > 4000 => 255

I usually add items to config_autoBrightnessButtonBacklightValues and config_autoBrightnessKeyboardBacklightValues too (to make them equal to config_autoBrightnessLcdBacklightValues in terms of numbers of items), even if they do nothing.

Actually I never checked if they are all effectively used. I'm sure that auto brightness works even after that change. (I added more than 6 levels)
[Samsung Galaxy SL i9003] pancit:
YOU ROCK MAN!!!

Thank you for this... Really thanks man

:D :D :D
[Samsung Galaxy SL i9003] ilcorsaronero:
I'm facing random freezes and slowdowns a day after installing this modded framework on ddkp3. Brightness level is still not a low as expected. I'll move on to KPU and I'll test it there. :cool:
[Samsung Galaxy SL i9003] ilcorsaronero:
My fault. My rom was not correctly de-odexed, even if I tought so. Will try again. I love the idea behind this mod. :)
[Samsung Galaxy SL i9003] ilcorsaronero:
Works perfectly on XXKPU, deodexed via Ganesh method http://xdaforums.com/showthread.php?t=1323661 Now it's time for me to try modding for auto-brightness as well. Thanks! :)
[Samsung Galaxy SL i9003] alfovic:
deodexed needed?

i have a kpq install rooted but not deodexed and i tried to mod the auto brightness but everytime i get stuck at boot, is it becuse of not having it deodexed?

also i notice that my moded framework is heavier than stock stock is about 8mb and moded ends at 10mb, with the best compression

am i missing something to do this?

Thanks!
[Samsung Galaxy SL i9003] loSconosciuto:
I wrote it in bold in the OP.
[Samsung Galaxy SL i9003] alfovic:
stuck at boot

i have deodexed kpq now and still got stuck at boot, dont worry i have nandroid and know how to reverse, but i would like to do this mod i belive it will increase a lot my battery life

im trying to mod the auto brightnes levels, i think that the proble is the size of the apk when i change the values

any tip on what can i do?
[Samsung Galaxy SL i9003] loSconosciuto:
If you are using apkmanager, select as compression level 0.

If you are not using it, make sure the file is not compressed. You can unzip it and then rezip it without no compression (as you probably know, apks are simply zip files).

Do it whenever you mod framework-res.apk, you can compress other apks with no problem (I think)
[Samsung Galaxy SL i9003] ilcorsaronero:
You can get auto brightness, minimum lcd value and appropriate battery notifications with my mod "night pack". I've seen no problems report so far, you can get it from here: http://xdaforums.com/showthread.php?t=1586283

It's based on ioSconosciuto's work and works on XXKPU firmwares.
[Samsung Galaxy SL i9003] cerobles1:
alright, so shoot me if you want, but I always wanted to change this on my phone, Samsung Epic 4G. But never knew how to do it.

Now that I've found the directions on how to do it, I don't know what the hell it means to "decompile" the services file. I don't mind someone giving me the file already moded, but again, i just wanted to have the satisfaction of doing it myself.
[Samsung Galaxy SL i9003] loSconosciuto:
I added some lines on how to do that.

The problem is that because of the differences between our devices you'll have some troubles finding the right strings to change. I simply gave the string and its line number, but probably in your device the line is a little bit different, for example instead of const/16 v4, 0x1e you could have const/16 v3, 0x1e and so on.

I should add some others lines to make easier you port, like the method where you can find the line etc.

But probably it's not needed because our devices are similar (at least the framework, they are both Galaxy S phones). Let me know if you need more informations.
[Samsung Galaxy SL i9003] loSconosciuto:
UPDATE 4:

If the current brightness is higher than 20/255, when inactive, the screen brighntess is set to 20 instead of 1.

I did not test it that much, if you note something strange, let me know.
[Samsung Galaxy SL i9003] neutronz:
is this different with rootdim? i always set my screen brightness to 1/255 with rootdim
[Samsung Galaxy SL i9003] loSconosciuto:
I had already answered to that.

You can set 1/255 with this mod too, the difference is that you don't need and external app, no background services and you can set 1/255 directly from the statusbar (faster and more confortable in my opinion). Also, there are no brightness increases if you lock the screen with a brightness level < 10/255 and then unlock it (I think it's possible to avoid this with rootdim too if you use "lock brightness" option or something like that).

It's also useful if you lowered the autobrightness levels, because when the phone is inactive or your battery level is lower than 10, there are no brightness increases (if you current brightness is lower than 10/255).
[Samsung Galaxy SL i9003] cuaryos:
confuse code lacation

i was trying apply code at i8160 jb 4.1.2 but too much same code found at there, it could bootloop or something when wrong line changed.

much better when know under script (e.g) "find const/16 v4, 0x14 under Lcom/android/server/PowerManagerService;bla bla bla..........."

just IMO:D
[Samsung Galaxy SL i9003] kithmal11:
This MOD is for stock 2.3 ROMS mate. Wouldn't work for CM builds. :)

Regards
[Samsung Galaxy SL i9003] loSconosciuto:
This guide is for Gingerbread and most importantly, it's for the Galaxy SL and probably not for the latest official firmwares. JB is a lot different and if you are using a stock ROM, things are even more different.

Anyway, starting from JB I think, you can just change a integer value somewhere in some xml to allow lower brightness level, maybe "config_screenBrightnessDim". However, Samsung usually does some changes here and there, so it maybe doesn't work.

I can't help you more than this.
[Samsung Galaxy SL i9003] cuaryos:
sorry

my bad, still waiting another tweak works on jb rom .
[Samsung Galaxy SL i9003] MrinmoyJK:
Thank you very much for this awesome tutorial. I am using android 2.3.5 and it worked on my phone except the above step. The screen become more bright after the timeout as you said.

There am confused about the ".restart local v10" line. There is ".restart local v8" at line 5865. But there is no "const/16 v5, 0x14" line. Please let me know, what should I do here.

PackageManagerService.smali
[Samsung Galaxy SL i9003] loSconosciuto:
Since this guide was intended for the Galaxy SL, I didn't bother to make it "universal" and it could be really hard to follow when trying to use it for another device. Some differences are expected, especially the line numbers and the name of the registers.

Almost two years have passed since I wrote it, so I don't remember everything, but I think that in my tutorial "v10" is be the current brightness and it's compared with "v5", which is be the value at which the backlight is set when the device is in idle.

You have to figure out what's the name of the register with the current brightness (try look for "#nominalCurrentValue:I" in the code) and adjust the code.

Anyway, I'm quite sure that the file you posted has nothing to do with this mod.
[Sony Ericsson Xperia Neo, Pro] szymko1995:
It's great day for NeoV users.

4.1.A.0.648 has been leaked today.

This version was compiled by Sony yesterday.

It looks like, that It is full ics.

http://dl.dropbox.com/u/11326124/4.1.A.0.648.zip

Edit:

It is made by me for April Fools Day.

The zip file contains .62 soft and some pic, not ics one.

Yea, It is fake.
[Sony Ericsson Xperia Neo, Pro] marsx1984:
01.04.2012 ?
[Sony Ericsson Xperia Neo, Pro] zieju:
Have you tested it? How to install? Does it work with locked bootloader?
[Sony Ericsson Xperia Neo, Pro] wielku:
Thanks

works good but I miss "skip track via volume button mod" ;/ I will probably go back to FXP115 with 1080p recordings
[Sony Ericsson Xperia Neo, Pro] talhah sabri:
its really full ics??how to install this rom?this is for lock or unlock bootloader?
[Sony Ericsson Xperia Neo, Pro] marsx1984:
It must be the aprils fools edition
[Sony Ericsson Xperia Neo, Pro] szymko1995:
Haha

Prima Aprilis! ;)

Wysłane z mojego Xperia Neo V za pomocą Tapatalk
[Sony Ericsson Xperia Neo, Pro] zieju:
Dobre, dobre :)
[Sony Ericsson Xperia Neo, Pro] talhah sabri:
so its fake???
[Sony Ericsson Xperia Neo, Pro] onlavu:
I can confirm full functionality. I tested by myslef on my Neo and works great. Screenshots will add later.
[Sony Ericsson Xperia Neo, Pro] tinyXperia:
+1 Great job done OP!
[Sony Ericsson Xperia Neo, Pro] Qwerty123 \m/:
Wait a minute :O

THIS FOR REAL ?!@?!#?$@!$#@%

EDIT: OMFG Its so good !!!

Im waiting for a developer to tweak it !!!!
[Sony Ericsson Xperia Neo, Pro] BracaCakic:
Yes this is real a 4.0.2.A.62
[Sony Ericsson Xperia Neo, Pro] Pandemic:
Can someone make some screenshots ??
[Sony Ericsson Xperia Neo, Pro] kormatoes:
THIS IS FAKE DON'T FALL FOR IT IS 62 GINGER

Op

Get a grip its after 12 noon
[Sony Ericsson Xperia Neo, Pro] ThilinaC:
April 1st
[Sony Ericsson Xperia Neo, Pro] maddyriaz:
haha i almost picked up my fone to get started,, lol

:cool:
[Sony Ericsson Xperia Neo, Pro] skyboyextreme:
i knew it with ics official release so close , the 1st of april was going to be full of bullsh*t heh i even thought not to even come to xda on the 1st if april this year :D
[HTC Sensation] salman saso:
Good day

My sensation has a broken touch

I replace the hole screen with digitalize

but still the same problem

I want to enable debug mode in setting so I can update the old firmware 1.18

I just want to root the device but I can’t because debug mode is turned off

I try to install the same software but you know you can’t Install throw RUU if

It the same ver 1.50.415

Also you can’t update firmware unless it has the same MID & CID

and the new RUU for ICS still not out for my country Middle east ver

I am waiting for one month now

SO please any one has Idea to share it with me and help me.
[HTC Amaze 4G] Xcor3:
Fir some reason when i play music using the phone speakers, sometimes the music goes low and then loud in curtain parts.

Now i want to know if its just poweramp or the amaze? And how do i fix it?

Ps: sorry for the out topic
[HTC Amaze 4G] glacierguy:
I haven't noticed that issue and I use a lit of music apps. I don't have poweramp. Does it happen when using any other music app? That should be the test right there
[HTC Amaze 4G] the show stopper:
i used power amp and i never had this problem on my phone. try re-installing the app or follow glacier guy's advice try another app.
[HTC Amaze 4G] EclipzeRemix:
I know what your problem is, when the bass comes the music goes lower, you have to fix the EQ

Sent From Htc Amaze using the good stuff
[Windows Phone 7 Q&A, Help & Troubleshooting] kilus:
whats the best rom for win 7?
[Windows Phone 7 Q&A, Help & Troubleshooting] Dinchy87:
which phone do you have? not every ROM is available to every phone. i use the NEW TECH ROM from ansar for my htc 7 pro, because it is almost a stock ROM, nothing is changed, updateable, plus unlocked, and unlocked even after a hard reset! +it has only a few languages what makes the updating via .cab files easy!
[Windows Phone 7 Q&A, Help & Troubleshooting] kucluko:
i hope it imposibble:p
[Windows Phone 7 Q&A, Help & Troubleshooting] CamelY0:
The Dark Forces Team, DFT, also releases nice roms
[EVO 4G Q&A, Help & Troubleshooting] Nickitt:
Short but sweet.

I am running Destroyer Rom V.2.

Anyone know how to fix the Voicemail?

Keeps sending me Text, then asks if I want to listen, click this (which doesn't work)

I am assuming there is an .zip file I can just flash?

If there is, I just wipe Cach&dalvik correct? I'll keep looking but haven't been able to figure anything out! Ahh!

Thanks guys!
[EVO 4G Q&A, Help & Troubleshooting] dbenney:
no simple zip to flash... if you search you will find many threads on this. You need to flash a stock sprint rom, get 2-3 voicemails on the VVM. back up the data with tibackup... flash rom of your choice, then restore vvm data. make sure its not the newest version. or you can always go the easy route and goto google voice. thats what i did and its not bad.
[Off-topic] mrmondaynight:
Friend is going out to Italy in a month or so, and if all goes well, he's staying out there.

He's obviously not bringing his computer with him, but he wants to remotly wipe 3 drives incase he does stay. 2 storage and 1 os drive.

Any software out there for that?

I mentioned encryption to him, but he wants them wiped

Doesn't want anyone at all to ever see what was once on the drives.

Before anyone asks

1. He can't bring the drives with him

2. the computer is on 24/7

3. he doesn't trust me enough, lol.
[Off-topic] boborone:
I found alot of info here
[Off-topic] boborone:
Really...........I don't get a thanks for answering your question?:confused:
[Off-topic] scoffyburito:
Throw a magnet from far away?
[Acer Iconia Tab A100] helikido:
Which browser on the market allows you to multitask YouTube videos while doing something else, like having a video playback music while doing something else in a whole differ rent app?
[Acer Iconia Tab A100] jschall:
Check out Overskreen along with Stick It! from MBFG (aka myboyfriendisageek). They are unique.
[Acer Iconia Tab A100] pakisan:
Overskreen, is a Great browser

Inviato dal mio A100 usando Tapatalk
[Acer Iconia Tab A100] helikido:
Holly crap over skreen is amazing!! :D thanks guys :)
[Acer Iconia Tab A100] NoSudo:
Those are indeed some cool looking browsers.
[EVO Shift 4G General] notsointeresting:
Looks like HTC aren't as dumb as we thought.

This is taken from a leaked RUU for the HTC Speedy (EVO Shift 4G)

Sense 3.6 with Android 4.0.3 Build 3.6.32.21

This has taken out all updates to the bootloader and you will not lose root.

Load zip on SD Card and flash in Bootloader "Volume down + Power"

I won't be updating so this is just going in general. Do what you will with it.

Download PG06IMG.zip HERE
[EVO Shift 4G General] crump84:
Wow.. Great find! :p
[EVO Shift 4G General] drob311:
Edit: eli... You little, words that cannot be posted on here... You shattered my day! Off to my 12 pack of schlitz and practicing for the WI state wife beating tourny... [Drob311 walks away dejected...]

Edit 2: I really wanna "unthank" your post too... Jerk... Lol :)

Sent from my PG06100