[APP][22.09.2011][v1.1] NoMoarPowah! - Charging screen replacement - ROOT

Search This thread

Binary100100

Retired Forum Moderator
Apr 6, 2008
6,470
1,649
Detroit, Mi
By the way, if anyone has a custom design in mind, feel free to post a mock-up :)

Great work Chainfire! It works great on the Vibrant (as long as it's not running CM7) but I have a suggestion. I use the dock which charges the device in the landscape (270 degrees) orientation. Any chance on getting landscape orientation for future updates?

Also... would it help or hurt if you added the option to clear the batterystats.bin file to automatically recondition the battery?
 
Last edited:

blankedout

Member
Sep 11, 2010
21
0
i know binary just mentioned not to use it on cm7 on a vibrant, but any chance of it working with MIUI / CM7 with a I9000 ?

EDIT:

shame; doesn't work with MIUI (Yes, i know it's based somewhat off CM7, but i can hope)

will be looking forward to if you get it working, or when i get bored of it and go back to a normal rom 8P
 
Last edited:

dully79

Senior Member
Apr 29, 2010
2,844
3,395
res/drawable
droidcandy.weebly.com
Tried this last night, chose option "power off, charge, wake at set time"........ It never woke and neither did I.:(
My girlfriend turned the charger off before wake time so it stopped running, I'll try again tonight.:)

So i tried again, this time it wasn't unplugged and it worked fine.
Thanks Jedi chainfire, you really are the man with the golden touch, have a nice weekend.:)
 

shisux

Member
Dec 28, 2008
13
0
Thank you a million times for this! This is so awesome.

I see a lot of replies describing this as "silly", which it certainly is, but it can also be very useful for some. For me it brought back the only feature I've missed from my decade old Nokia feature phones: being able to shut them off completely for the night, and still have the alarm wake me up in the morning.
It's also really great if your battery runs out, and you leave it to charge. Now you don't need to worry about forgetting to turn it back on again. Awesomesauce.

I was already damn impressed with the OpenGL-tweak app and the dmesg/logcat bootscreens, but this is, to me, even more amazing and awesome, can't thank you enough Chainfire.

I realize actual brightness changing would be a hassle, but as you've stated in the thread, for AMOLED-screens, simply changing the color from white to a darker gray would achieve the same result. I'd love to see a feature like this, nothing fancy - something like "use darker graphics" when installing the system files etc would be appreciated. Also, it'd already help immensely, if there was an option to disable the logo (brightest part of the screen, at least for me) from being displayed.

Again, great app. Even if you did code it as more of a joke than anything else, it's really useful for me at least, and I'll have you know I'd gladly have paid double the price I paid for it. I ended up just sending a small donation instead through the link in your signature, instead.

Keep working on awesome stuff like this from time to time, the Android ecosystem needs a dozen more developers like you!

e: dammit, missed the last few pages of the thread, I see the images can be modded quite easily.

e2: quickly batchedited together a darker imageset, all images (except for the check-marks, I didn't like how they turned out and couldn't be bothered to do them by hand at 2am) are at 50% brightness, and I quickly masked the text from the logo and removed the background. Install through CWM (install script stolen wholesale from ironheart) or manually copy the images over.

It doesn't look great but gets the job done, if I have a couple of minutes free tomorrow I'll try and whip up something a bit more decent.

Here's a rough idea of what it looks like:
 

Attachments

  • NoMoarPowah-imageset_OLEDDark.zip
    201.7 KB · Views: 449
Last edited:

nightranger73

Senior Member
Oct 20, 2010
979
263
50
Reggio Emilia
OPPO Find X3 Neo
Hi Chainfire.... I understand how difficult and frustrating could be coding apps at such lower level... but as you already provided the code for the reboot button what do you think about adding just 2 more small buttons for recovery mode (R) and download mode (D)?
Maybe in a donate/pro version?

Sent from my GT-I9100

If you find this post usefull pleas
e press the "Thanks" button
 

fluidz

Senior Member
Jan 30, 2010
160
18
Very original, thanks Chainfire.. Keep up the fresh ideas and you'll be a rich rich man.

Sent from my GT-I9100 using XDA Premium App
 

rugbydroid

Member
Jun 9, 2010
32
2
Working on that. I had a possible fix already included but it appears it is not sufficient. The problem here is that in the charging mode both the current time and timezone differ, but not in the same way across devices. It is inconsistent. I fear the only way to truly fix it may be to have an option in the Android app to adjust the time manually.

I love this app. Thanks Chainsfire.

I too am seeing a different time when charging other than the current. I think the manual fix would be awesome.

Very neat idea, would love to see this app grow! Thanks again.
 

xinfinityoO

Senior Member
May 14, 2011
2,209
574
Wellington
@ Chainfire

Just a suggestion..if possible

how about adding an option to delete battery stats/bin file once phone is charged to 100% and then delete those files and boot..

would help battery calibration..and make it much easier..

thanks
 

incris

New member
Jul 3, 2010
1
0
Very good job !

Is it possible to have the screen less bright (custom option or Différent color ?) ? I use it at night to look the time, and my eyes are still open after lol
 

tangiers

Senior Member
Jan 29, 2010
411
69
Sydney
HTC Desire
HTC HD Mini
Brilliant app! Finally a way to stop that annoying buzzing in the middle of the night to say the battery is charged. But I would never have found this app if pulser_g2 hadn't referred to me.

There are a lot of ROM dev's who say that the battery full notification has been disabled BUT that is only if the phone is on. Your app lets me charge with the phone off without worrying that I am going to get a 3am alarm!

(BTW: you seem to be the only one who knows what is going on with this: the CM nightly dev's can't figure out how to stop the phone switching on with the charger plugged in).

Bought the app to thank you! Well done.
 

tangiers

Senior Member
Jan 29, 2010
411
69
Sydney
HTC Desire
HTC HD Mini
Seems that the problem remains.... When I reported that the annoying buzz was gone with this App I did son the basis that it didn't do it when the charger indicator got to 100% but it seems it is still there when the phone is "really " fully charged..... Pity.
 

Aqua-Niki

Member
Jun 16, 2010
43
2
Bordeaux
Hi ! I've got a problem and I think it's partially because of this app : I flashed a kernel last night on my Galaxy S II, and something went wrong. No my phone stays on the boot logo when I boot it and I can't access recovery mode (but I could still access download mode).
I hadn't access to a PC at the moment so I let my phone charge overnight (since the kernel was dead, I just had the battery charging screen with a loading circle in the middle) but this morning, the phone was off, with no battery left (so no more download mode). I think because of the dead kernel the app prevents me to charge the phone, even when it is off. Is there a way to fix the situation, other than borrowing somebody's battery or phone to charge the battery ?
Thanks
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 106
    NoMoarPowah! replaces that boring charging animation when your phone is turned off but connected to the charger with a fully functional program!

    In the history of silly stuff I have made, this is perhaps the silliest :)

    This app is only for a select number of Samsung devices. It does not work on any other devices. See the list below

    This app requires a fully rooted device

    NoMoarPowah! can automatically reboot into Android when charging is done. Either when fully charged, or when the battery level reaches 15% and Android has enough juice to run.

    But wait, there's more! NoMoarPowah! can also reboot at a custom time. It will even suggest times based on your currently set alarms, so your phone will be rebooted just before the alarm goes off and you need to wake up! This way you can be sure nobody will bother you while take your well-deserved nap, but still wake up when you need to.

    Tested on the following devices:
    - Samsung Galaxy S (I9000) and family
    - Samsung Galaxy S2 (I9100) and family
    - Samsung Galaxy Tab 7" (P1000) and family
    - Samsung Droid Charge
    - Samsung/T-Mobile Sidekick 4G
    - Samsung Continuum (ticker overlaps)

    It half works on the Samsung Galaxy Tab 10.1 (all models): the functionality is there, but the touch screen does not work in charging mode.

    Other devices from the Samsung Galaxy series with a resolution of 800x480 or more may work as well.

    Some custom ROMs may disable NoMoarPowah! functionality

    Screenshots
    Screenshots are attached for those interested.

    Download
    The free version has ads, there's also a pro version available, for a buck. The pro version doesn't show ads, and has night mode and reduced brightness mode.

    Free version on Market: desktop - mobile

    Pro version on Market: desktop - mobile

    chart
    8
    I'm going to try to answer various questions in a single post here, I hope I get them all and keep them understandable.

    - First, understand that I made this more as a gimmick, and didn't really think people would find it very useful, that's why it's rather playful in layout, name, etc ;)

    - Indeed, you have to make sure the device keeps charging. The program only runs when the phone is in the charger. If you remove the plug, the phone will truly shut down. If you were to lose power (temporary power outage for example) it will however restart itself and continue with the previously selected settings. However, should a power outage occur at the moment the device is scheduled to restart (either due to charge percentage or time-based), it will not do so (that may be fixed, though).

    - Themes, graphics, etc: Nothing is currently truly rendered, there is no special font renderer etc. There is no theming support built-in (though I have considered it for the future). However, everything works with PNGs you can modify yourself, they are located in /system/nomoarpowah. Don't like the balloons? You could take logo.png and rebootnow.png from that folder and replace them with your own. Want the text gray? Modify the font-*.png files, etc. It's work, but if you want to do it now before I build other possibilities for it, you can certainly do so. I would however advise to keep the dimensions of those PNG files exactly the same, and be sure to save the replacement files without an alpha channel. While most of the positioning is dynamic based on the image dimensions, there are some values hardcoded, so if you change the dimensions things may get weird.

    - Further functionality, playing sounds (alarm), changing brightness, etc. What you need to realise is that the program that runs while charging is bare-bones Linux program. There is no Android framework (or any other) which means that absolutely everything is manually coded. The only thing I have to work with is a half-loaded Linux kernel. Putting graphics on the screen is just writing to a certain memory location. This is also the reason I have not made that screen more advanced, because it is a LOT of work to create something simple as for example a screen to manually select a wake-up time. And by a LOT I mean thousands upon thousands of lines of code, excluding the graphics. Playing a sound as alarm? I'd have to build an MP3 decoder and player. Changing the brightness has the same issue, with the added complication that some Samsung-built services are still running in the background that manage the actual charging, button presses and screen control - a service I do not want to replace as it is likely device-specific and unknown what it does exactly (its not open source). What if I miss one of the functions? However, since most of the devices this runs on are AMOLED anyways, and there really is no backlight, reducing the brightness of the actual images rendered has exactly the same effect as reducing a generic brightness setting would have (this is not true for LCD).

    None of these things are impossible to do. But many of them do require a (comparatively) ridiculous amount of work to get done. What takes 3 minutes to build in an Android app can easily take 3 days in an app such as this. Now, if there is massive demand (which would then also translate to Market sales), I might well implement some of them, or all of them. Making a framework for non-Android boot has been on my list for some time, and it's something I have done before on other platforms, so I have experience in the what and how of it, but it's still quite a lengthy operation. (If only every day had 72 hours!)

    I hope that clears some stuff up :)
    6
    NoMoarPowah! Theme

    Ok, so I will be the 1st one... :D

    - Replaced the PNGs with custom logo (SGS2-branded) & reboot
    - font is now rendered with "Sengue UI"

    I hope you'll like this one. ;)


    EDIT:
    - added 'plain' theme (black&white)
    - added 'stockblue' theme (logo, alarm, reboot in blue)


    INSTALLATION:

    - download the attached ZIP to your SD-card
    - download/buy Chainfire's NoMoarPowah! from the Market
    - start the app & grant su-rights
    - click on "install system files" inside the app

    - boot into ClockworkMod-Recovery (>3.0.0.0) and flash the ZIP
    OR
    - remount "/system" writeable and push the all the extracted PNG-files to "/system/nomoarpowah"


    SCREENSHOTS:

    - look at the attachments!
    5
    Chainfire - BEST XDA Dev

    I think XDA should award Chainfire as the best XDA dev.

    I've started to read Chainfire's posts back in the Kaiser forum regarding the openGL hardware acceleration issue. He was a lot more arrogant then ( though i understand that's not easy to put up with so much noobs, stupid questions, and even worst
    people demanding stuff and complaining about his app's) but one thing I was sure: he was very good. He knew what he talked about, shared important information and best of all he presented us with some fine apps (though we can argue about the GUI as we can see in this app).

    We've some very good devs here at XDA that present us with very good apps but when it comes down to must have apps (the ones that really make a diference) who's the dev: Chainfire. He did a hell of a job in the WM6 scene and now is doing it again for the android.

    Coming from a WM6 device, and being relutant betwen WP7 and android when i found that Chainfire was developping for the SGSII, I had no doubt and bought the phone.

    I'm not a particular active member/poster (more the reader type) I must however pay my tribute to Chainfire and thank him for the time he spents develloping apps that are essential to better experience with our phone's.

    Having said that, I end this post the same way i've strated it: Award Chainfire as the best XDA Dev because guys like this are one in a million.

    Thanks Chainfire