Froyo accurate battery mod - Samsung Infuse 4G

Here's an accurate battery mod with a smooth charging animation I made for Froyo using the UOT kitchen. Flash via clockwork/modified 3e and to be safe wipe cache partition and dalvik cache. Cheers.

Bronk93 said:
Here's an accurate battery mod with a smooth charging animation I made for Froyo using the UOT kitchen. Flash via clockwork/modified 3e and to be safe wipe cache partition and dalvik cache. Cheers.
Click to expand...
Click to collapse
Before I apply this, do you know where I can find the original stock battery? Or do you know how I can backup my current one?

Make a copy of your stock framework-res.apk
Sent from my SAMSUNG-SGH-I997 using XDA Premium App

How did you make it? I went to the kitchen but I didn't know what to choose for the end tab like when you go to send it in. Do I upload my own framework or is there an easier way to do this? This is ok to do over the stock rooted rom right? Also do you know the exact battery color for the stock rom? I want to simply add the % and not change the color haha I love that blue.

Related

[ROM][CWM][ROOT] (Pics Added + Add-Ons) Smooth Maximus ROM GingerClone v1 [7/7/11]

Welcome to the Second &nd My Second Custom ROM for the Sidekick 4G
This is my Version of a Gingerbread/SGSII Clone that i have put alot of work into and took alot of time to get this theme how i wanted it.
it is HIGHLY Recommended that You update to this ROM From Smooth Maximus X.
For the many that like the SMX Theme and themed apps it will be posted in themes and apps section soon to flash over this ROM
MORE SCREENSHOTS Are HERE !!
INFO
Base: SK4G.KD1/SGS4G.UVKD1 2.2.1
Rooted with Modded Recovery to enable flashing into CWM
Deodexed 100%
All Apps Optimized and zip-aligned
Framework Optimized and Zipaligned
All System apps Up to date
Debloated (Like Smooth Maximus X)
Kernel: Bali 2.2
Modem: KD1
Custom Theme based on Gingerbread made by me (Mostly Built From Xperia Arc, AOSP 2.3, and SGSII 2.3 Gingerbread, With my own little touch)
SGSII System App icons
SGSII Live Wallpapers + More
Nexus S Ringtones and Notification + Added more Alarm Sounds.
Nexus(S) Boot Animation + Custom Nexus Shutdown with sound.
Build.prop Edits (Changed Default Ringtones/Notifications, Changes to improve scrolling + UI performance + much More)
Stock/Default Font
Stock Transitions/Animations
Many init.d tweaks for better overall performance.
Additional INFO
Gallery images will load so fast ! (after first reboot, all tweaks should kick in)
Unlocking has never been so smooth ..
The Only Launchers Included is LauncherPro (Amazing, see in the market to see what its capable of.)
And Touchwiz4.5 Launcher by Fr4gg0r! (Also Amazing, See the Original Thread to See what it can do)
Phone now instantly rings when someone dials out/calls your number
Wifi scan interval inscreased by 20% to save battery (changed from 1 min scan to 1.2 min scan)
Most apps are stock (Unthemed, but with themed icons from SGSII)
AOSP Apps: Email, Clock, Calculator.
Some apps themed to look like SGSII Twiz and not the Custom SK4G Twiz (nothing too much)
For those who care about quadrant scores you can get anything from 1250-1550 Just like with Smooth Maximus X
Overall this ROM is Based on Smooth Maximus X which is very fast, but i've made ALOT of changes and testing the edits i made. Things like apps staying in memory, scrolling stutters, pulldown stutters and Much more have been improved and i honestly dont see how it can get better from here (But you decide lol). This will be my flagship ROM so if/when i come up with ideas/mods/tweaks it will be updated for this ROM and Not Smooth Maximus X unless i decide to make time for it.
Download and instructions are in the Second Post . . vVv
(FAQ) And Add-ons Are Below in THIS Post. Right below this. Please Read before Asking any questions.. Thanks !
Click to expand...
Click to collapse
FAQ
Q - i Just Flashed a ROM and Dont Want to Loose all of my Data i just re-setup / I have a setup and i dont want to loose it . . Do i HAVE to Wipe ?
A - Yes you Have to Wipe but if you dont want to loose that data you can Make a nandroid Backup before wiping your Data, Follow the install instructions and install the ROM. Right after the ROM Boots, reboot into recovery and go to backup and restore > advanced restore > *choose backup* > restore data then Reboot and your data is Back to the way it was before you wiped.
___________
Q - im having trouble Downloading a .zip file (or any other file format) from the Browser, What do i do ??
A - Go to the Market and download astro file manager. go to preferences and enable browser to download any file types. Then Download whatever you was trying to download.
Click to expand...
Click to collapse
ADD-ONS
Phone fix: Phone_memo_fix flash via CWM
Green Honeycomb Battery - See This Post for Photo and Download is attached to this post
Smooth Fonts *Flash from CWM recovery* (Custom Fonts from Smooth Maximus X) Download Here
Click to expand...
Click to collapse
Install Instructions: Read Carefully.
* First Off, its ALWAYS good to keep a nandroid backup incase you run into a problem.
if you dont already know how to, Do it From CWM recovery. Go to Backup/restore > Backup and it will backup your phone system ,data ect and you can restore it back to this state From CWM whenever you want. *
Click to expand...
Click to collapse
Flash though CWM - Just Like Smooth Maximus X
Instructions -
- Put zip file in your /sdcard
- Reboot into cwm recovery
- Wipe Data/Factory Reset
- Wipe Cache Partition
(Optional but recommended to prevent any minor issues)-Wipe Dalvik Cache from advanced menu in CWM
*Now before you Flash, Only if this is your FIRST time Flashing a Custom ROM otherwise ignore the mounts/unmount part*
MAKE SURE YOUR MOUNTS LOOK LIKE THIS: (Go to mounts and storage from CWM recovery)
UNMOUNT CACHE
MOUNT DATA
MOUNT SDCARD
UNMOUNT SYSTEM
Click to expand...
Click to collapse
- Now its safe to Flash the .zip
(Optional but recommended)-Wipe Cache then Wipe Dalvik Cache from advanced menu in CWM before Rebooting.
(AGAIN IGNORE UNLESS THIS IS your First time installing a custom ROM) after you flash, go back to mounts and storage and make sure your mounts look like this
UNMOUNT CACHE
MOUNT DATA
UNMOUNT SDCARD
UNMOUNT SYSTEM
(To First Time installers, System Needs to be set to Unmount, though it would really be mounted. If you do Not do this you will have a softbrick and will have to ODIN to stock and start all over ....) Once you have Flashed a Custom ROM or Bali 2.2 Kernel you dont have to worry about mounts
Click to expand...
Click to collapse
AFTER THE ROM BOOTS, i Recommend letting it sit for about 5 mins without use so cache and stuff builds back up, then log into google from gmail/market or someway, let google sync for 5 mins then reboot again. then you will have your Sidekick 4G in the best state its ever been
Click to expand...
Click to collapse
Please leave Feedback, Tell me what you like/dislike or leave ideas Download and Enjoy !
Smooth Maximus GingerClone ! [176.12 MB] >>> DOWNLOAD!!!
30 mintues<3
yes!!!!! victoryyyyy
can't wait lol
Sent from my SGH-T839 using XDA App
thank you ayo!
flashing as we speak!
Download and instructions in second post now .. Enjoy Guys !
ayoteddy said:
Download and instructions in second post now .. Enjoy Guys !
Click to expand...
Click to collapse
just to be clear if flashed smooth maximus rom x then we dont check mounts
tylermaciaszek said:
just to be clear if flashed smooth maximus rom x then we dont check mounts
Click to expand...
Click to collapse
yes, if you've flashed a Custom ROM or Bali 2.2 no need to check mounts.
ayoteddy said:
yes, if you've flashed a Custom ROM or Bali 2.2 no need to check mounts.
Click to expand...
Click to collapse
quick suggestion if you dont mind.
put backup in cwm as first step for first timers they may not know to back up
are there any pics
Sent from my SGH-T839 using XDA App
j-king said:
are there any pics
Sent from my SGH-T839 using XDA App
Click to expand...
Click to collapse
im rebooting now i can upload pics if ayoteddy does not
tylermaciaszek said:
im rebooting now i can upload pics if ayoteddy does not
Click to expand...
Click to collapse
i will be adding pics to the OP later but you might beat me to it.
damn it i flashed maximus x by accident :/
fixed it
this bootup scrren is amazing<3
are there any pics
Sent from my SGH-T839 using XDA App
Click to expand...
Click to collapse
ayoteddy you have outdone yourself with this rom.
it is super responsive and quick.
its nice on the eyes i love the green.
the notification bar looks clean, the app draw opens instantly.
the scrolling is very smooth. no checkrboarding when zooming on web.
i like how this says 4g instead of the H
good choice in launchers
im impressed keep up the good work.
pictures below more up later vvvvv
tylermaciaszek said:
here are a few more up later!
Click to expand...
Click to collapse
lol your pics came out inverted . . i think you can change that from the settings in your screenshot app .
ayoteddy said:
lol your pics came out inverted . . i think you can change that from the settings in your screenshot app .
Click to expand...
Click to collapse
oh the colors. i didnt realize that it will be fixed with the new pictures later
tylermaciaszek said:
here are a few more up later!
Click to expand...
Click to collapse
looks awesome
Sent from my SGH-T839 using XDA App
nice work loving it
j-king said:
looks awesome
Sent from my SGH-T839 using XDA App
Click to expand...
Click to collapse
the color scheme in my pictures are messed up a little im sorry but you get the idea of the rom

The Cause Of Bootloops From Wiping Data on Themes

I have been trying endlessly to find the cause of the bootloops when you factory reset(wipe data/cache)> I believe I have narrowed it down to either in the framework-res.apk(however I do not believe it is the battery mod causing this). Its not the reboot recovery mod either because I made a version of my theme of the stock deodexed theme with no mods, and just modded services.jar to change some colors around and it still bootlooped.
But the normal unthemed stock deodex template you can wipe data(however I believe the android keyboard fc's everytime)
I need some advice/help from some of the experienced devs out here. At first I thought it was because of compressing the .jars when modding them(for example serives.jar) however I realized that if the stock deodexed template or ROM didnt bootloop on data wipe, it couldnt be that because when deodexing you have to compress the .jar's when adding the classes.dex using 7zip or somthing.
I also took a version of my theme that has the reboot recovery mod, and the 1% battery mod(both of which I confirmed not to be causing it by process of elimination) and unzipped the .jars I had modified, and zipped them up with no compression, and it still bootlooped.
It seems like its a combination of several things. If anyone out there experienced with theming and how the framework works that can help I'm all ears because I want my ROM to wipe data on the first release to give the best possible install without them having to go back to stock to wipe data. Hoewever at the moment it just bootloops if I wipe data.
I am at a complete loss lol! It's so frustrating and confusing!
Have you been unzipping and rezipping with the latest version of apktool (1.4.2, unofficially distributed by Brut.all)? And if so, then... I may be at a loss for words too. Then again I haven't wiped data in a while, but never had any issues either...
The very act of recompiling those files might result in smaller ones (blame apktool not me)... maybe that's the reason?
Going to check that out on my BL right now.
Extra thought: Where are you wiping data from? I remember on my old Optimus, if you wiped data from the regular phone, it would crash the phone into a bootloop too. But if you did it from recovery, everything was fine.
Recovery. I never wipe from phone menu. Its somewhere in the framework Res but I don't know what it is!
Sent from my MOTWX435KT using Tapatalk
How does your phone look with the stock framework-res applied?
Is there a bare minimum of a /data structure you can flash back onto your phone to get it to worK? If so, you could make a /data-flashing update.zip instead. A little hacked, but it would still work...
Tried that. Too many permission complications!!
Sent from my MOTWX435KT using Tapatalk
Is there a way to just delete stuff until you can't delete any more, and then make a nandroid backup of that specific image, and then make the image flashable?
Or just delete all your data or something, then Nandroid it... I dunno. Opening images for editing is too much of a pain.
Stupid permissions, why can't everything be more like Windows?
If you use the latest CWM(5.0.2.3) with the blue text it defaults to making .tar backups instead of .img nandroids. But if you wanna unpack a nandroid use a tool called unyaffs.exe compiled for windows.
The new CWM can be found in a flashable zip here:
http://forum.xda-developers.com/showthread.php?t=1282951
And I'll attach the unyaffs.exe program. You just use it through the command prompt and change directory to where you unyaffs.exe is located at and put you system.img or data.img in there with it and call unyaffs system.img or unyaffs data.img. It will extract everything to that folder. Pretty neat its how I made the stock ROM for this phone originally!
One of these days, you devs gotta tell me where you find these tools, after I googled and googled and only came up with a Python script! (Heck, even the name "unyaffs" sounds familiar.)
Is there an easy way to throw those files back together? I mean, the structure would probably be the worst part, but from what it sounds like you can just throw a bunch of files together by practically appending to them... (Edit: from the unyaffs source page. "Now it can only extract images created by mkyaffs2image" probably answers my question.)
again, not like I know what I'm doing. But ah well .w.
Edit 2: Herp derp, this would be a little easier from Linux... I think. But I really, really don't want to put Linux on my computer.
Edit 3: I suddenly don't feel totally stupid... http://forum.xda-developers.com/showpost.php?p=16084313&postcount=17
Try this; wipe data, flash, wipe cache, wipe dalvik, and fix permissions. I just did that testing my rom. It booted. I didn't flash back to stock. But, my dumb ass didn't include the set up wizards in my rom so I really couldn't do much. Had to restore. I always flashed with this procedure with my vibrant with no problems. Hoping it will work for y'all.
Sent from my MOTWX435KT using xda premium
Does your rom have a modded framework. Like reboot recovery, themes or 1% battery mod?
Sent from my MOTWX435KT using Tapatalk
b_randon14 said:
Does your rom have a modded framework. Like reboot recovery, themes or 1% battery mod?
Sent from my MOTWX435KT using Tapatalk
Click to expand...
Click to collapse
Reboot/recovery in power menu, and 100 charging/100 discharging battery mod. Tried it again, it booted, but had a slew of acore FCs. It boots though.
Dan_Brutal said:
Reboot/recovery in power menu, and 100 charging/100 discharging battery mod. Tried it again, it booted, but had a slew of acore FCs. It boots though.
Click to expand...
Click to collapse
As cool as that is, I don't think that counts... hmm. Is your framework-res.apk signed? I had bootloop issues with an unsigned framework-res.apk (just pushing it over, file-explorer style), and then force-close up the wazoo when I signed it.
Ironically, I solved the problem by putting the framework-res.apk into a flashable zip and, well, flashing it.
Feels weird man. This is like deja vu or something...
primetechv2 said:
As cool as that is, I don't think that counts... hmm. Is your framework-res.apk signed? I had bootloop issues with an unsigned framework-res.apk (just pushing it over, file-explorer style), and then force-close up the wazoo when I signed it.
Ironically, I solved the problem by putting the framework-res.apk into a flashable zip and, well, flashing it.
Feels weird man. This is like deja vu or something...
Click to expand...
Click to collapse
And why wouldn't it count? Signed with testkey x509.pem and testkey.pk8.
Dan_Brutal said:
And why wouldn't it count? Signed with testkey x509.pem and testkey.pk8.
Click to expand...
Click to collapse
Because ACore force-closes just don't make a working rom Although they're... marginally closer to it.
primetechv2 said:
Because ACore force-closes just don't make a working rom Although they're... marginally closer to it.
Click to expand...
Click to collapse
True, but I got the system to boot without a loop.
Sent from my Motorola Triumph using xda premium
Yeah I'm giving up lol. My rom will ist not wipe data and if you do wipe data then you will have to restore a stock backup for data!
Sent from my MOTWX435KT using Tapatalk

Battery mod + CRT OFF + CRT ON

I made a framework-res.apk file for my own use to include
1. battery percentage mod
2. crt off effect
It wasn't planned as the official release or something alike so I haven't tested it extensively. Again, it was just for my own use and I decided to share.
The file is based on official deodexed kj6 from RaverX3X with stock kj6 kernel so it should work for anybody who uses this ROM. It works fine on my device.
Not sure about the odexed version.
TO USE - overwrite the framework-res.apk in /system/framework/ with rootexplorer or any other file browser with root access.
I suggest to run a backup first but it's your choice
12/1/11
Adding CRT-ON animation
Same deal as with the CRT-OFF but this time we're overwriting the services.jar file in the same location inside /system/framework/
Works great. Thanks!
Sent from my SGH-T959V using XDA App
error666 said:
I made a framework-res.apk file for my own use to include
1. battery percentage mod
2. crt off effect
It wasn't planned as the official release or something alike so I haven't tested it extensively. Again, it was just for my own use and I decided to share.
The file is based on official deodexed kj6 from RaverX3X with stock kj6 kernel so it should work for anybody who uses this ROM. It works fine on my device.
Not sure about the odexed version.
TO USE - overwrite the framework-res.apk in /system/framework/ with rootexplorer or any other file browser with root access.
I suggest to run a backup first but it's your choice
Click to expand...
Click to collapse
Now I'm running the kj1 kernel since kj6 didn't have vodoo & cmw, will this MOD not work with kj1?
Update: got it to work regardless of kernel. Thx for the work. It's awesome!
Thanks dude. This also works on SimplySimple v1.0 with StockKJ5 theme.
Dude do you think you can also do the CRT-ON screen animation?
Works flawless
gr33nzpoint said:
Dude do you think you can also do the CRT-ON screen animation?
Click to expand...
Click to collapse
I guess... it's not too complicated.. I'm just really not sure if I have the time.
How about this? If I have some spare time I'll play with it. No promises though..
error666 said:
I guess... it's not too complicated.. I'm just really not sure if I have the time.
How about this? If I have some spare time I'll play with it. No promises though..
Click to expand...
Click to collapse
Take your time bro.
gr33nzpoint said:
Dude do you think you can also do the CRT-ON screen animation?
Click to expand...
Click to collapse
I was able to look at it sooner.... see the first post
CRT off works but not CRT on. I followed the exact directions .
neotoky said:
CRT off works but not CRT on. I followed the exact directions .
Click to expand...
Click to collapse
So you copied both files to /system/framework?
rebooted the device?
Did you try cleaning up dalvik?
Also make sure that under display settings - all animations are enabled.
error666 said:
So you copied both files to /system/framework?
rebooted the device?
Did you try cleaning up dalvik?
Also make sure that under display settings - all animations are enabled.
Click to expand...
Click to collapse
Yup, I copied the two files to the framework folder.
I rebooted twice.
I have all animations enabled.
I am running stock kj6, so I don't don't have recovery to clean up dalvik unless there's another way.
neotoky said:
CRT off works but not CRT on. I followed the exact directions .
Click to expand...
Click to collapse
Same thing with me. I also did everything you said and it still didn't work. Thanks.
Sent from my SGH-T959V using xda premium
error666 said:
I made a framework-res.apk file for my own use to include
1. battery percentage mod
2. crt off effect
It wasn't planned as the official release or something alike so I haven't tested it extensively. Again, it was just for my own use and I decided to share.
The file is based on official deodexed kj6 from RaverX3X with stock kj6 kernel so it should work for anybody who uses this ROM. It works fine on my device.
Not sure about the odexed version.
TO USE - overwrite the framework-res.apk in /system/framework/ with rootexplorer or any other file browser with root access.
I suggest to run a backup first but it's your choice
12/1/11
Adding CRT-ON animation
Same deal as with the CRT-OFF but this time we're overwriting the services.jar file in the same location inside /system/framework/
Click to expand...
Click to collapse
So all I need to do is just copy the service.jar since I already the framework jar from the crt-off?
Update: got it to work. I only copied the services.jar into /system/framework. I then booted into CMW wiped cache & davlik, rebooted phone and presto changeo! Hope this helps anyone else.
neotoky said:
Yup, I copied the two files to the framework folder.
I rebooted twice.
I have all animations enabled.
I am running stock kj6, so I don't don't have recovery to clean up dalvik unless there's another way.
Click to expand...
Click to collapse
Titanium backup can clean dalvik.
or you can try cleaning cache in the stock recovery... Are you on deodexed build?
Quick note for people who dont have CRT On Off working - If you are using SpareParts and have the transition and animation speed set to FAST, you have to change it to NORMAL. CRT ON OFF do not work with FAST speeds.
Just my $0.02
error666 said:
Titanium backup can clean dalvik.
or you can try cleaning cache in the stock recovery... Are you on deodexed build?
Click to expand...
Click to collapse
I'm using raver's odin stock kj6. I have tried wipe cache and titanium dalvik clean up with no luck.
virajss said:
Quick note for people who dont have CRT On Off working - If you are using SpareParts and have the transition and animation speed set to FAST, you have to change it to NORMAL. CRT ON OFF do not work with FAST speeds.
Just my $0.02
Click to expand...
Click to collapse
Unfortunately, I'm not using spare parts.
neotoky said:
I'm using raver's odin stock kj6. I have tried wipe cache and titanium dalvik clean up with no luck.
Unfortunately, I'm not using spare parts.
Click to expand...
Click to collapse
Try flashing Drhonks kj1 kernel with Odin, that will give you cmw recovery and then you'll be able to wipe davlik cache.
sent from my CommandCenter using xda premium
neotoky said:
I'm using raver's odin stock kj6. I have tried wipe cache and titanium dalvik clean up with no luck.
Unfortunately, I'm not using spare parts.
Click to expand...
Click to collapse
Come on.. I said several times.. DEODEXED ROM
Raver's odin is odexed. Only CWM version is deodexed.
I always confuse the two. I apologize, no need to bite my head off.
Sent from my SGH-T959V using XDA App

Titanium BU's New Dex Feature

Big problem I just discovered with Titanium Backup that everyone should be aware of... We all know not to backup/restore system settings between Roms...
Well now TB has rolled out a new feature that let's you move the DEX information into the system folder to save space on your data partition. Sounds good, right?
However, if you do so, make sure you don't plan on ever flashing a theme, no-wipe update or any other kind of mod to your phone.
See, with those odex files now in the system partition instead of the dalvik cache, flashable updates that used to wipe the dalvik cache to prevent force closes now can't. Even doing a factory reset won't solve it, because factory reset doesn't wipe /system. You've effectively re-odexed your ROM, preventing ANY changes.
If you've already used this feature, you'll need to either flash a full-wipe ROM to remove the odex files (factory reset isn't enough), or go in and manually delete them through adb shell. If you don't, any time you flash a theme or update to your ROM that doesn't do a full wipe, you'll have force closes.
Good post. (I always avoid odexed roms) . I've used TB for 18mo., and still dont know what 70% of the features do lol. Like market doctor. What is that?
Sent from my PC36100 using xda premium
scottspa74 said:
Good post. (I always avoid odexed roms) . I've used TB for 18mo., and still dont know what 70% of the features do lol. Like market doctor. What is that?
Sent from my PC36100 using xda premium
Click to expand...
Click to collapse
Doesn't that attach your apps to the marketplace, in case you downloaded a file that was not on the market? Im not exactly sure, but that is what my guess would be.
to wipe system in cwm just go to..
mount/system/format
no probs
Sent from my LG-P999 using xda premium
d12unk13astard said:
to wipe system in cwm just go to..
mount/system/format
no probs
Sent from my LG-P999 using xda premium
Click to expand...
Click to collapse
Well if you wipe system, you would have to re-flash because you would have no system.... which is essentially the same as re-flashing a full-wipe Rom...
The point is it breaks modding system files through normal methods (just push/flash without wiping)...
oic lol i fail'd
Sent from my LG-P999 using xda premium

Remove a theme

If u install a theme n dont like it can u just remove it like an app or do u need to wipe data?
Sent from my SCH-I510 using XDA
cnoevl21 said:
If u install a theme n dont like it can u just remove it like an app or do u need to wipe data?
Sent from my SCH-I510 using XDA
Click to expand...
Click to collapse
What ROM are you on?
If you're on Tweaked and you're going to change themes using TweakTools, it will automatically mount /system and wipe cache plus Dalvik cache.
If you're not on Tweaked, I'd recommend wiping cache and Dalvik cache as well. You can always wipe data/factory reset as well to be safe. Remember to mount /system in CWM.
Or the easy way and just flash the rom over the top....
now you have stock theme...
SENT FROM THE DOG POUND
cnoevl21 said:
If u install a theme n dont like it can u just remove it like an app or do u need to wipe data?
Sent from my SCH-I510 using XDA
Click to expand...
Click to collapse
As cujo said, reflash the ROM over the top without wiping anything.
A quick primer on themes: they aren't just a collection of color or image changes. They're more like mini-roms that are built on top of a specific rom version. They change a lot of core apk's to do what they do. That's the reason that themes are built for specific roms and you should never flash them on a rom for which they are not intended. It's also why if you have a theme installed and wipe data, you will still be on the theme.

Categories

Resources