[Q] Can u Unpack/Edit NON-HLOS.BIN Further ? - Droid RAZR M Q&A, Help & Troubleshooting

I been Digging inside this Bin files for hours now.
This is the files that sets GSM and CDMA usage apart.
I believe this is also the file that may enable us to use 3G and 4G on our radios wit US-GSM carriers.
The differences in Hex towards the top of this program is minimal.
1st page has one line of code difference.
Then the rest is identical with the AUSSIE bin.
Until the 50% the US Verizon Bin stops.
And the Aussie BIN has further codes.
But from the looks of it they don't look like instructions.
Rather they are more packages inside this Bin File.
Is there a know tool that we can decompress this file further ?
Or are there any other NON-HLOS files from a Tmobile Variant that we can look at that may have the correct instructions for 4G n 3G usage ?
It seems like the Samsung guys are doing the same thing to gain access to 3G/4G on their S3 though still hunting down a bounty also.

Related

(request) samsung s4 4g icon to lte icon*

Hi im new to this forum and i was just wondering if anyone could help me as i have tried looking everywhere for this
I have a samsung s4 I337m i use it on (wind mobile) (aws)
at the top of the status bar i have a 4g icon is their anyway to change it to lte icon
please tell me an easy way not to complicated as i only know how to root my phone
LTe Icon Mod
purekiller98 said:
Hi im new to this forum and i was just wondering if anyone could help me as i have tried looking everywhere for this
I have a samsung s4 I337m i use it on (wind mobile) (aws)
at the top of the status bar i have a 4g icon is their anyway to change it to lte icon
please tell me an easy way not to complicated as i only know how to root my phone
Click to expand...
Click to collapse
You can try the LTE icon mod located here:
http://forum.xda-developers.com/showthread.php?t=2498548
located near the bottom of the first post.
If you want the icons to look different, you can unzip the file, find the icons and change them to anything else you want them to look like,
there are not many icons to find.
That assumes you have a recovery installed.
If not you would have to pull the corresponding files from your phone that are located in the zip and change the files
then put them back. (you probably don't want to go this route though)
purekiller98 said:
Hi im new to this forum and i was just wondering if anyone could help me as i have tried looking everywhere for this
I have a samsung s4 I337m i use it on (wind mobile) (aws)
at the top of the status bar i have a 4g icon is their anyway to change it to lte icon
please tell me an easy way not to complicated as i only know how to root my phone
Click to expand...
Click to collapse
If you are actually connected to an LTE network, simply edit the file /system/csc/others.xml (in an at&t ROM it would be /system/csc/feature.xml ) and add this line....
Code:
<CscFeature_Framework_ReplaceDataTypeIconAsOpBrand>OYA</CscFeature_Framework_ReplaceDataTypeIconAsOpBrand>
If the line is already there, edit whatever 3-letter code is there now to "OYA" without quotes
If you are not connected to real LTE, then you'll have to theme your SystemUI.apk. Extract the file. In res\drawable-xxhdpi , Find the 4g icons you are currently seeing on your phone and the LTE icons you want to see. Switch names for the icons. Go back to your orig SystemUI.apk, open-but not extract-the file with 7zip program (pc or Mac). Drag all the renamed icons back into the res\drawable-xxhdpi folder, close. Push or flash to system/app on your phone.

[Q] Changing SystemUI.apk for Sprint GS4 (L720T)

I am trying to change Sprint GS4 L720T 3g data indicator to a 4G data indicator, so whenever I connect to HSPA, I get the 4G icon instead of the 3G icon. I have identified the icon inside the SystemUI.apk file: it's called "stat_sys_data_connected_3g_spr.png." My idea is to change that icon with another one like "stat_sys_data_connected_4g_att.png" or "stat_sys_data_connected_4g_tmo.png".
Method 1: I used 7-zip to inter-change the name of the files within the apk and then moved back to modified file to /system/priv-app/
Method 2: I used apktool to rename the file name and the moved the re-compiled apk back to /system/priv-app/
The problem: With both method the device seems to detect the changes I made thru signature detection or some other method and the modified SystemUI.apk does'n't work.
I have even tried a de-odexed ROM and tried both previous method and the device keeps failing to recognize the apk.
Does anyone has any idea on how can I change SystemUI.apk without triggering the signature change?
PS: I was able to do this but only on a device that had a 15 digit EMEI instead of the 14 digit MEID. I cannot reproduce the problem again because I don't have any other device with a 14 digit MEID.
Can anyone at least lead me in the right direction?
Extract the pngs you want to use, rename them to the ones you want to replace, put back into apk
Profit
Or decompile/recompile properly
Or disable signature check
BTW, this isn't really relevant to the developer section

I need some stock files guys

I know this is a Samsung S7 forum. But I think the files will be very fimilar and thus the reason I am asking here as well.
I need your guys help. I am trying to create a data fix file for Note 4 for a note 7 rom. I need some files off of a note7. I need all of the following:
all files, folders and sub files under System/CSC. all files, folders and sub files under System/Etc, all just files under System. lastly I need the file under Data/data/com.android.settings/shared_prefs/com.android.settings_preferences.xml this file
you most likely don't even need root to get these as you won't be modifying anything just copying them.
the size of the combined files should be under 10 megs zipped.
Or if anyone knows of a way I can use a stock firmware to extract files from it that would be awesome. However I have yet to find a way.
In the note 4 sprint forums we are having a hell of a time trying to get the note 7 roms to work on the note 4 for SMS, MMS, DATA, Phone calls. this would help out a ton if someone can do this for me.
Thank you guys.
I REALLY REALLY need Customer.xml and Others.xml ASAP however I really need the rest as well

[TWEAKS][GUIDE] CSC/OMC Tweaks For Galaxy S8+/Note 5/Note FE Ports

●BRIEF INTRODUCTION :-
•Here Is Guide For Those Samsung Galaxy Devices Users Who Are Missing Some OMC-CSC Features On Their Devices
•Since Only Few Country's Cscfeatures.xml OR Others.xml Are Fully Modified By Devs Due To Time Lackness Or Any Other Reasons While Other Country's Need To Be Modified
●REQUIREMENTS :-
•Any Custom S8+ Based/Note 5 Based/Note FE Based Nougat 7.0/Marshmallow 6.0.1 TouchWiz Custom/TouchWiz Stock Rooted Rom
•Rooted With Properly Working SuperSU Root OR Magisk Root
•Root Explorer Like Es File Explorer OR Root Explorer by SpeedSoftware
•Some Typing Experience As Small Typo Is Unacceptable
●INSTRUCTIONS :-
•Use Any Root Explorer Above Mentioned With
Proper Root Access Granted
Mount R/W Permitted
•Follow The Path Local/System/Csc/Others.xml
Note :-
*For N5 Based Custom TouchWiz Roms/Any Custom TouchWiz Roms That Uses Others.xml Features Format
•Follow The Path Local/System/Omc/Your Selected One While Installing Rom/Cscfeatures.xml
Note :-
*For S8+ Based Custom TouchWiz Roms/Any Custom TouchWiz Rom With Cscfeatures.xml Features Format
•Take Cscfeatures.xml OR Others.xml For Editing Purpose As Per Your Rom's Format To add Some Useful OMC-CSC Tweaks
•After Editing Completes Kindly Save Changes And Reboot Your Device Right After Editing/Saving To Make Mentioned OMC-CSC Tweaks Works Actually
●SOME USEFUL OMC-CSC TWEAKS :-
▪Places Tab In Samsung Stock Phone App :-
Note :-
*Line To Be Added In Cscfeatures.xml OR Others.xml Is As Below
<CscFeature_Common_ConfigSvcProviderForUnknownNumber>whitepages,whitepages,on</CscFeature_Common_ConfigSvcProviderForUnknownNumber>
▪Samsung Stock Real Time Network Speed In StatusBar :-
Note :-
*Place It Below <Cscfeature_Setting_> Tweaks
<CscFeature_Setting_SupportRealTimeNetworkSpeed>TRUE</CscFeature_Setting_SupportRealTimeNetworkSpeed>
▪Data Usage View On Quick Settings Panel :-
Note :-
*Place It Below <Cscfeature_SystemUI_> Tweaks
<CscFeature_SystemUI_SupportDataUsageViewOnQuickPanel>TRUE</CscFeature_SystemUI_SupportDataUsageViewOnQuickPanel>
▪Adding Some Essential Missing Toggles In Quick Setting Panel
Note :-
*For Eg.
Some Useful Quick Toggles Like Following "ScreenCapture,VoLte,Ebook,UHQ,TouchSensitivity,DeviceVisibility" etc.
Sticky :-
*Find The Below Line in <Cscfeature_SystemUI_> Tweaks
*See Which Toggles Missing In Your Quick Setting Panel
*Add Them Manually As Per Requirements
*While Adding Quick Toggles Manually Kindly Be Careful To Put Comma Symbol [ , ] To Make Them Work Effectively
<CscFeature_SystemUI_ConfigDefQuickSettingItem>Wifi,SilentMode,MobileData,Bluetooth,RotationLock,Flashlight,AirplaneMode,ScreenCapture,Performance,EdgeLighting,Nfc,WifiHotspot,BlueLightFilter,UDS,PowerSaving,Aod,AllShareCast,SFinder,DeviceVisibility,Ebook,Dnd,SideKey,Location,Sync,SecureFolder,VoLte,UHQ,TouchSensitivity,RedPacket,SmartStay,Toolbox,MultiWindow,SecureFolder,UltraPowerSaving</CscFeature_SystemUI_ConfigDefQuickSettingItem>
▪AppLock OR Any SmartManager Related Missing Features
Note :-
*Place It Below <Cscfeature_SmartManager_> Tweaks
*Add AppLock OR Any Missing SmartManager Realted Features
Sticky :-
*You Will Need AppLock.Apk From Another Custom Rom/Downloaded From External Sources To Place In Local/System/Priv-app/Applock Folder
*Give Proper Permissions To Both Folder And App Inside The Folder Correctly
<CscFeature_SmartManager_ConfigSubFeatures>roguepopup|autoclean|autolaunch|autorestart|storageclean|backgroundapp|applock|trafficmanager|trafficmanager_auto|notificationmanager|data_compression|cstyle|fake_base_station|appclean|devicesecurity</CscFeature_SmartManager_ConfigSubFeatures>
▪Auto Call Recording Option While Calling From Native Samsung Phone App :-
Note :-
*Place It Below <CscFeature_VoiceCall_> Tweaks
Sticky :-
*Above Mentioned Feature May Not Work On Every Device Due To County's OMC-CSC Limitations
*Base Is Complete Different For Every Roms
*Some Belongs Note5 Base/Some Belongs S8+ Base/Some Belongs To Note FE Base Etc.
<CscFeature_VoiceCall_ConfigRecording>RecordingAllowed</CscFeature_VoiceCall_ConfigRecording>
▪Call Recording Button Replaced With Add Call Button In Native Samsung Phone App :-
Note :-
*Place It Below <Cscfeature_VoiceCall_> Tweaks
<CscFeature_VoiceCall_EnableCallButtonInFdnList>TRUE</CscFeature_VoiceCall_EnableCallButtonInFdnList>
▪For LTE Icon Instead Of 4G Icon Have To Place/Add Following Line OR For 4G Icon Instead Of LTE Icon Have To Remove The Following Line :-
Note :-
*Place It Below <CscFeature_SystemUI_> Tweaks
<CscFeature_SystemUI_ConfigOverrideDataIcon>LTE</CscFeature_SystemUI_ConfigOverrideDataIcon>
●IMPORTANT NOTE :-
Not All Features Will Work On Every Device Or Every Country's OMC-CSC Due To Country/Regional Restrictions But Most Should Work Well
More Tweaks Will Be Added As Per Availability And Working Status After Being Tested.
I'm attaching my App Lock .zip if someone wants to use it, I was missing the line that enables it :silly:
cachanilla86 said:
I'm attaching my App Lock .zip if someone wants to use it, I was missing the line that enables it :silly:
Click to expand...
Click to collapse
Thanks For Your Contribution Mate
Hi Some questions
1. Are these features dependent on the type of processor Snapdragon / Exynos. For eg some feature set require parameters to be provided, would they change depending on the processor especially network related features (eg: enabling VOLTE)
2. Lets say i root the phone and make changes to the CSCFeatures file. Now if i unroot the phone by flashing the stock AP file back using ODIN, then technically i have unrooted the phone and since i did not flash the CSC file, the changes made should continue to be there. Would the changes and files written to the system/csc areas continue to be there after i flash it with the stock AP file ?
deltacharlie said:
Hi Some questions
1. Are these features dependent on the type of processor Snapdragon / Exynos. For eg some feature set require parameters to be provided, would they change depending on the processor especially network related features (eg: enabling VOLTE)
2. Lets say i root the phone and make changes to the CSCFeatures file. Now if i unroot the phone by flashing the stock AP file back using ODIN, then technically i have unrooted the phone and since i did not flash the CSC file, the changes made should continue to be there. Would the changes and files written to the system/csc areas continue to be there after i flash it with the stock AP file ?
Click to expand...
Click to collapse
1)Though Some Features are related with CPU but almost all are hardware
Since these tweaks are Software related should work without any conflict between CPU's
VoLte is totally CSC related thing n ofcourse needs to be supported by network carrier provider within country
(For unlocked devices it might would be used as many other guides would be there to enable native VoLte feature on Network unlocked devices Since CPU versions varies accordingly markets and many people prefer to use snapdragon or exynos as per own choices hence needs sometimes unlocking of network)
2)For making changes in omc-csc obviously you needs to be rooted point granted. But if you unroot to stock by flashing Stock Firmware using odin saved changes will lost as Odin flashing does complete wipe including Internal storage (Not confirmed as sometimes it doesn't wipes internal storage dramatically but in every case it does. I guess especially in case of flashing Stock over Stock it doesn't wipe internal storage but In case of complete unroot from Custom to Stock it wipes as well as you yourself need to wipe internal storage to avoid odin flashing errors)
3)Also AP (One File Firmware Contains Home_CSC Pre Included In Cache.img if you extract it you can even get flashable zip for your Home_csc in Case if you want to use native features like eg.VoLte on Other CSC Based Custom Roms), So ofcourse changes you previously done will be lost after flashing omc-csc alone OR whole AP/Four Files Full Firmware through Odin
Thanks for the detailed explanation. But one clarification required again. In the option where i am trying to unroot the deivce i only flash the AP file (not the one file that contains all files) but one of the 4 firmware files. I uncompressed it and found it to contain - boot.img, recovery.imk and system.img.ext4. So will that still overwrite the CSC files that were modified when root was in place. ?
deltacharlie said:
Thanks for the detailed explanation. But one clarification required again. In the option where i am trying to unroot the deivce i only flash the AP file (not the one file that contains all files) but one of the 4 firmware files. I uncompressed it and found it to contain - boot.img, recovery.imk and system.img.ext4. So will that still overwrite the CSC files that were modified when root was in place. ?
Click to expand...
Click to collapse
1)Odin Is Designed To Flash Specifically .tar/.tar.md5 files afaik So even if you decompress Stock One File Firmware AP Into 4 Files Likes .img, Odin Will Not Flash It So No Further Discussion Here
(As You Can only Flash Single AP.tar.md5 file in case of One File Firmware So Obviously your whole data will be reset including previous changes you done while on Root using custom Rom)
2)In case of 4 files Full firmware which includes .tar.md5 files for AP/CP/BL/CSC Etc to be added in Odin's respective Tabs
You will also loose your previous changes made while on Root As flashing Odin will completely unroot your device so no access to system/root directory
(In simple way, Odin flash will lead your device to complete stock experience without root only Knox flag tripped exception OR else your device gets in Factory manner after flashing Stock firmware through odin)
Apologies, I just dont seem to able to articulate my point/query. So further questions.
In the second case you mentioned (of 4 files Full firmware which includes .tar.md5 files for AP/CP/BL/CSC Etc to be added in Odin's respective Tabs) what if i only flash the AP file and leave the other tabs blank. Will it still wipe out the CSC area ?
deltacharlie said:
Apologies, I just dont seem to able to articulate my point/query. So further questions.
In the second case you mentioned (of 4 files Full firmware which includes .tar.md5 files for AP/CP/BL/CSC Etc to be added in Odin's respective Tabs) what if i only flash the AP file and leave the other tabs blank. Will it still wipe out the CSC area ?
Click to expand...
Click to collapse
1)Yes It Will erase your previous CSC contains specially if you were on different CSC And Modified It Per Your Requirements While on Root
2)As I Already Mentioned In my earlier post that CSC features are packed within one file firmware too in cache.img format That's why stock Firmwares are specifically categorised according to country for eg. like INS/XSG/XXV/BTU/XME Etc.Which suggests Home_CSC Codes
3)So the conclusion is that either flash 1 file i.e. AP through Odin Or Flash Separate 4 Files Firmware You Will Loose Modified CSC Contains while On Root/On Different CSC Because Odin totally resets your device to factory state/Unroot it So Obviously Modifications Done While On Root Would Be Erased
Hmm this seems like a good post to follow for the Note FE. Thanks !
DarkManX4lf said:
Hmm this seems like a good post to follow for the Note FE. Thanks !
Click to expand...
Click to collapse
Real Note FE or modded ROM? There are a few Note FE ports, but they all have all of this enabled, no need for aditional mods.
cachanilla86 said:
Real Note FE or modded ROM? There are a few Note FE ports, but they all have all of this enabled, no need for aditional mods.
Click to expand...
Click to collapse
I'm on a real Note FE from South Korea N935K.
Hello guys... I'm trying to put up a few things(data speed and count) in my stock nougat ROM for galaxy s6 . There's something that's bothering me... that I don't have the omc folder in my root and in csc/others.xml I can't locate as to where should I type the code.
I know it's CscFeature_ like something mentioned in the OP but I can't find the headings under which the OP states the code is to be put.
I'll appreciate this help.
Please tell if you need screenshot.
Edit: Thanks for consideration (if anyone did ! ) but I figured out my way. Now I have what I wanted.
Thanks for the codes.
Regards
Here is some working csc codes.
<CscFeature_Message_DisableSmsToMmsConversionByTextInput>TRUE</CscFeature_Message_DisableSmsToMmsConversionByTextInput>
<CscFeature_Camera_ShutterSoundMenu>TRUE</CscFeature_Camera_ShutterSoundMenu>
<CscFeature_VoiceCall_ConfigRecording>RecordingAllowed</CscFeature_VoiceCall_ConfigRecording>
<CscFeature_Message_EnableBlackList>TRUE</CscFeature_Message_EnableBlackList>
<CscFeature_Setting_EnableMenuBlockCallMsg>TRUE</CscFeature_Setting_EnableMenuBlockCallMsg>
<CscFeature_Message_EnableSaveRestoreSDCard>TRUE</CscFeature_Message_EnableSaveRestoreSDCard>
<CscFeature_SmartManager_DisableAntiMalware>TRUE</CscFeature_SmartManager_DisableAntiMalware>
<CscFeature_SystemUI_SupportRecentAppProtection>TRUE</CscFeature_SystemUI_SupportRecentAppProtection>
<CscFeature_SmartManager_ConfigDashboard>dual_dashboard</CscFeature_SmartManager_ConfigDashboard>
<CscFeature_SystemUI_SupportAssistanceAppChooser>TRUE</CscFeature_SystemUI_SupportAssistanceAppChooser>
<CscFeature_Setting_DisableMenuSoftwareUpdate>TRUE</CscFeature_Setting_DisableMenuSoftwareUpdate>
<CscFeature_Wifi_SupportAdvancedMenu>TRUE</CscFeature_Wifi_SupportAdvancedMenu>
<CscFeature_NFC_StatusBarIconType>DEFAULT</CscFeature_NFC_StatusBarIconType>
<CscFeature_RIL_ForceConnectMMS>TRUE</CscFeature_RIL_ForceConnectMMS>
<CscFeature_Setting_CustNetworkSelMenu4>LTEONLY</CscFeature_Setting_CustNetworkSelMenu4>
<CscFeature_Message_EnableMsgTypeIndicationDuringComposing>TRUE</CscFeature_Message_EnableMsgTypeIndicationDuringComposing>
<CscFeature_SmartManager_ConfigSubFeatures>roguepopup|autoclean|autorestart|networkpowersaving|storageclean|applock|trafficmanager|notificationmanager|applicationpermission|devicesecurity|data_compression|rootbadgefeature|UDS|cstyle</CscFeature_SmartManager_ConfigSubFeatures>
<CscFeature_Common_EnableAirMessage>TRUE</CscFeature_Common_EnableAirMessage>
<CscFeature_Common_ConfigSvcProviderForUnknownNumber>whitepages,whitepages,on</CscFeature_Common_ConfigSvcProviderForUnknownNumber>

How to correct and edit QCN files

Welcome everyone
Easily watch this video
https://youtu.be/jPouF3bzoDI
Tools used
=============
1- any hex editor software
2- QPST
=============
enjoy watching
follow us on our official page
https://bassye.com
or on Facebook page
@yemenbases
mazenbs said:
Welcome everyone
Easily watch this video
https://youtu.be/jPouF3bzoDI
Tools used
=============
1- any hex editor software
2- QPST
=============
enjoy watching
follow us on our official page
https://bassye.com
or on Facebook page
@yemenbases
Click to expand...
Click to collapse
Qualcomm has a protect write, when you change something in the qcn file, after you flashed it, the news values doesnt record. I dont know how disable the protection, I try thousand of thing, nothing works for me
I thank the OP for showing us how to edit a QCN file. However, I'm missing the objectives for making these edits. I have an S4 international version, GT-I9505. I am trying to use it on US T-Mobile, which requires band 4 (1700/2100) to support 4G LTE. When I tried to use QPST to flash an altered SGH-I337M QCN file with this band enabled, it was rejected with the following message "Received an invalid command from the phone". I assume the phone rejects it because the file is coded for I337M.
Now my idea is to backup directly from my GT-I9505 a qcn file and then modify it to enable band 4. However, I don't know what to modify. If anyone can share some advice. I'd highly appreciate it. Thank you
pindonga123 said:
Qualcomm has a protect write, when you change something in the qcn file, after you flashed it, the news values doesnt record. I dont know how disable the protection, I try thousand of thing, nothing works for me
Click to expand...
Click to collapse
Same here!!
mazenbs said:
Welcome everyone
Easily watch this video
Tools used
=============
1- any hex editor software
2- QPST
=============
enjoy watching
follow us on our official page
https://bassye.com
or on Facebook page
@yemenbases
Click to expand...
Click to collapse
Thanks.. but what's actually this "correct and edit" for?

Categories

Resources