This module is discontinued. Try Advanced Power Menu+
For general comments and support, please post in the thread in the Android Apps and Games section.
This thread will then be intended for Xperia-specific discussions only.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
ADVANCED POWER MENUXposed Mod
Advanced Power Menu is an Xposed Mod which adds advanced reboot options (reboot, soft reboot and reboot to recovery) and screenshot option to your power menu. It works on both AOSP and Xperia devices. For rebooting into recovery, a special implementation for Xperia devices is used, but it will also work on AOSP devices.
Features
[NEW] Anti-theft helper - Stop anyone from turning off your phone /enabling airplane mode when the device is locked. In this way no one can stop Android Device Manager from locating your phone by turning off the phone or disabling mobile data (removable battery not taken into account)
A dedicate first-level option for rebooting
Fully working reboot to recovery(no reboot wrapper required)*, bootloader and soft reboot
Screenshot function
Quick dial - call a predefined number directly from the power menu
Toggle mobile data from your power menu
High quality mdpi-xxhdpi icons
GUI for different configurations
Multi-language support
Thanks to Xposed framework,
Easy Installation. No flashing required.
Works both for odexed and deodexed ROMs
Quite future proof (should work for Android 4.3 if there is no big framework change from Sony)#
Should work for a lot of devices
* - For rebooting into recovery, a special implementation for Xperia devices is used, but it will also work on AOSP devices.
# - Unfortunately, there IS framework change from Sony, mainly caused by the new theming engine. Therefore the regular Xposed Installer doesn't work on Xperia 4.3 ROMs. You can download the special version here (released by rovo89, mirrored because I've forgotten the original link):http://forum.xda-developers.com/attachment.php?attachmentid=2454695&d=1387049158
Screenshots
See the app in action
You can add items into the power menu like this:
Or remove items like this:
The reboot sub-menu:
Anti-theft helper: this is what a bad guy will see if he tries to turn off your phone while the device is locked:
Settings - great level of customization:
Prerequisites
All Xperia Phones with rooted stock 4.0+ ROM / Nexus devices / AOSP#/ a number of other devices(see confirmed working devices below) (Please do test and tell me)
Xposed framework installed
#AOSP: not including CM, PAC, etc. This may mess things up and there's no point in doing so
Warning: This will definitely NOT work for Samsung TouchWiz stock ROMs or anything based on them!
The effect of this on TouchWiz ROMs will be that your phone will reboot immediately whenever you press the power button
(Google Play Edition will be ok, I think)
Note: for Android 4.4 you need the latest version of Xposed Installer (2.4 Beta 1 or later)
A user has reported that sound options disappear when using this mod on HTC One. I currently have no idea why this happens, and I'm too busy to figure it out at this moment. Sorry.
Installation
You will need xposed framework and for this mod to work! See prerequisites above.
After you meet the prerequisites,
Download and install the apk in the next post
Go to Xposed Installer > Modules and enable "Advanced Power Menu"
Reboot and you are done! (Sometimes you might need to reboot more than once for all functions to work)
Disclaimer
I'm not responsible for any damage caused by this mod! Use this at your own risk.
User agreement
Once you use this software, you agree to the Copyright and Disclaimer statement.
Special Thanks
See file on github
Appeal
If this app helps you please press the Thanks button.
Note
The Change Network State and Internet permission is needed for toggling mobile data.
NOTICE
My app, as well as some other xposed modules, was placed on Google Play without my consent.
This Google Play entry (https://play.google.com/store/apps/d...ncedrebootmenu) was made without my knowledge and agreement, and I am by no means affiliated with the said developer on that entry.
Authentic releases, whether current or future, is only available on Xposed Modules Repository unless I make another notice.
Download
From now on, Advanced Power Menu is hosted on Xposed Module Repository. You may go to there to download, or directly download from Xposed Installer App.
Old versions on xda:
v3.0
v2.1r
v2.1b
v2.0r
v2.0b
v1.1r
v1.1b
v1.0 apk
Which version should I download?
Release(r): Disabled most of the logs. Use this if you have no problems with the app
Beta(b): With full verbose logging. Use this if you encounter problems. Logs can be found at /data/xposed/debug.log
What can you do if the app doesn't work / if issue happens?
Step 1: Try fixing it yourself
1. Make sure that you have read the prerequisites and installation guide thoroughly/
2. Reboot your phone TWICE (TWO TIMES)
For every single xposed mod, a reboot after installation is necessary. But that might not be enough as users have reported that the app doesn't work after a single reboot, but things get right when they reboot again. So rebooting TWICE is recommended
3. Disable all other Xposed Mod
Xposed framework do take care of mods that hook the same method, but sometimes conflicts can still happen. Try disabling all mods except mine in the Xposed Installer. Then reboot and see if things get right.
4. Clear app data/reinstalling my app
The settings may get messed up when my app updates, so try reinstalling and see if it helps.
5. Use an older version of my app
Try this and see if it helps. If so that means a new update breaks something old and please tell me about that!
If all the above doesn't work, you can then send me an issue report.
Step 2: Tell me and see if I can fix it
(Please don't do this before doing step 1)
Please send me an issue report including
1) a description of the issue
2) screenshots (if it helps explain the situation)
3) The device, ROM, Android OS version, and the app version
4) debug.log (Please enable verbose logging in my app first, then do something like long-pressing the power button)(you may obtain the log in xposed installer 2.4)
5) Anything else you think it's important
through one of the following means:
1) xda forum thread/PM (preferred)
2) e-mail (NOTE: please begin your subject with [APM] so I can better sort my emails. Thanks)
Please note that I can't solve the problem with insufficient information. I will also IGNORE any email with NO BODY TEXT (I use gmail)
Keep in mind that even with all the information I still may not be able to fix your problem because I do not own your device and I'm only a novice android developer. Sorry.
FAQ
Q: The mod doesn't work!
A: Other xposed mods might interfere with this mod. Disable them, reboot and try again.
Q: Rebooting into recovery doesn't work!
A: Flashing the DoomLorD's reboot wrapper MAY help. However, as the wrapper is intended to be optional, there might be something wrong. So it'd be nice if you could send me some logs
Q: There's something wrong with the mod...
A: Just disable the mod in Xposed Installer and reboot. Then everything should be fine again (Should this happens please tell me and send me the debug.log and debug.log.old files. This helps me to fix the issue)]
Q: I have a bootloop! What should I do now?
You can follow the following methods (quoted from xposed framework main thread) to disable the xposed framework
In case you get into a boot loop:
You can flash the attached Xposed-Disabler-CWM.zip by Tungstwenty. It will be copied to your (external) SD card when you install Xposed as well. The only thing it does is copying /system/bin/app_process.orig back to /system/bin/app_process, which you can also do yourself (e.g. with adb shell in recovery mode).
You could also create a file /data/xposed/disabled, which causes Xposed to be bypassed as well.
Click to expand...
Click to collapse
Usage Warning
DO NOT press Vol-Down + Power while a screenshot taken by Advanced Power Menu is being saved! This will result in constant force-stop of System UI and you will need to reboot the phone to solve this!
Usage Tip
You can long-press the reboot option on the power menu if you wanna do a normal reboot. Then you can skip the reboot mode dialogue.
Changelog
From now on, all changelogs are on Xposed Module Repository.
Old changelogs:
v3.0
App name is changed to "Advanced Power Menu"
Updated app icon
GUI for configuring different options
options to hide/show reboot option and screenshot option
disable reboot confirmation dialogs
option to write full logs (effectively merging beta and release versions)
many small, under-the-hood changes.
v2.1
Add support for 4.0+ devices
Fixed Simplified Chinese/Traditional Chinese Translations
Changed implementation for rebooting so su permissions are no longer needed
Upstream changes from GravityBox
v2.0
New implementation for rebooting into recovery. Reboot wrapper is no longer needed.
Added screenshot function!
v1.1
Added more than 10 languages (some of them are from GravityBox)
Fixed soft-reboot function
Added drawable resources for xhdpi, hdpi and mdpi
Improved logging system
v1.0
initial release
Source and Permission of Use
Advanced Power Menu is on github.
Please ask for my permission before redistributing or creating derivative works of the app. However, as governed by GitHub's Terms of Service, forking the project on GitHub is permitted. Feel free to fork the project, add your own code, and send me pull requests on GitHub.
Multi-language Support
This app is translated into more than 10 languages.
But if you like to add a new language/ providing better translations you can download the strings.xml and do the modification. I would be grateful for you work!
Note: You don't need to send me the xml file if you'd like to add/change one or two strings only. Just drop me a post/message.
Suggestions/Feature Requests
Your suggestions can help me to improve the app. Feel free to post here.
Confirmed Working Devices/Firmwares
Nexus Devices
Galaxy Nexus 4.3
Nexus 4
Nexus 10
Nexus 5 4.4
Nexus 7 4.4
Sony Xperia Devices
Xperia Z C6603/C6602 .244/.67 odexed
Xperia ZL .244 odexed
Xperia SP .245
Xperia ZQ
Xperia Z Ultra .475
Xperia ZR 4.2.2
Xperia Tablet Z
Xperia S
Xperia U (stock ICS & AOSP)
Xperia UL
Xperia J
Xperia P stock JB
HTC devices
HTC One X 4.2.2 stock Rom with Sense 5
HTC Rezound with Vanir (AOSP Jelly Bean 4.3)
Other Devices
Moto X 4.4
LG Optimus G Pro stock 4.1.2 rooted rom
Samsung Galaxy SII Chameleon ROM v3.0.3 (NOTE: NO SAMSUNG STOCK)
Samsung Galaxy S3 w/ CM11
Micromax CANVAS HD A110
Lenovo p780
Don't be afraid if your device/firmware is not listed on the list. Xposed means high compatibility and ease to revert.
A user has reported that sound options disappear when using this mod on HTC One. I currently have no idea why this happens, and I'm too busy to figure it out at this moment. Sorry.
reserved
---Now you may post---
The apk dont work, it is broken
It works just fine. Installs and works as stated by the OP.
Work good here . Stock Fw .244 Odex.
Thank you so much. :thumbup:
Sent from my C6602 using xda premium
Thanks for this! :good:
Much nicer than the ugly hack I had on my devices, since I find the resources part always a big deterrent
I would just suggest that you remove the logging code to prevent clutter on the debug.log file, since it appears to be working fine.
To me the following message: There was a problem parsing the package.
Damn, I want this application. :crying:
Note: Xblast tools work fine in me phone.
Worked on Xperia ZL 244 ODEX :good:
Edit :
Reboot >>>> Reboot
Soft Reboot >>>> Reboot
Recovery >>>> Reboot
Works great!
Here's Japanese translation:
http://d-h.st/nlp
kennethso168 said:
ADVANCED REBOOT MENUXposed Mod
targeted towards the Sony Xperia Z
Many of us are waiting for a perfect reboot menu. We don't want one that hides your original power off option with the reboot options in a sub-menu. We don't want one that are specifically for deodexed ROMs. We don't want one that works only partially (very often reboot to recovery doesn't work for Xperia Z, as there is no dedicate reboot partition). We don't want one that doesn't work with a firmware update. We just want a simple reboot menu to get things easier...
Now, wait NO MORE as I proudly present you my work of ADVANCED REBOOT MENU Xposed Mod.
Features
A dedicate first-level option for rebooting
Fully working reboot to recovery and soft reboot
High quality xxhdpi icons
Thanks to Xposed framework,
Easy Installation. No flashing required. (except reboot wrapper)
Works both for odexed and deodexed ROMs
Quite future proof (should work for Android 4.3 if there is no big framework change from Sony)
Should work for a number of similar devices (not tested)
Screenshots
Prerequisites
A rooted Sony Xperia Z with stock odexed or deodexed ROM / All Xperia Phones with rooted stock ROM(Please do test and tell me)
DooMLoRD's Reboot Wrapper "for xperia devices" installed(for rebooting into recovery)
Xposed framework installed
Installation
You will need xposed framework and reboot wrapper(only for rebooting into recovery) for this mod to work! See prerequisites above.
After you meet the prerequisites,
Download and install the apk below
Go to Xposed Installer and enable "Advanced Reboot Menu"
Reboot and you are done!
If you use the reboot to recovery or soft reboot function for the first time you may need to grant superuser permission.
Download
v1.0 apk
Disclaimer
I'm not responsible for any damage caused by this mod! Use this at your own risk.
Special Thanks
@C3C076 for the source of GravityBox
@rovo89 for making xposed framework
@DooMLoRD for making the reboot wrapper
Appeal
If this app helps you please press the Thanks button.
If you find this app useful please consider making a donation.
Please ask for my permission before redistribution/mirroring
Click to expand...
Click to collapse
Soft reboot is not working
Using romAur v8.0 with advanced power menu chosen during installation
Sent from my C6603 using xda premium
Tungstwenty said:
Thanks for this! :good:
Much nicer than the ugly hack I had on my devices, since I find the resources part always a big deterrent
I would just suggest that you remove the logging code to prevent clutter on the debug.log file, since it appears to be working fine.
Click to expand...
Click to collapse
Thank you. But it seems that it's still not the right time to remove the logging code (still some people are having issues)
EDIT: From now on I'll make two versions, one(release) with all logs removed except for some really serious errors, and one(beta) with logging code retained
Ninoh-FOX said:
To me the following message: There was a problem parsing the package.
Damn, I want this application. :crying:
Note: Xblast tools work fine in me phone.
Click to expand...
Click to collapse
The apk you downloaded may be broken. You can download the apk attached in this post and install again. See if this works.
Soheil_rf said:
Worked on Xperia ZL 244 ODEX :good:
Edit :
Reboot >>>> Reboot
Soft Reboot >>>> Reboot
Recovery >>>> Reboot
Click to expand...
Click to collapse
Soft Reboot: see below
Recovery: Did you flashed DooMLoRD's reboot wrapper? Rebooting into recovery doesn't work without that.
You can test whether you've installed the reboot wrapper by entering the following commands in the terminal emulator:
Code:
$ su
# reboot recovery
If this boots straight into recovery, you've reboot wrapper installed.
RyokoN said:
Works great!
Here's Japanese translation:
http://d-h.st/nlp
Click to expand...
Click to collapse
Thanks so much for your translation! Will add it to the next version.
slimshouki said:
Soft reboot is not working
Using romAur v8.0 with advanced power menu chosen during installation
Sent from my C6603 using xda premium
Click to expand...
Click to collapse
Problems regarding soft reboot:
When I first tested my application the soft reboot is somehow ~15 seconds shorter than normal reboot. But when I test now the soft reboot is ~10 seconds longer than the normal reboot. This shows that the two reboot modes are actually the same and the differences are just some periodic fluctuations. Soft reboot doesn't work. Sorry for that.
However, I have still not found any mod/app that can implement a 'soft reboot' that is drastically shorter than normal reboot. I think due to the unique framework structure, it may not be possible to implement a meaningful 'soft reboot' on Xperia Z. If you can find any mod/app that can do this, do tell me about that. Thanks.
Anyway I'll remove the soft reboot option in the next version.
kennethso168 said:
Thank you. But it seems that it's still not the right time to remove the logging code (still some people are having issues)
The apk you downloaded may be broken. You can download the apk attached in this post and install again. See if this works.
Soft Reboot: see below
Recovery: Did you flashed DooMLoRD's reboot wrapper? Rebooting into recovery doesn't work without that.
You can test whether you've installed the reboot wrapper by entering the following commands in the terminal emulator:
Code:
$ su
# reboot recovery
If this boots straight into recovery, you've reboot wrapper installed.
Thanks so much for your translation! Will add it to the next version.
Problems regarding soft reboot:
When I first tested my application the soft reboot is somehow ~15 seconds shorter than normal reboot. But when I test now the soft reboot is ~10 seconds longer than the normal reboot. This shows that the two reboot modes are actually the same and the differences are just some periodic fluctuations. Soft reboot doesn't work. Sorry for that.
However, I have still not found any mod/app that can implement a 'soft reboot' that is drastically shorter than normal reboot. I think due to the unique framework structure, it may not be possible to implement a meaningful 'soft reboot' on Xperia Z. If you can find any mod/app that can do this, do tell me about that. Thanks.
Anyway I'll remove the soft reboot option in the next version.
Click to expand...
Click to collapse
Soft reboot in xposed framework itself works flawlessly
Sent from my C6603 using xda premium
kennethso168 said:
However, I have still not found any mod/app that can implement a 'soft reboot' that is drastically shorter than normal reboot. I think due to the unique framework structure, it may not be possible to implement a meaningful 'soft reboot' on Xperia Z. If you can find any mod/app that can do this, do tell me about that. Thanks.
Anyway I'll remove the soft reboot option in the next version.
Click to expand...
Click to collapse
slimshouki said:
Soft reboot in xposed framework itself works flawlessly
Click to expand...
Click to collapse
Same thing here - XposedInstaller's soft reboot is much faster than the regular reboot.
How about trying the same technique in the next update to see how it goes for users? https://github.com/rovo89/XposedInstaller/blob/master/assets/soft_reboot.sh
Tungstwenty said:
Same thing here - XposedInstaller's soft reboot is much faster than the regular reboot.
How about trying the same technique in the next update to see how it goes for users? https://github.com/rovo89/XposedInstaller/blob/master/assets/soft_reboot.sh
Click to expand...
Click to collapse
Tested and that's true. Thanks for the tip. Will try to integrate this technique in the next version
Version 1.1 released!
Changelog:
Added more than 10 languages (some of them are from GravityBox)
Fixed soft-reboot function
Added drawable resources for xhdpi, hdpi and mdpi
Improved logging system
Download:
See attached.
Which version should I download?
Release(r): Disabled most of the logs. Use this if you have no problems with the app
Beta(b): With full verbose logging. Use this if you encounter problems. Logs can be found at /data/xposed/debug.log
Someonw using dual recovery and enable to get this work by rebooting to recovery?
sent from my lovely XperiA Z
lyndonguti said:
Someonw using dual recovery and enable to get this work by rebooting to recovery?
sent from my lovely XperiA Z
Click to expand...
Click to collapse
I'm using dual recovery...
It works with reboot wrapper(see OP) installed.
Sent from my C6603 using xda app-developers app
kennethso168 said:
Version 1.1 released!
Changelog:
Added more than 10 languages (some of them are from GravityBox)
Fixed soft-reboot function
Added drawable resources for xhdpi, hdpi and mdpi
Improved logging system
Download:
See attached.
Which version should I download?
Release(r): Disabled most of the logs. Use this if you have no problems with the app
Beta(b): With full verbose logging. Use this if you encounter problems. Logs can be found at /data/xposed/debug.log
Click to expand...
Click to collapse
Works perfectly all options
Just have one request
To disable confirmation prompt from any option even power off
It will be much easier
Sent from my C6603 using xda premium
Updated Japanese translation:
Code:
<string name="take_screenshot">スクリーンショット</string>
I'm having some trouble with the modem (and LTE compatability) on my XZ1 Compact, and I was wondering if anyone has experience with the different kinds of boot modes and/or Qualcomm transfers.
There's some Qualcomm software (QPST) that supposed to let you write to the modem partition. There are some instructions here
Modify Sony XZ, XZs, XZ Premium, XZ1 and XZ2 LTE-A band combos - MT-TECH.FI
On this instruction we will modify on Sony smartphone band combo profiles with Qualcomm software. Sony smartphones have software limitation and we will unlock this. We have tables of supported CA combos per group: Sony XZ(s) Sony XZ Premium Sony XZ1 & XZ1 Compact Sony XZ2 & XZ2 Compact We will...
mt-tech.fi
and here
Getting VoLTE and VoWiFi on unlisted carriers by flashing mbn file
I live in Canada and I have a BC72 (Asian version). I am struggling to get VoLTE and VoWiFi working. I know that mbn file is the key to getting IMS support and sony seems to block some carrier mbn files (only mbn in sales areas are available). So...
forum.xda-developers.com
That I was trying to follow along with, but doing the setopt doesn't seem to change the mode of my phone/usb connections, and so I can't update the drivers or connect the QPST software to read or write the filres.
There's also supposedly an EDL mode that Qualcomm phones can get into, which should also connect to the software
What is EDL Mode and How to Boot your Qualcomm Android Device into it
Android phones and tablets equipped with Qualcomm chipset contain a special boot mode which could be used force-flash firmware files for the purpose of unbricking or restoring the stock ROM.
www.thecustomdroid.com
but those instructions don't work either - adb reboot edl just reboots the phone back into the rom, and fastboot oem edl tells me that's not a supported function.
Does anyone have experience getting either of these to work and/or updating the modem software?
I can't follow these steps:
XZ1 Compact - MetroPCS VoLTE + Latest Pie + Fingerprint + Wi-Fi Calling Step by Step Guide
Overview: This guide provides step-by-step instructions for flashing any existing Sony stock rom Android 8 or 9 to the latest Sony stock ROM Android 9 Build v47.2.A.11.228 for use on the MetroPCS network. The finalized flash is a hybrid of Sony...
forum.xda-developers.com
since I don't seem to have this overlay functionality baked into my rom.
I recognize that part of this might be something to do with my ROM - which I believe is AOSP based instead of stock based - but even in the worst cast scenario it seems like I should be able to override whichever default mbn file the phone is deciding to use (perhaps set from a partition flash?) with whichever one I'd like it to use, instead. I just can't figure out how to determine what my phone is currently picking, or how to correct it.
Any tips or suggestions would be greatly appreciated. Thanks!
I'm having some trouble with the modem (and LTE compatability) on my XZ1 Compact, and was trying to experiment with adjusting the files manually.
Does anyone have experience with the different kinds of boot modes and/or Qualcomm transfer?
I've tried on both an XZ1c and a Z5c, both of which result in similar behaviors.
Extra context:
There's some Qualcomm software (QPST) that supposed to let you write to the modem partition. There are some instructions here
Modify Sony XZ, XZs, XZ Premium, XZ1 and XZ2 LTE-A band combos - MT-TECH.FI
On this instruction we will modify on Sony smartphone band combo profiles with Qualcomm software. Sony smartphones have software limitation and we will unlock this. We have tables of supported CA combos per group: Sony XZ(s) Sony XZ Premium Sony XZ1 & XZ1 Compact Sony XZ2 & XZ2 Compact We will...
mt-tech.fi
and here
Getting VoLTE and VoWiFi on unlisted carriers by flashing mbn file
I live in Canada and I have a BC72 (Asian version). I am struggling to get VoLTE and VoWiFi working. I know that mbn file is the key to getting IMS support and sony seems to block some carrier mbn files (only mbn in sales areas are available). So...
forum.xda-developers.com
That I was trying to follow along with, but doing the setopt doesn't seem to change the mode of my phone/usb connections, and so I can't update the drivers or connect the QPST software to read or write the filres.
There's also supposedly an EDL mode that Qualcomm phones can get into, which should also connect to the software
What is EDL Mode and How to Boot your Qualcomm Android Device into it
Android phones and tablets equipped with Qualcomm chipset contain a special boot mode which could be used force-flash firmware files for the purpose of unbricking or restoring the stock ROM.
www.thecustomdroid.com
but those instructions don't work either - adb reboot edl just reboots the phone back into the rom, and fastboot oem edl tells me that's not a supported function.
Does anyone have experience getting either of these to work and/or updating the modem software?
I figured I'd try asking in the cross-device forum since most of the Sony phones use a Qualcomm modem, so it seems like it should be applicable to more than just one model.
Any tips or suggestions would be greatly appreciated. If I get it working, I'll happily follow up with a guide for others.
Unfortunately, SONY seems to have banned edl from the factory. Unless your phone is an engineering sample.
laojiefang said:
Unfortunately, SONY seems to have banned edl from the factory. Unless your phone is an engineering sample.
Click to expand...
Click to collapse
NO, My xperia xz2 detect as edl mode
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
cuynu said:
NO, My xperia xz2 detect as edl mode
View attachment 5774603
Click to expand...
Click to collapse
Can you use the public version of elf files to read your phone partition? Like this?
laojiefang said:
Can you use the public version of elf files to read your phone partition? Like this?View attachment 5774611
Click to expand...
Click to collapse
No, qfil say timeout error
cuynu said:
No, qfil say timeout error
Click to expand...
Click to collapse
First of all, according to your screenshot, you don't seem to have the edl driver installed. Second, your xz2 is a retail phone, which cannot use edl mode for all operations.
Sorry for the delay; it's been a weird week.
laojiefang said:
Unfortunately, SONY seems to have banned edl from the factory. Unless your phone is an engineering sample.
Click to expand...
Click to collapse
Interesting, thanks for this info! It at least explains why I was unable to get into it, despite the Qualcomm modem.
Do you have any experience with the "setprop persist.usb.eng 1" setting, and what it's doing?
As far as I can tell that's sometimes doing triggering a similar mode for folks, with some ROMs, but I don't understand it enough to grok why it's not doing the same for my device, and if it's even possible to get it working or if I need to switch to a completely different ROM.
It seems like the modem configuration should be independent of the ROM, but I have a sneaky suspicion that backing up, switching/re-configuring, then restoring my current one won't end up with it working any better.
laojiefang said:
a retail phone, which cannot use edl mode for all operations.
Click to expand...
Click to collapse
Do you know anything about which operations are or aren't possible? The Xperia 1 III post suggests that some of them are possible - at least to download and upload files, which is hopefully enough here to tweak my settings so I'd have better LTE/VoIP compatibility.
Thanks again for your insight!
tonsofquestions said:
Sorry for the delay; it's been a weird week.
Interesting, thanks for this info! It at least explains why I was unable to get into it, despite the Qualcomm modem.
Do you have any experience with the "setprop persist.usb.eng 1" setting, and what it's doing?
As far as I can tell that's sometimes doing triggering a similar mode for folks, with some ROMs, but I don't understand it enough to grok why it's not doing the same for my device, and if it's even possible to get it working or if I need to switch to a completely different ROM.
It seems like the modem configuration should be independent of the ROM, but I have a sneaky suspicion that backing up, switching/re-configuring, then restoring my current one won't end up with it working any better.
Do you know anything about which operations are or aren't possible? The Xperia 1 III post suggests that some of them are possible - at least to download and upload files, which is hopefully enough here to tweak my settings so I'd have better LTE/VoIP compatibility.
Thanks again for your insight!
Click to expand...
Click to collapse
Do you mean that you can use certain ROMs to trigger edl mode? (I'm sorry that I'm Chinese, and I can't understand your words with machine translation.)
I don't know if it's the same as EDL mode, but it seems like certain ROMs (likely stock at least) can get into some kind of Qualcomm mode by following the instructions outlined here:
Modify Sony XZ, XZs, XZ Premium, XZ1 and XZ2 LTE-A band combos - MT-TECH.FI
On this instruction we will modify on Sony smartphone band combo profiles with Qualcomm software. Sony smartphones have software limitation and we will unlock this. We have tables of supported CA combos per group: Sony XZ(s) Sony XZ Premium Sony XZ1 & XZ1 Compact Sony XZ2 & XZ2 Compact We will...
mt-tech.fi
Otherwise, the instructions probably wouldn't exist.
I just can't get it to work on _my_ ROM.
Happy to try and rephrase if you can point out what wasn't clear in the translation!
tonsofquestions said:
I don't know if it's the same as EDL mode, but it seems like certain ROMs (likely stock at least) can get into some kind of Qualcomm mode by following the instructions outlined here:
Modify Sony XZ, XZs, XZ Premium, XZ1 and XZ2 LTE-A band combos - MT-TECH.FI
On this instruction we will modify on Sony smartphone band combo profiles with Qualcomm software. Sony smartphones have software limitation and we will unlock this. We have tables of supported CA combos per group: Sony XZ(s) Sony XZ Premium Sony XZ1 & XZ1 Compact Sony XZ2 & XZ2 Compact We will...
mt-tech.fi
Otherwise, the instructions probably wouldn't exist.
I just can't get it to work on _my_ ROM.
Happy to try and rephrase if you can point out what wasn't clear in the translation!
Click to expand...
Click to collapse
Oh I see, this mode is not edl mode, it is Qualcomm diag port, it is used to modify the xml configuration file of the phone to remove some software level band restrictions. For example, in mainland China where I live, LG mobile phones cannot use 5G. By this method, you can use 5G in mainland China by brushing the xml file of the Chinese version of LG mobile phones
OK, that makes sense.
In my research to be able to do this, I saw mentions of both the diag and edl modes, but nothing highlighted the distinctions, so I thought they were different names for the same thing.
So if edl mode is disabled by Sony for these devices, perhaps the correct question to ask is "how can I enable this diag mode/port", if this command is not available? Is it part of the ROM, or available in some other way?
For that matter, if it's a software level-band restriction, is that software itself in the ROM or the modem files? Do changes persist across ROMs?
For example, if you fix the 5G settings in one setup, then switch to a different OS build/version, will you still be able to use 5G, or would you have to reconfigure again?
tonsofquestions said:
OK, that makes sense.
In my research to be able to do this, I saw mentions of both the diag and edl modes, but nothing highlighted the distinctions, so I thought they were different names for the same thing.
So if edl mode is disabled by Sony for these devices, perhaps the correct question to ask is "how can I enable this diag mode/port", if this command is not available? Is it part of the ROM, or available in some other way?
For that matter, if it's a software level-band restriction, is that software itself in the ROM or the modem files? Do changes persist across ROMs?
For example, if you fix the 5G settings in one setup, then switch to a different OS build/version, will you still be able to use 5G, or would you have to reconfigure again?
Click to expand...
Click to collapse
edl mode is disabled at the factory. diag port is not disabled. I have never seen a phone with diag mode disabled.
LG mobile phones need to be re-cracked after changing the SIM card in mainland China, because the carrier_policy.xml file will change with the change of the SIM card, but after the cracking is completed when the SIM card is inserted, the third-party ROM such as MIUI does not need to be re-cracked. However, after replacing the SIM card, it cannot be cracked through the diag port again, unless the original firmware is flashed back. Sony I'm not sure if that's the case.
If you want to enable diag on a phone that is disabled by default, you must root the phone and then open it using adb shell command in the Android debug bridge (like the link you sent me).
tonsofquestions said:
Sorry for the delay; it's been a weird week.
Interesting, thanks for this info! It at least explains why I was unable to get into it, despite the Qualcomm modem.
Do you have any experience with the "setprop persist.usb.eng 1" setting, and what it's doing?
As far as I can tell that's sometimes doing triggering a similar mode for folks, with some ROMs, but I don't understand it enough to grok why it's not doing the same for my device, and if it's even possible to get it working or if I need to switch to a completely different ROM.
It seems like the modem configuration should be independent of the ROM, but I have a sneaky suspicion that backing up, switching/re-configuring, then restoring my current one won't end up with it working any better.
Do you know anything about which operations are or aren't possible? The Xperia 1 III post suggests that some of them are possible - at least to download and upload files, which is hopefully enough here to tweak my settings so I'd have better LTE/VoIP compatibility.
Thanks again for your insight!
Click to expand...
Click to collapse
here is my post with info about persist.usb.eng:
[DEVONLY] LineageOS 16
This is the development thread for Lineage 16. Everyone who knows C, Java and strace is welcome to participate. Please send git formatted patches! Device Trees https://github.com/cryptomilk/android_kernel_sony_msm8998...
forum.xda-developers.com
[DEVONLY] LineageOS 16
This is the development thread for Lineage 16. Everyone who knows C, Java and strace is welcome to participate. Please send git formatted patches! Device Trees https://github.com/cryptomilk/android_kernel_sony_msm8998...
forum.xda-developers.com
and this one in particular:
[DEVONLY] LineageOS 16
This is the development thread for Lineage 16. Everyone who knows C, Java and strace is welcome to participate. Please send git formatted patches! Device Trees https://github.com/cryptomilk/android_kernel_sony_msm8998...
forum.xda-developers.com
concerning EDL mode (as discussed a different thing to diag mode) - you can boot into EDL with retail xz1c using a kernel patch which re-adds support for 'adb reboot edl', but it is not useful, because it needs sony signed EDL image that is loaded via usb (I happen to have it, but all interesting commands are protected by sony authentication, so it is not useful anyway)
laojiefang said:
LG mobile phones need to be re-cracked after changing the SIM card in mainland China, because the carrier_policy.xml file will change with the change of the SIM card, but after the cracking is completed when the SIM card is inserted, the third-party ROM such as MIUI does not need to be re-cracked. However, after replacing the SIM card, it cannot be cracked through the diag port again, unless the original firmware is flashed back. Sony I'm not sure if that's the case.
If you want to enable diag on a phone that is disabled by default, you must root the phone and then open it using adb shell command in the Android debug bridge (like the link you sent me).
Click to expand...
Click to collapse
Yes, the phone is rooted (thus the custom ROM, though I guess you could unlock and not root, but that just seems silly).
Thanks for the context on changing the SIM card, perhaps that's my underlying issue, and I'll just have to bite the bullet and go back to the original firmware.
j4nn said:
here is my post with info about persist.usb.eng:
[DEVONLY] LineageOS 16
This is the development thread for Lineage 16. Everyone who knows C, Java and strace is welcome to participate. Please send git formatted patches! Device Trees https://github.com/cryptomilk/android_kernel_sony_msm8998...
forum.xda-developers.com
[DEVONLY] LineageOS 16
This is the development thread for Lineage 16. Everyone who knows C, Java and strace is welcome to participate. Please send git formatted patches! Device Trees https://github.com/cryptomilk/android_kernel_sony_msm8998...
forum.xda-developers.com
and this one in particular:
[DEVONLY] LineageOS 16
This is the development thread for Lineage 16. Everyone who knows C, Java and strace is welcome to participate. Please send git formatted patches! Device Trees https://github.com/cryptomilk/android_kernel_sony_msm8998...
forum.xda-developers.com
concerning EDL mode (as discussed a different thing to diag mode) - you can boot into EDL with retail xz1c using a kernel patch which re-adds support for 'adb reboot edl', but it is not useful, because it needs sony signed EDL image that is loaded via usb (I happen to have it, but all interesting commands are protected by sony authentication, so it is not useful anyway)
Click to expand...
Click to collapse
Ah, this is super interesting info, thank you j4nn! I am on Oreo, so maybe it's just as easy as setting a few of the extra props. I'll read through the read more later this evening.
Very neat about being able to custom-patch in the EDL reboot, and it makes sense that it wouldn't support random unsigned flashes, even if the phone is bootloader unlocked.
Do you have any additional experience with unlocking additional bands from the diag mode? I'm not sure what you were experimenting with at the time - if it was for your root exploit or something else.
no, I do not have any experience unlocking additional bands, I do not know any other stuff about that diag apart from what has been posted there
but I find following thread very interesting and I guess it might be related to what you want too:
XZ1 Compact - MetroPCS VoLTE + Latest Pie + Fingerprint + Wi-Fi Calling Step by Step Guide
Overview: This guide provides step-by-step instructions for flashing any existing Sony stock rom Android 8 or 9 to the latest Sony stock ROM Android 9 Build v47.2.A.11.228 for use on the MetroPCS network. The finalized flash is a hybrid of Sony...
forum.xda-developers.com
Yup, I'm well familiar with that thread. I helped eparr with the guide a little, and gave him the older stock image that he couldn't find online anymore.
We also had a separate conversation about a similar problem I was/we were having (relevant to this discussion) here: https://forum.xda-developers.com/t/carriers-for-xperia-xz1-compact-in-us.4477627/ where we talked about his guide, custom flashing, the Sony CustomizationSelector app, modem overlays, and a few other things.
I think because I'm running an AOSP-based (rather than stock-based) ROM, some of these options aren't available to me, which is why I was trying to investigate EDL and diag modes to connect with and adjust the modem configurations directly.
I should probably explore some alternative ROMs but since this phone is also my daily driver, there's a high cost/interrupt to wiping, reinstalling, and repeatedly experimenting, so I've been reluctant to do anything too extreme until the holidays.
Did you test LOS? I believe they have implemented very special stuff for modem and customizations handling there...
I have not yet. I'm currently running an Oreo AEX build. But LOS is one of the ones on my list to experiment with when I get a chance to upgrade.
I think this is the stuff integrated in LOS:
GitHub - whatawurst/OpenCustomizationSelector
Contribute to whatawurst/OpenCustomizationSelector development by creating an account on GitHub.
github.com