Related
Attached is also a ZIP file for Froyo (2.2). Unzip the file, which will contain the framework-res.apk which is what you will use!.
So, I've gotten around to working on a modification to a stock application, the 'battery-remaining' icons in the upper right hand corner of the screen. This is for ROMs based off damageless, regaw, and I believe fresh Android 2.1 release keys. Please post your ROM of you are willing to try it out and I haven't named your ROM yet. Do a nandroid backup in case something goes wrong.
This modification uses my work on the framework-res.apk and JsChiSurf's mod that adds the percent of battery left on the icon.
So, here's the guide:
1) Download my framework-res.apk and JsChiSurf's percent-battery.zip and place them in your Android SDK tools directory. Mine is C:\Android\tools, so that's the instructions I will be giving.
2) Attach your phone to your computer using your USB cable.
3) Open up a command prompt, navigate to your tools directory, and make sure your device shows up:
Example:
Code:
C:\>cd C:\Android\tools
C:\Android\tools>adb devices
List of devices attached
{serial Removed} device
C:\Android\tools>
4) Copy your current framework-res.apk to your SD Card using these commands, one per line as shown below:
Code:
adb shell
cd /system/framework
cp framework-res.apk /sdcard/
5) Now, copy my framework-res.apk over your current one:
Code:
exit
adb push framework-res.apk /system/framework/framework-res.apk
When I did this, my phone rebooted. It then showed my new battery icon without a battery percentage in the middle. I then used JsChiSurf's battery percentage mod, which you will download from this thread, place it on your SD Card, and flash it from recovery. The first boot after this flash will take a while because your cache gets rebuilt. Enjoy!
If you like my work, and want to shoot me a dollar or two for a 40 oz (lol) go to my site in my sig and press donate Or, let me know what else you'd like and I will work on getting it created for you.
Please ignore the crap quality of the second screenshot. I had no other way to get a screenshot of how the mod looked while off charge, aside form this drocap thing that I don't like.
My post. Mine.
I'm assuming this slowly ticks down one percent at a time?
mrcharlesiv said:
I'm assuming this slowly ticks down one percent at a time?
Click to expand...
Click to collapse
The icon uses the 7 points of battery that I was able to use from the RegawMOD framework-res.apk ...
0%, 10%, 20%, 40%, 60%, 80%, 100%
does this work with froyo
This is for 2.1 for now. Shoot me your framework-res.apk and I will make it for 2.2.
Sent from my HERO200 using XDA App
jerry43812 said:
This is for 2.1 for now. Shoot me your framework-res.apk and I will make it for 2.2.
Sent from my HERO200 using XDA App
Click to expand...
Click to collapse
thanks here ya go
ramagwula said:
thanks here ya go
Click to expand...
Click to collapse
nicey on the 2.2 thanks jerry!
sdotcarlisle said:
nicey on the 2.2 thanks jerry!
Click to expand...
Click to collapse
You're welcome dude. 2.2 will be coming soon. Anyone else, who has used this, please report back and let me know it worked, thanks!
I also need someone to contact me that knows how to make an update.zip etc. because I really would appreciate a walkthrough with someone. Thank you again!
Please refer to post #1, in the beginning of the post, for 2.2's version of this modification.
i already had the battery percent mod.
im running fresh 2.3.3.
when i pushed he framework and the phone rebooted..everything force closes.
primerib said:
i already had the battery percent mod.
im running fresh 2.3.3.
when i pushed he framework and the phone rebooted..everything force closes.
Click to expand...
Click to collapse
I don't know if it's cause im tired, but i don't know what you are saying... I get that you are running fresh 2.3.3, and everything force closes... but what did you do? Push this framework on top of a diffrent battery icon?
Might wanna restore your Nandroid backup that you should have made, and shoot me the framework-res.apk out of the fresh 2.3.3 ROM and I will knock that out for you as well. None of the work I did would have caused force closes for you...
Hi all!
I've Cyanogen 6.1 RC1 on my Nexus One. I'd like to know if I can replace the default battery icon with the Kspec's battery icon.
I'm talking about the icon below this post.
Thanks a lot!
Any user can help me about it?
Hello,
Try here,
http://circle.glx.nl/
should have nexus cyanogen framework on it, other wise you can up load the one from your phone.
Was using for my desire, so please check about nexus one.
Sent from the 25th century.
I've just checked but there aren't the icons that I said before.
You can make this easily with metamorph.
Could you give me the file, please? Thanks!
Is there any file for Metamorph with this icons?
OK, now I have not much time.
Look in my siganture, download one of my themes (Take Nicer Battery Icons), delete everything except the framework-res folder and the *.xml file.
In the frame-res folder is an folder called res and therein is a folder called drawable-hdpi.
Delete everything in this foƶder and copy your battery icons in this empty folder.
Now you can copy the main folder to your SDCard in the Folder "AndroidThemes"
Start Metamorph and apply this as a "excist theme". (Or so, in German it is "existierendes theme")
wait and reboot when ready!
I've tried this way with KspecBattery.zip but it doesn't work. For long time it says me: "Applying..." but doesn't work.
If you want, you can try with KspecBattery.zip and say me if it works. Please!
The file is okay. It should work on every ROM.
Don't disable the checks in metamorph and the delay must be around 4200
You have to play a bit with it.
Let the phone do it, it can take a minute.
Are you talking about KspecBattery.zip? It's ok?
Sorry for my english.
Here is update.zip KspecBattery for NIGHTLY 245 http://www.4shared.com/file/NQdYVAML/KspecBattery-signed.html
I've Cyanogen 6.1 RC1. It's the same thing?
I've just tried to flash that Nightly version but the phone goes in loop. It's old, I think.
DarkSun88 said:
I've just checked but there aren't the icons that I said before.
Click to expand...
Click to collapse
Yes, there is!
and you can make it into colours you like.
Sent from the 25th century.
If you take a careful look, you'll note the icons that I've said in the first post are different than the icons in UOTKitchen.
Formel-LMS said:
The file is okay. It should work on every ROM.
Don't disable the checks in metamorph and the delay must be around 4200
You have to play a bit with it.
Let the phone do it, it can take a minute.
Click to expand...
Click to collapse
I've tried another time with that file but it doesn't work, again. What should I do?
Anyone has any idea?
I've fixed with the Wipe way and Metamorph file. Thanks a lot.
Remember turning on usb debugging before using metamorph.
Sent from my Nexus One using XDA App
I recently installed the ICS Leak #2 and installed scv7, but there were several new features that annoyed me. I like to lie in bed to use my phone, so when I turn sideways, the screen turns from landscape mode to portrait mode, but the portrait mode is with the earpiece and camera at the bottom, and the buttons at the top. I have never had a problem with this with gingerbread/scv5. If anybody could tell me any way to disable it, that would be great, and I think the default launcher installed with scv7 is Holo Launcher, if I'm not mistaken.
One more thing, I had to install the Bootmenu manager when I was installing scv7, and everytime I hold the power button, then tap "Power off", I'm greeted with a list of options such as "Normal shutdown, reboot, and many other ones that I don't need, is there any way to disable this, and possibly add reboot back to the main list, like scv5?
Thanks.
CM9onmyMoPho said:
I recently installed the ICS Leak #2 and installed scv7, but there were several new features that annoyed me. I like to lie in bed to use my phone, so when I turn sideways, the screen turns from landscape mode to portrait mode, but the portrait mode is with the earpiece and camera at the bottom, and the buttons at the top. I have never had a problem with this with gingerbread/scv5. If anybody could tell me any way to disable it, that would be great, and I think the default launcher installed with scv7 is Holo Launcher, if I'm not mistaken.
One more thing, I had to install the Bootmenu manager when I was installing scv7, and everytime I hold the power button, then tap "Power off", I'm greeted with a list of options such as "Normal shutdown, reboot, and many other ones that I don't need, is there any way to disable this, and possibly add reboot back to the main list, like scv5?
Thanks.
Click to expand...
Click to collapse
Please don't re-post your issues, regardless of whether you feel you originally posted in an incorrect sub-forum. Ask one of the moderators to look at your post, and request it to be moved if necessary. You now have two posts with this issue (First one being HERE), and it clutters up the forum when people do this sort of thing.
As for the power menu found in the BootMenu app, that's just part of the application. You might find it very useful later on down the line. If you're just wanting to reboot, it only adds one additional click, so I wouldn't concern yourself too much over it. And, like I said, it may come in handy (and save your arse) at some point...
I think I may have just soft bricked my phone again. Stuck on the boot screen now, with the flashy scv7 thing. I edited framework-res.apk but must have improperly put it back.
CM9onmyMoPho said:
I think I may have just soft bricked my phone again. Stuck on the boot screen now, with the flashy scv7 thing. I edited framework-res.apk but must have improperly put it back.
Click to expand...
Click to collapse
you probably didnt set the permissions?
souljaboy said:
you probably didnt set the permissions?
Click to expand...
Click to collapse
yeah, i think. any way to fix this besides resetting the phone?
i can use project lense recovery right when the boot up occurs though.
did you try the fix permissions option in boot menu?
RoadToNever said:
did you try the fix permissions option in boot menu?
Click to expand...
Click to collapse
just tried it, still stuck on the scv7 screen
CM9onmyMoPho said:
just tried it, still stuck on the scv7 screen
Click to expand...
Click to collapse
It may be the edits, or how it was compiled.. Sometimes it's best to just do your edit, compile, then copy the edited files back to the original apk. In this case with the /values folder edits, they end up in the resources.arsc - move your newly compiled one back to the original apk with 7-zip/winrar. And actually with the framework-res.apk, you usually need to have no compression on the resources.arsc... copy that new resources.arsc somewhere next to the original apk, then add it to the archive in "store" mode - no compression with 7-zip.
alteredlikeness said:
It may be the edits, or how it was compiled.. Sometimes it's best to just do your edit, compile, then copy the edited files back to the original apk. In this case with the /values folder edits, they end up in the resources.arsc - move your newly compiled one back to the original apk with 7-zip/winrar. And actually with the framework-res.apk, you usually need to have no compression on the resources.arsc... copy that new resources.arsc somewhere next to the original apk, then add it to the archive in "store" mode - no compression with 7-zip.
Click to expand...
Click to collapse
How do I move it with winrar? I can't access anything besides the project lense recovery menu.
CM9onmyMoPho said:
How do I move it with winrar? I can't access anything besides the project lense recovery menu.
Click to expand...
Click to collapse
I meant on your computer.... how did you make the edits? framework-res.apk/res/values/bools.xml?
Well, you are probably going to have to restore a backup first. Unless you can make a flashable zip with a working version of the apk you edited, take out your sdcard and use a reader to access it on your comp - then flash that instead of an entire system restore.
alteredlikeness said:
I meant on your computer.... how did you make the edits? framework-res.apk/res/values/bools.xml?
Well, you are probably going to have to restore a backup first. Unless you can make a flashable zip with a working version of the apk you edited, take out your sdcard and use a reader to access it on your comp - then flash that instead of an entire system restore.
Click to expand...
Click to collapse
I made the edits with apktools on my computer, I sent the file on my phone to my computer, then the finished product from my computer back to my phone.
CM9onmyMoPho said:
I made the edits with apktools on my computer, I sent the file on my phone to my computer, then the finished product from my computer back to my phone.
Click to expand...
Click to collapse
Right. So you probably need to redo it. Is the original META-INF folder in your finished apk?
I would just decompile a fresh one..
Edit the bools only..
Compile..
Then move the new resources.arsc to the old apk in store mode..
Then use root explorer or a zip or adb.. but set proper permissions.
Sent from my phone's mind
So does that mean i have to do a reset on my phone again? Because I can't access root explorer right now.
CM9onmyMoPho said:
So does that mean i have to do a reset on my phone again? Because I can't access root explorer right now.
Click to expand...
Click to collapse
Are you still bootlooping? You need to go into recovery and restore, or flash a ROM again first..
Sent from my phone's mind
Not sure how well this would work, but worth a shot: https://play.google.com/store/apps/details?id=nl.fameit.rotate
Sent from my rooted Mayan Calendar
I did some searching, and I'm coming up blank. I'm looking to change the WIFI icon for my 8013. Are there any threads out there to change that icon. I have already installed the battery mod and and battery icon I like. Additional info, I'm on Darkman's Stock ROM.
Thanks for taking the time to look,
Chris
chris.carstens said:
I did some searching, and I'm coming up blank. I'm looking to change the WIFI icon for my 8013. Are there any threads out there to change that icon. I have already installed the battery mod and and battery icon I like. Additional info, I'm on Darkman's Stock ROM.
Thanks for taking the time to look,
Chris
Click to expand...
Click to collapse
Use zarchiver to extract the wifi images from any theme or rom u like. Use rom toolbox to copy systemui.apk to sd card. Insert the images u want then use romtoolbox to MOVE the systemui.apk back into the system app folder. Takes like 2 mins once uve done it a few times. U can do batteries and signal bars/indicator that way also.... I can make an on screen how to video if u guys want me too....
TaPpEd from my nOtEwOrThY N2
Hey jr thanks,
Having a problem opening the .png files and keep recieving an error method when using zarchiver. Any chance youde still be willing to make a guide? anyway thanks for the start!
Sent from my GT-N8013 using Tapatalk 4
jrbxx7 said:
Use zarchiver to extract the wifi images from any theme or rom u like. Use rom toolbox to copy systemui.apk to sd card. Insert the images u want then use romtoolbox to MOVE the systemui.apk back into the system app folder. Takes like 2 mins once uve done it a few times. U can do batteries and signal bars/indicator that way also.... I can make an on screen how to video if u guys want me too....
TaPpEd from my nOtEwOrThY N2
Click to expand...
Click to collapse
I want the video tooooooo
chris.carstens said:
I did some searching, and I'm coming up blank. I'm looking to change the WIFI icon for my 8013. Are there any threads out there to change that icon. I have already installed the battery mod and and battery icon I like. Additional info, I'm on Darkman's Stock ROM.
Thanks for taking the time to look,
Chris
Click to expand...
Click to collapse
You can try looking for an Xposed Module to change it.
Hi all, I'm hoping someone will be able to help me out.
I am running stock 4.4/rooted with TWRP 2.6.3.2 recovery.
I am looking for either a pre-packed mod or instructions of how to create the mod myself to allow the volume rocker to wake the Nexus 5.
I really miss this function from my Galaxy Nexus and I really don't like using the power button all the time...it just seems sensible to have this mod to spread the use of the buttons.
I'm sure people would agree that it is absolutely baffling that Google hasn't included this as standard in stock Android.
I used the following mod on my Galaxy Nexus:
[MOD][JWR66V] Add Screen Lock button to Statusbar - by: evilisto
I realise this is mainly aimed at adding the screen lock button but it also includes an option to enable volume rocker wake.
I then obviously used the options included in CM after this.
I have done various Google searches and searched the xda forums, there are various references and mod instructions, but nothing that refers to Nexus 5.
I also know that various custom ROMs have this function already, but I am wary of flashing anything currently with all the custom recovery problems people are having (including myself...I've already had to restore phone with factory image once), going to wait until recoveries are more stable.
Basically, I am hoping someone can point me in the direction of this mod if it already exists, or if not, instructions of how to carry out the mod myself. I would be interested to learn how to do it in fact, it would be rather satisfying to carry out the mod myself!
Many thanks in advance for your help everyone!!
Sent from my Nexus 5 using Tapatalk
I haven't seen any patch for this yet, but a bunch of roms in the dev section have this built in. So either wait for a patch or install the whole rom.
peachpuff said:
I haven't seen any patch for this yet, but a bunch of roms in the dev section have this built in. So either wait for a patch or install the whole rom.
Click to expand...
Click to collapse
Thanks for the reply, as I said though I am wary of flashing ROMs at the moment due to all the problems people are having with recoveries.
I am quite happy to create the mod myself, and share it with others if they would like to use it, but I need instructions of how to do it though.
I believe there are two different system files that need modifying to produce this effect?
It also seems that it is possible on both odexed and deodexed systems, but I am not 100% sure.
If it means the system needs to be deodexed for it to work, then you are right, I will be better to just take the plunge and flash a ROM with the mod included.
As there are a number of ROMs with the mod included, there must be a process to adding this functionality, and I would be very interested to find out how it is done. It is a learning exercise just as much as anything else for me.
Sent from my Nexus 5 using Tapatalk
i remember when i was using my old phone, replace the file "android.policy.jar" udner system/framework
of coz thenew android.policy.jar is a mod from other rom with the function "volume wake". not sure if this helps...
got this link, not try yet.
[MOD] Volume wake mod for Android 4.4
http://forum.xda-developers.com/showthread.php?p=47691484
hk_aquarius said:
i remember when i was using my old phone, replace the file "android.policy.jar" udner system/framework
of coz thenew android.policy.jar is a mod from other rom with the function "volume wake". not sure if this helps...
got this link, not try yet.
[MOD] Volume wake mod for Android 4.4
http://forum.xda-developers.com/showthread.php?p=47691484
Click to expand...
Click to collapse
Ah yes, I saw this too whilst searching for information...
Do we need to just replace the android.policy.jar with modified version or are there other steps to carry out, I have noticed other threads mentioning editing both...
/system/build.prop
and
/system/usr/keylayout/Generic.kl
Are these edits required as well in 4.4/Nexus 5 or can we just use modified android.policy.jar?
If this is the case, in theory you could pull this file from a custom ROM with the volume rocker wake mod included and replace it in your own system files and reboot?
Also...would these files taken from a deodexed ROM work on an odexed factory image?
Sent from my Nexus 5 using Tapatalk
for my previous experience on u8800 (4.0.4) and mi2s (4.1.2), just need to replace "android.policy.jar" and remove odex file, then reboot; thus to enable volume rocker wake.
please backup the old set, .jar and odex file. in case of failure, will need to use adb to connect and then restore.
hk_aquarius said:
for my previous experience on u8800 (4.0.4) and mi2s (4.1.2), just need to replace "android.policy.jar" and remove odex file, then reboot; thus to enable volume rocker wake.
please backup the old set, .jar and odex file. in case of failure, will need to use adb to connect and then restore.
Click to expand...
Click to collapse
That's interesting, thanks.
I assume when you reference the odex file you are referring to 'android.policy.odex'?
If this is the case, it does raise another question...
All the other files in framework are odexed, will the deodexed version of android.policy.jar work side by side with these?
Sent from my Nexus 5 using Tapatalk
wilskywalker said:
That's interesting, thanks.
I assume when you reference the odex file you are referring to 'android.policy.odex'?
If this is the case, it does raise another question...
All the other files in framework are odexed, will the deodexed version of android.policy.jar work side by side with these?
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
I am eager to give this a try but still need to know the answer to the above questions?
Basically, will adding a deodexed (android.policy.jar) element into the stock odexed framework cause issues?
Many thanks
Sent from my Nexus 5 using Tapatalk
I tried it and it didnt really work, i pulled the jar file from a rom and copied it over and got some strange description when i pressed the power button, the vibration motor would go off every 5 seconds too.
I made sure to pull it from a ktm but perhaps the dev made some other changes that weren't compatible with my stock rom.
Don't be discouraged though, as long as you backup you'll be fine.
Sent from my Nexus 5
peachpuff said:
I tried it and it didnt really work, i pulled the jar file from a rom and copied it over and got some strange description when i pressed the power button, the vibration motor would go off every 5 seconds too.
I made sure to pull it from a ktm but perhaps the dev made some other changes that weren't compatible with my stock rom.
Don't be discouraged though, as long as you backup you'll be fine.
Sent from my Nexus 5
Click to expand...
Click to collapse
Thanks for giving this a try, normally I would already have tried myself, but as I said I have already had a complete nightmare with using custom recoveries on this phone so am a little more reluctant to experiment than usual.
I did wonder if this would cause issues. As you said in your post, it looks as though other changes were made to the android.policy.jar you used, that is my worry with any version of this file pulled from another ROM as I don't know what else this file is used for so there could be multiple other changes made that wouldn't then be compatible with a stock factory image.
I also still wonder if the odexed and deodexed files will work properly together as well? Is it the case that this mod is only possible on a deodexed system?
There must be a way of making this mod myself though, I would be happy to learn how to do it and make the changes myself, does anyone know how to do this, or can they point me in the direction of instructions of how to do so?
As always, thanks everyone!
Alright i finally got volume wake working but in a completely different way.
Install xposed framework http://forum.xda-developers.com/showpost.php?p=47771876&postcount=5621
Install modaco module http://d-h.st/PeV
Run module, goto htc one settings and enable volume wake, reboot and voila it works
Also suggest installing gravity box and xblast tools modules.
peachpuff said:
Alright i finally got volume wake working but in a completely different way.
Install xposed framework http://forum.xda-developers.com/showpost.php?p=47771876&postcount=5621
Install modaco module http://d-h.st/PeV
Run module, goto htc one settings and enable volume wake, reboot and voila it works
Also suggest installing gravity box and xblast tools modules.
Click to expand...
Click to collapse
Very interesting work round, I will have to give it a go, thanks
I would still like to know how this mod is achieved via system edits rather than installing apk's, if anyone is aware? I am interested to learn!
Many thanks all
Sent from my Nexus 5 using Tapatalk
wilskywalker said:
That's interesting, thanks.
I assume when you reference the odex file you are referring to 'android.policy.odex'?
If this is the case, it does raise another question...
All the other files in framework are odexed, will the deodexed version of android.policy.jar work side by side with these?
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
i just tried it on nexus 5, it works!
hk_aquarius said:
i just tried it on nexus 5, it works!
Click to expand...
Click to collapse
Hi there,
Can you please give some information about your system (odexed or deodexed/stock factory image or custom ROM etc)?
Also, could you outline exactly what you have done to get this working and what files you used and or modified?
This would be really useful...my plan if I can find out how this is done is to package it for others to use too...I cannot be the only person that wants this mod.
Many thanks for your help!
Sent from my Nexus 5 using Tapatalk
wilskywalker said:
Hi there,
Can you please give some information about your system (odexed or deodexed/stock factory image or custom ROM etc)?
Also, could you outline exactly what you have done to get this working and what files you used and or modified?
This would be really useful...my plan if I can find out how this is done is to package it for others to use too...I cannot be the only person that wants this mod.
Many thanks for your help!
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
OK, i use stock 4.4 Kitkat on my Nexus 5 out of the box.
Download the mod android.policy.jar from the link below: (credit goes to javi851, thanks...)
http://forum.xda-developers.com/showthread.php?p=47691484
transfer this file to the root of /sdcard
I suppose bootloader is "unlocked" and root access is "ready".
use Root Explorer
go to system/framework
rename android.policy.jar to android.policy.jar.ORG
rename android.policy.odex to android.policy.odex.ORG
copy the mod android.policy.jar to system/framework
** make sure the filename is android.policy.jar
change permission to rw-r--r--
turn off the phone, then turn it on
it will take a while, it says to upgrade android files 100+
leave it there until it completes.
try pressing the power button to turn it off, then press either volume button and you can wake the screen for that.
hope my try helps people who need volume rocker wake function!
hk_aquarius said:
OK, i use stock 4.4 Kitkat on my Nexus 5 out of the box.
Download the mod android.policy.jar from the link below: (credit goes to javi851, thanks...)
http://forum.xda-developers.com/showthread.php?p=47691484
transfer this file to the root of /sdcard
I suppose bootloader is "unlocked" and root access is "ready".
use Root Explorer
go to system/framework
rename android.policy.jar to android.policy.jar.ORG
rename android.policy.odex to android.policy.odex.ORG
copy the mod android.policy.jar to system/framework
** make sure the filename is android.policy.jar
change permission to rw-r--r--
turn off the phone, then turn it on
it will take a while, it says to upgrade android files 100+
leave it there until it completes.
try pressing the power button to turn it off, then press either volume button and you can wake the screen for that.
hope my try helps people who need volume rocker wake function!
Click to expand...
Click to collapse
Hi mate,
Really good instructions thanks.
Can I ask what the significance of renaming the .jar and .odex files to .jar.ORG and .odex.ORG is?
Many thanks
Sent from my Nexus 5 using Tapatalk
wilskywalker said:
Hi mate,
Really good instructions thanks.
Can I ask what the significance of renaming the .jar and .odex files to .jar.ORG and .odex.ORG is?
Many thanks
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
just in case for fallback, as i am afraid i will not get OTA upgrade afterwards.
.ORG means original files for me.
hk_aquarius said:
just in case for fallback, as i am afraid i will not get OTA upgrade afterwards.
.ORG means original files for me.
Click to expand...
Click to collapse
Ah right thanks. So basically a way of backing up the files in their original file location so the system ignores them.
A very good idea my friend, very similar to Root File Explorer, it backs up system files you make changes to by renaming the original file with a .bak suffix.
I have asked the OP in the thread you linked to what changes he made to the android.policy.jar and how he did it, I am hoping to learn how to actually make the changes myself and create a mod for others to use too.
I'm going to give your process a go in the mean time though, thanks.
Sent from my Nexus 5 using Tapatalk
hk_aquarius said:
just in case for fallback, as i am afraid i will not get OTA upgrade afterwards.
.ORG means original files for me.
Click to expand...
Click to collapse
Hi buddy,
I've tested your method and it is working fine, wakes the phone normally and from deep sleep. Two days of use and no other problems.
I'm going to try and create a flashable zip with this file, just need to work out the edify commands to rename the original files rather than delete, so people have a backup of their files.
Sent from my Nexus 5 using Tapatalk
wilskywalker said:
Hi buddy,
I've tested your method and it is working fine, wakes the phone normally and from deep sleep. Two days of use and no other problems.
I'm going to try and create a flashable zip with this file, just need to work out the edify commands to rename the original files rather than delete, so people have a backup of their files.
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
I would advise against posting an android.policy.jar from a different device since there are some differences within the policy jar between the two. It's a little sad that the other guy ignored a request for what the actual edit is considering it's so figgin simple. After diff'ing some other jar files, I found what the edit is. All you need to do is remove 2 lines from PhoneWindowManager.smali. Attached pic shows 2 lines that need removal (stock is on the right).
good day.