[VS995] LG V20 VS995 Verizon Hotspot (Tether) Unlocker [ZIP][FLASHABLE] - LG V20 Themes, Apps, and Mods

Based on the info provided by @ACalcutt here ...
Which is further based on the LG G4 Hotspot app offered by @geoff5093 here ...
I present View attachment VS995_VerizonHotspotUnlocker.zip
This is a flashable ZIP file that performs the exact same operations listed in @ACalcutt's post above. No messing around with copying files or setting permissions, simply flash and boot and go!
Modifications from @ACalcutt instructions:
- Name of APK is simply HotspotProvision.apk as the original is named, not HotspotProvisionVZWG4.apk.
- README file is placed in the /system/app/HotspotProvision directory to notify that modifications have been made.
Enjoy!
NOTES
- This should probably be used only on Verizon VS995 *stock* ROMs
- This was only tested on VS995 13A firmware
- Works with other carriers (MVNOs, etc., not just Verizon).
- ROOT *is required* (...at least AFIAK...feel free to test without, but I don't think it will work).

Can you make a similar zip for AT&T V20 (H910)?

dksoni411 said:
Can you make a similar zip for AT&T V20 (H910)?
Click to expand...
Click to collapse
I can try...but as I don't have an H910 I'm not sure how well it will work without extensive testing from someone else.
I found this post here which describes a method to do it:
https://forum.xda-developers.com/v20/how-to/att-v20-enable-hotspot-unlimited-data-t3524784
Have you tried this method? Does it work?
Are you just looking for a way to flash these settings without having to resort to the manual editing shown there?
Assuming that method works, and assuming that sed is installed on these devices (or I can somehow include it in the installer) I should be able to do it.
If you are just looking for a one time fix I'd recommend following the link above, but if you really need a repeatable way let me know and I'll see what I can do.

I have tried that method and it works.
I wanted to have it through an automatic process. There are many people who tries to root V20 everyday and need that easy way.
I also need it for repeated times because I do test different roms on V20 (it is a test device for me). So if you can make an zip to do that process all automatically that be really awesome and will save a lot of time of others people. Also I will be able to include in my root guide to directly flash while rooting an H910

dksoni411 said:
I have tried that method and it works.
I wanted to have it through an automatic process. There are many people who tries to root V20 everyday and need that easy way.
I also need it for repeated times because I do test different roms on V20 (it is a test device for me). So if you can make an zip to do that process all automatically that be really awesome and will save a lot of time of others people. Also I will be able to include in my root guide to directly flash while rooting an H910
Click to expand...
Click to collapse
Ok, let's start with this little shell script:
Code:
#!/sbin/sh
#
su
settings put global tether_dun_required 0
/system/bin/sed -i 's/name="tether_entitlement_check_state" value="5"/name="tether_entitlement_check_state" value="0"/' /data/system/users/0/settings_system.xml
Basically all this does is issues that "settings" command that the link says needs to be set.
Then, it searches for the tether_entitlement_check_state within the settings_system.xml file and changes it from 5 to 0.
Go ahead and run these commands from a terminal emulator on your device and see if they work.
Make sure your device is clean...as in you haven't made these mods already. You can revert to a non-working config by putting the 0 back to a 5 and issuing the following:
Code:
settings put global tether_dun_required 1
I'm also attaching a shell script you can copy over. You will have to set +x perms on the script to run it.
If this script does what we want it will them be trivial for me to pack it into a flashable zip for you.

TraderJack said:
Ok, let's start with this little shell script:
Code:
#!/sbin/sh
#
su
settings put global tether_dun_required 0
/system/bin/sed -i 's/name="tether_entitlement_check_state" value="5"/name="tether_entitlement_check_state" value="0"/' /data/system/users/0/settings_system.xml
Basically all this does is issues that "settings" command that the link says needs to be set.
Then, it searches for the tether_entitlement_check_state within the settings_system.xml file and changes it from 5 to 0.
Go ahead and run these commands from a terminal emulator on your device and see if they work.
Make sure your device is clean...as in you haven't made these mods already. You can revert to a non-working config by putting the 0 back to a 5 and issuing the following:
Code:
settings put global tether_dun_required 1
I'm also attaching a shell script you can copy over. You will have to set +x perms on the script to run it.
If this script does what we want it will them be trivial for me to pack it into a flashable zip for you.
Click to expand...
Click to collapse
The script didn't worked as expected. As I was using SuperV20 rom, the tether entitlement check line wasn't in expected file.
After writing command in adb shell (then su) my internal storage was locked (un-writeable). I had to reflash whole superv20 rom from beginning and then manually adding the missing lines in mentioned file. Then it worked like charm.
Can you add a condition in zip about if the line is missing it should be added.
---------- Post added at 03:50 PM ---------- Previous post was at 03:48 PM ----------
Also can you help me about this notification that appear when mobile data is turned off.

dksoni411 said:
The script didn't worked as expected. As I was using SuperV20 rom, the tether entitlement check line wasn't in expected file.
After writing command in adb shell (then su) my internal storage was locked (un-writeable). I had to reflash whole superv20 rom from beginning and then manually adding the missing lines in mentioned file. Then it worked like charm.
Can you add a condition in zip about if the line is missing it should be added.
---------- Post added at 03:50 PM ---------- Previous post was at 03:48 PM ----------
Also can you help me about this notification that appear when mobile data is turned off.
Click to expand...
Click to collapse
I'll need you to send me some full copies of the settings_system.xml file - preferably from more than one ROM so I can see the full structure.
Also, I'm concerned by your description re: "internal storage was locked." I don't see how anything I provided you would cause your external storage to be locked. I certainly don't want to distribute anything that is going to cause someone to have to reflash their entire ROM.

Will this work for LG V20 with the Verizon VS99520c Oreo?
Will this work for LG V20 with the Verizon VS99520c Oreo patch 10/1/18 as shown in the attached picture?
Also, what's the easiest way to root?
Please help is appreciated.
Thanks for your time and response.
Eugene
TraderJack said:
Based on the info provided by @ACalcutt here ...
Which is further based on the LG G4 Hotspot app offered by @geoff5093 here ...
I present View attachment 4508476
This is a flashable ZIP file that performs the exact same operations listed in @ACalcutt's post above. No messing around with copying files or setting permissions, simply flash and boot and go!
Modifications from @ACalcutt instructions:
- Name of APK is simply HotspotProvision.apk as the original is named, not HotspotProvisionVZWG4.apk.
- README file is placed in the /system/app/HotspotProvision directory to notify that modifications have been made.
Enjoy!
NOTES
- This should probably be used only on Verizon VS995 *stock* ROMs
- This was only tested on VS995 13A firmware
- Works with other carriers (MVNOs, etc., not just Verizon).
- ROOT *is required* (...at least AFIAK...feel free to test without, but I don't think it will work).
Click to expand...
Click to collapse

Hotspot fix doesn't work with Alpha Omega Oreo
Hotspot fix doesn't work with Alpha Omega Oreo.
Vs995

Guys, this was simply a flashable zip that performed the steps outline from the links in the OP.
If the steps don't work anymore on Oreo, etc, then the zip won't work.
If someone wants to find out what the steps required on Oreo are, I can attempt another zip.
Otherwise, this has only been validated on the build listed in the OP.

Just wanted to say this still works on stock Oreo 20c. Thanks for the zip.

xaxxelous said:
Just wanted to say this still works on stock Oreo 20c. Thanks for the zip.
Click to expand...
Click to collapse
Thanks for the update.

xaxxelous said:
Just wanted to say this still works on stock Oreo 20c. Thanks for the zip.
Click to expand...
Click to collapse
Did you do any additional steps, and are you using a Verizon sim card? I happen to be using a straight talk sim card which still using the same verizon apn values but my hotspot just suddenly stopped working one day giving me the notification "Connected - no internet" on the devices I wanted to use it with. I've tried stock, lineage, resurrection, alpha omega, and always the same dissapointment.

adriascw said:
Did you do any additional steps, and are you using a Verizon sim card? I happen to be using a straight talk sim card which still using the same verizon apn values but my hotspot just suddenly stopped working one day giving me the notification "Connected - no internet" on the devices I wanted to use it with. I've tried stock, lineage, resurrection, alpha omega, and always the same dissapointment.
Click to expand...
Click to collapse
I flashed /system and /boot from a VS995 kdz onto my US996 to see if I could get video calling and and visual voicemail working. Yes, I am on Verizon... So maybe it only worked because most of my firmware is really mostly US996. I'll have to look when I have time, but I think we can do all sorts of crossflashing now with our V20s. Maybe you can flash an entire US996 kdz, then flash /system and /boot from a VS995 kdz.

xaxxelous said:
Just wanted to say this still works on stock Oreo 20c. Thanks for the zip.
Click to expand...
Click to collapse
Did you get this to work on a rooted stock Oreo 20c vs995? If so, could you describe how you got root on 20c?
I've been trying for the past weekend on my vs995 with a verizon sim card and haven't been able to get the hotspot function to work even with root on 20b. hotspot.apk is in the right place with the proper permission, but nothing happens when I push the slider to turn on the hotspot.
I was able to get the netshare+ app to work on the rooted 20b, but it uses an android generated random password which changes every time it is run. And it does not work without root on 20b or 20c.
Thanks!

Zac96122 said:
Did you get this to work on a rooted stock Oreo 20c vs995? If so, could you describe how you got root on 20c?
I've been trying for the past weekend on my vs995 with a verizon sim card and haven't been able to get the hotspot function to work even with root on 20b. hotspot.apk is in the right place with the proper permission, but nothing happens when I push the slider to turn on the hotspot.
I was able to get the netshare+ app to work on the rooted 20b, but it uses an android generated random password which changes every time it is run. And it does not work without root on 20b or 20c.
Thanks!
Click to expand...
Click to collapse
Sorry for the delay, I've been away for work. It sounds like you may be misunderstanding some things or I am misunderstanding you...
First, I don't have a true VS995, I have a US996 that had I crossflashed to VS995 to test some things. I rooted with Magisk.
Second, why are you putting an .apk anywhere and checking permissions? This is meant to be flashed via TWRP. Did you do that? I didn't do anything special. I just did what the OP said: flashed in TWRP, rebooted and hotspot worked.

It's partially working for me in every 20c, either real stock or based on stock on a true vs995. Bluetooth and USB tether are working. Mobile hotspot is not. However there is no error, or directing me to pay Verizon--the slider does nothing. It seems like there is something small here I need to find, but I don't know where to look. Might anyone be able to direct me to the proper log file to investigate?

computererds said:
It's partially working for me in every 20c, either real stock or based on stock on a true vs995. Bluetooth and USB tether are working. Mobile hotspot is not. However there is no error, or directing me to pay Verizon--the slider does nothing. It seems like there is something small here I need to find, but I don't know where to look. Might anyone be able to direct me to the proper log file to investigate?
Click to expand...
Click to collapse
Try using the mobile hotspot icon in the top level swipedown menu. I was able to enable my hotspot that way though the slider does not work. This is on the 20b firmware with root.
I have the modified 20c firmware if anyone wants it. A friend found it on baidu and sent it to me. I haven't tried it yet though as the 20b version is working well for me so far. If there is a place to post it, let me now and I'll upload it. It's about 3 GB.

Related

[HOW-TO] Wifi Fix for CM6 [1/2/2011]

DISCLAIMER: Nobody -- and I do mean nobody -- is responsible for a bricked device except for the person attempting this modification. Do not contact me to complain that you borked your Slide by not following instructions.​
All credit for this discovery goes to knowmercymod​
Certain Espresso owners running CM6 (or CM6 derivatives) may have discovered that their wifi functionality doesn't work as expected. The issue is well-documented on the CM6 issue tracker [issue 2153] and the cause of the problem is known, but there is no source-based solution at the moment. As such, there's no easy way to distribute a fix for working wifi within a packaged CM6 zip.
The issue relates to missing GPL'd drivers for the MSM7227 chipset from Qualcomm that is used in several devices, most notably the HTC Espresso, Legend and Aria. But due to small versioning differences in certain aspects of this chipset, some devices have functioning wifi using the generic open-source SDIO modules and others do not. The permanent solution for this issue is cajoling HTC into releasing this code -- this process is already underway -- but, in the meantime, this thread will serve to provide a temporary solution that is 100% effective.
So let's get started...
Step 1: Downloading the necessary files​
Attached to this post are the two files necessary to fix this issue:
sdio.ko
tiwlan_drv.ko
They both come from *stock* Espresso -- the code currently in use in the CM6 repository does not generate fully-functional versions of these modules.
Download the "modules.zip" file to your PC and extract the two files to an easily accessible location.
Step 2: Backing up the corresponding files on your device [optional]​
This optional step will walk you through backing up the existing files on your device. This is completely unnecessary as those files can simply be restored by re-flashing a CM6 zip, but I figured that people should get in the habit of backing up stock files before modifying their device.
To do so, execute the following two commands -- both can be done while the phone is booted up or in recovery (if you're in ClockworkMod recovery, just make sure your system partition is mounted -- partitions->mount /system):
Code:
ADB PULL /system/lib/modules/tiwlan_drv.ko [DESTINATION]
ADB PULL /system/lib/modules/sdio.ko [DESTINATION]
To use my PC as an example, I would connect my Slide via USB and enter the following commands on the command line:
Code:
ADB PULL /system/lib/modules/tiwlan_drv.ko ~/Documents/Android/Backup
ADB PULL /system/lib/modules/sdio.ko ~/Documents/Android/Backup
Step 3: Replacing the files on your device​
So now we're ready to make the actual modification. First step: boot into recovery. My preferred method is to use the ADB REBOOT RECOVERY command.
Once you're in ClockworkMod Recovery, please make sure system is mounted -- partitions->mount /system
Then you would simply execute these two commands:
Code:
ADB PUSH [SOURCE]/tiwlan_drv.ko /system/lib/modules/tiwlan_drv.ko
ADB PUSH [SOURCE]/sdio.ko /system/lib/modules/sdio.ko
To use my PC as an example, I would enter the following commands on the command line:
Code:
ADB PUSH ~/Downloads/modules/tiwlan_drv.ko /system/lib/modules/tiwlan_drv.ko
ADB PUSH ~/Downloads/modules/sdio.ko /system/lib/modules/sdio.ko
Once you've pushed these files, simply reboot your device and you're done! You should no longer have any issues with your wifi connectivity, including (but not limited to) full wifi tether functionality when using the Wireless Tether 2.0.5 application.
And, again, all credit for this temporary fix goes to knowmercymod (who is far too humble to post this himself).
Saving this space for future updates...
I hope this fixes my frequent disconnects, but on the legend section they fixed the problem by changing the channels to 14 instead of 11, not sure if that will work for espresso.
UPDATE: Works great! Thanks for posting this.
Very exciting news! I'll fully charge and try this fix. Looking forward to using CM instead of stock.
Just pushed the files to cyanoginger 1.1.. wifi and wifi tether both appear to work perfectly now
Cool, thanks for posting!
I did it, not sure if it did anything. Weird thing is, after pushing the 2 files I noticed I forgot to mount the system folder but it said it transfered successfully.. *shrugs*
I think tethering was working before, either way though, it works now
Awesome! Thanks so much for the hard work. I know you guys will manage a perm fix via a regular rom soon. HTC will cough up that source code for ya
Just chiming in to say this works for me. Takes a little longer now to connect to an access point than it used to, but rock solid after that. With s-off, didn't even have to be in recovery, just mounted system rw, pushed files, and rebooted.
Sent from my MyTouch 3G Slide running CM6.1.1
Did it right off my phone with sufbs file manager. Great job hopefully its integrated in next cm build.
I keep getting a "out of space" error when I go to copy the files.
Please help.
poormanq45 said:
I keep getting a "out of space" error when I go to copy the files.
Please help.
Click to expand...
Click to collapse
If you have not applied s-off patch by alpharev, then you have to push the files while in clockwork recovery, after going to the partitions menu and selecting mount /system. If you are in fact s-off, you have to use a terminal emulator and type [code}mount -o rw,remount /system[/code] and then push the files
Sent from my T-Mobile myTouch 3G Slide
CM6 wifi works fine for me, but would these drivers work better with my phone anyways since they're specifically made for this phone?
Applied this on Arayaray revamped which seemed to have spotty wifi for me especially when accessing the market. After applying this the wifi is perfect not a single problem at all now, thanks so much!!
I refuse to connect my phone to my pc. Is there any way to get these files pushed onto my phone? Terminal Emulator work? If not, it's cool. Wifi seems to be working for the most part under CM6.
xaodxkevin said:
CM6 wifi works fine for me, but would these drivers work better with my phone anyways since they're specifically made for this phone?
Click to expand...
Click to collapse
It depends. These files are taken *directly* from the stock espresso rom and are known-good. If you're not having any issues with wifi running CM6 I don't feel comfortable telling you this will "improve" anything -- but I don't think it would hurt. In any case, if you follow my instructions you will have backed up the original files and can restore them at any time.
Hayzie said:
I refuse to connect my phone to my pc. Is there any way to get these files pushed onto my phone? Terminal Emulator work? If not, it's cool. Wifi seems to be working for the most part under CM6.
Click to expand...
Click to collapse
Uhhhh -- why? That seems incredibly myopic and weird. You know what -- never mind -- I don't want to know. You can use a terminal emulator on the device to move the two files from your sdcard to their rightful place on /system. I'll leave it as an exercise to the user to figure out the correct commands to do so.
Well I'll tell you anyways... MyTouch Slide always acts funny when plugged via USB to my pc, more-or-less so Windows 7. I could say this is an uncommon issue, but it's not. So it's not weird.
Mine works just fine, whats funny about it when u plug it in? Sorry to bring this up here herbrewtoyou but im curious lol
Sent from my T-Mobile myTouch 3G Slide using XDA App
Hey guys I just pushed the 2 files to my phone, I'm running CM 6.1.1-Slide - since I flashed to 6.1 and then reflashed to 6.1.1 I have had 0 Wifi capability. So I push these files and followed the instructions, and well I still have no wifi. I will enable it and it will scan, try to authenticate and then disconnect and repeat.......any ideas???
ApeMan911 said:
Hey guys I just pushed the 2 files to my phone, I'm running CM 6.1.1-Slide - since I flashed to 6.1 and then reflashed to 6.1.1 I have had 0 Wifi capability. So I push these files and followed the instructions, and well I still have no wifi. I will enable it and it will scan, try to authenticate and then disconnect and repeat.......any ideas???
Click to expand...
Click to collapse
Sounds like an issue with your router...
No its def not the router, phone would connect all day long before switching to CM.

[SCRIPT][UTILITY] Suicide Flash for Moto

Drawing from the impressive work of CrashXXL in rooting our phones, jahrule in simplifying the process, and Sabissimo in developing a tutorial to bake in apps for those of us with locked bootloaders and write protected systems, I have with great effort arrived at this glorious day. I present to thee: Suicide Flash.
What is Suicide Flash? It is a collection of Bash scripts and other files which streamline and automate the process of using the Qualcomm emergency download mode (Qualcomm HS-USB QDLoader) to write to the system partition on Moto phones using MSM8960 processors. It applies the method used to root these devices (see here, for example) to the task of arbitrary system modification. In other words: Suicide Flash makes it easy(ish) to modify system files for those of us who can't use traditional methods.
Code:
DISCLAIMER: This is obviously a dangerous tool. I mean, it
flashes your phone by bricking it first. Be smart. I shan't be held
responsible if your phone melts, explodes, loses all of its data,
or cheats on you with a hula dancer.
Who Can Use It?
Suicide Flash is for sure compatible with most Moto X variants. The testing has been done primarily with an XT1049, the Republic Wireless model, but has also included the XT1060 (Verizon) and should work on most/all of them. However, in theory any phone, or at least any Moto phone, using the MSM8960 chip could be compatible, such as the Droid Turbo. So to simplify:
XT1049 (Moto X Republic Wireless): Tested and working
XT1060 (Moto X Verizon): Tested and working
XT1058 (Moto X AT&T): Untested, highly likely to work
XT10XX (Any other Moto X): Untested, likely to work
Others: Untested, may work as long as they use MSM8960
How Do I Use It?
Suicide Flash (SF) consists of three main scripts: a flashing script, a package creation script, and a pushing script. Details:
suicideflash.sh: Flashes SF packages to the phone in bricked (QDLoader) mode
pkgmaker.sh: For developers. Creates SF packages from system images.
suicidepush.sh: Uses the SF system to "push" system files in an ADB-like way
To use these scripts, simply extract them to a place of your convenience. All scripts must be run from the root Suicide Flash folder. Do not run any of them from within the "scripts" folder. Also, while it may not strictly be necessary, it is best (if you are developer) to include any relevant system images in the root Suicide Flash folder, as well.
As an end user, you can download SF packages created by developers and flash them using the main Suicide Flash script. As a developer, you can pull system images and use them to create SF packages with the pkgmaker.sh script. Anyone can feel free to use the Suicide Push script to push files to their device. For more information, here are the help pages for each.
Suicide Flash:
Code:
Usage: suicideflash.sh PACKAGE
Flashes PACKAGE to the system parition of a Moto phone using Qualcomm
emergency download mode.
Options:
-h, --help displays this help message
-s, --skip skips all prompts and runs without user interaction
Created by the Nicene Nerd, whose blog at <http://www.thenicenenerd.com/> has
absolutely nothing to do with Android
Package Maker:
Code:
Usage: pkgmaker.sh [OPTION]... ORIGINALSYSTEM TARGETDEVICE REQUIREMENTS
SYSTEMOFFSET OUTPUTFILE
Creates a Suicide Flash package for writing to Moto phones via the emergency
Qualcomm download mode.
Arguments:
ORIGINALSYSTEM provides the original system image to be modded
TARGETDEVICE specifies the model of phone for the package to flash
REQUIREMENTS notes any important requirements for the phone state
prior to flashing
examples: "Stock", "Rooted", or "Rooted+Xposed"
SYSTEMOFFSET the address of the system partition on the target device
should be in hex format (i.e. 0x6420000 or 6420000)
can use value ADB to pull the offset over ABD
OUTPUTFILE the name of the Suicide Flash zip package to be created
Options:
-h, --help returns this help message
-m MODDEDSYSTEM specifies an existing modded system image
if not given, will mount original for modification
Created by the Nicene Nerd, whose blog at <http://www.thenicenenerd.com/> has
absolutely nothing to do with Android
Suicide Push:
Code:
Usage: suicidepush.sh LOCALFILE REMOTEFILE
Uses Suicide Flash to push LOCALFILE to a phone system at REMOTEFILE.
Created by the Nicene Nerd, whose blog at <http://www.thenicenenerd.com/> has
absolutely nothing to do with Android
What Do I Need to Use It?
A Linux installation
ADB
Fastboot
Rhino
Python
A package called python-serial
VirtualBox
ADB Insecure (if developing or using Suicide Push)
If you don't have some of these (except, obviously, the first one and the last one), you can run the included script install-tools.sh. It will automatically install anything you're missing.
Okay, Give Me Step-By-Step Instructions
For End Users:
Download the attached Suicide Flash zip
Extract the zip to a convenient folder and open a terminal window there
Go ahead and use sudo su
Run install-tools.sh
Download an SF package from a developer for your device
Flash the package with the command:
Code:
./suicideflash.sh DOWNLOADEDPACKAGE.zip
Profit!
For Developers:
Download the attached Suicide Flash zip
Extract the zip to a convenient folder and open a terminal window there
Go ahead and use sudo su
Run install-tools.sh
Pull a system image from your phone
Run pkgmaker.sh to create an SF package
Upload the package for the benefit of others
For Anyone, to Use Suicide Push
Download the attached Suicide Flash zip
Extract the zip to a convenient folder and open a terminal window there
Go ahead and use sudo su
Run install-tools.sh
Push files to your phone's system partition with this command:
Code:
./suicidepush.sh LOCAL_SOURCE /system/PUSH_DESTINATION
So, What Can I Do with It Right Now?
If you're a developer, you can get to work creating SF packages for your device. If you're just a plain ol' user, there's not much to be done until others chip in. I have uploaded one package as a sample and for the convenience of anyone looking to root their XT1049 and install Xposed. I will maintain a master list of uploaded packages as people make them.
XDA:DevDB Information
Suicide Flash for Moto, Tool/Utility for the Moto X
Contributors
Nicene Nerd, CrashXXL, Sabissimo
Version Information
Status: Testing
Created 2015-08-07
Last Updated 2015-08-07
Master Package List
XT1049: Republic Wireless Moto X
- root-xposed-xt1049-4.4.4.zip: Root and Xposed for XT1049. Requires stock 4.4.4 from SBF, not OTA.
- busybox-xt1049-rooted-xposed-4.4.4.zip: BusyBox for XT1049. Requires 4.4.4 rooted w/ Xposed.​
XT1058: AT&T Moto X
- root-xt1058-4.4.4.zip: Root for XT1058 KitKat. Requires stock 4.4.4 from SBF, not OTA.
- xposed-xt1058-rooted-4.4.4.zip: Xposed for XT1058 KitKat. Requires rooted 4.4.4.
- root-xt1058-5.1.zip: Root for XT1058 Lollipop. Requires stock 5.1 from SBF, not OTA.​
XT1060: Verizon Wireless Moto X
- root-xt1060-4.4.4.zip: Root for XT1060. Requires stock 4.4.4 from SBF, not OTA.
- xposed-xt1060-rooted-4.4.4.zip: Xposed for XT1060. Required rooted 4.4.4.​
Changelogs:
08/07/2015 - v0.2
- suicideflash.sh: Increased wait period before giving error on not finding phone in emergency mode
- mountimg.sh: Fixed issue which would cause errors preventing images from mounting
- pkgmaker.sh: Added option to pull system image over ADB, improved error handling​
Developer pkgmaker.sh Tutorial: Creating an Xposed Framework Package
Say you want to make a package that installs the Xposed framework, since that requires writing to /system. Here's how you would do it with Suicide Flash (assuming you have already rooted the phone):
Open a terminal window to your Suicide Flash root folder. Then sudo su.
Pull a system image. One way to do that:
Code:
adb root
adb shell dd if=/dev/block/platform/msm_sdcc.1/by-name/system /sdcard/originalsystem.img bs=1024
adb pull /sdcard/originalsystem.img
Run the pkgmaker script like this, assuming you're using a rooted XT1049 on 4.4.4, but you don't know the offset of the system partition, so you want to pull it via ADB. The script will be placed in output/xposed-flash-package.zip.
Code:
./pkgmaker.sh originalsystem.img XT1049 "Stock 4.4.4" ADB xposed-flash-package.zip
The script will pause when originalsystem.img is mounted for writing. As root, copy the Xposed app_process file (which you can extract from the APK if you need it) to "mnt-originalsystem.img/bin/app_process". Then press enter.
The script will continue executing, hopefully without errors.
Voila! Your package xposed-flash-package.zip is ready to upload and/or flash.
Finally!
The XT1049 has stumped me for a long time, but finally someone found a way!
Just a thought as I'm going into this, there's no mention of drivers for linux. Obviously this isn't to "user" level yet, and I wouldn't put myself too much beyond that, but it's a nice thing to include. I'll be trying it later, but are the drivers for USB/ADB the same as the emergency mode drivers? I'm kind of nervous to try because of the soft brick, and there doesn't appear to be any mention of how the flashed file that bricks it is put back. I'm assuming I can pull the original image before I flash the new one, but I'm not sure yet.
Also, if you have it tested and everything with Republic, I would appreciate a torrent or hosted file somewhere. If there isn't one before I finish, I'll post it.
---------- Post added at 09:42 PM ---------- Previous post was at 09:38 PM ----------
Cindex said:
The XT1049 has stumped me for a long time, but finally someone found a way!
Just a thought as I'm going into this, there's no mention of drivers for linux. Obviously this isn't to "user" level yet, and I wouldn't put myself too much beyond that, but it's a nice thing to include. I'll be trying it later, but are the drivers for USB/ADB the same as the emergency mode drivers? I'm kind of nervous to try because of the soft brick, and there doesn't appear to be any mention of how the flashed file that bricks it is put back. I'm assuming I can pull the original image before I flash the new one, but I'm not sure yet.
Also, if you have it tested and everything with Republic, I would appreciate a torrent or hosted file somewhere. If there isn't one before I finish, I'll post it.
Click to expand...
Click to collapse
Sorry for the double post but I can't edit yet, just realized that the zip file there is all that's needed for Republic. I was going to post the ADB/USB driver setup link for linux, but I'm not allowed yet.
Cindex said:
The XT1049 has stumped me for a long time, but finally someone found a way!
Just a thought as I'm going into this, there's no mention of drivers for linux. Obviously this isn't to "user" level yet, and I wouldn't put myself too much beyond that, but it's a nice thing to include. I'll be trying it later, but are the drivers for USB/ADB the same as the emergency mode drivers? I'm kind of nervous to try because of the soft brick, and there doesn't appear to be any mention of how the flashed file that bricks it is put back. I'm assuming I can pull the original image before I flash the new one, but I'm not sure yet.
Click to expand...
Click to collapse
You shouldn't need to do anything special for Linux drivers. It works straightforwardly as long as you have fastboot and ADB. The flashed file that creates the softbrick is included by the package maker script in every Suicide Flash package, so it is easy to unbrick. In fact, I can upload another package just for unbricking if you'd like.
Added a BusyBox package for XT1049, and added root and Xposed packages for XT1060.
Edit: also added root packages for XT1058 on both KitKat and Lollipop, plus Xposed for XT1058 KitKat.
Nicene Nerd said:
You shouldn't need to do anything special for Linux drivers. It works straightforwardly as long as you have fastboot and ADB. The flashed file that creates the softbrick is included by the package maker script in every Suicide Flash package, so it is easy to unbrick. In fact, I can upload another package just for unbricking if you'd like.
Click to expand...
Click to collapse
That's good to know, I looked around and couldn't find anything on the driver for the Qualcomm Emergency Download mode. I suppose not needing one would be why. Actually some kind of emergency package to unbrick might be good. Now that I see the script in there I don't have a problem, but someone might like it.
So now I'm wondering if I actually have to do a factory reset again, or if I can just flash the SBF file itself and not have to wipe. I'm not sure how big of a difference there is, because I did the factory restore recently and the OTA update was like 6MB or something. I wouldn't think there's be an issue flashing it rather than factory restore. Any ideas?
Also, if anyone knows a good way to do this with Virtualbox it would be a nice addition. I'm personally not going to bother since I already have a bootable Ubuntu USB, but it seems that most people would rather set up a VM with a small linux distro. If it had the tools baked in, it would make it an easy process.
Cindex said:
That's good to know, I looked around and couldn't find anything on the driver for the Qualcomm Emergency Download mode. I suppose not needing one would be why. Actually some kind of emergency package to unbrick might be good. Now that I see the script in there I don't have a problem, but someone might like it.
So now I'm wondering if I actually have to do a factory reset again, or if I can just flash the SBF file itself and not have to wipe. I'm not sure how big of a difference there is, because I did the factory restore recently and the OTA update was like 6MB or something. I wouldn't think there's be an issue flashing it rather than factory restore. Any ideas?
Also, if anyone knows a good way to do this with Virtualbox it would be a nice addition. I'm personally not going to bother since I already have a bootable Ubuntu USB, but it seems that most people would rather set up a VM with a small linux distro. If it had the tools baked in, it would make it an easy process.
Click to expand...
Click to collapse
Technically, the only reason for the SBF is because when you install OTA updates, files may end up in slightly different positions depending on the circumstances. For this to work, you must start with an identical system partition to the one used for making the package. So all you need to really do is extract the system.img and flash it, if you wish. No data loss necessary.
Also, I'll look into a minimal VM. I thought about actually trying to make a Windows version of Suicide Flash. I'm not sure which I'll end up with.
So I tried this on my Ubuntu 12.04.5 last night, and it didn't recognize the device in fastboot. I'm going to try on Ubuntu 15.04 soon here. Another question for you though, which sdk do I use for XPosed? I don't seem to be able to figure it out searching all over. I would think 16, but maybe it's for Lollipop?
I think I'm going to get some of these with the OTA, it'll make it easier for the average Republic user once it's gotten going.
Cindex said:
So I tried this on my Ubuntu 12.04.5 last night, and it didn't recognize the device in fastboot. I'm going to try on Ubuntu 15.04 soon here. Another question for you though, which sdk do I use for XPosed? I don't seem to be able to figure it out searching all over. I would think 16, but maybe it's for Lollipop?
I think I'm going to get some of these with the OTA, it'll make it easier for the average Republic user once it's gotten going.
Click to expand...
Click to collapse
I can't answer your Xposed Lollipop question. I was wondering the same thing, but I ended up simply pulling the file from an existing Xposed installation. I suppose you could do the same and then diff the files to find out which is correct.
As for the OTA, that's not possible. Every time an OTA is installed, the files can end up in different places on the flash memory, and this utility requires knowing the exact locations for making changes. You'd have to make separate packages for every phone. Otherwise you'll end up with bootloops.
Has anyone tried using Suicide Push? It's slow, but I thought it would be the more celebrated part of this since it lets you do basically the same as an ADB push to the system partition. You could even install Xposed that way:
Code:
./suicidepush.sh local_app_process_file /system/bin/app_process
Nicene Nerd said:
Has anyone tried using Suicide Push? It's slow, but I thought it would be the more celebrated part of this since it lets you do basically the same as an ADB push to the system partition. You could even install Xposed that way:
Code:
./suicidepush.sh local_app_process_file /system/bin/app_process
Click to expand...
Click to collapse
I'm still working on getting it to root. I was going to a few days ago, but my flash drive burned out. I'm going to try Ubuntu 14.04.3.
What linux distro did you use?
---------- Post added 14th August 2015 at 12:41 AM ---------- Previous post was 13th August 2015 at 11:47 PM ----------
Sorry to double post again, but I can't edit yet and have a few more things. I can't seem to be able to find a RW SBF file. I'm thinking restore from factory sounds like a good solution, but I don't know if that's the same thing.
How can I pull a system image if I'm not root? Without an SBF file, I need to package it for myself. Without root, I can't pull the system.img. I'm sure others on networks not covered yet would like to know also. Where did you get your system.img?
Also, if we can get this deep, and you can modify the bootloader, couldn't you just flash the old bootloader image and then the rest of the ROM? Then we could unlock the bootloader using older methods. We might have to flash block by block, but it should work?
Cindex said:
I'm still working on getting it to root. I was going to a few days ago, but my flash drive burned out. I'm going to try Ubuntu 14.04.3.
What linux distro did you use?
---------- Post added 14th August 2015 at 12:41 AM ---------- Previous post was 13th August 2015 at 11:47 PM ----------
Sorry to double post again, but I can't edit yet and have a few more things. I can't seem to be able to find a RW SBF file. I'm thinking restore from factory sounds like a good solution, but I don't know if that's the same thing.
How can I pull a system image if I'm not root? Without an SBF file, I need to package it for myself. Without root, I can't pull the system.img. I'm sure others on networks not covered yet would like to know also. Where did you get your system.img?
Also, if we can get this deep, and you can modify the bootloader, couldn't you just flash the old bootloader image and then the rest of the ROM? Then we could unlock the bootloader using older methods. We might have to flash block by block, but it should work?
Click to expand...
Click to collapse
I used Ubuntu 14.04.
The RW 4.4.4 SBF can be found here or here. It does not appear possible to pull a system image without root. But even without permanent root, KingRoot can get you temp root long enough to pull a system image.
As for the bootloader, there's certainly a chance that this could be done. It's just so risky that I won't try it myself. If there was a single variable missed, it could easily mean hard-brick. But in theory, as far as I understand, it might work. The biggest obstacle might be partition changes. If you got the bootloader to get into fastboot mode, though, you could presumably fix that with an old SBF.
Flashing the olderer bootloader will not work (I have tried and confirmed it does not work). It is because the efuses verify the bootloader.
Wow! That's hell of a tool you've created here Awesome job! I haven't tried it myself yet, but, judging by source code, it should get the work done. More of a developer tool, ofc, but it's more then impressive Maaan, I wish there was a normal way to work with ext4 partitions to make it available on Windows))
Since you've made "push" version of it (and that's the most interesting part, longest though), the next step in future development should be doing the same with TWRP flashable zips. Some of them just put apk-s in system folder, some of them have shell scripts inside, I've yet to figure out the pattern But that would be awesome next step to this awesome project
download link not found )
theres a tool bar at top crash with download links next to discussions and screenshots
Sabissimo said:
Wow! That's hell of a tool you've created here Awesome job! I haven't tried it myself yet, but, judging by source code, it should get the work done. More of a developer tool, ofc, but it's more then impressive Maaan, I wish there was a normal way to work with ext4 partitions to make it available on Windows))
Since you've made "push" version of it (and that's the most interesting part, longest though), the next step in future development should be doing the same with TWRP flashable zips. Some of them just put apk-s in system folder, some of them have shell scripts inside, I've yet to figure out the pattern But that would be awesome next step to this awesome project
Click to expand...
Click to collapse
I've actually started work on a Windows version, but it's on back burner because school just started. Here's a hint, though: with OSFMount and Ext2Fsd, you can mount Moto system images (pulled from the phone, not SBF ones) as hard drives or removable disks. Suicide Flash for Windows will rely on them.
So what are the chances I could use this to pull a system.img, and actually go in and delete some apps out of my XT1058? I had some success but it pulled the image as a mbn and I'm hesitant to try flashing it.
lpjunior999 said:
So what are the chances I could use this to pull a system.img, and actually go in and delete some apps out of my XT1058? I had some success but it pulled the image as a mbn and I'm hesitant to try flashing it.
Click to expand...
Click to collapse
Here's what you'll want to do:
Create the system image on the phone with
Code:
dd if=/dev/block/platform/msm_sdcc.1/by-name/system of=/sdcard/oldsystem.img bs=1024
ADB pull or MTP copy the image to your PC.
Run pkgmaker.sh like so:
Code:
./pkgmaker.sh oldsystem.img XT1058 "My System" 4B000000 modded-system.zip
When prompted, you can delete apps as root from the mounted system image under mnt-oldsystem.img/app or mnt-oldsystem.img/priv-app
Continue and finish the script.
Flash with
Code:
./suicideflash.sh -s output/modded-system.zip

[Root] J320A/J320AZ alternate method, without Kingroot!!

**does not yet work for 7.1.1**
Using a PC to root seems like moving backwards compaired to a 'one click' apk. but we're already at the PC to flash eng_boot, plus this new method is so much faster...so here we go
Features:
SuperSU 2.82
Init.d
Wifi fix
Flashlight fix
Issues:
For the wifi fix I just copied an edited J320a build.prop
So J320AZ users will see J320A in about device, and will have to reassign notification sounds. (Hope to fix it in the future)
Needed Files:
Odin
Root_J320A.zip
Procedure:
1. Unzip both files.
2. Run Odin click the 'AP' button.
3. Navigate to Root_J320A/bin and select sm-j320a_Engroot_601PJ2.tar and press "Start" (make sure NOT to check re-partition)
4. After it completes sucessfully, leave the phone hooked to the pc... and then wait, wait a good 2 or 3 minutes after its booted.
5. Once 2 or 3 minutes has gone by you can navigate to the Root_J320A folder.
6. There you'll see root.bat, double click that let it do its thing.
6a. If at any time during the script you see "adb out of date. killing..." hit the x to close the window and restart the script.
*This may work on J320AG models but make sure you check oem unlock from dev settings first... and let us know how it goes
Enjoy
- D
Credits:
@ashyx - eng_boot
@Sh$llNinjA - eng_root
@sjowns - flashlight fix
@Chainfire - SuperSU
@Ryuinferno - init.d script
Excellent! This works perfectly! Thank you so much for posting this.
J320A PC9 worked perfectly!
March security patch
Hi man, this method support the march security patch, or are still in january security patch
I tested on AQD2 so it'll work on AQC1 too.
I assume it'll work for all 6.0 updates we get.
I tested on AQD2 so it'll work on AQC1 too.
I assume it'll work for all 6.0 updates we get.
This works perfectly. Thank you!
I suggest you put 'root' in the tile, otherwise google cannot find it.
I googled 'j320a root', google only links to ashyx's post which doesn't... well maybe only mine phone.
I am new to this root bit.
Possibly I have done something wrong. I read your instructions carefully and quit didn't understand where the unzipped files should go. Do any of these have to be placed in the phone's directory?
Failed on my AT&T SM-J320A
I wonder if it has anything to do with the new update pushed out recently
@JeffF73
Run Odin and Click ap.
Navigate to the directory where you unzipped root_j320a.zip.
In that folder you'll see a bin folder, inside that is sm-j320a_Engroot_601PJ2.tar, which needs flashed to the phone.
Once that's complete, let it boot and wait.
Then run root.bat
DamienMc said:
@JeffF73
Run Odin and Click ap.
Navigate to the directory where you unzipped root_j320a.zip.
In that folder you'll see a bin folder, inside that is sm-j320a_Engroot_601PJ2.tar, which needs flashed to the phone.
Once that's complete, let it boot and wait.
Then run root.bat
Click to expand...
Click to collapse
Hello DamienMc Thank you for your reply and help. I figured it out. I had to put my phone in "Download Mode" by holding down Volume Down, Home Button and Power button while booting. Then I was able to use Odin without failing. This solved all my problems thank you
Is it safe to flash this after doing this?
https://mega.nz/#!D8hSzLaa!pDugFwQ0NyGBLy36j1643bI3e4f9xog7US8UTTkZ8SU
sonic0504 said:
Is it safe to flash this after doing this?
https://mega.nz/#!D8hSzLaa!pDugFwQ0NyGBLy36j1643bI3e4f9xog7US8UTTkZ8SU
Click to expand...
Click to collapse
Yes, that has selinux set to permissive as well, although there's no real difference. The build.prop differences are noticable tho...I plan on doing an update to this, just have to figure out how to tell if it's A or AZ from adb
Ragheb Alama said:
Hi man, this method support the march security patch, or are still in january security patch
Click to expand...
Click to collapse
Yes, it works for QC1. However, you may need to replace build.prop in /bin from QC1 with WiFi fix before root.
I did notice that after root, the contents of /Android/data folders in both internal storage and external sd card are hidden from PC. Before root, both are visible from PC. Any thoughts about what cause the changes?
Will this work on July security patch?
DamienMc said:
Yes, that has selinux set to permissive as well, although there's no real difference. The build.prop differences are "noticeable" tho...I plan on doing an update to this, just have to figure out how to tell if it's A or AZ from adb
Click to expand...
Click to collapse
Thanks, I just needed to install this to use adb to uninstall an update I did to System UI because it would continuously crash.
SBCarr said:
Yes, it works for QC1. However, you may need to replace build.prop in /bin from QC1 with WiFi fix before root.
I did notice that after root, the contents of /Android/data folders in both internal storage and external sd card are hidden from PC. Before root, both are visible from PC. Any thoughts about what cause the changes?
Will this work on July security patch?
Click to expand...
Click to collapse
Probably the eng_boot we use, it breaks the flashlight and wifi passwords too... it does work on j320a July update, so I assume it'll work on j320az update too
@DamienMc Dude, thanks for ur post, but i tried 2 times and fail, i got stuck at logo, i had to reflash to stock but now my build.prop is gone or corrupted, my phone says model unknow, i cant even use hidden menus like *#06, etc, i need the original file to fix it please. model SM-J320A RUNING QC1
ScSoluciones said:
@DamienMc Dude, thanks for ur post, but i tried 2 times and fail, i got stuck at logo, i had to reflash to stock but now my build.prop is gone or corrupted, my phone says model unknow, i cant even use hidden menus like *#06, etc, i need the original file to fix it please. model SM-J320A RUNING QC1
Click to expand...
Click to collapse
Reflash CSC as well, that'll wipe your device but fix your problem.
Are you sure you waited long enough after the phone booted before rooting?
If at any time during the script you see it say "adb server out of date. Killing..." something is wrong. You can x the command prompt and do root.bat again.
DamienMc said:
Using a PC to root seems like moving backwards compaired to a 'one click' apk. but we're already at the PC to flash eng_boot, plus this new method is so much faster...so here we go
Features:
SuperSU 2.82
Init.d
Wifi fix
Flashlight fix
Issues:
For the wifi fix I just copied an edited J320a build.prop
So J320AZ users will see J320A in about device, and will have to reassign notification sounds. (Hope to fix it in the future)
Needed Files:
Odin
Root_J320A.zip
Procedure:
1. Unzip both files.
2. Run Odin click the 'AP' button.
3. Navigate to Root_J320A/bin and select sm-j320a_Engroot_601PJ2.tar and press "Start" (make sure NOT to check re-partition)
4. After it completes sucessfully, leave the phone hooked to the pc... and then wait, wait a good 2 or 3 minutes after its booted.
5. Once 2 or 3 minutes has gone by you can navigate to the Root_J320A folder.
6. There you'll see root.bat, double click that let it do its thing.
6a. If at any time during the script you see "adb out of date. killing..." hit the x to close the window and restart the script.
*This may work on J320AG models but make sure you check oem unlock from dev settings first... and let us know how it goes
Enjoy
- D
Credits:
@ashyx - eng_boot
@Sh$llNinjA - eng_root
@sjowns - flashlight fix
@Chainfire - SuperSU
@Ryuinferno - init.d script
Click to expand...
Click to collapse
This was the first time i ever tried to root my phone and i followed the instructions located here:
https://forum.xda-developers.com/galaxy-j3-2016/how-to/root-samsung-sm-j320a-galaxy-express-t3573628
Well my wifi wouldnt save any passwords , flashlight was broken and my ATT J320A would always want to boot in to recovery mode. I thought i was screwed!!!! Then i seen one link in the thread to this thread where Kingroot was not needed.
I opened Odin and gave a shot and then ran Root.bat file, and the device rebooted wifi and flashlight were fixed and best of all my J3 was now rooted!!!!!
Still working on getting rid of that annoying pop up but all is good, thanks so much for this root and fix from the other thread.
james2ya said:
This was the first time i ever tried to root my phone and i followed the instructions located here:
https://forum.xda-developers.com/galaxy-j3-2016/how-to/root-samsung-sm-j320a-galaxy-express-t3573628
Well my wifi wouldnt save any passwords , flashlight was broken and my ATT J320A would always want to boot in to recovery mode. I thought i was screwed!!!! Then i seen one link in the thread to this thread where Kingroot was not needed.
I opened Odin and gave a shot and then ran Root.bat file, and the device rebooted wifi and flashlight were fixed and best of all my J3 was now rooted!!!!!
Still working on getting rid of that annoying pop up but all is good, thanks so much for this root and fix from the other thread.
Click to expand...
Click to collapse
@james2ya If you are talking about the pop that either says something in the order of "Unathorized activities where made" go to the play store, download and install SecurityLogAgent Fix, Open it up and click "Disable Securitylogagent" then restart phone when it asks. This should help get rid of that popup.
works great for me! now i just need a custom rom. is it possible to install trwp on j320a?

[solved] Get VoLTE running! (modem config files H930 EU SD835 mcfg_sw.mbn wanted!)

There's a guide thread now in Guide section, use that one pls as this one isn't detailed enough and the other one has some more instructions, e.g. for backing up the files and partitions we work with!
thanks to user @Krekos/CZ/ these files are available for everyone now find them in his post here (or attached on this post) and give him a thx pls :highfive: :cyclops:
original OP text:
Im on testing sessions regarding volte and at least got that far, that the IMS server in hidden menu can be configured (wasn't accessible before my edits). but I'm stuck for now: I by accident deleted following folder which contains the modem config files for different operators. Looks like they are on the EFS partition, as a kdz and standalone-modem reflash didn't help, unfortunately:
Code:
/firmware/image/modem_pr/mcfg/configs
pls, can someone with a true H930 rooted EU OPEN phone (I've bought mine via telefonica O2 Germany) help me and zip and upload this special folder for me? would be appreciated very very much!! I don't want to find out what happens when I reboot my phone now xD maybe unfixable bootloop...
noone...? come on, this is a 3-5 minutes job deleting takes only 2 secs as i know now... but w/o these files no modem config is possible, phone could be useless on next reboot. so, pls pls...
btw: no personal data stored in these directories. there are only config files for different operators inside, nothing else. mcfg_sw.mbn files, you can google for their function and have a look at them on your phone. easiest way for zipping them would be "root explorer", it offers this function, and tar compressing too. hm, when i think about it, tar would be better format
seadersn said:
noone...? come on, this is a 3-5 minutes job deleting takes only 2 secs as i know now... but w/o these files no modem config is possible, phone could be useless on next reboot. so, pls pls...
btw: no personal data stored in these directories. there are only config files for different operators inside, nothing else. mcfg_sw.mbn files, you can google for their function and have a look at them on your phone. easiest way for zipping them would be "root explorer", it offers this function, and tar compressing too. hm, when i think about it, tar would be better format
Click to expand...
Click to collapse
I would be glad to help but I don't have H930...
hmm, which one do you own then...? maybe worth a try to have a look at the files from a different phone as long as it's native open and an EU one. and: I've seen you're a really helpful person, a superb contributor, one of the best in v30 forums thx for that! :thumbsup:
H930 here, but it's not rooted.
grmpf, there's no way then to access these files, unfortunately but thx anyway
seadersn said:
hmm, which one do you own then...? maybe worth a try to have a look at the files from a different phone as long as it's native open and an EU one. and: I've seen you're a really helpful person, a superb contributor, one of the best in v30 forums thx for that! :thumbsup:
Click to expand...
Click to collapse
maybe @SGCMarkus or @Whiskeyomega can help?
---------- Post added at 07:55 AM ---------- Previous post was at 07:46 AM ----------
myb said:
H930 here, but it's not rooted.
Click to expand...
Click to collapse
Looks like you need to get busy this weekend! Just so you actually own your phone.
I have Rooted H930. But how can i access these files?? i can't see them in TWRP.
Krekos/CZ/ said:
I have Rooted H930. But how can i access these files?? i can't see them in TWRP.
Click to expand...
Click to collapse
wonderful!! if we get this working you're my hero
in twrp there's no way to get them, this has to be done in fully booted android system. you have got terminal emulator app installed? the command would be
Code:
tar -czf /sdcard/modem.tar.gz /firmware/image/modem_pr/mcfg/configs
the resulting file can be found in root dir of sdcard then. maybe it's small enough so you can attach it on your answering post, otherwise maybe using google drive or androidfilehost is needed.
double post, sry...
It's strange but i cannot compress these files. It always tell me, i dont have privilegies for that. I try severel Emulators. I also try TotalCommander App with root privilegies, and copy the files manually, but i ended with error aswell.
ouch... did you type "su" to give the terminal emulator root privileges before trying?
I got it! I finally found emulator which compress the files. i dont know why previous apps didnt work but w/e.
Here it is: https://goo.gl/Qk293b
yay!!!!! it worked, the files are back! THANK YOU VERY VERY MUCH!!! you saved my h930 thanks again! :good::highfive::victory:
hmm, is it okay for you when i attach this zip on the first post with big fat credits to you? maybe someone else needs these mbn files for his SD835 device at some time?
I have no problem with it. you can attach it.
thx, again
...aaaand: volte (and vowifi; don't know for sure about viwifi and vt/vilte. sms over wifi/volte needs to be tested too) is up and running! LoL... o2 wasn't able to help me in four service hotline sessions and two visits in their store. really funny as they told me every time "absolutely no way, sry. we can't do this (send some infos or activate volte in account [was already activated, it worked all the time with my s7flat]), we can't do that (flash something to get this working) and so on. k, this took me an serious amount of time my kids and wife weren't really happy and proud of, but hey, there are priorities, or not? hrhr...
is there a need for a guide for everyone? maybe I get a guide up and running. problem for now is, I don't know for sure which edits are really needed and essential. this will be a guide we need to work out all together to finally see which steps are necessary for a newbie and starter. let's see, would take some time but should be possible. when five ppls in this thread are telling "yes we want this guide, let's do this together!" then I'll do it
would've not been possible w/o the help from @Krekos/CZ/ I'm really happy he helped out! :good:
I would like to try this feature and you're welcome.
Nice one. So vollte will be available for every gsm operator on stock rooted rom?

[Kali NetHunter] WIFI doesn't work after flashing with TWRP

(I posted this on the Android Mods Thread on accedent)I have a LG Nexus 5 HammerHead and tried to flash the newest Kali NetHunter using TWRP 3.5.2. After I flashed the ROM successfully, I have notice that the phone itself says no wifi networks found when swipe down to look at the wifi connections. I go to the wifi settings it says "Searching for wifi networks" with a spinning wheel of death(the loading icon). I've tried configuring it to use 2.4 Mhrz and didn't work, set it up to where it would only find good connections and still didn't work, I even did a factory reset and actually made it worse. I even reflashed it and see if that fixed it, nope. I connected it to the internet using a Ethernet adapter that is made for phones using a micro USB connection, updated the apps, updated and upgraded Kali NetHunter itself in the terminal and wifi connections is still not finding any connections at all. Could It be that Kali NetHunter doesn't support the internal wifi card that is built into my phone, could it be that twrp is having some errors on their end, or is it a bug that Offensive Security is not aware about? Please Help?
This may happen cos of wi-fi firmware. These files are called fw_bcmdhd.bin and fw_bcmdhd_apsta.bin. There are two versions of firmware:
1. https://github.com/LineageOS/androi...c531cd30abd21d93c5a04/bcmdhd/firmware/bcm4339
2. https://github.com/LineageOS/androi...5f8949fe77780d922c973/bcmdhd/firmware/bcm4339
You need to find where these files are stored in your rom, replace them with files from version 1 or version 2, restore permissions for these files if necessary and reboot your phone.
z3DD3r said:
This may happen cos of wi-fi firmware. These files are called fw_bcmdhd.bin and fw_bcmdhd_apsta.bin. There are two versions of firmware:
1. https://github.com/LineageOS/androi...c531cd30abd21d93c5a04/bcmdhd/firmware/bcm4339
2. https://github.com/LineageOS/androi...5f8949fe77780d922c973/bcmdhd/firmware/bcm4339
You need to find where these files are stored in your rom, replace them with files from version 1 or version 2, restore permissions for these files if necessary and reboot your phone.
Click to expand...
Click to collapse
Honestly, I have been trying to find these files and can't seem to find them. I even put the file name on the search bar of my windows 10 and it can't find them either. I think its just missing firmware on Offensive Security's end in this situation. I've had a troublesome experience with their kali linux products such as kali linux itself on having missing firmware after installation. Thank you for helping me out and hopefully these files should do the trick after I re-flash NetHunter with the firmware you have provided. As a matter of fact would the files belong in the firmware folder?
Martisabolt said:
Honestly, I have been trying to find these files and can't seem to find them. I even put the file name on the search bar of my windows 10 and it can't find them either. I think its just missing firmware on Offensive Security's end in this situation. I've had a troublesome experience with their kali linux products such as kali linux itself on having missing firmware after installation. Thank you for helping me out and hopefully these files should do the trick after I re-flash NetHunter with the firmware you have provided. As a matter of fact would the files belong in the firmware folder?
Click to expand...
Click to collapse
You will not find them in the search bar of your windows)
And no, firmware is not missed. Without wi-fi firmware you will be unable to enable Wi-Fi at all. In your case Wi-Fi can be enabled but you didn't see any networks.
Also /firmware - is incorrect place. It is a mount point of the /modem partition.
Wi-Fi firmware can be located at /system/firmware or /system/vendor/firmware/. Try to find them in TWRP. Boot into TWRP, mount System partition, open File Manager and review all the paths i've listed here. But i can't be sure cos i've never used Kali NetHunter.
z3DD3r said:
You will not find them in the search bar of your windows)
And no, firmware is not missed. Without wi-fi firmware you will be unable to enable Wi-Fi at all. In your case Wi-Fi can be enabled but you didn't see any networks.
Also /firmware - is incorrect place. It is a mount point of the /modem partition.
Wi-Fi firmware can be located at /system/firmware or /system/vendor/firmware/. Try to find them in TWRP. Boot into TWRP, mount System partition, open File Manager and review all the paths i've listed here. But i can't be sure cos i've never used Kali NetHunter.
Click to expand...
Click to collapse
Ok, I've been to those locations and in the system's folder, no firmware folder. However, in the sys folder, there is and does not show any firmware files in TWRP.
Give me the links to ROM files u flashed
This came directly from kali.org.
What was your base ROM before installing Kali? Stock Android 6.0.1?
yes
Well, Wi-Fi firmware in stock android 6.0.1 is located at /system/vendor/firmware/ folder. I've looked in the kali installer script and didn't find any scripts which can modify or delete this firmware. So we can try to install different firmwares into stock folders. I've attached 2 flashable zips for you. Try the -DHD version first. Flash it in TWRP and reboot your phone. If it doesn't help, then try -STOCK version.
It this will not help then i'm out of options
z3DD3r said:
Well, Wi-Fi firmware in stock android 6.0.1 is located at /system/vendor/firmware/ folder. I've looked in the kali installer script and didn't find any scripts which can modify or delete this firmware. So we can try to install different firmwares into stock folders. I've attached 2 flashable zips for you. Try the -DHD version first. Flash it in TWRP and reboot your phone. If it doesn't help, then try -STOCK version.
It this will not help then i'm out of options
Click to expand...
Click to collapse
Ok, I have tried both. Sadly I guess I'm out of luck and this is now nothing but a bricked phone in my hand. None of these files worked and actually made my phone crash when I tried to load the first file. I tried the second file as well and now I can't turn wifi on. I might as well have to build my own rom or junk this phone
Martisabolt said:
Ok, I have tried both. Sadly I guess I'm out of luck and this is now nothing but a bricked phone in my hand. None of these files worked and actually made my phone crash when I tried to load the first file. I tried the second file as well and now I can't turn wifi on. I might as well have to build my own rom or junk this phone
Click to expand...
Click to collapse
Don't hurry to kill your phone) Try to revert to complete stock 6.0.1 and re-lock bootloader by this instruction:
[TUTORIAL] How to flash a factory image | Return to stock | Unroot/SAVE your Nexus 5
How to flash a factory image | Return to stock | Unroot your Nexus 5 Hello Nexus 5 Users! I see many users that don't know how to restore their Nexus 5 to stock. It may come in handy, either when you want to RMA your phone, or you want to...
forum.xda-developers.com
And if your wi-fi will not work then yes, something bad happened with hardware
z3DD3r said:
Don't hurry to kill your phone
Click to expand...
Click to collapse
I tried both packages and thery didn't break my ROM. Unhappily they did not help.
I use the Re4son Kernel and can set wlan0 to monitor mode. But airodump is blind then.
@r.mutt @Martisabolt
Hammerhead kernel source (Marshmallow)
These are the complete Nexmon files seperately arranged.
Either you use a proper file manager with root permission, or just use the TWRP fiile manager and insert/copy them into the according sections.Maybe set the correct permission, while you're there and of course know your stuff. :>
Martisabolt said:
Ok, I have tried both. Sadly I guess I'm out of luck and this is now nothing but a bricked phone in my hand. None of these files worked and actually made my phone crash when I tried to load the first file. I tried the second file as well and now I can't turn wifi on. I might as well have to build my own rom or junk this phone
Click to expand...
Click to collapse
Hi Mate, Sorry for the delayed reply. Now i can afford nexus 5. Faced same issue as you. Thanks @z3DD3r for the hint.
Follow below instruction If you want wifi.
*Boot to Twrp
*locate /advanced/filemanager/vendor/firmware
You are there
(Note: 100% you can't see the files as discussed in above thread. But those are hidden(while installing nexmon from nethunter store i have seen those already exists in same folder))
*At bottom you see permisson blue box
*Click the same-select chmod 755-swipe to confirm
Now reboot to system. Here you go.

Categories

Resources