How to make volume wake work with APM in ARHD?? - HTC Sensation

I've finally made the jump to ICS and am trying out ARHD but can't manage to make volume wake work along with APM. I can make one or the other work, just not both together. Any help would be greatly appreciated, thanks in advance.

kingston73 said:
I've finally made the jump to ICS and am trying out ARHD but can't manage to make volume wake work along with APM. I can make one or the other work, just not both together. Any help would be greatly appreciated, thanks in advance.
Click to expand...
Click to collapse
Hi,
You need to use the edited android.policy.jar HERE in order to have volume wake and APM together.

I read that but don't know HOW to use it, sorry I'm still learning

kingston73 said:
I read that but don't know HOW to use it, sorry I'm still learning
Click to expand...
Click to collapse
Hi,
Firstly make a nandroid backup...
The android.policy.jar is an executable file,so put it on your sd card and execute it.
You might have to do a bit of trial and error here ,because I have not actually done this.
Then,flash the two mods,or just the one your are missing.

Fixed, and if anybody else has the same problem the answer is to download the apm and the jar file, open the apm zip (just open not unzip) and copy and paste the jar file into the system folder of the zip file. Put the apm zip file onto the sd and flash in recovery and bam, volume wake and advanced power menu.

Would it be possible to put the jar file into the zip and remove everything else in the zip? the same way ics splashscreens can be installed.

Related

[I9003][MOD] Modded Stock Recovery (allow test-signed update.zip)

WELCOME ROM & THEME DEV!!!
Hi all.... since the work on CWM is longer than i wish i have done this MOD that - for the moment - can help all.....
This is the custom recovery modded by me to allow the installation of update.zip signed with the test key.
Attached at this post you can find:
- The PDA that must be flashed with odin;
- The tool for signing your custom update.zip
Update.zip must be signed like so:
java -Xmx1024m -jar signapk.jar -w testkey.x509.pem testkey.pk8 your-update.zip signed-update.zip
Very important is the "-w" that mean ( if i remember well) whole file.
To enter in recovery mode the combo is VOL-UP + Home + POWER
Hope you enjoy it!
UPDATE: I attach also an update.zip that will install Microbes Live Wallpaper, maybe you don't like it but sure it can help you on building you own update.zip. PLEASE STUDY IT!
IMPORTANT: System folder maybe cannot have more space, in this case the update.zip will i attached not work until you haven't deleted some bloatware like aldiko and other ( in all case i suggest to remove all bloatware). The update.zip that overwrite system files don't have this issue i think.
UPDATE 2: i forgot to tell you that this is based on XXKB3 kernel, it might also with other FW without problem but if you find any issue please PM what firmware is and i'll build the recovery for you.
A guide for n00bs that want build their update.zip - written by trip007in -can be found HERE
Last Thing
Press the Thanks Button if you like my work!
could better explain the steps?
I do not know if I explained well ....
could make a tutorial on how to do?
thanks and sorry for the inconvenience
Flashed succefully
Sent from my GT-I9003 using Tapatalk
Thanks alot man atleast we are on the right track........... excellent work
Great work mate, so you finally did it.
Immediately flashed PDA file uploaded by you and successfully flashed. Made an update.zip of livewallpapers to test the recovery, signed it using your tools. You dint mention any hardware key combinations to enter into recovery, so used root tools and entered recovery and tried update but it failed. in the last step.
I made update.zip by putting the livewallpapers.apk in system>app folder and zipped it. Signed it using your signing tool. placed it on sdcard for flashing.
Any suggestions?
nice dude
it's begin
nice work dude
please can anybody explain what is use of this...? I am new to android & its modifications...
trip007in said:
Great work mate, so you finally did it.
Immediately flashed PDA file uploaded by you and successfully flashed. Made an update.zip of livewallpapers to test the recovery, signed it using your tools. You dint mention any hardware key combinations to enter into recovery, so used root tools and entered recovery and tried update but it failed. in the last step.
I made update.zip by putting the livewallpapers.apk in system>app folder and zipped it. Signed it using your signing tool. placed it on sdcard for flashing.
Any suggestions?
Click to expand...
Click to collapse
I think that the content of updater-script is the part where you have to work.
EDIT: Look at the first post, i have updated it.
thx man greet hard work,year after we can install custom rom,kernial,them,apk,etc.. via update.zip will try and tel rex4u release rom update.zip
Skin1980 said:
I think that the content of updater-script is the part where you have to work.
EDIT: Look at the first post, i have updated it.
Click to expand...
Click to collapse
Thanks a million, it worked. I replaced the files in the zip using 7zip, and resigned it using the script. It worked but flashed a message during update regarding the microbesgl wallpaper that was packaged by you. I underastand thats because of the update-binary and update-script. It does not matter though, I would like to know how did you get/ create that android folder and its contents inside the zip. was it packaged separately or created automatically during signing zip?
The second question, the most important one is how to enter recovery using combo keys? does it work or we have to depend on ADB or softwares like root tools? to get into recovery from the on mode. Then there is no way to recover a bricked phone with wrong framework or essential files which are loaded during boot.
trip007in said:
Thanks a million, it worked. I replaced the files in the zip using 7zip, and resigned it using the script. It worked but flashed a message during update regarding the microbesgl wallpaper that was packaged by you. I underastand thats because of the update-binary and update-script. It does not matter though, I would like to know how did you get/ create that android folder and its contents inside the zip. was it packaged separately or created automatically during signing zip?
The second question, the most important one is how to enter recovery using combo keys? does it work or we have to depend on ADB or softwares like root tools? to get into recovery from the on mode. Then there is no way to recover a bricked phone with wrong framework or essential files which are loaded during boot.
Click to expand...
Click to collapse
The sign create only the three files inside the folder META-INF, you must create the other folder or simply edit the zip i posted.
If you edit the updater-script and change the first line ui_print("Installing Microbes...") you wil not see Instaling Microbes.
To enter in recovery mode simply shut down your phone then Press VOL UP + HOME (the center keys) + POWER.
Bye!
A little guide for using custom recovery (3e)
Hi Skin, this is a small guide to your recovery for noobs, who need some help for creating or flashing the update.zip files. You are free to link this post to the first post for easy reference.
Download the three attachments on the first post of this thread and save them on your PC.
Flashing Recovery to phone:
1. power down the phone and simultaneously press Vol. down + HOME (Center key) and power on buttons till you see download mode connect the phone to PC through USB.
2. open ODIN on PC and check Auto Reboot and F. Reset Time.
3. Click on PDA and browse to the location where you placed the PDA.tar file from this post. and click start.
Wait for the phone too reboot, the recovery is flashed now.
Preparing the update.zip for flashing.
You do this if you are an experienced user and know the location of the files to be paced on the system partition of phone or avoid this and may use the already uploaded update.zip provided here.
1.First create a folder called ‘updzip’ in c:\ drive, the path would be C:\updzip
2.Place here the contents of the sign-tools in this folder i.e signapk.jar, testkey.pk8 and testkey.x509.pem.
3.Now edit the update.zip file downloaded from this post with the files you want to flash in recovery. This can be done by dragging the files into the zip archive, which can be opened with applications like 7Zip. Alternatively you can extract the contents of the file and place the files to be updated in appropriate folder and rebuild the zip file. The location of this zip file will be the same C:\updzip.
Eg: for flashing system applications you have to place the apk files in system/app inside the zip. Whereas framework files goes into system/framework.
4.The update.zip contains META-INF folder which is essential for update.zip to work. After placing the files inside zip in appropriate folder(s) you need to sign it using the sign-tools. Before this you have to delete the three files inside the META-INF folder i.e CERT.RSA , CERT.SF and MANIFEST.MF, as these files will be created after signing the whole zip.
5.Now go to command prompt ‘cmd’ and browse to the C:\updzip and sign the zip as follows, assuming you have named the zip as ‘sysap-update.zip’.
Code:
C:\Users>cd c:\updzip
c:\updzip>java -Xmx1024m -jar signapk.jar -w testkey.x509.pem testkey.pk8 sysap-update.zip signed-update.zip
c:\updzip>exit
6.Now you will have signed-update.zip in C:\>updzip folder this file should be placed on the SDCARD and name it as update.zip for it to work in recovery.
Flashing update.zip files from recovery:
1.Power down the phone and simultaneously press Vol. up + Home and power on for few seconds till you see the samsung logo and release the keys wait for the phone to enter recovery (3e).
2.Select the option apply sdcard: update.zip, using vol down key to navigate to the option and press home button.
3.After update reboot the phone.
Your files are flashed and system is updated.
Enjoy and Happy Flashing. Now its not easy to screw up/ brick your phone.
@ tripin
dude thanks for this useful post
Later i will update the first post... thanks
Sent from my GT-I9003 using Tapatalk
really thanx for such wonderful mod...because of this we can now install themes, roms very easily...i have small question. Is this mod different than CWM...???? Because CWM very helpful for backup entire rom...& later we can flash that rom very easily...!!!
Grazie, sei un grande
@ vishal
dude it is a modded stock recovery it is not cwm
thanx krrazy for ur reply...
but can u tell me what is difference between modded stock recovery & CWM...? I m new to android & i m trying to learn all these basics about android modding, backup, rom etc...!!!!
vishal24387 said:
really thanx for such wonderful mod...because of this we can now install themes, roms very easily...i have small question. Is this mod different than CWM...???? Because CWM very helpful for backup entire rom...& later we can flash that rom very easily...!!!
Click to expand...
Click to collapse
CWM is different and i'm sure it will be ported.... i got it works succesfully but i have problem with the keys so i must review something.
Since tomorrow i leave for two week ( HOLYDAYS!!!) i decided to build this so you can enjoy with it.
When i'll came back i will work hard to port the CWM so please be patient.
Best Reguards.
Skin1980

[Q] Icon location and question to themers about framework-res.apk

Well I've started theming myself since I wanted a Windows Phone 7 Theme and learning as I go along but I've come across a few hurdles.
1. How do I push framework-res.apk without losing configurations like my email/gmail set up or wallpaper being back to default?
2. Where do I find the icons for the top right voice search and search buttons? I've found a couple that look identical within the files but when I change them nothing happens.
3. Any good guides or tools on how to make a flashable zip? I used to just use a script to make an updater script but it doesn't work anymore since they changed it to edify. I'm a lowly designer and can't figure out how to make a working updater script.
Thanks in advance.
Bump to the top.
and another bump ):
hope this helps...
seshmaru said:
Well I've started theming myself since I wanted a Windows Phone 7 Theme and learning as I go along but I've come across a few hurdles.
1. How do I push framework-res.apk without losing configurations like my email/gmail set up or wallpaper being back to default?
2. Where do I find the icons for the top right voice search and search buttons? I've found a couple that look identical within the files but when I change them nothing happens.
3. Any good guides or tools on how to make a flashable zip? I used to just use a script to make an updater script but it doesn't work anymore since they changed it to edify. I'm a lowly designer and can't figure out how to make a working updater script.
Thanks in advance.
Click to expand...
Click to collapse
1. grab an old zip for a system/framework file
toss the previous file(s)
toss in your new edited framework res
resign using this and this
flash via recovery
2. let you know when i get a chance to look.
3. grab apk manager.
MagnusRagnarok said:
1. grab an old zip for a system/framework file
toss the previous file(s)
toss in your new edited framework res
resign using this and this
flash via recovery
2. let you know when i get a chance to look.
3. grab apk manager.
Click to expand...
Click to collapse
1 is as simple as that? Sweet.
Also I have apk manager and Update zip packer but they use the old updater script ): But if I can simply use other peoples update script and replace their files with mine then that shouldn't be a problem, thanks for the help.

Custom Power Menu

hey guys,
i just re-compiled latest 1.47.401.4 EU shipped rom with root permissions and i'm missing extended power menu with more reboot options like in custom roms (lbc,virtuous...)
what should i do to get that?i assume that need to edit framework.apk or similar but i wonder is there any way to use files from custom roms,if yes which one.thx.
....anyone??
+1 - exactly what I'm looking for too. Must be available as an .apk from somewhere, surely ...
chris5s said:
+1 - exactly what I'm looking for too. Must be available as an .apk from somewhere, surely ...
Click to expand...
Click to collapse
i think we need to modify framework.apk but not sure how ...
Use the UOT Kitchen to add the Power Menu.
If i tell you the exact files i reckon ill end up having to explain baksmali lol
i cooked and deodexed rom so u no need to explain.
just need to know what files to edit...or how to do power menu with UOTK
MarylandCookie said:
Use the UOT Kitchen to add the Power Menu.
Click to expand...
Click to collapse
Ok thanks. The kitchen's pretty busy just now so will have a look later.
Sent from my HTC Desire S
i found that andoid.policy.jar of specific build must be edited but have no clue how to do that lol
cant find any info about that
Here you go:
codryn said:
Someone was asking how to remove hot restart from advanced restart menu because the phone is hanging when using that option (including myself and I have to restart phone using hard keys).
1. That option is present in com/android/internal/policy/impl/GlobalActions$SinglePressAction.smali
2. To have access to that option go in your ROM/system/framework/android.policy.jar
3. Extract classes.dex from file.
4. Use baksmali to decompile classes.dex. I`m using AutoSmali 1.0 from HERE
5. Use a text editor to edit GlobalActions$SinglePressAction.smali.
6. Hot Restart is present in const-string v2, "Hot restart"
Now I`m not sure what to do next. Is enough to delete that string? If yes here is the edited file: View attachment 676952 (you have to unrar it first to use)
Click to expand...
Click to collapse

TPC v3 Volume key wake up

The original TPC v3 ROM only use power button to wake up the phone.
Here is the one I just did in case someone also needs use volume keys to wake up the phone.
Thanks for icenight89's direction and syc7090's tutorial
I installed it on my phone and tested. no side effects found.
Install:
simply copy the attached jar file into /system/framework to replace the original one (backup first of course
flashable zip
this is simply the file above ^^^ remade into a flashable zip you can use with cwm (clockworkmod), if you're unsure of how to replace it. Please make sure all thanks go to LeeC, he's the one that did the work, i simply assisted.

[Q] Volume Rocker Wake for Nexus 5

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.

Categories

Resources