FORUMS

HTC Delivering Ads Straight to Sense Home

HTC’s 2015 has been a year marked by a desperate search for revenue.The HTC One M9 … more

Galaxy S6 & Edge get €100 Price Cut—New Models Incoming

Samsung has dropped the price of both the Galaxy S6 and S6 Edge by … more

How To Port Fully Featured Sony Xperia Z4 Camera

Xperia Z4’s hardware may not impress, but its software is definitely … more

Experimental TWRP Available For Moto G 2015

XDA Senior Member squid2 has posted experimental builds of TWRP for the Moto G … more

[Theme][3/30/2012]SerenityV3.2 [Virtuous .21/WSG]

577 posts
Thanks Meter: 327
 
By reNeglect, Senior Member on 12th January 2012, 09:04 PM
Post Reply Subscribe to Thread Email Thread
8th March 2012, 10:26 PM |#341  
Swiftks's Avatar
Retired Forum Moderator
Flag The Woodlands, TX
Thanks Meter: 1,927
 
More
This is the response I got from the OP of the RootzWiki Thread... Passing it along to enhance our chances of success.
barrmy said:
================================================== ====================
swiftks -
rather than looking at the smali code, it would be better to look at the java code
the code has evolved since this original mod, so below is the better solution:

by default, the battery binary [services/jni/com_android_server_BatteryService.cpp] reads the battery value from /sys/class/power_supply/battery/capacity

for motorola, we were fortunate that it writes 1% battery files to a file at /sys/class/power_supply/battery/charge_counter , so the end solution in custom roms was to change com_android_server_BatteryService.cpp to read from /charge_counter instead of /capacity

----
the original mod, changed the BatteryServices.java file (that compiled into BatteryService.smali) to use the FileReader function to read /charge_counter and then replace mBatteryLevel with the 1% value instead. One can make the edits in java or in machine code.

---
keep in mind this runs the battery faster than reading in 10%'s
so part of the question for you guys would be:
for 1%:
- is there a file in /power_supply or another location that writes 1% values already?
if not, then you'll have your work cut out for you
for revised graphics:
- you should be able to decompile or build systemUI from source, without it you can't edit the xmls correctly
I typically build from source (for the same reason, very hard to find aapt that works well for recompile), and don't know if the prime source is available?
 
 
8th March 2012, 11:54 PM |#342  
Junior Member
Thanks Meter: 1
 
More
awastut was
Bout to flash now. Thanks for all the work you guys are doing on this and all projects.
9th March 2012, 06:29 AM |#343  
diggs_r's Avatar
Senior Member
Thanks Meter: 23
 
More
Sorry if this is a repetitive question, but I was wondering which clock is in the pics on page?

Sent from my Galaxy Nexus using XDA Premium App
9th March 2012, 06:39 AM |#344  
OP Senior Member
Flag Calgary
Thanks Meter: 327
 
Donate to Me
More
Quote:
Originally Posted by diggs_r

Sorry if this is a repetitive question, but I was wondering which clock is in the pics on page?

Sent from my Galaxy Nexus using XDA Premium App

mClock widget with miui clock XML.

If that's the case we're kinda screwed aren't we? I don't think Asus released the source did they?
16th March 2012, 07:47 AM |#345  
OP Senior Member
Flag Calgary
Thanks Meter: 327
 
Donate to Me
More
Bumpz~ Added support for WSG =) and one minor change =)
The Following User Says Thank You to reNeglect For This Useful Post: [ View ]
16th March 2012, 01:14 PM |#346  
hollywould's Avatar
Senior Member
Flag Huntington Beach
Thanks Meter: 52
 
More
Hey, love your work. Can you make a version that I can flash on my stock .15 ROM? or just post the SytemUI.apk? Thanks a lot.
The Following User Says Thank You to hollywould For This Useful Post: [ View ]
16th March 2012, 08:38 PM |#347  
Junior Member
Chicago
Thanks Meter: 0
 
More
Is there anyway I could flash just the soft keys?
16th March 2012, 09:18 PM |#348  
Swiftks's Avatar
Retired Forum Moderator
Flag The Woodlands, TX
Thanks Meter: 1,927
 
More
Quote:
Originally Posted by dcowens

Is there anyway I could flash just the soft keys?

Pull them out of the apk file and replace your's accordingly.
16th March 2012, 09:33 PM |#349  
cbasse's Avatar
Senior Member
Flag South of Boston, MA
Thanks Meter: 79
 
More
Is there a problem with the download link? Every time I try to download v 3.1 it starts, but then immediately says " unsuccessful". Can anyone post the file or point me to a mirror site?

Sent from my Transformer Prime TF201 using xda premium
16th March 2012, 09:36 PM |#350  
OP Senior Member
Flag Calgary
Thanks Meter: 327
 
Donate to Me
More
Quote:
Originally Posted by cbasse

Is there a problem with the download link? Every time I try to download v 3.1 it starts, but then immediately says " unsuccessful". Can anyone post the file or point me to a mirror site?

Sent from my Transformer Prime TF201 using xda premium

Are you downloading from the tablet it self? Because devhost doesnt work on mobile for some reason. I would love to mirror it but, im using devhost so i can keep track of the downloads.
16th March 2012, 09:40 PM |#351  
cbasse's Avatar
Senior Member
Flag South of Boston, MA
Thanks Meter: 79
 
More
Quote:
Originally Posted by reNeglect

Are you downloading from the tablet it self? Because devhost doesnt work on mobile for some reason. I would love to mirror it but, im using devhost so i can keep track of the downloads.

Thanks for the quick response...Will have to try from my desktop and transfer to my Prime.

Sent from my Transformer Prime TF201 using xda premium

Read More
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes