Lock LTE Band on Huawei P Smart - Huawei P Smart Questions & Answers

Hi,
is there a way to lock LTE band on this smartphone?
I need to lock on B3&B20 because B1 signal is weak.
I've already done this with my samsung j7 here.
Info:
FIG-LX1
EMUI: 9.1.0
Android: 9
Patch Sicurezza Android: 1-gen-2020
Base Band: 21C60B269S006C000
Cpu: Hilisicon Kirin 659
Numero build: 9.1.0.176 (C02E11R1P5)
Versione Kernel: 4.9.148

I found out that an app[ProjectMenu 2.10.13] is installed that can be started via code:
*#*#2846579#*#*
By downloading this app from apkMirror[ProjectMenu 2.00.03] and decompiling it in Java, I discovered an interesting thing.
At startup, if the string *#*#2846579159#*#* is used and the variable in
Code:
ro.config.hw_menu_extend
is True, I get an EXTENDED menu.
{
"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"
}
Function n.2 is for RADIO.
.
I don't know if ProjectMenu 2.10.13 has the same entries but I need to change this value
Code:
ro.config.hw_menu_extend
...
Suggestions?

After unlocking the bootloader and root, I tried to change the value of ro.config.hw_menu_extend (in /system/build.prop) but nothing has changed.
I was unable to install ProjectMenu (2.00.03) as this version is for Android 6.

And now I can send AT Command to lock band frequency!
Open 2 prompt with adb shell (one for monitoring and another for sending command).
In monitoring prompt we'll listen on com port where modem is connected:
Code:
cat /dev/appvcom3
In send command you can use one of these command below.
Query the actual config
Code:
printf "AT^SYSCFGEX?\r" > /dev/appvcom3
My reply on monitoring prompt is
Code:
SYSCFGEX:"00",3FFFFFFF,1,2,800C5
800C5 is <lteband>.
As reported in Huawei ME909s Series LTE Module AT Command Interface Specification pdf, this is a hexadecimal value that specifies the LTE frequency band. The value of
<lteband> can be one of the following values and their combinations (excluding 0x7FFFFFFFFFFFFFFF): ...
1(B1) + 4(B3) + 40(B7) + 80(B8) + 80000(B20) = 800C5 (B1+B3+B7+B8+B20) [all values are in Hex]
Set only B20
Code:
printf "AT^SYSCFGEX=\"03\",3FFFFFFF,1,2,80000,,\r" > /dev/appvcom3
Note "03" that sets <acqorder> to LTE only.
See paragraph 15.2 AT^SYSCFGEX - Configure Extended System in pdf (google for it) for details.
Changes remain after reboot.
Thanks to lal1212 for this suggestions

Related

[APP][1.6+] KeyEvent Display v0.0.4

Description
Once, I was playing with a number of Chinese tablets and trying different ROMs on them as they are technically the same hardware (HSG X5A variants).
I've had some problems getting the hard buttons to work though, so I wrote this application to detect key events and print them out. It will print out the following:
KeyEvents: The KeyEvents as Android understands them (KeyUp, KeyDown, KeyLongPress, KeyMultiple)
LogCat: Any relevant messages in logcat. Its filtered based on keywords declared in arrays.xml
Kernel: Any relevant messages in the kernel log. Its filtered based on keywords declared in arrays.xml. Kernel log parsing needs root.
The three checkboxes at the top control what information will be displayed.
This is a personal debug tool, but I hope it will be of some use to someone else.
No Ads.
Notes
While the application is running, the only "hard" keys which should work is "Home" and power. All others will produce their keycodes.
The SU request is to read the kernel log, so I can check if any keyevents are thrown by the kernel.
The location of keylayout files in Android is /system/usr/keylayout.
Kernel log parsing needs root
Both logcat and kernel log monitoring will only display lines containing words from two arrays in arrays.xml (i.e. you need to recompile the app to change them at the moment)
Currently the filters are:
Logcat:
HwGPIOE->GPDA
keycode
keycharacter
Kernel:
HwGPIOE->GPDA
keycode
keycharacter
Permissions
READ_LOGS: Used to access the Logcat log.
WRITE_EXTERNAL_STORAGE: Used to write the exported data to the SD card.
Changelog
v0.0.1: First public release.
v0.0.2: Improved stability, added Exit button.
v0.0.3: Code updates.
v0.0.4: Changed drawables, added sharing, added more info in export text
Acknowledgements
Original icon by OCAL (http://www.clker.com/clipart-style-paintbrush.html).
Licence
Licensed under the Apache Licence 2.0: http://www.apache.org/licenses/LICENSE-2.0.txt
Links
Market link: https://market.android.com/details?id=aws.apps.keyeventdisplay
Webpage: http://aschillings.co.uk/html/keyevent_display.html
Github: https://github.com/alt236/KeyEvent-Display---Android
Screenshots
{
"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"
}
|
This could be handy for anyone trying to redesign an apple BT keyboard for use with Android.

[Q] Replace or modify bootloader

Hi,
I would like to have some informations about the Google Nexus 10 Bootloader (and more generally all google device bootloader). Is it possible to reverse-engineering and modify some opcode, or it's signed by the hardware device like the samsung device (I9100 bootloader & co) ? OR is it a way to put my own bootloader based on Das U-Boot on the device ?
The goal is to turn on some CPU mode (hypervisor) to run the kernel in a special mode for virtualization purpose.
Is it sbl.bin who setup CPU mode for the kernel ?
Is bootloader wrapper or 'trampoline like' (which is called by the real bootloader, and will call the kernel with some additional cpu options) is a viable solution ? [1][2]
The cpu load the kernel in a non-secure SVC mode or secure SVC mode ?
[1] h t t p wiki.xen.org/wiki/Xen_ARM_with_Virtualization_Extensions/FastModels
[2] h t t p github.com/virtualopensystems/boot-wrapper
[3] w w w xenproject.org/presentations-and-videos/video/xpds13v-dual-android.html
[4] h t t p events.linuxfoundation.org/sites/events/files/slides/SRUK_Xen_Presentation_2013_v7.pdf
Thanks for your help!
Anyone ?
Is the Samsung guys from [3] has the right the change (and sign) the bootloader to enable HYP-mode, or did they find another way to do this ?
Thanks!
Bramone said:
Anyone ?
Is the Samsung guys from [3] has the right the change (and sign) the bootloader to enable HYP-mode, or did they find another way to do this ?
Thanks!
Click to expand...
Click to collapse
Try posting in the correct section , here you will get no response, look at the top of this page....
{
"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"
}
Do NOT post question threads in General section!
Take one post lower in Q&A ...:good:
Any help on bootloader modification? I have a phone with bricked eMMC and I need to modify bootloader to load boot.img (kernel+ramdisk) from external sd card instead of eMMC if it's possible.
https://forum.xda-developers.com/android/help/how-to-boot-sd-card-qmobile-z8-bricked-t3712171

[FIX][CM12] LMK Fixer and ADJ

I make my own script for LMK (low memory killer) and adj.
Init.d doesn't work on CM12 so the unique way to make it automatically at boot is with an paid app.
"Boot Shell + Pro Version" (no spoiler)
1. Download Boot Shell and buy Pro version (you also can "buy" it on Aptoide , but highly recommended support the developer is the correct way)
2. Open it , in lateral menu and select "New script" and put it a name. (Ex: LMK)
3. Copy and paste it:
Code:
chmod 644 /sys/module/lowmemorykiller/parameters/adj
echo '0,58,117,176,529,1000' > /sys/module/lowmemorykiller/parameters/adj
chmod 644 /sys/module/lowmemorykiller/parameters/minfree
echo '12288,15360,18432,21504,24576,30720' > /sys/module/lowmemorykiller/parameters/minfree
4. In app settings select "Execute script at boot"
5. Restart and enjoy best RAM management
Credits:
@BlueFlame4 one part of the code
{
"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"
}
..
Does Music apps run better on background? My only problem with CM12 was that Google Music closed A LOT while on background.
Yes is for that , better ram management
Hi,
I don't want to sound rude but am I supposed to get partial credits for this?
I forgot it , sorry @BlueFlame4
How many apps can you run in the background now? Do you also have Facebook app inbetween them? Wasn't there an app called Kernel Audiator which does the same thing?
XT1033 CM12 Nightly. Upon screen off this script undoes itself... No clue why
Odd, it works on the weekly build and on the Asia retail soak...
good job
This script does the work. Thank you man @Lans98. I really needed multitasking which is absent in current cm.
Well I have a query
can i just place the script in init.d folder to make it work?
Working 100% for me now. Cm12 nightlies. Xt1033. Thanks
Why is showing an error when I select "execute and show output"? Then I suppose it does not execute fine at boot :S

[Guide] How-to change your frequency bands (No-root required)

Hey, this has been mentioned before on the forums (https://forum.xda-developers.com/moto-z-play/how-to/enabling-basebands-mzp-qualcomm-phone-t3684962) as well as in other Qualcomm sections but the links are dead and the author was not responding. So I cleaned up the guide and re-uploaded the proper files because I recently had to do this when I switched my carrier, so here it goes...
I've simplified the download process into one "pack". The pack consists of four propretary file folders that are all required for this process:
MzTool
QPST 2.7
Qcomm USB Drivers
Motorola USB Drivers
Step 1:
Download the "MotorolaPack.7z" and extract to desktop.
Step 2:
Install the Qcomm & Motorola drivers.
Your device manager should look like this:
{
"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"
}
Step 3:
Connect your phone to your PC and boot your phone into fastboot mode and select QCOM from the menu.
Step 4:
The phone will boot up as normal.
You're going to want to open 'QPST Configuration'.
You should see your device like this:
Step 5:
Now open up RF NV Manager and in the top left corner of the program hit 'Setting' > 'Comport'
Now go to 'File' > 'Read from phone'
Once it is finished reading, scroll down to line '1877' <-- this is where the phones frequency config is stored
Step 6:
Open MzTool and select desired bands.
Once finished the decimal in the lower right corner is the number you 'Write NV'
LTE Band support
Wish this mzTool had LTE bands as well could have enabled more bands
There is a way but you have to be rooted:
https://forum.xda-developers.com/showpost.php?p=56577252&postcount=455
It's essentially the exact same process (I have not tried) but may need to modify OnePlus patch file
I am looking to use this for my Sharp SH-01J phone, substituting the Motorola drivers for Sharp ones, but I can't seem to get the results.
When installing the Qcomm drivers & restarting, I don't see the entry in DevMgr.
Also, I can't seem to understand how to install the USB Drivers for the Sharp phone either.

[Guide] How to Lock LTE Only and LTE band too without Root on Samsung Galaxy

{
"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"
}
1.
we need to install this app for FREE
at Google Play
https://play.google.com/store/apps/details?id=com.teknokia.force4glteonly
pro version : https://play.google.com/store/apps/details?id=com.teknokia.force4glteonlypro
galaxy store: https://apps.samsung.com/appquery/appDetail.as?appId=com.teknokia.force4glteonly
pro version : https://apps.samsung.com/appquery/appDetail.as?appId=com.teknokia.force4glteonlypro
2. Run The Application - Choose SIM 1 Only Button
3. Choose Hidden Activity Then Waiting for Loading 100 %
4. Type "HiddenActivity" at Serach bar box
5. Choose Call setting App, expand it and you will find Hiddennetwork activity
6. click it you will go to Network Mode menu. select "LTE All " it will lock LTE Only with All LTE Band
7. if you want to Lock one LTE Band. Tap menu then Choose Band Selection . you need to select one frequency LTE Band that supoortted your mobile network operator.
8. Tap Toggle Selection to activate it.
This is Link APP Download
For detail Information please go to How to LOCK LTE Band On Samsung Galaxy Without Root
do lot with this also.. for free....well ads
Samsung Band Selection - Apps on Google Play
This app will help you access hidden network settings for forcing band selection
play.google.com
After much headache with this issue, I found a method that works where the "Band Selection" menu doesn't work (this method is confirmed working on my Galaxy Note 8). Thanks @fasho:
https://forum.xda-developers.com/t/how-to-lock-lte-band.3681480/#post-74325453
TL;DR: Get org.vndnguyen.phoneinfo (from an apk mirror as it is no longer available on the play store), and then run ServiceMode as root. Follow the linked instructions further to disable unwanted LTE bands.

Categories

Resources