[MOD] Battery Percentage Mod - alternative version - LG Optimus 2x

Hello,
I have made some modifications to MaliciousKen's mod of the battery percentage for stock rom:
Changes:
- the main change is to show the percentage even during charging; I based on MaliciousKen's graphic files and just made some changes in the xml
- based on v10d stock rom's framework-res.apk
- retain music notification in the status bar (i.e. same as stock version, you can disable it in Music's setting; there seems no problem in v10d version on this)
This is my first time modifying an apk! Please have a try and let me know if there is any problem

Any screenshots pls??

Will it work on mcr10?

No. This version is for stock ROM.

How do i install this ?

Read this thread:
http://forum.xda-developers.com/showthread.php?t=1007863
You'll install it as is (archive) with option "install zip from sd card".

It Just rebooted when i got to enter simcode..

MidNightRX said:
It Just rebooted when i got to enter simcode..
Click to expand...
Click to collapse
Same happened to me. Using V10b baseband.
Sent from my LG-P990 using Tapatalk

DO NOT INSTALL THIS !!
If you will make this mistake, do a backup first. In case you don't ,you must flash a new rom.
Just a warning, maybe you have anything else to do these days.
Thank you very much by the way..

Vidroid said:
Same happened to me. Using V10b baseband.
Sent from my LG-P990 using Tapatalk
Click to expand...
Click to collapse
Sorry if it has caused trouble. Now I have uploaded another one based on MaliciousKen's version directly. So hopefully this should work for v10a/b/c.
Do make a backup (at least copy out your original framework-res.apk) before you try.

cristian_seven said:
DO NOT INSTALL THIS !!
If you will make this mistake, do a backup first. In case you don't ,you must flash a new rom.
Just a warning, maybe you have anything else to do these days.
Thank you very much by the way..
Click to expand...
Click to collapse
You don't need to flash a new rom, just install MaliciousKen's version. That worked for me.
Sent from my LG-P990 using Tapatalk

dohanin said:
Sorry if it has caused trouble. Now I have uploaded another one based on MaliciousKen's version directly. So hopefully this should work for v10a/b/c.
Do make a backup (at least copy out your original framework-res.apk) before you try.
Click to expand...
Click to collapse
NO, same thing. Maybe you should try first!

cristian_seven said:
NO, same thing. Maybe you should try first!
Click to expand...
Click to collapse
hmm.... I did try before posting these files. I only have v10a and v10d stock rom and the above two mods work fine on my phone, so I'm running out of ideas now.
However, if either of the above works for anyone, please kindly let me know.
As said, it's the first time I modified an apk file, so when I found it successful (on my phone), I'm so excited to share here. Too bad if it only works on my phone

I have re-built the apks with another method and tested ok. Please have a try if you have time

dohanin said:
I have re-built the apks with another method and tested ok. Please have a try if you have time
Click to expand...
Click to collapse
which xml file should I edit in order to build a working apk ?
I tried to modify the stat_sys_battery.xml and stat_sys_battery_charge.xml
and I have also put the image file in correct place..
using APKmanager to compile and sign ...
I just got boot loop afterall -__-
Anything I have missed ?

the 1st xml is for the normal display of the icon while the other one is during charging (animation)
i used apktool 1.3.1
(note the latest apktool is 1.3.2 but this one appears buggy, i also had the boot loop with it)
Sent from my LG-P990 using XDA App

Hi
Can be used with the 29 Sep Gr3 WIP (V20i) MoDaCo Custom ROM?

Related

Any possibility of changing battery icon without flashing a whole new rom?

Tried uot kitchen but no luck, I'm on stock rom with recovery and s_off. After flashing uot I kept receiving fc.
Sent from my Desire HD using XDA App
I used an upload framework-res.apk but no luck.
Did you use your own uploaded framework-res.apk thingy? Thats crucial...
you should have done a nandroid backup thats the first rule before doing anything
Aamir.Badat said:
you should have done a nandroid backup thats the first rule before doing anything
Click to expand...
Click to collapse
I did so, that's why I can use xda app to start this thread.
I made one STOCK framework with STOCK battery with % on it for myself I will create a Topic with Screens and update.zip and give U a shout here
EDIT:
http://forum.xda-developers.com/showthread.php?p=10223994#post10223994
Maybe it will help U in some way.
You HAVE to use the framework file for your currently installed ROM for this to work, otherwise it won't
Krzysiec said:
I made one STOCK framework with STOCK battery with % on it for myself I will create a Topic with Screens and update.zip and give U a shout here
EDIT:
http://forum.xda-developers.com/showthread.php?p=10223994#post10223994
Maybe it will help U in some way.
Click to expand...
Click to collapse
Thank you, I'll try it out right now.
Update: Thanks, It worked! Will be great if circular style is available, which have larger numbers for people who have poor sight like me.
Software Guru said:
You HAVE to use the framework file for your currently installed ROM for this to work, otherwise it won't
Click to expand...
Click to collapse
Yes, I did so, I have a good habit of reading every instructions of my new devices, even my windows 7 guide.

[Mods] Battery mods for Leedroid roms

Hi
This Is my attempt of creating a battery icons from scratch
Gingerbread and froyo compatibly cwm 2.5.1.3 and cwm 3.xx compatible
ENJOY!!!!
Please Read careful below
Please Read post 2 for change log
Download links
Leedroid rom 2.2.3
Leedroid Gingerbread Rom
PLEASE follow the guide carefully ( And Dont Forget to do a Backup First)
Guide on How to Install Mod
1. Download the attach file depending which rom your using
2. Extract the the zip file
3. Choose the folder which cwm your using
4. Choose battery zip and put on sd card
5. Flash as normal
screen shots added
Future Mods to come
Changelog20:19 13/3/11
New Stock Battery icon with % and charge%
added to zip files
images added to op
Changelog 13.34 13/3/11
Battery mods been made flashable zips
compatibly for cwm 2.xxx and 3.xxx
OP updated on guide how to flash
Changelog 21:37 12/3/11
All previous battery mods have been removed
only 1 battery mod available %down %charge
Compatible with leedroid 2.2.2 And Gingerbread
Changelog 07.38 8/3/11
Added new % up %down battery icon for beta 2.3.4
Changelog 13.18 3/3/11
Added Gingerbread battery as default
Changelog 9.22pm 2/3/11
updated zip battery icon with charge numbers 1% optimized
Been looking forward to this. thanks. Could u please provide larger screen shots though.. it's a little hard to see the battery icon.
SupremeBeaver said:
Been looking forward to this. thanks. Could u please provide larger screen shots though.. it's a little hard to see the battery icon.
Click to expand...
Click to collapse
I will try
Sent from my Desire HD using XDA App
Good job! Really!
And how can I install it without reinstalling the whole ROM again?
SupremeBeaver said:
Been looking forward to this. thanks. Could u please provide larger screen shots though.. it's a little hard to see the battery icon.
Click to expand...
Click to collapse
I think battery is the same as on my screens U can check them: HERE
matzestinks said:
Good job! Really!
And how can I install it without reinstalling the whole ROM again?
Click to expand...
Click to collapse
Here U go flashable zips via CWM 2.5.1.3
Before flash do nandroid backup (just in case)
Nice to see my battery icons in other mods Can i ask something? What else is changed in this framework? (just wondering what are the differences between those and mine for LeeDroid - maybe i could help in someway to fit them more into LeeDroid)
Oh come on.. Now I got a bootloop.
yes, I flashed the .zip with CWM 2.xxx.
What should I do now?
Restore nandroid at first (thats why i asked to make it just in case ). Than try to flash zip with Fastboot mode OFF (settings/aplications). If still wont work i have no idea wtf... u can try to push it via adb aswell. i mean only framework-res.apk to system/framework
Sent from my Desire HD using Tapatalk
Krzysiec said:
I think battery is the same as on my screens U can check them: HERE
Here U go flashable zips via CWM 2.5.1.3
Before flash do nandroid backup (just in case)
Nice to see my battery icons in other mods Can i ask something? What else is changed in this framework? (just wondering what are the differences between those and mine for LeeDroid - maybe i could help in someway to fit them more into LeeDroid)
Click to expand...
Click to collapse
Not quite the same mate second zip says it all when charging its numbered
Plus its just the framework .apk its a case of replacing the framework in the Rom to make the battery icon become default battery in the Rom losing nothing
Sent from my Desire HD using XDA App
matzestinks said:
Oh come on.. Now I got a bootloop.
yes, I flashed the .zip with CWM 2.xxx.
What should I do now?
Click to expand...
Click to collapse
Restore your back up and follow the guide the zips I attached work great and or not flashable on their own via cw have to do it the long way but it does become part of the Rom as default its easy thing to do and works great
Sent from my Desire HD using XDA App
can you add gingerbread circle battery leith
lampz said:
can you add gingerbread circle battery leith
Click to expand...
Click to collapse
You running leedroid yeah ?
Edit:its midnight now so I'm off to bed up early in morning so will take a look then
Sent from my Desire HD using XDA App
leith51 said:
You running leedroid yeah ?
Edit:its midnight now so I'm off to bed up early in morning so will take a look then
Sent from my Desire HD using XDA App
Click to expand...
Click to collapse
yep
but i want a different battery icon haha!
im having a hard time looking one.. and i dnt know even i keep reading the cooking of icons etc
lampz said:
yep
but i want a different battery icon haha!
im having a hard time looking one.. and i dnt know even i keep reading the cooking of icons etc
Click to expand...
Click to collapse
No worries mate will have a look and let you know
Sent from my Desire HD using XDA App
thank you!
i hope there would be much more battery mods for HTC desire HD
bcoz on our apps and theme thread theres none only 1 type of battery icon
maybe you can start the moding
good job leith
advance!
I only get the bootloop if I flash it after the powerwidget.
Sent from my Desire HD using XDA App
matzestinks said:
I only get the bootloop if I flash it after the powerwidget.
Sent from my Desire HD using XDA App
Click to expand...
Click to collapse
It's not a flashable zip... did you read the guide ??????
Sent from my Desire HD using XDA App
leith51 said:
It's not a flashable zip... did you read the guide ??????
Sent from my Desire HD using XDA App
Click to expand...
Click to collapse
Maybe he`s trying to flash zips i gave few post above. But don`t understand why it bootloops. Just made simple update script as on my thread. Those bootloops are very strange anyway ... Some people have them and some not.
Krzysiec said:
Maybe he`s trying to flash zips i gave few post above. But don`t understand why it bootloops. Just made simple update script as on my thread. Those bootloops are very strange anyway ... Some people have them and some not.
Click to expand...
Click to collapse
maybe because he trying to flash over the the notification power control with new framework which would rewrite the whole thing would it not
Oh, well, I meant to write notification power control but wrote powerwidget.
And as I said, I don't think it has anything to do with the .zip I flashed because it's working before flashing the power control thing.

[MOD]Working Wi-Fi with unchecked data connection[v20c_unofficial gingerbread]

I just modified framework.jar, to remove this bug.
For me it works! I use this! But please report if doesn't work or if it has bug.
If it works for you und it helped you, please press Thanks! button.
(i am working on gps fix)
if you are not developer, and want to use it just:
1. go to cwm
2. mount /system partition
3. in adb, "adb push framework.jar /system/framework/"
4. reboot, and it's all.
thx thx thx ....... thousand times.
now i can flash the v20c
but when is the gps bug fixed?
and yes srry 4 my english
19chaosnik said:
thx thx thx ....... thousand times.
now i can flash the v20c
but when is the gps bug fixed?
and yes srry 4 my english
Click to expand...
Click to collapse
With the official update in a few days, I hope.
@trapacska
if you would make an zip for cwm to flash root you would be perfect.
some people cant root the stock v20c
Flix123 said:
With the official update in a few days, I hope.
Click to expand...
Click to collapse
yep, maybe. i rewrote all framework and gps doesn't work.. lol
i will stop fix it soon.
Works 4 me, thx.
But I just put the services.jar in framework folder with roorexplorer and did overwrite old services.jar.
I will test it tomorow and tell you if there are any bugs 4 me.
But at a quick look all seems to work fine.
Works. Thanks a lot.
Now waiting for gps fix
Deathmo said:
Works 4 me, thx.
But I just put the system jar in framework folder with roorexplorer and did overwrite old system jar.
I will test it tomorow and tell you if there are any bugs 4 me.
But at a quick look all seems to work fine.
Click to expand...
Click to collapse
I have services.jar when i upnpack this zip, not system.jar ?
Is this wrong?
Edit:
When i copy services.jar to system/framework/ , everythink is ok now, wi-fi works
liderzre said:
I have services.jar when i upnpack this zip, not system.jar ?
Is this wrong?
Click to expand...
Click to collapse
Upps, you are right.
My mistake, ty.
Hi it work thanks (I can't see thanks button) and this mod also make market star icons display in full color (before it display half) and wait for next GPS fix.
I can't find that v20c_unofficial gingerbread stock rom? Where is it hidden?
Lox_Dev said:
I can't find that v20c_unofficial gingerbread stock rom? Where is it hidden?
Click to expand...
Click to collapse
Here you go
FILE FOR DEVELOPERS
1. "V20c-EUR-XX-AUG-02-2011" (you must flash it by smarhflash)
http://adf.ly/2ezEd
2. "V20c-EUR-XX-AUG-02-2011" (not update.zip just .img file)
http://adf.ly/2ez7O
3. RIL from "V20c-EUR-XX-AUG-02-2011" (not update.zip just .so file)
http://adf.ly/2WLse
What about wifi tethering? It works too with this mod? Thx

[N7000][Odin]AllianceROM_N7000-v3.4 Resurrection Edition[smooth n safe][REORGANISING]

AllianceROM_N7000 GB v3.4
GingerBread Evolution
Resurrection Edition​
What is Resurrection Check the changelog & info HERE
Check the cool Gingerbread based theme HERE
How to install go HERE
Download AllianceROM_Note v 3.4 GB Evo RE HERE
checksum 3.4 RE :
SHA1: bd41106e69cebff672cc468a07bcc1d8b86dec4f
MD5: da529563e35a3cf0bb207deff7a243f9​
How , what, where , when , why ... FAQ : HERE
Special Thanks to:
Ficeto for all his expertise !
My Closed Beta Testers​Like the ROM help me keep it up
Like the new stability Ficeto provides with his NoteCore 0.1
Hi, Robbie
Do you have any plan to start ICS ROM for note? I like your ROM but ICS is too hot to refuse.
Sent from my GT-N7000
dahuzi said:
Hi, Robbie
Do you have any plan to start ICS ROM for note? I like your ROM but ICS is too hot to refuse.
Sent from my GT-N7000
Click to expand...
Click to collapse
Not on open source ROMs or Roms meant for toher devices.
I will be patient and will wait for a proper N7000 release without risks
Hi !
Counter increase ,and Triangle_away method not working .
doesnt the traingle away just for work for ICS roms and not GB?
since this is a GB rom it wont work...
staffik said:
Hi !
Counter increase ,and Triangle_away method not working .
Click to expand...
Click to collapse
I just updated the method maybe you where to fast but yes the counter will increase as always with odin and custom builds
Robbie Hood said:
I just updated the method maybe you where to fast but yes the counter will increase as always with odin and custom builds
Click to expand...
Click to collapse
Ok, then I need use JIG to reset the counter,is thats operation safe?
To avoid the traingle and custom.counter
Why not flash it with mobile odin?
The new method for triangle working but I need reset counter
All working like a charm (of course I didn't expected less ) TNX for keeping smile on flash maniacs faces.
Hy,
Thanks for the rom !!
Can't flash with mobile odin pro ?
Ok all users please remove the DarkyOTA test app that you have currently in your system with some file browser or adb or whatever and download the DarkyOTA app from the market.
I have just made the first theme flashable via OTA.
So first up in the Visuals section of the OTA tab in the DarkyOTA app is the stock Samsung theme.
Please search under OTA/Updates for the text cleaner zip before you use the stock theme.
More Themes to come soon !!
buzzdr0id said:
Hy,
Thanks for the rom !!
Can't flash with mobile odin pro ?
Click to expand...
Click to collapse
you can use Mobile Odin Pro, i did and all is well/perfect ,but i've only been using it for less than an hour now....later will tell you if Sh*t hits the fan or not otherwise its AYOBA(Great) as we say in South Africa
skyelm said:
you can use Mobile Odin Pro, i did and all is well/perfect ,but i've only been using it for less than an hour now....later will tell you if Sh*t hits the fan or not otherwise its AYOBA(Great) as we say in South Africa
Click to expand...
Click to collapse
Yep worked like a charm
Sent from my GT-N7000 using Tapatalk 2
flashing ASAP
Swype
Hello DarkyFellows
Would anyone be so kind to tell me how to restore Swype?
Although I tried installing the beta version available on the Swype website it doesn't look as before... It has some horrible "theme" and keys with such s ridiculously small size they become unusable.
I actually saw some reference to it in DarkyOTA's DarkyROM section [new, updated one as suggested] but I just couldn't figure out what it was for or how to use it.
Please help...
Please advise...
Cheers.
Hmm not sure if rom related but when I screen shot and send via sms the oic is all blurred and distorted? Anyone else try this?
Sent from my GT-N7000 using Tapatalk 2
@Robbie
Morning mate...
Can you upload somewhere the apks from /system/app and system/framework folders so i can Theme them???
Cause i don't know how to extract them from .img file inside your tar...
Thanks...
kalagas said:
@Robbie
Morning mate...
Can you upload somewhere the apks from /system/app and system/framework folders so i can Theme them???
Cause i don't know how to extract them from .img file inside your tar...
Thanks...
Click to expand...
Click to collapse
use sg2toext4.jar to convert the .img file to ext4(generally factory.img contains the framework and app) and then use the disk linux reader tool and mount the img file which you converted using the sg2toext4. Once it is mounted, then you can double click on mounted icon and then select save to folder.
another solution is to use dsixda kitchen to extract the files!
sorry m8, i did not downloaded this ROM, hence i cant upload, but that is the procedure to be adopted.
grgsiocl said:
use sg2toext4.jar to convert the .img file to ext4(generally factory.img contains the framework and app) and then use the disk linux reader tool and mount the img file which you converted using the sg2toext4. Once it is mounted, then you can double click on mounted icon and then select save to folder.
another solution is to use dsixda kitchen to extract the files!
sorry m8, i did not downloaded this ROM, hence i cant upload, but that is the procedure to be adopted.
Click to expand...
Click to collapse
Thanks a lot mate...
Unfortunatelly as i saw a little from these you told me, to run it correctly it needs some reading...
And i don't have the time right now ...
So i will wait if someone could upload the 2 folders with apks to theme it...

Stock System.UI help please!

Hello, Everyone!
I am new to XDA and I have to say I'm loving it!
I know a bit of hacking and such but for the life of me I can't grasp the concept of decompiling or recompiling apk's, i know how to do it but i get lost when it comes to editing.
I am on the new Note 4 (SM-N910T3) and every rom i've seen released for it either has 3minit battery, potato clock ect ect...
Personally i am more of a stock guy and I just want the DOG1 Stock system UI. Stock clock, stock battery, stock drop down.
Is there any way for me to acquire this? Any way i can pull it from the stock MD5 file or a place that has the stock files?
Any help would be greatly appreciated.
SIDE NOTE: Does anyone know why when i boot the phone up, stock or custom rom I always get like one vibration and then 3 vibrations... not a big deal really but its just something i noticed
You can maybe get it from here: http://forum.xda-developers.com/showthread.php?p=62368968
I haven't tried it but it looks like he posted a pure stock version of DOG1
YrrchSebor said:
You can maybe get it from here: http://forum.xda-developers.com/showthread.php?p=62368968
I haven't tried it but it looks like he posted a pure stock version of DOG1
Click to expand...
Click to collapse
Hmmm, Haven't seen that one, maybe i can make a backup of my current rom and flash this to rip the system UI. Thanks.
I was thinking maybe just download the ROM and pull the systemui apk out of the ROM zip. Then possibly you can replace your existing one with the stock one using a file manager. Not 100% sure if that would work because of force close issues.. you'd have to be able to set the permissions in time and then reboot. In any case, make a backup first for sure!
YrrchSebor said:
I was thinking maybe just download the ROM and pull the systemui apk out of the ROM zip. Then possibly you can replace your existing one with the stock one using a file manager. Not 100% sure if that would work because of force close issues.. you'd have to be able to set the permissions in time and then reboot. In any case, make a backup first for sure!
Click to expand...
Click to collapse
Oh riiiiiiiiight i forgot i can do that. Blonde moment. Making a backup now and i'm gonna test it out.
yrrchsebor said:
i was thinking maybe just download the rom and pull the systemui apk out of the rom zip. Then possibly you can replace your existing one with the stock one using a file manager. Not 100% sure if that would work because of force close issues.. You'd have to be able to set the permissions in time and then reboot. In any case, make a backup first for sure!
Click to expand...
Click to collapse
it worked!!!! You're the man!!! Thank you
ahq1216 said:
it worked!!!! You're the man!!! Thank you
Click to expand...
Click to collapse
Awesome, I'm glad it worked!

Categories

Resources