yashsingh1/xdaforums huggingface dataset:
[Nexus One General] drive2droad:
Keep up the good work , a dual booting nexus one is a good idea !
[Nexus One General] jayjing:
it's really nice,good job
[Nexus One General] arimasaes:
Cool

Wow, this project is awesome :D I hope this will be the remark of nexus one's revival :)
[Nexus One General] lui22:
we need more devs please step up
[Nexus One General] willverduzco:
Thread moved, as there is no active development going on in the thread. Once there is actual development happening in the thread, PM me, and I'll move it.
[Nexus One General] Wylker:
Seems like you've got a really neat project on your hands but your rules post comes off as really entitled and arrogant. Good luck with your work.
[Nexus One General] dhomas:
I'm pretty excited by this! Just the kind of thing to breathe some new life into my N1. The dual-boot option, if feasible, sounds like a really neat idea.
[Nexus One General] wywywywy:
Hi. Just wondering, has there been any movement since? Thanks.
[Nexus One General] lui22:
what do you mean?
[Nexus One General] lui22:
the project is paused until moar devs come up to the plate
[Touch Pro2 CDMA] ethanpil:
A guy on staff at the Sprint store told me that the TP2 battery is the same as the EVO... can anyone confirm?

By OEM battery has gone bad, and started keeping only a short charge of several hours... The TP2 batteries on EBAY are very costly but an EVO 3500mah batteries are very inexpensive... I was thinking to buy an EVO 3500mah and a TP2 extended back cover.... does anyone have any suggestions or feedback?

thanks
[Touch Pro2 CDMA] havieri23:
i have just tried the evo battery in my tp2, and it works :)
[Touch Pro2 CDMA] derekstaroba:
works better than the touch pro 2 battery? I might need one now thnx :D
[Touch Pro2 CDMA] IM0001:
The battery is the same between the EVO, Touch Pro 2, and the new Arrive.
[Touch Pro2 CDMA] derekstaroba:
That's weird. Touch pro 2 is like 2 years older and about twice as thick. The talk time is only supposed to be about 4 hours. A while back I actually got my first touch pro 2 from a guy who had just gotten the EVO. I remember him complaining it wasn't as fast as he thought it would be. I sold it though when someone happened to make me a really good offer on it.
[Touch Pro2 CDMA] yelped:
They all come with the same 1500mah battery.
[Touch Pro2 CDMA] derekstaroba:
I have an idea: Why not put a solar strip off a calculator on a phone to help keep the battery charged? They seem pretty small.
[Touch Pro2 CDMA] prexzone:
i feel its the same
[Touch Pro2 CDMA] aman1127:
EVO, Hero and TP2 all have the same battery terminals 1000%. I think the original touch pro as well.

Cooler than your EVO
[Touch Pro2 CDMA] anthonyandrews:
I don't think the solar strip from a calculator would charge enough to be useful. There is a samsung phone with a a solar back panel, that is rather large compared to a calculator. Maybe you can adapt something like that?
[Touch Pro2 CDMA] snowplow:
Droid Incredible

Actually, HTC uses the same batteries in a ton of their phones. Besides the phones already mentioned, the Droid Incredible uses the same battery. I've used one of those in my touch pro 2, but it was only 1300mAh...still better than my old worn out 2000mAh battery though:rolleyes:

If you buy any batteries from ebay, don't buy any advertized as "HTC OEM 1800mAh battery" - those are fakes and they don't last worth anything...
[Desire HD Themes and Apps] UpInTheAir:
Excellent post.

I will take a look at your final arrays.xml, but I'm happy (so far) with the one I've cooked up with modified at the dimmer end of the scale.

Over the next day or so, I'm going to try and add extra steps (double) into the array, making a more linear or at least a smoother curve. As you said in Lee's thread, not sure if it's up to the build of the kernel.

Even if I can successfully add the extra values and flash, maybe I won't notice if its really working and the values are applied or they are just ignored by the ROM or kernel? What's the worst that can happen? Backup...........
[Desire HD Themes and Apps] UpInTheAir:
Using the GPS Status & Lux Meter I was able to double check the phone light sensor invrements in:

10-40-90-160-225-320-640-1280-2600-10240 (pls correct me if I've missed any out)

Would the 'driver' for the light sensor need to be modified for extra steps (ie. 10-25-40-70-90-125-160-...........) and then the array?

Any idea how this correlates to the array.xml?

<integer-array name="config_autoBrightnessLevels">

<item>21</item>

<item>42</item>

<item>84</item>

<item>159</item>

<item>336</item>

<item>672</item>

<item>872</item>

<item>1281</item>

<item>2601</item>
[Desire HD Themes and Apps] slopppy:
That looks right to me, I've not noticed any others in my testing :)

Yep, I believe that's right. New drivers would need to be compiled into the kernel, and then the array modified accordingly. This is still something I'm not 100% sure on though, since their could also be a hardware limitation here.

The way it works is, if the light sensor returns a value of 10 (which is < 21), then it returns the first value of the array. If it's 40 ( 40 > 21 and 40 < 42) then it'll use the 2nd value ... and so on. that's why there's one extra value in the backlight values arrays than there is in the brightness level arrays, because it's the in betweens, plus less than the first value, plus greater than the last value.

Does that answer your question? Or did I mis-understand? :D
[Desire HD Themes and Apps] UpInTheAir:
Thanks for the reply. Confirmed what I had thought.

Been looking up on how to de-compile the kernel, but most tools seem to point to lynux system. I run W7, so that's no an option right now. It still is a little beyond my scope of knowledge, but I'm learning bit by bit and also a lot of reading what others have said and researching Mr. Google.

Another useful app is Sensor List, which can graph the changes in lx, but the values are the same as above.

Looks like I'll be keeping this PC when I eventually upgrade so I can run Linux on it to play around...........
[Desire HD Themes and Apps] slopppy:
No need to de-compile it dude ... Lee publishes his kernel source code on github!

https://github.com/LeeDroid-/htc-kernel-ace

As for making changes and then re-compiling it ... I have no idea either :P
[Desire HD Themes and Apps] UpInTheAir:
Thanks, will check it out and see if I can find out anything useful.

I don't really want to bother Lee as he's either quite busy or having some well deserved time 'off' before the official GB release.

It's not that big a deal to me (as you said, could be hardware limitation, so no chance anyway), but more of having a play, seeing where things are and what happens and why.
[Desire HD Themes and Apps] winwintoto1234:
Hi mate,

Sorry, I'm late...:D

Great thread.

Just few questions:

The value I got (have ever seen) in my GPS status are: 10-40-90-160-220(5)?-640-10240

I have not seen these readings: 320, 1280 and 2600.

So, do I need to download and flash arrays.xml.zip first?

What is Base_LeeDroid-Lower_Auto_Brightness_Patch.zip, your initial modified version?

What is LeeDroid-PNW-Lower_Auto_Brightness_Patch.zip then?

Stock_1.84-Lower_Auto_Brightness_Patch.zip means I can use it with my battery mod, right?

I had a thorough test on the one slopppy posted for me in LeeDrOid's thread. I works great except when the reading is at 40. At 40, the brightness is lowered to minimum. I know this as the button light has lit up. (My phone got 40-90-160 under fluorescent light, so if brightness is lowered to minimum at 40, it means it goes too low [for me].) Apart from this, everything works fine.

Sitting in the car under the sun, the brightness works well. Screen is readable even with sunglasses on. Walking out from the car, under direct sunlight, brightness still works fine.

Like what I said before, may be we should not be too particular about how it works under the sun as it maybe too bright an environment for our eyes to notice the difference.

So bro slopppy, what should I do now if I want to try them out now?

Regards!
[Desire HD Themes and Apps] slopppy:
Woooaaaaaaah, slow down .... no, no that's not for patching! That's just if anyone wants to use these values in their own themes.

That's the patch you use if you installed LeeDroid but no themes/battery mods etc on top of it

That's the patch you use if you installed LeeDroid and then installed the "Notification Power Widget" from the OP of the LeeDroid HD thread.

Yep, this is the one you should flash mate :)

I think that 40 isn't a value I come across in my daily life! haha ... I've only ever seen it when I mess around with the sensor to try and make it hit different readings. Couldn't hurt to up it a little I guess.

You should download and flash "Stock_1.84-Lower_Auto_Brightness_Patch.zip". You don't need to do anything else, it will just replace my previous one that you patched. Try it first, since it's different from the one you already have, but I think you might find the same issue. If so, I'll boost the backlight a little at 40 for you.

Let me know how you go :)
[Desire HD Themes and Apps] winwintoto1234:
Thanks mate. Will do a thorough test again for this.

Value 40 is when I'm sitting at the corner and the phone facing away (opposite) the light. My eyes did not notice any much difference in brightness but my phone's sensor did.:D

Thanks more:D for the last sentence of your previous post...:p (maybe push it up a little to 8%-10%? frankly, me too not sure whether it will suit me more... my suggestion, 40 - 8-10%, 90 - 10-12% and 160 - 12-15%)

Edit: Oh, luckily I'm patient enough to wait for your reply this time...lol
[Desire HD Themes and Apps] winwintoto1234:
Quick feedback for indoor test:

My

personal

opinion:

at 40, the brightness is a lowered to minimum and button light turn on, hence, a little too low.

at 90, didn't notice any difference in brightness. However, the button light turned off. So there must be an increment but not noticeable to my eyes. Still too low. (the one posted for me in LeeDrOid thread doesn't have this issue)

at 160, a little (really little only) too bright. Few percent reduction is better.

Will again update my feedback for outdoor test.

Regards!
[Desire HD Themes and Apps] kennykenneth:
HoneyHD Theme.

is it possible to make one for Honey Hd Theme,

http://xdaforums.com/showthread.php?t=1028813
[Desire HD Themes and Apps] hamurabi1:
What about Kalagas theme...i would be very appriciate
[Desire HD Themes and Apps] Spyr0s:
Is this for Froyo only because i can't find arrays.xml inside GB framework-res.apk
[Desire HD Themes and Apps] UpInTheAir:
Yes, sloppy should be a bit more specific, but in his defence, he does mention in the first post cwm recovery 2.5.1.3,...... relative only to LeeDrOiD Froyo.
[Desire HD Themes and Apps] slopppy:
Yep, good point, sorry about that. It's for Froyo SENSE ROMs only.

Anyone know how I can modify the title of the thread??

I'll get on to the requests now.

Cheers,
[Desire HD Themes and Apps] slopppy:
Which version of Kalagas theme are you running? There seems to be a zillion of them :P
[Desire HD Themes and Apps] slopppy:
Hi,

The framework-res.apk from Honey HD doesn't want to play ball. It gets a couple of errors when I decompile it, then totally flips out when I try to recompile it. It's an intense theme ... maybe he's doing some things which are incompatible with the way I'm going about my changes.

You could always see if the developer is nice enough to cook you up a version using my arrays.xml from the OP. He has other changes in his arrays.xml as well, so he would have to make sure he just uses the auto-brightness section.

Sorry mate!
[Desire HD Themes and Apps] hamurabi1:
I am running this version:

Full Kalagas_Mixed_Theme_LeeDroid_HD [v2.0 09/03/2011 - compatible with LeeDroid HD 1.5.0/1.5.1/2.0.0/2.2.2/2.2.3].

Thank you!
[Desire HD Themes and Apps] slopppy:
Here you mate :)

As stated in the OP, please do a nandroid backup first ... better safe than sorry ...
[Desire HD Themes and Apps] Zeljko1234:
slopppy could you please patch my framework? It's attached in my previous post :)
[Desire HD Themes and Apps] futur1sm:
Just checking, can I take the framework-res out of the first zip and use it to make my own battery % mod in the kitchen with the other two files straight from the ROM? :D
[Desire HD Themes and Apps] Brzydki:
for which rom ?? If ARHD just take the framework posted by sloppy 3 posts ago and other files from Mike's Second post

EDIT:

for ARHD:

Framework: http://xdaforums.com/showpost.php?p=15390467&postcount=179

other files: http://tinyurl.com/5wbc5hv
[Desire HD Themes and Apps] futur1sm:
Thanks, was after ARHD. I switch ROMs too regularly to keep that signature up to date :p
[Desire HD Themes and Apps] slopppy:
Sorry mate. Here you go :)
[Desire HD Themes and Apps] Zeljko1234:
Thank you very much but doesn't work. Even with this not cooked framework :(
[Desire HD Themes and Apps] Brzydki:
Try to explain step by step what You've done :)

And tell me which ROM you're using?
[Desire HD Themes and Apps] c33v33:
Running Android Revolution 1.0.4 on Incredible S.

I cooked up a zip in UOT Kitchen. Used that cooked framework for sloppy's tutorial. Replaced the framework in UOT zip file with the framework made in this tutorial. Flashed it in CWM.

After doing this mod, I would get the same force close problems in settings for any application.

I fixed it by using the newest version of apktool. Replace it in the other folder of APK Manager.
[Desire HD Themes and Apps] slopppy:
Sorry mate, I'm fuzzy on what you were doing now. Did you just try and push the framework? Like I mentioned in previous posts, it's only ever worked for me when I upload the files to the UOT Kitchen and flash the zip ...
[Desire HD Themes and Apps] tobi01001:
Did you by chance somehow ask the uot people to integrate autobrightness settings in the kitchen?

Further, just out of curiosity: do you guys with an desire hd or anything but the classic desire ever see the light level 0? The one below 40 actually.

Anyway, thanks for the guide. Helped me alot.
[Desire HD Themes and Apps] slopppy:
Nah, not me mate. Have you heard of them doing something??

I have a Desire HD, and it goes down to 10.

You're welcome :)
[Desire HD Themes and Apps] Zeljko1234:
To be honest I was in hurry yesterday and I complete forget that it must be corrected with kitchen :rolleyes: Actually I wish to cook but kitchen was to busy.

I'll try again, thank you very much.

Edit: Unfortunately, it doesn't work. I cooked framework, pushed to proper location and got boot loop.
[Desire HD Themes and Apps] tobi01001:
No, never heard of them doing so. But since they change framework anyway I thought it would save you time :-)

Then it is really a bug in the classic desire. Already narrowed it down... But need the GB kernel source to give the fix a try.
[Desire HD Themes and Apps] Highlander11:
LeeDroid 3.3.1 update available...

@sloppy: May I ask politely (read: "beg") for an update of the brightness mod for the LeeDroid 3.3.1 ROM, please? :o

http://xdaforums.com/showpost.php?p=15486995&postcount=16171
[Desire HD Themes and Apps] slopppy:
Hi Highlander, I haven't even had a chance to install the ROM on my phone yet, let alone do the brightness mod for it. I'm an outside chance to get time this afternoon, but more likely tomorrow. Will post it up as soon as I do it :)

I'll kick-off the ROM download now in case I get time today :)

Cheers,
[Desire HD Themes and Apps] mrhayami:
Slight Issue

Alright, well I tried to patch some new brightness levels myself for Virtuous Unity 1.27.0 and I managed to get it flashed just fine and the auto levels now work. However now in settings if I go to display I get a FC every time without fail.

Any ideas as to how to remedy this?

If need be I will up the files for someone else to try I just hate asking other people to do stuff for me.

Thanks in advance.
[Desire HD Themes and Apps] slopppy:
Not something I've come across myself. Does ring a vague bell though. Have you gone through this thread? Wonder if it might have been mentioned before in here ...

Feel free to post your framework-res.apk here and I can mod it myself and see if it makes any difference.
[Desire HD Themes and Apps] mrhayami:
I have read through this thread for some time now found people saying that they did add all of the files back in instead of selecting no on step 21, also adding the resources.arsc from the original and all that. There may be something I have missed tho.

Both solutions so far have given me boot loops or the same issue with settings.

Here are the files, one modded and one original:

View attachment framework-res.zip
[Desire HD Themes and Apps] slopppy:
How did you get the new framework onto your phone? Did you push it to the phone via adb? Or did you create a flashable zip in the UOT Kitchen? It only ever works via the kitchen for me ...
[Desire HD Themes and Apps] slopppy:
Lower auto-brightness for LeeDroid HD 3.3.1

Lower auto-brightness for LeeDroid HD 3.3.1

These are to be flashed right on top of Lee's base ROM, without any other mods (Pure Kingdom Sense 3.0 or Rosie 3.0 mods won't affect this).

I've attached 2 versions, one with just low auto brightness and NOTHING else, and the other also includes the battery mod that I like (hybrid circle, green from 100 to 75, then orange to 25, then red).

Always do a nandroid backup before flashing anything!!!!!

Cheers,

Edit: Just realised I copied and pasted the file names from the previous LeeDroid version, but trust me, they're really based on 3.3.1 :)
[Desire HD Themes and Apps] slopppy:
I modded the framework myself. Give it a try and see if it works. As I mentioned above, it only works for me when I submit to the UOT Kitchen.

Edit: this is without adding files back in, exact same steps as the process in the OP.
[Desire HD Themes and Apps] Highlander11:
Thank you! Much appreciated!! :D
[Desire HD Themes and Apps] mrhayami:
Through the kitchen is the only one I've tried so far.

EDIT: 3:08pm Testing now...

Alright it worked without a hitch! May I ask, are you using the older apktool like you stated in the OP? if so where might I find this since I am using the newest package and followed the instructions and cannot seem to result in the same success.

Could it also be compression setting? Every time I edit my files and recompile them my apk turns to about 3mb the one you have sent me is 5mb.
[Desire HD Themes and Apps] slopppy:
Sweeet :)

I wish I knew mate. I honestly don't remember. I've zipped up my apktool.jar that I'm using and attached it to this post. Just unzip it and replace the one in the "other" folder of APK Manager with this one if it's different.

I just use the default value of 9. Don't think I've ever tried changing it.

I also just re-read all the steps that I documented in the OP, and that is still the EXACT process I use.

Happy to work it through with you though and figure out where you're going wrong ...
[Desire HD Themes and Apps] mrhayami:
I do believe that the older apktool worked! The files are larger now (just as the one you had set me was) and I do not have an issue with settings or permaboot!

Virtuous Unity 1.27.0

Auto Brightness tweak with %batt (large stock with %) & dr.droid (simplistic) icons
[Desire HD Themes and Apps] Lewelynn:
Lower Auto-Brightness for Themed Framework

Hi Sloppy thanks for this comprehensive guide, it really helped me. I use a theme and since im new to android it made changing the autobrightness of the themed framework apk really difficult, however I found a way which i thought I would share.

Credits:

1. Sloppy, for this guide.

2. he_stheone64, for his excellent themes and for basically giving me the steps.

3. mike1986, for excellent Android Revolution HD ROM's.

To do this follow the guide on the first post as usual but insert the following steps:

6.1 Get the stock framework-res.apk from the ROM zip your using.

6.2 Extract the drawable-hdpi and drawable-land-hdpi folders from the stock framework.

6.3 Extract the drawable-hdpi and drawable-land-hdpi folders from the themed framework as backup (the one you want to change).

6.4 Replace the png's of the 2 folders above of the themed framework with those from the stock framework. Remember don't extract and rezip the framework, just replace the png's using an achive program. WinRar worked fine for me.

Follow steps 7 --> 21

21.1 Minimise the APK Manager window and navigate to the "place-apk-here-for-modding" folder, there should be an unsignedframework-res.apk.

21.2 Replace the png's in the unsignedframework-res.apk with those from the themed framework.

21.3 Return to the APK Manager window.

Follow the rest of the guide.

Note: Before you flash the modified framework make sure the APK Manager log has no errors. If you have trouble try downloading the latest apktool and replacing the files in the "other" folder of APK Manager (there should be 2 files). Alternatively try using a different achiver programe.

If this helped you just hit the Thanks button.
[Desire HD Themes and Apps] Lewelynn:
I use a flashable zip to transfer the compiled framework to the phone. you just have to insert the framework into the zip and flash it in recovery. I can upload the zip if any one wants.
[Desire HD Themes and Apps] Eagle_B5:
Oh, yes please! Is it with the new Brightness Settings inside?
[Desire HD Themes and Apps] Lewelynn:
I have the brightness for arhd 5.2.x with honeyhd, if u use that I can upload it, otherwise it will just be the zip file
[Desire HD Themes and Apps] Eagle_B5:
I use Virtuous Unity 1.29.0 Sense 3.0 ROM for my DHD.

Does your zip file work with that? If yes, it would be nice to have it :D
[Desire HD Themes and Apps] Lewelynn:
No it won't work because its a different framework. You can follow the steps on the first post if you are willing to change it yourself.
[Desire HD Themes and Apps] Eagle_B5:
Thanks, in that case, i will try it.
[Desire HD Themes and Apps] Waspanater:
Great guide! I was getting FC's in the settings menu as well, until I tried it with the apktools Sloppy posted a few posts back.

Everything seems to be running fine now.
[Desire HD Themes and Apps] slopppy:
Excellent. Think I will post that version of apktool into the OP. You're the 2nd person it has worked for now. :D
[Desire HD Themes and Apps] youp20:
thx, but hard to do
[Desire HD Themes and Apps] mad_shadow:
Everything is working with apk manager from UOT kitchen
[Desire HD Themes and Apps] slopppy:
Lower auto-brightness for LeeDroid HD 3.3.3

Lower auto-brightness for LeeDroid HD 3.3.3

These are to be flashed right on top of Lee's base ROM, without any other mods (Pure Kingdom Sense 3.0 or Rosie 3.0 mods won't affect this).

I've attached 2 versions, one with just low auto brightness and NOTHING else, and the other also includes the battery mod that I like (hybrid circle, green from 100 to 75, then orange to 25, then red).

Always do a nandroid backup before flashing anything!!!!!

Cheers,
[Desire HD Themes and Apps] mulletcutter:
Gave it a shot in VU 1.31, messed up phone. Is there a way you can make this for VU? I know theres direction in OP...just asking.
[Desire HD Themes and Apps] slopppy:
If you post your framework-res.apk here I can mod it for you if you'd like. You can take it to the UOT Kitchen after that ... that's the easy bit.
[Desire HD Themes and Apps] mulletcutter:
Ill have to do when i get home, it wont let ke attach from my phone
[Desire HD Themes and Apps] mulletcutter:
here you go...
[Desire HD Themes and Apps] slopppy:
Here YOU go ;)

Use this modded framework-res.apk and continue on from step 27 in the OP dude :)

Let me know you get on.

Cheers,
[Desire HD Themes and Apps] mulletcutter:
cool, thanks...

now im waiting for my order

Ok got it flashed, but in dark screen goes completly black, cant see anything. Is there a way to turn it up some? :) havnt tested in sun...
[Desire HD Themes and Apps] mulletcutter:
Finally sat down and followed the directions. Its easy, i used notpad ++ for my html classes. Thanks slopppy
[Desire HD Themes and Apps] slopppy:
Sweet :) No worries mate, glad you sussed it out.
[Desire HD Themes and Apps] mulletcutter:
Just curious, what did u lower mine to? I have my lowest set to 25..which is what i like from cm7.