How to extended Reboot power menu ? - HTC 10 Questions & Answers

Hi all,
Does someone know how to mod 6.0.1 Services.jar to have extended power Reboot menu with Reboot, Soft Reboot, Download and Recovery Reboot options ?
Many Thanks [emoji4]

Flash Leedroid

Thanks but i'm looking about a guide to do it by myself

edzamber said:
Thanks but i'm looking about a guide to do it by myself
Click to expand...
Click to collapse
I believe the mod sits in framework.jar. you could decompile both stock and custom apk. Then check for changes. Would be a start i guess

Mr Hofs said:
I believe the mod sits in framework.jar. you could decompile both stock and custom apk. Then check for changes. Would be a start i guess
Click to expand...
Click to collapse
Ok great, i will have a look [emoji6]

edzamber said:
Ok great, i will have a look [emoji6]
Click to expand...
Click to collapse
services.jar/com.android.policy.GlobalActions.smali & those associated, you would also need to add resources to framework-res.apk or add your own standalone framework file

LeeDroid said:
services.jar/com.android.policy.GlobalActions.smali & those associated, you would also need to add resources to framework-res.apk or add your own standalone framework file
Click to expand...
Click to collapse
Ok
If i follow this guide do you think it will working ?
http://forum.xda-developers.com/showpost.php?p=65532473&postcount=1220
I use this for Samsung S6 Edge device.
About Framework-res.apk ressources where is it needed ?
Many Thanks.
Ed.

Related

[TUT] ICS transition animation for SGA

Original thread here: (thank to capez
http://forum.xda-developers.com/showthread.php?t=1342117
Click to expand...
Click to collapse
I think this tut is for advance users. But others can try
1. Get your "framework-res.apk" in /system/framework
2. Use apktool to decomplie that file. (I recommend apktool becoz I often use it )
- Command to decomplie: apktool d framework-res.apk framework-res
3. Download source file here:
http://www.mediafire.com/?4u6y6udecy60dei
Click to expand...
Click to collapse
4. In extracted folder which u get from "framework-res.apk", find "anim" folder in \res
5. Extract source file in step 3, u will get 2 folder:
- anims
- other_files
6. Copy files from both folders in step 5 into "anim" folder in step 4
7. Open "integers.xml" in /res/value and find this line:
<integer name="config_shortAnimTime">150</integer>
Click to expand...
Click to collapse
then add the following lines after it:
<integer name="config_activityShortDur">150</integer>
<integer name="config_activityDefaultDur">220</integer>
Click to expand...
Click to collapse
8. Complie your "framework-res.apk" with command: apktool b framework-res new.apk
9. You will get a file "new.apk" but dont use it. Open extracted folder which u get in step 2, u will find a folder "build" and a file is "resource.arsc" inside
10. Now you need to use 7zip. Right click on that resource file, choose 7zip > add to archive and select original framework-res.apk with type is zip.
11. Open "new.apk" in step 8 and original "framework-res.apk" with 7zip. Drag and drop "anim" and xml folders in "new.apk" to "framework-res.apk"
12. It's finished. U can use the file "framework-res.apk" now and see the transition.
Have fun! If u have question, just ask and I will answer
Example of ICS transition:
http://www.youtube.com/watch?v=vf1U_30Ngfk
Click to expand...
Click to collapse
Actually i have the easier way to apply the animation but it will only work on CyanogenMod... I call this easy patcher by Achep.... For Samsung Stock ROM (Rooted!), please give me ur framework-res.apk as i can work something for the intergers.xml...
Link: http://forum.xda-developers.com/showpost.php?p=19285951&postcount=41
Use it on the PC!
1. Put ur framework-res.apk to res/framework
2. When ur ready, press Patcher.exe
3. Then press Enter
4. Once done patching, put the patchers (flashable zip) to ur phone and flash it!
Remember this is only for the CyanogenMod 7 or other stock AOSP, for Stock ROMs, please pm me the framework-res.apk...
Sent from my Nexus One using Tapatalk
I'm writing tut for stock samsung roms
devilsking said:
I'm writing tut for stock samsung roms
Click to expand...
Click to collapse
Good, i have whole stack patchers for other phones
-LG Optimus One
-Nexus One
-Desire
-Galaxy S2
-Nexus S
And many many more! Works on MIUI, Cyanogen and Stock HTC Roms... Havent tested on Samsung Stocks...
Sent from my Nexus One using Tapatalk
"java" is not recognised . :/
Edit: Fixed my problem
EmoBoiix3 said:
"java" is not recognised . :/
Click to expand...
Click to collapse
Have u install Java??
Sent from my Nexus One using Tapatalk
DaxElectro said:
Have u install Java??
Sent from my Nexus One using Tapatalk
Click to expand...
Click to collapse
he solved )
It's done, working perfectly
Ohh *like* devilsking work ^^ ...
Well can any one help me do for general user like meh?? ....
M NT advanced ^^
Sent from Wherever I was last using XDA :]
Aadigoku13 said:
Ohh *like* devilsking work ^^ ...
Well can any one help me do for general user like meh?? ....
M NT advanced ^^
Sent from Wherever I was last using XDA :]
Click to expand...
Click to collapse
Yes, framework???
Sent from my Nexus One using Tapatalk
could someone do this mod with my framework.apk? I tried few times and always bootloops, FCs or nothing changed.
here's my framework:
http://www.megaupload.com/?d=9DD6XC30
I didnt manage to install the apktool
Can someone help telling me how to install it and get it working?
DaxElectro said:
Actually i have the easier way to apply the animation but it will only work on CyanogenMod... I call this easy patcher by Achep.... For Samsung Stock ROM (Rooted!), please give me ur framework-res.apk as i can work something for the intergers.xml...
Click to expand...
Click to collapse
Worked fine for me by using your tool, thanks.
Got a bootloop when I install the patcher from recovery :/, already tried two times
alcachofita said:
Got a bootloop when I install the patcher from recovery :/, already tried two times
Click to expand...
Click to collapse
Hi alcachofita,
You have just PM me about the framework-res.apk bootloop, maybe you havent tried my patcher yet but nevermind, here you go and others who are running CM7-KANG-cooper like his, u can use this patch...
Dax
Im stucked in the step of signning the apk
DaxElectro said:
Hi alcachofita,
You have just PM me about the framework-res.apk bootloop, maybe you havent tried my patcher yet but nevermind, here you go and others who are running CM7-KANG-cooper like his, u can use this patch...
Dax
Click to expand...
Click to collapse
Thank you sir! (Pressed thanks button too)
The patch is working.
not working for me :/
@ alchaforta, killmyself
Last try, one of them already claim its working...
Sent from my Nexus One using Tapatalk
DaxElectro said:
Actually i have the easier way to apply the animation but it will only work on CyanogenMod... I call this easy patcher by Achep.... For Samsung Stock ROM (Rooted!), please give me ur framework-res.apk as i can work something for the intergers.xml...
Link: http://forum.xda-developers.com/showpost.php?p=19285951&postcount=41
Use it on the PC!
1. Put ur framework-res.apk to res/framework
2. When ur ready, press Patcher.exe
3. Then press Enter
4. Once done patching, put the patchers (flashable zip) to ur phone and flash it!
Remember this is only for the CyanogenMod 7 or other stock AOSP, for Stock ROMs, please pm me the framework-res.apk...
Sent from my Nexus One using Tapatalk
Click to expand...
Click to collapse
thanks, working well on nims's sonygenmod.

[Q] XPERIA-PLAY BOX IMAGE framework

Hi guys this is my first post here in xda!
I'm here to ask a thing:
When i unboxed my XPERIA PLAY I and turned it on i looked to the black status bar on the phone framework and looked to the box framework that was more beauty and was blue with white icons.
Can someone tell me if its possible to get the original blue framework like the image i have posted above, thanks in advanced, and sorry my English :S.
The photo of the box us edited with the computer. The statusbar looks on every xperia play that is on stock "ugly".
You must be rooted and edit the systemui.apk to get this
Spatinator said:
The photo of the box us edited with the computer. The statusbar looks on every xperia play that is on stock "ugly".
You must be rooted and edit the systemui.apk to get this
Click to expand...
Click to collapse
My PLAY is rooted, and i have 2.3.4 with it, what things i need to edit in systemui.apk and where do i get those files?
Thanks.
Which theme did u use?? I think its a theme effect. Try changing it to blue.
Sent from my R800i using xda premium
It's not a theme effect, it's actually older amdtroid version. I remembered my friend's X10 android 2.1 stock has this battery style.
jeff7424 said:
It's not a theme effect, it's actually older amdtroid version. I remembered my friend's X10 android 2.1 stock has this battery style.
Click to expand...
Click to collapse
Hi, do you know how can i get it? Thank's in advanced
imputazz said:
Hi, do you know how can i get it? Thank's in advanced
Click to expand...
Click to collapse
You'll need to modify the battery icons inside framework-res.apk then push it back into system. Maybe you can ask someone to theme it for you
jeff7424 said:
You'll need to modify the battery icons inside framework-res.apk then push it back into system. Maybe you can ask someone to theme it for you
Click to expand...
Click to collapse
Thanks for the reply i will test it
imputazz said:
Thanks for the reply i will test it
Click to expand...
Click to collapse
One more thing, do a nandroid backup before you modify. And make it a flashable zip and flash it via CWM.
jeff7424 said:
One more thing, do a nandroid backup before you modify. And make it a flashable zip and flash it via CWM.
Click to expand...
Click to collapse
Hi, it didnt worked still my framework :/ Thanks anyway
jeff7424 said:
You'll need to modify the battery icons inside framework-res.apk then push it back into system. Maybe you can ask someone to theme it for you
Click to expand...
Click to collapse
Noo thats wrong. you need to edit systemui.apk in /system/app.
the systemui.apk actually prodyces the statusbar
Spatinator said:
Noo thats wrong. you need to edit systemui.apk in /system/app.
the systemui.apk actually prodyces the statusbar
Click to expand...
Click to collapse
Battery icon is inside the framework-res.apk, that's what I remembered.
jeff7424 said:
Battery icon is inside the framework-res.apk, that's what I remembered.
Click to expand...
Click to collapse
Yeah thats true there are some parts in framewirk res apk.

[MOD][4.1.2][6.2.B.0.200][DEODEXED] Smaller On Screen Buttons

Today I will bring to you smaller on screen buttons to our Xperia S. As well as you know ,if you enable navigation bar by adding to build.prop the line "qemu.hw.mainkeys=0" it will make you phone laggy. I modded some files and made the navigation bar much more smaller ,so it became more beautiful and the phone works very smooth ,without lags!
Note#1:
Tried only on 6.2.B.0.200 FW with niaboc79 "framework.jar" from his Honami's launcher port. So it's better to flash this port to get it work before using my mod. So that means that you must have a deodexed rom to apply my mod.
Note#2:
Before using this mod ,make a nandroid backup in CWM and also backup the files "SystemUI.apk" ,"framework-res.apk" & "framework.jar". I'm not responsible to any damage that will happen if you don't know how to use and install this mod.
Installation:
1. Download these 3 files:
framework-res.apk
framework.jar
SystemUI.apk
If you want transparent navigation bar & status bar download this zip
2. Copy them to your sdcard and with any file explorer move them manually to the folder "system".
3. Change the permissions to rw-r--r-- and move framework-res.apk + framework.jar to the folder system/framework. It will ask to overwrite these file ,click yes.
4. Change the permissions to rw-r--r-- and move SystemUI.apk to the folder system/app. It will ask to overwrite these file ,click yes.
5. Reboot you device into recovery and wipe cache partition + wipe dalvik cache.
6. If you want transparent UI ,move framework-res.apk + framework.jar to the folder system/framework ,reboot and flash the zip Transparent UI.
6. Done.
Known Bugs:
*Navigation bar overlap the camera buttons.
Status bar is transparent anywhere ,navigation bar only on home screen.
*Find and tell me
Screenshots(Big!):
Credits:
@niaboc79 for Honami's launcher port
@erorcun & @XperienceD for their guide compiling framework-res without bootloop
For me making this mod
Enjoy and give your feedback! This is my first mod
:good: Glad to see you got it sorted, and made a good contribution to this section. Copying and changing permissions gets tiresome when you've got a few files to install so this POST might be of interest to you.
XperienceD said:
:good: Glad to see you got it sorted, and made a good contribution to this section. Copying and changing permissions gets tiresome when you've got a few files to install so this POST might be of interest to you.
Click to expand...
Click to collapse
Thank you
You can do this easily with Xposed framework instead of replacing all those
can you make the icon look like the xperia zu or z??
pradeep19922 said:
You can do this easily with Xposed framework instead of replacing all those
Click to expand...
Click to collapse
Show me how 
 @alucard1423 Yes I will try it later ,not at home right now.
Two links you posted were same. You see again, please!
davidbar93 said:
Show me how
Click to expand...
Click to collapse
Use this Xposed Mod it has 6 different navigation bar size options
http://forum.xda-developers.com/showthread.php?p=40214768
please check framework-res.apk link wrong file
mhl167 said:
Two links you posted were same. You see again, please!
Click to expand...
Click to collapse
Fixed!
pradeep19922 said:
Use this Xposed Mod it has 6 different navigation bar size options
Thank you .but it will work on XS too?
http://forum.xda-developers.com/showthread.php?p=40214768
Click to expand...
Click to collapse
Soheil_rf said:
please check framework-res.apk link wrong file
Click to expand...
Click to collapse
Thank you for the attention ,I fixed the link
Thank you .but it will work on XS too?
Click to expand...
Click to collapse
It works perfect i am using it for months
uhhmmm I have a suggestion...can you make it transparent??It would be better maybe,?
mjames.abordo said:
uhhmmm I have a suggestion...can you make it transparent??It would be better maybe,?
Click to expand...
Click to collapse
Transparent version added :good:
davidbar93 said:
Transparent version added :good:
Click to expand...
Click to collapse
the transparency is not full...there is a part that is not transparent, I can see it also on your screen shot...BTW I manage to remove the overlaping of the camera button to the OSB, and I didn't use your systemUI apk file...I just disabled the capacitive hardware keys and there it goes,,the OSB button automatically hides and show. here is a screen shot..I do not want to upload so I just attached it..take a look please..
BTW can you make it full transparent??Thanks a lot =)
The problem I encountered is that when changing the resolution of the camera to a aspect ratio of 4:3 there is a big black portion on the screen

MOD LMY48T 5.1.1-N Style Notification, SuperSU and Xposed Framework In Settings Menu

Hi guys.
Here you can find N Style Notification and SuperSU - Xposed Framework in Settings Menu flashable zip files for Nexus 4 with android 5.1.1 (LMY48T) Stock Rom.
Just go to TWRP Recovery and install flashable zip file.
Root needed
Please press on thanks :good: button to let me know they work for you
Thanks to Lars124
http://forum.xda-developers.com/android/themes/guide-add-n-style-to-theme-t3354382
and sargat
http://forum.xda-developers.com/android/themes/theme-android-n-t3365205
Please make this happen for Marshmallow, you can take FakeNexus ROM as a base.
sidnoit22 said:
Please make this happen for Marshmallow, you can take FakeNexus ROM as a base.
Click to expand...
Click to collapse
Ok. Please upload your framework-res.apk, settings.apk and systemui,apk files.
tonysansone said:
Ok. Please upload your framework-res.apk, settings.apk and systemui,apk files.
Click to expand...
Click to collapse
I uploaded for you friend.
framework-res.apk
SystemUI
Settings
italovsoares16 said:
I uploaded for you friend.
framework-res.apk
SystemUI
Settings
Click to expand...
Click to collapse
Here you are mate
I made a flashable zip file.
Test it and let me know
I recommend you a backup first
After fash this mod,
Have icon SuperSU and Xposed shown in the draw laucher ?
coikutebmt said:
After fash this mod,
Have icon SuperSU and Xposed shown in the draw laucher ?
Click to expand...
Click to collapse
SuperSU doesn't appear in drawer menu while Xposed yes it does. If you want to hide each application in drawer menu you can use Nova launcher pro or Xposed Gel Settings
Sent from my Nexus 4 using XDA-Developers mobile app

[Guide][Easy][MM]Xperia X Animation Inside The Framework

Hello people !
Many people asked, how i can get Xperia X animation on my
Xperia device running on MM, Well Here is the guide howto modify
it to get that pretty fluid and nice animation.
What it do:
When you locked your phone, and you unlock it
with the lockscreen, the animation goes not up but
from right to the left and your homescreen get opened.
What you need:
Apktool
Framework-res.apk
7zip
Brains
Howto do it:
Decompile your Framework-res.apk
Download the attachment
Open the zip with 7zip
Open Res/Anim
Select all the files
Open your decompiled Framework-res.apk
Go to Res/Anim
Copy the selected files from my zip
Into your Anim folder
Replace? Yes
Copy integers.xml from my zip
Into Res/values folder
Replace ? Yes
Compile and sign
Make A Flashable zip
Flash it
Done
** Note: Don`t forgot to credit and thank me !!​
Review !
could you help me, please?
Metall Boy said:
could you help me, please?
Click to expand...
Click to collapse
@Metall Boy
Why you cant do ot by yourself ?
Thats why this guide is for.
Pandemic said:
@Metall Boy
Why you cant do ot by yourself ?
Thats why this guide is for.
Click to expand...
Click to collapse
i dont have much knowledge of apk modifying .... i tried apktool and i cant even decompile files....
Metall Boy said:
i dont have much knowledge of apk modifying .... i tried apktool and i cant even decompile files....
Click to expand...
Click to collapse
Oke well i am honest people get lazier and lazier around here on xda for sure ><"
I missed something in the TUT will be fixed asap
Tut is refixed and added missing stuff what also you need to do !
@Metall Boy
here your framework, its done
See attachment !
Pandemic said:
Tut is refixed and added missing stuff what also you need to do !
@Metall Boy
here your framework, its done
See attachment !
Click to expand...
Click to collapse
i actually tryed doing it again when you update the OP and it worked! but thanks anyway for your effort
Metall Boy said:
could you help me, please?
Click to expand...
Click to collapse
Pandemic said:
Tut is refixed and added missing stuff what also you need to do !
@Metall Boy
here your framework, its done
See attachment !
Click to expand...
Click to collapse
Which phone is this framework.apk from ??
& can you be kind enough to do this too
Thank You
chawlasrijan said:
Which phone is this framework.apk from ??
& can you be kind enough to do this too
Thank You
Click to expand...
Click to collapse
My framework is from z3c from latest. 291 firmware
Metall Boy said:
My framework is from z3c from latest. 291 firmware
Click to expand...
Click to collapse
No wonder i lost all vibrations
Can you please do the one i uploaded, it's from Xperia Z2 .291
chawlasrijan said:
No wonder i lost all vibrations
Can you please do the one i uploaded, it's from Xperia Z2 .291
Click to expand...
Click to collapse
Actually you no need to decompile it, just change the .apk to .zip.
The only thing to do is push the OP files into the ".zip".
After that rename .zip to .apk, and push to system.
You're done.
Hit thanks if I helped!
Note: The Z3 framework-res.apk don't have "value" this file. I tried to force push and it give me bootloop.
Note 2: Trying to use another method: compile the .apk by replace the zip.
sorry to bother you again @Pandemic I've just noticed all animations are very smoooth,but i found a small bug with the three-dot-menu animation...this animation is slow. I attached a screenshot so you will know which animation im talking about
maple_mak said:
Actually you no need to decompile it, just change the .apk to .zip.
The only thing to do is push the OP files into the ".zip".
After that rename .zip to .apk, and push to system.
You're done.
Hit thanks if I helped!
Note: The Z3 framework-res.apk don't have "value" this file. I tried to force push and it give me bootloop.
Note 2: Trying to use another method: compile the .apk by replace the zip.
Click to expand...
Click to collapse
Value is the folder name in Res folder ><"
Pandemic said:
Value is the folder name in Res folder ><"
Click to expand...
Click to collapse
If I found I already no need to say it before...
i do this but now my phone is bootlp
alinolaw71 said:
i do this but now my phone is bootlp
Click to expand...
Click to collapse
Same for me
Any suggestions @Pandemic
For those who have issues, do this(Especially for Z5 users)
1.Take the final compiled apk and install it as framework
2.Recompile and push to phone
Click thanks if i helped
Excellent work as ever, @Pandemic! :good:

Categories

Resources