[MOD] Enable flashlight when calling and in hotspot mode (medialink HD) - One (M7) Android Development

I was a little bit frustrated about the fact that the flash is disabled in Hotspot mode (in my case the medialink HD) and while making a call. I looked into the system files and found out that modifying these 3 files enable the flash in call / hotspot mode.
/sys/camera_led_status/led_hotspot_status
/sys/camera_led_status/led_wimax_status
/sys/camera_led_status/led_ril_status
Change permission to read only and the values won't change anymore, by doing so the flash can still be enabled in calls/medialink mode (if the value was 0).
maybe a real dev can look into this because after a restart the permissions are bak to normal again
Use at own risk!

Related

Enable HSDPA icon tweak/hack in registry?

On WM6 "Professional" (for PDA phones), there's the registry key "HKLM/Software/OEM/RIL/EnableHSDPAIcon = 1" to make the phone show an H when on HSDPA.
This key does nothing on my BlackJack 2 (WM6 "Smartphone"). Is there an equivalent registry key or hack for this?
There is soemthign equivolent, my Q displays different icons for EVDO, Roaming, and 1xRTT, and it uses WM5 SP edition. (dont know how that helps but thoght I'd mention that there *IS* an equivolent SP function)
Also look in your windows folder and make sure you have the icons, if you dont have the HSDPA icon it wont show up, even if you can tweak the settings.
HKLM\Comm\Cellular\RIL\CHSDPANotification = 0
That string is found on some Q9h phones apparently, but that key isn't in my BJ2. Adding it and setting to 0 or 1 does nothing.
Check on txcaesar.net Da_G has it enabled in his BJ1 6.1 rom and he could probably tell you.
He never got back to me.
Oh well.
I stumbled across the number sequence to access the "test mode" screen and if you haven’t messed with it yet, it’s a must...from the home screen, type *#9999*0# and presto, your have a whole heap of info and settings…like the internal GPS…after you enter *#9999*0#, a debug screen pops up and some of the specs are displayed, hit the back button twice (not the preset back button, the one labled back)...so the first option is Debug screen, 2nd option should be Version Information etc…from that screen, press 9, should take you take you to a screen with 7 options, last one being Factory Test; press 9 again and your taken to the GPS menu J you’ll see you can view the current GPS info, reset it and so forth…if you select view gps info by pressing 2, you’ll then see that you can view the current channel info by pressing 1 and you’ll discover that there isn’t any open channels (surprise!) ha, ok, get back to the screen that would let you Enter Standalone GPS and hit 0 to select it…you’ve just manually initiallized the GPS! After that, one thing I like to do is to open another NMEA port (from the same menu you can view current channel info, it’s option 3) NOW after you’ve done that, assuming you phone has line of sight, if you go back in and view the channel info, theres a lot more now, haha. And even if you don’t have LOS, you’ll notice that your phone is now at least searching for the satellites.
p.s - note that you may wanna repeat the process when your done but this time to end the gps mode, otherwise you'll chew up your battery much faster than normal. lemme know how well it works and if you find anything else within that menu...OH, and be very careful, for it's pretty easy to get curious within all the options of that menu...and just as easy to jack up your phone, prolly even brick it. I, for one, have had to completely master reset and reload at least 3 times because of this menu.
my phone is telling me that the command *#9999*0# is not supported. could this be due to the custom rom i have?
shadowmike said:
my phone is telling me that the command *#9999*0# is not supported. could this be due to the custom rom i have?
Click to expand...
Click to collapse
I found some reg hack in a china forum you can take a look for reference
Enable Network Selection Mode:
HKEY Current User\ControlPanel\PhoneNetSelMode\
Set value "option" from 0 to 1
Restart your device.
Enable band selection:
By doing this you can pick automatic/North America 3G/GSM W850/W1900(3G) 850/1900(GSM) 900/1800 (GSM)
1. Go to Home Screen
2. Type *#1546792*# and then send
3. You will see new screen that indicates that Band
Selection was enabled
4. Now you can go to Settings/Phone/Network/Band
Selection
Enabling Search Frequency:
This hack will allow you to choose the speed at which your phone updates the signal strength icon. Please bear in mind that continuous will have a significant impact on your battery life. The default setting is Medium.
[HKLM\Software\Motorola\SearchFreq] Change the Enable DWord string to 1. Done and done.
Tether With ICS:
1. Navigate to HKLM\Comm\InternetSharing\Settings
2. In here will be a value named "ForceCellConnection"
3. Change "ATT ICS" to "" (make it blank) and reboot your device.
ICS will now give you the option to choose either ATT ICS or MEdia Net. ATT ICS will not work without a tethering plan on your wireless account because of the fact that its set up to connect to a secure WAP network, but MEdia Net will work as long as you have the signal and the basic pay-as-you-go feature (definitely not recommended).
ATT ICS uses "isp.cingular" (Private IP address assigned) whereas MEdia Net uses "wap.cingular" (general internet).
Enable Editing of ATT ICS and Media Net settings:
1. Navigate to HKLM\Comm\ConnMgr\Providers\{7C4B7A38-5FF7-4...}\Connections
2. There will be 2 keys in here. One for ATT ICS and MEdia Net. In those keys there will be a value of ReadOnly
3. Change "ReadOnly" from 1 to 0
4. Restart your device.
5. Upon restart, you may now delete or change the default information.
To restore the "Music" key launching Windows Media Player:
Navigate to HKEY_CURRENT_USER\ControlPanel\Keybd
Change the APP2_path key to read: "\windows\wmplayer.exe"
Restart your device.
Enable editing of your Proxy:
HKEY_LOCAL_MACHINE\Comm\ConnMgr\Providers\{EF097F4 C-DC4B-4c98-8FF6-AEF805DC0E8E}\Cingular WAP
Change "ReadOnly" from 1 to 0, and restart your device Upon restart, you may now delete or change the proxy information.
Change ATT MMS Settings:
HKey_Local_Machine\Software\Motorola\MMS\Profiles\ AT&T MMS
Change the value of "Lock" from 1 to 0. Restart your device.

Attempt to Recover Data Toggle on G920T (6.0.1)

So I have a G920T that is factory unlocked with an CSC being XAR that works perfectly most of the time. After I updated from 5.1.1 to 6.0.1, however, the mobile data toggle in the notification centre is gone, which according to my observation on the Internet happens to a lot of other users in the U.S. (except for Verizon users). I am reluctant to root as that would permanently disable me from using Samsung Pay, so I figured out a way to modify the system UI without root using a Windows computer and ADB commands:
1. Enable USB debugging in the developer mode
2. Connect the phone to the Windows computer
3. Run adb.exe in cmd on the computer
4. Input
settings put secure sysui_qs_tiles Wifi,Nfc,PowerSaving,RotationLock,Bluetooth,WifiCalling,Location,SilentMode,AirplaneMode,DormantMode,Flashlight,UltraPowerSaving,AllShareCast,Sync,SFinder,
and enter
It seems to work pretty well as the toggles can be moved, removed and added, as long as the syntax is correct. But when I try to get the data toggle, inputting MobileData, (as suggested by many other people on the Internet) doesn't work, neither do Data, CellData, or CellularData,. If I put Cellular, however, a mysterious toggle with an unfinished icon appears in my toggle tray saying "Emergency Calls Only", and if you click on it it's gonna display your recent data usage in the notification centre, with options to go into the data usage settings or "Done". Nonetheless, it still does not allow you to turn on/off your mobile data with one click like before. So I'm really just wondering: anyone knows what syntax I should use for the data toggle? Or it's basically impossible because Samsung has permanently removed this feature from non-Verizon U.S. phones?
Thanks!
Screenshots:
https://drive.google.com/open?id=0B1IVkT3djgHeYUIzaFhyOFdTRTA
https://drive.google.com/open?id=0B1IVkT3djgHeRlJKckFGbEQ5UG8

[DISCONTINUED][ROM][MOD] S8+_U1_Unbranded_Rom_PlayStore_Addon_Mods_ADB & Odin_Install

[DISCONTINUED][ROM][MOD] S8+_U1_Unbranded_Rom_PlayStore_Addon_Mods_ADB & Odin_Install
THE FIRMWARE IN THIS OP IS FOR VERZIZON S8+ ONLY
The PlayStore Nougat Mods Zip Or The S8 Nougat Mods Zip Can Be Used On Any Carrier​This involves some knowledge of using odin and adb if you do not how to use these please read up before attempting this as this thread is not going to be a how to use odin/adb thread​
How I Achieved This If You Want The Technical Stuff
I found that Older CSC zips pulled from the cache.img of the S7 model phone will install using adb sideload.
I dont flash a S8 CSC file in odin because this contains the carrier stuff
I have to flash 2 different csc files from the S7. The first one flashes the correct stuff to blacklist unwanted other carrier Apps and install vital verizon apps. But the first csc zip blocks samsung cloud so by flashing the second csc zip which is from S7 MM firmware Samsung cloud was not blocked then. Finally the 3_Install.bat zip removes unwanted carrier files that cause problems with verizon VoLTE.
This Will Wipe Your Phone!
Leave Phone Connected To Computer The Whole Time
Download
SM-G955U1_System.zip
S8_PlayStoreNougatMods_V2.zip Replaces Samsung Apps With Google Apps
S8_NougatMods_V2.zip Keeps All Samsung Apps Does Not Install Google Apps
Odin.zip
VoLTE_Fix.zip Updated zip Replaces the VoLTE_Fix.zip that came in the SM-G955U1_System.zip. Unzip this new zip and replace the old VoLTE_Fix folder with this new one
Directions
Unzip SM-G955U1_System.zip
Unzip Odin.zip
Unzip S8_PlayStoreNougatMods.zip Or S8_NougatMods_V2.zip
Reboot Phone to download mode/bootloader (Press Bixby+Pwr+VolDwn)
Use the Odin3_v3.12_5_PrinceComsy
Load the AP_Modified_G955U1OYM1AQE3_System_Firmware.tar.md5 In AP Slot
Load BL_G955U1UEU1AQE3_CL11465547_QB13691305_REV00_user_low_ship_MULTI_CERT.tar.md5 In BL Slot
Load CP_G955U1UEU1AQE3_CP6566449_CL11465547_QB13691305_REV00_user_low_ship_MULTI_CERT.tar.md5 In CP Slot
In Odin In Options Tab Uncheck Auto Reboot
Click Flash
When Finished Manually Reboot Phone To Recovery This is tricky I had to hold down buttons to boot to download mode then immediately when phone starts to reboot switch to Bixby+Pwr+VolUp until you see S8 Screen
In recovery wipe data then click Apply Update From ADB
Now Unzip the VoLTE_Fix.zip Inside the SM-G955U1_System folder
Click and run 1_Install.bat
After zip is installed phone will reboot
Once phone is at setup screen reboot back to recovery
In recovery click Apply Update From ADB
Click and run 2_Install.bat Inside the SM-G955U1_System folder
Now once phone is rebooted
Go through setup
In settings go to about phone
Click on Build like 5 times to enable developer Options
In Developer Options Enable USB Debugging Make sure to watch phone screen and accept USB Debugging Key This is important!
If you dont see the promt for key in developer options click revoke USB debugging Unplug Phone From Computer And replug in and watch for Promt again
In developer options unclick verify apps over usb
Click and run 3_Install.bat Inside the SM-G955U1_System folder
Once phone has rebooted
Open Rom Control
Click on IMS Settings
Click On IMs Service Switch
Enable All these Options
Click Back Button
Click On Self Provisioning
Click Toggle Wifi Activation and Make sure Wifi Activation says ENABLED Also Make Sure The Ones Above it are enabled
Reboot Phone
Open Rom Control
Click on IMS Settings
Click On Self Provisioning and Make sure all are still ENABLED
Now You can Stop Here Or you can continue on install S8 PlayStore Mods Or S8_Nougat Mods
Install PlayStore Mods Or S8_Nougat Mods
Open S8_PlayStoreNougatMods folder Or S8_Nougat Mods folder
Click Install_Playstore_Rom.bat (Same name is used in S8_Nougat Mods folder)
For S8 PlayStore Mods. Once Installed You can Either Keep the Samsung Incall Screen or you can goto Option and Default Apps and change to Google Dialer as the Incall Screen once you decide to use Google you cant go back to Samsung one without renabling some APPS
SystemUI Tuner And DPI Changer Apps will ask you if your roooted just click no or the rooted button it they will take you too a screen telling you you need to run adb commands to get them too work. This is already done on install so just click next
Features
U1 Unlocked Firmware Unbranded
International Boot Animation
Working WifiCalling
Working Video Calling
Working HD Calling
Samsung Cloud Access
No Verizon BS
PlayStore Mods
Google Dialer with working Nearby Places and Spam Calling
Google GBoard
Google Messages
Google Clock
Google Calendar
Google Calculator
Pixel Launcher
Advanced Settings and Mods In Rom Control Including
**Host Ad Blocking Via AdHell
**Option For VPN Ad Blocking Via DNS66
** Package Disabler Via AdHell
** Battery Bar
** SystemUI Tuner
** DPI Changer
**Outdoor Brightness
** Access To Phone Info To Change Network Settings
** Internet SpeedMeter
** Status Bar Mods Via Status App
** Torch On LockScreen
** LockScreen Mods Via Next LockScreen
** REcent Bar
**Snap Swype Drawer
** Activity Launcher
** Apk Extractor
And More
Bugs
Do Not Change Network Settings In Phone Settings. You Can Enable Data Roaming But dont change Network Settings . Use RomControl and Phone Testing Menu to change network settings
Verizon Visual Voice Mail Does Not Work
You may need to clear data on Google PlayStore and Google Play Services
Missed Call Notifications Dont Show in Status Bar or LockScreen With Google Dialer
FC Apps can usually be fixed by clearing app data
RomControl Source
Its a start my friends!
downlodin now. might have to wait til tomorrow to run it all
awesome, loved your work with verizon's s7 edge. can't wait to give this a go
Works perfectly! Thank you!
Does the wifi calling work without forcing data off as was required with your method to enable wifi calling outside this ROM?
Thanks
Smithfolk4 said:
Does the wifi calling work without forcing data off as was required with your method to enable wifi calling outside this ROM?
Thanks
Click to expand...
Click to collapse
I mean how else would you do it Verizon doesn't just put a button there and let you choose
Why this thread isn't on fire, is beyond me...
jrkruse said:
I mean how else would you do it Verizon doesn't just put a button there and let you choose
Click to expand...
Click to collapse
Maybe I misunderstood some of the conversation in the other thread. Here is what you stated there:
I don't know of any other way to force WiFi calling other than turning off cell radio. On Verizon base rom you can put phone in airplane mode and connect back to WiFi but that don't work on unlocked firmware. The whole root thing depends on an unsecured eng boot image. Which the ones we have right now are not
So I thought that in order to get wifi calling working you would have to turn off cellular service. Maybe all you need to do is connect to wifi to get it to work since wifi would be preferred? Right now, when I am at home I get wifi calling and when I am not on my wifi I get cellular radio calling. I don't have to turn anything on or off. It just works.
Sorry for the misunderstanding.
Smithfolk4 said:
Maybe I misunderstood some of the conversation in the other thread. Here is what you stated there:
I don't know of any other way to force WiFi calling other than turning off cell radio. On Verizon base rom you can put phone in airplane mode and connect back to WiFi but that don't work on unlocked firmware. The whole root thing depends on an unsecured eng boot image. Which the ones we have right now are not
So I thought that in order to get wifi calling working you would have to turn off cellular service. Maybe all you need to do is connect to wifi to get it to work since wifi would be preferred? Right now, when I am at home I get wifi calling and when I am not on my wifi I get cellular radio calling. I don't have to turn anything on or off. It just works.
Sorry for the misunderstanding.
Click to expand...
Click to collapse
I dont know how your getting wifi calls with verizon without either having no service or your roaming or you turned off the cellular radio. Verizon doesnt let you choose when the calls are made over wifi they choose for you the only settings you can control is if you want to use wificalling while roaming. Just because your connected to wifi doesnt mean the calls are being made over wif network. Unless this has changed in the latest update
jrkruse said:
I dont know how your getting wifi calls with verizon without either having no service or your roaming or you turned off the cellular radio. Verizon doesnt let you choose when the calls are made over wifi they choose for you the only settings you can control is if you want to use wificalling while roaming. Just because your connected to wifi doesnt mean the calls are being made over wif network. Unless this has changed in the latest update
Click to expand...
Click to collapse
mine just seems to choose when to use wifi calling. still on stock atm, but when connected to wifi, it calls through wifi, and my data is still enabled from what i can tell. when i walk out of wifi range my call doesn't drop, just keeps going as normal. if that makes sense
kal87 said:
mine just seems to choose when to use wifi calling. still on stock atm, but when connected to wifi, it calls through wifi, and my data is still enabled from what i can tell. when i walk out of wifi range my call doesn't drop, just keeps going as normal. if that makes sense
Click to expand...
Click to collapse
Are you getting the wifi icon in the call logs. Thats how you know if its using wifi to call
jrkruse said:
Are you getting the wifi icon in the call logs. Thats how you know if its using wifi to call
Click to expand...
Click to collapse
half have the wifi icon, the other half don't
kal87 said:
half have the wifi icon, the other half don't
Click to expand...
Click to collapse
Do you have bad service at your house. I have an s5 s7 and s8 and none will make wifi calls by simply being on wifi network unless signal is bad so I dont know what the deal is.
jrkruse said:
Do you have bad service at your house. I have an s5 s7 and s8 and none will make wifi calls by simply being on wifi network unless signal is bad so I dont know what the deal is.
Click to expand...
Click to collapse
full bars at the house, 2 or 3 at work. rechecked my call log, and they were all while i was at work. so i guess 2 or 3 bars makes a difference in when wifi calling is used?
kal87 said:
full bars at the house, 2 or 3 at work. rechecked my call log, and they were all while i was at work. so i guess 2 or 3 bars makes a difference in when wifi calling is used?
Click to expand...
Click to collapse
I really wish verizon would make it so you could pick one or the other with out having to force it with disabling cell radio
Does anyone know how to revert back to the stock Verizon ROM if I choose to go back?
trojanvision said:
Does anyone know how to revert back to the stock Verizon ROM if I choose to go back?
Click to expand...
Click to collapse
Download the Latest VZW Firmware and flash it with Odin3_v3.12.7 from the OP
VoLTE_Fix.zip this is an updated zip to replace the one that came in the System zip. Unzip this and replace your old VoLTE_Fix folder with this new one and the rerun the 3_Install.bat. This will fix wificalling issue not activating
To test wifi calling open rom control app click on Phone Testing Menu
Turn Cellular Radio Power off
If working Properly your setting will look like thisView attachment 4195477
Notice Data Network Type =IWLAN This means your connect to Wifi Calling Network
If your phone is ready to make a WifiCall your Voice Service=In service
If your Voice Service= unknown then go and try and make a call it will fall to call try a couple of times then come back here turn cell radio back on. Wait a few seconds to connect then turn cell radio back off and wait a few seconds it should show Voice Service=In service and you should be good to go. Then try and make a call and wificalling should now work
Also updated the S8_PlayStoreNougatMods_V2.zip. Added a few more things
Just want to say jrkruse you are the truth been following yiu since my s5 keep up the good work .

modify wpa_supplicant.conf

I have a Wiko Pulp, Android 5 rooted.
Its broadcast senseless its manufractor/name/model in Broadcast frames.
Cause it makes traffic(even if already connected) and for privacy i want to modify /data/wifi/wpa_supplicant.conf.
I can do that cause im root. But if i turn off or turn on wifi the values reverted.
Tryed too to edit, remove battery and restart but this dont help(original file seems not to be in RAM and reverted from there)
I can writeprotect the file but then wifi dont get startet anymore. Setting rights to wifi/wifi didnt help(default system/wifi).
There is too /etc/wpa_supplicant.conf but that isnt used cause there the Manufracturer is "MediaTek Inc." and not Wiko.
Then there is /etc/wpa_supplicant_overlay.conf i can edit and they stays, but i cant overwrite or add settings with it.
Seems some linux typical unused file.
Question is who is touching my Files? Where this revert comes from, there must be somewhere(where?) a copy of it or a script that write back the header? Is it possible to start wpa_supplicant with another(other place) wpa_supplicant.config and still add new networks? Doesn know who add the networks. Or somebody know how to patch wpa_supplicant binary to use "passive_scan=1"

Wifi and Cell toggles after upgrade to Android 12 ( no root )

After upgrading to Android 12, we lost wifi and cell toggles. There is a replacement - internet toggle which brings another popup which can be used to turn on and off Wifi and Cell data. This is one more tap and is not needed imho.
I've looked around and found a way to restore wifi toggle and cell toggle:
First, adb shell into your phone ( enabling debug mode of course )
settings get secure sysui_qs_tiles
This is going to show all toggles which are currently available.
You can then add wifi and cell to the list and
settings put secure sysui_qs_tiles "wifi,cell,<here goes the rest of your toggles>"
for example, this is what I did for Pixel 4a
wifi,cell,bt,dnd,flashlight,rotation,night,screenrecord,custom(com.google.android.gms/.nearby.sharing.SharingTileService),dark,controls,hotspot,location,airplane,cast,cameratoggle,mictoggle,wallet,alarm,reduce_brightness,internet,battery
settings put secure sysui_qs_tiles "wifi,cell,bt,dnd,flashlight,rotation,night,screenrecord,custom(com.google.android.gms/.nearby.sharing.SharingTileService),dark,controls,hotspot,location,airplane,cast,cameratoggle,mictoggle,wallet,alarm,reduce_brightness,internet,battery"
I however noticed that once in a while Wifi toggle stops working, reboot helped with that. Please share your experiences.
Just did this to my son's pixel 4a because he was missing the toggles. Seems to be working, but the cell one doesn't show connecting/disconnecting just connected/disconnected.
I'm sticking with internet because I rarely block data and usually want to block wifi at the same time when I do.
There is one problem. If there is no known Wifi to connect to, the toggle gets stuck in an "on" position and doesn't turn Wifi on or off. Not sure how to fix this. I have developed my own toggle but it has a similar problem.

Categories

Resources