MI 8 - GPS Fix for MIUI EU 10.0.5.0 - Xiaomi Mi 8 Themes, Apps, and Mods

I was having trouble getting GPS to work properly and consistently in EU MIUI 10.0.5.0. Tried several things but finally ended up modifying gps.conf in /vendor/etc/gps.conf and voila, it connects with 4 meter accuracy inside my home. Before, it will struggle a lot and will not get any locks.
Download the attached gps.conf.txt to your phone and rename it: /sdcard/gps.conf
Mount /vendor partition to rw in a shell (su to get root). Following code will backup the original gps.conf to sdcard as gps.conf.orig, make the changes, and reboot the phone.
Code:
adb shell
su
mount -o rw,remount /vendor
cp /vendor/etc/gps.conf /sdcard/gps.conf.orig
cp /sdcard/gps.conf /vendor/etc
chmod 644 /vendor/etc/gps.conf
mount -o ro,remount /vendor
reboot
Make sure the permissions are as follows (644): -rw-r--r--
PS: I rebooted couple of times to see whether it connects and it does within 10 seconds!
I updated the servers in gps.conf to point to USA as most of them were pointing to Europe as it's a Europe based ROM
EDIT: This should work in Global ROMs too.
Dual GPS bands (L1 and L5) really work as I compared it with Samsung S7 Edge and iPhone 7 from the same location - MI 8 connects with far better accuracy than the Sammy and Apple!
EDIT #2: I found an easier way to deploy the change.
Get Solid Explorer from Play Store (one of the best File Explorer app) and copy the gps.conf file from your sdcard and paste it in /etc folder (/etc is a symlink to /vendor/etc). It will prompt you to overwrite it, confirm to replace the file and the file gets copied and the mount/permissions are setup automatically by Solid Explorer.
Reboot and check the changes!
I tried it today as I flashed EU 10.0.6.0 and copied it using Solid Explorer and it worked!
EDIT: Created a TWRP flashable zip (GPS_US.zip) as the EU Pie version (8.10.12) is a little finicky with Solid Explorer! Enjoy!

Would it be possible to share fixed gps.conf for EU? Or is the only thing changed to US servers? Also what kind of problems did you experience? I've a problem when sometimes GPS stops working and I can only reboot my Mi8 via hard reboot. Soft reboot doesn't reboot the device.

jxl69 said:
Would it be possible to share fixed gps.conf for EU? Or is the only thing changed to US servers? Also what kind of problems did you experience? I've a problem when sometimes GPS stops working and I can only reboot my Mi8 via hard reboot. Soft reboot doesn't reboot the device.
Click to expand...
Click to collapse
Please see the attached file for Europe and rename it to gps.conf.
GPS never stopped for me before as I use GPS only when needed. GPS was taking long time to get any locks and the accuracy was around 16m or 24m and once I started to research, found out that the gps.conf is messed up for us. Now, it connects every time and within few seconds and accuracy is much better (4m or 6m inside my house) than my other devices.

When GPS is working for me I get 4m accuracy more or less instantly with about 30ish satellites. But after a while GPS stops working completely, and something even "bricks" the phone so I can't restart. GPS will not work until forced restart

jxl69 said:
When GPS is working for me I get 4m accuracy more or less instantly with about 30ish satellites. But after a while GPS stops working completely, and something even "bricks" the phone so I can't restart. GPS will not work until forced restart
Click to expand...
Click to collapse
Did you clean install 10.0.5 with format /data partition? If not, I will try that.
I haven't experienced that reboot issue with this EU ROM and have been playing/configuring it for the past week or so. But, I don't keep the location turned ON all the time. Only when needed, I turn it on as I don't want all the crazy apps to track my every move

Nice finding! As I also have the same exact issue like yours. However, since I live in Indonesia, do you have any suggestion for Asia Pacific based optimization?
Currently, I'm with Global Stable 10.0.2.0 for around 5 days and GPS just works flawlessly. But if I can fix the GPS issue within EU ROM I would like to go back to it as it feels more optimized than the official releases.

motherninja said:
Nice finding! As I also have the same exact issue like yours. However, since I live in Indonesia, do you have any suggestion for Asia Pacific based optimization?
Currently, I'm with Global Stable 10.0.2.0 for around 5 days and GPS just works flawlessly. But if I can fix the GPS issue within EU ROM I would like to go back to it as it feels more optimized than the official releases.
Click to expand...
Click to collapse
Try the attached for Indonesia...

RainGater said:
Try the attached for Indonesia...
Click to expand...
Click to collapse
Thanks a lot! Gonna try it today and I will report back to you

RainGater said:
I was having trouble getting GPS to work properly and consistently in EU MIUI 10.0.5.0. Tried several things but finally ended up modifying gps.conf in /vendor/etc/gps.conf and voila, it connects with 4 meter accuracy inside my home. Before, it will struggle a lot and will not get any locks.
Download the attached gps.conf.txt to your phone and rename it: /sdcard/gps.conf
Mount /vendor partition to rw in a shell (su to get root). Following code will backup the original gps.conf to sdcard as gps.conf.orig, make the changes, and reboot the phone.
Code:
adb shell
su
mount -o rw,remount /vendor
cp /vendor/etc/gps.conf /sdcard/gps.conf.orig
cp /sdcard/gps.conf /vendor/etc
chmod 644 /vendor/etc/gps.conf
mount -o ro,remount /vendor
reboot
Make sure the permissions are as follows (644): -rw-r--r--
PS: I rebooted couple of times to see whether it connects and it does within 10 seconds!
I updated the servers in gps.conf to point to USA as most of them were pointing to Europe as it's a Europe based ROM
EDIT: This should work in Global ROMs too.
Dual GPS bands (L1 and L5) really work as I compared it with Samsung S7 Edge and iPhone 7 from the same location - MI 8 connects with far better accuracy than the Sammy and Apple!
Click to expand...
Click to collapse
Is it possible to make a magisk module for this?

Paolo7297 said:
Is it possible to make a magisk module for this?
Click to expand...
Click to collapse
I found an easier way to deploy the change.
Get the Solid Explorer app (one of the best File Explorer app) and copy the gps.conf file from your sdcard and paste it in /etc folder (/etc is a symlink to /vendor/etc). It will prompt you to overwrite it, confirm to replace the file and the file gets copied and the mount/permissions are setup automatically by Solid Explorer.
Reboot and check the changes!
I tried it today as I flashed EU 10.0.6.0 and copied it using Solid Explorer and it worked!

RainGater said:
I found an easier way to deploy the change.
Get the Solid Explorer app (one of the best File Explorer app) and copy the gps.conf file from your sdcard and paste it in /etc folder (/etc is a symlink to /vendor/etc). It will prompt you to overwrite it, confirm to replace the file and the file gets copied and the mount/permissions are setup automatically by Solid Explorer.
Reboot and check the changes!
I tried it today as I flashed EU 10.0.6.0 and copied it using Solid Explorer and it worked!
Click to expand...
Click to collapse
Thank you very much for the pro-tips! I plan to flash the latest EU Stable ROM tonight after work.
However, I wonder if I managed to replace the default EU ROM gps.conf file with your configuration, will it be still work if I travel to nearby neighborhood countries such as Singapore or Malaysia? Because, sometimes I need to go to those countries for some work related task and for sure I need my GPS to works there.

Just a small note. There is no "MIUI EU" Rom.
Are you refering to xiaomi.eu?

RainGater said:
Try the attached for Indonesia...
Click to expand...
Click to collapse
Confirm..working good with ROM MIUI EU 10.0.6.0 Stable !
Thanks.

motherninja said:
Thank you very much for the pro-tips! I plan to flash the latest EU Stable ROM tonight after work.
However, I wonder if I managed to replace the default EU ROM gps.conf file with your configuration, will it be still work if I travel to nearby neighborhood countries such as Singapore or Malaysia? Because, sometimes I need to go to those countries for some work related task and for sure I need my GPS to works there.
Click to expand...
Click to collapse
Since you backed up the original, all you have to do is copy/paste using Solid Explorer and reboot - you get the default config. So, with reboot, you will spend about a minute to make the change
Reboot is very quick in the *stable* EU ROM (10.0.6.0) - takes about 15 seconds or so.

grootooter said:
Just a small note. There is no "MIUI EU" Rom.
Are you refering to xiaomi.eu?
Click to expand...
Click to collapse
Yes, XIAOMI.EU.

Look at the attached screenshots taken inside my home. Impressive. 33/34 satellites in use with 13 ft/20 ft accuracy.
I had GPS turned off and turned it back on and within 15 seconds, those were the readings. If I walk outside, the locks happen even quicker!

RainGater said:
Look at the attached screenshots taken inside my home. Impressive. 33/34 satellites in use with 13 ft/20 ft accuracy.
I had GPS turned off and turned it back on and within 15 seconds, those were the readings. If I walk outside, the locks happen even quicker!
Click to expand...
Click to collapse
Good to know it! Finally, we know the culprit from EU ROM GPS issue!
However, I still wondering how long it will gonna hold? Since with default configuration, the GPS is working fine for the first few hours or days and then be completely dead after that. So, if your GPS is working consistently for the next few days, I'm sure that we can held the default EU GPS.conf file are responsible for all of this GPS issue. :good:

motherninja said:
Good to know it! Finally, we know the culprit from EU ROM GPS issue!
However, I still wondering how long it will gonna hold? Since with default configuration, the GPS is working fine for the first few hours or days and then be completely dead after that. So, if your GPS is working consistently for the next few days, I'm sure that we can held the default EU GPS.conf file are responsible for all of this GPS issue. :good:
Click to expand...
Click to collapse
But, I don't keep the GPS ON all the time. Only turn it on when needed.
I may not even turn it on for several days as I don't want all the crazy apps tracking my every move
Since last week, after my updates, whenever I turn it on, it works consistently!

Hi, I'm using MI8 MIUI 10.6 but my gps is inaccurate it gives me different locations and sometimes doesn't detect my location at all.
Can someone please upload the fix (gps_conf) for South East Asia, specifically in the Philippines. Thank you!
Sent from my MI 8 using Tapatalk

b4mb1_ said:
Hi, I'm using MI8 MIUI 10.6 but my gps is inaccurate it gives me different locations and sometimes doesn't detect my location at all.
Can someone please upload the fix (gps_conf) for South East Asia, specifically in the Philippines. Thank you!
Sent from my MI 8 using Tapatalk
Click to expand...
Click to collapse
You can use this site to change the servers address:
http://support.ntp.org/bin/view/Servers/NTPPoolServers

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.

Huawei Mediapad / T-Mobile Springboard Discussion

It looks like we have to move our discussion here, so I went ahead and started a thread.
As of now, there is root for the mediapad, but the only way to root the springboard is by flashing it with a rooted mediapad cust.img - which gives you root but loses your 4g.
So for us Springboard users, we either need root or a way to get 4g back if flashing it as a mediapad. Anybody with thoughts or leads or any know-how?
Finally,
Special room for Huawei Media Pad created,
Thanks to TS
I'm very glad,
Now i'm waiting the master in here to modified this device
cause i still newbie
Actually I Prefer The 3G More THan The 4G For Some Reason I Felt 4G Wasnt Stable Enough....So Im Enjoiying My Mediapad In 3G More Than My Springboard In 4G......
from the other thread, Rumbi wrote:
Yap, only thing you have to do is install Superuser and Busybox from Market and copy "su" from /hwcust/oversea_hk/preload/fixed/bin/ to /system/xbin (e.g. with ES File Explorer with root and r/w enabled), and you are ready to go
I've installed SU & BusyBox. I cannot move the SU file over to /system/xbin. A message tells me that I am not root.
However, when I run Root Check Basic I am told I have root.
I ran Root Check before & after I installed S7-301u V100R001C232B012(Root_version) and Root Check said I did not have root.
So the real question is, How do I really know if I have root?
*****
Actually I installed BusyBox Installer. I'm asked to pick a version to install:
1.19.3
1.19.2
1.18.5
1.18.4
1.17.1
None of these will install.
I also have the option to install a "Custom Tune" is there one? I'd gladly pay for BusyBox pro to get BusyBox running
*******
I powered off the device. Put my sdCard back in (the rooted firmware was removed from it). Then installed the SuperUser update from the market.
Ran that - it said everything was OK. Then I forced it to update - it crashed - so I force closed it. I then realized I could not run the original SuperUser app anymore.
Next, I opened up Root Explorer and was able to move the su file over to the xbin. But now BusyBox is not acting right - It said that it was having problems installing, and I'd need to reflash (or reload - I can't recall) the rom.
I'm rebooting, and going to try to install BusyBox....to be clear on which BusyBox..it's this one:
https://market.android.com/details?...t=W251bGwsMSwyLDEsInN0ZXJpY3Nvbi5idXN5Ym94Il0.
*****
Just realized in Root Explorer, to tap the little gray box at the top. After you tap it it should read "Mount R/O"
Now you can long press a folder/file and change the read/write permission.
Rumbi,
You said to r/w enabled the su file....is that check ALL the boxes?...Read, Write, Execute Special?????
IIRC, i had some problems with busybox, too. Copy the file from the attachment to /system/xbin and try the installer again.
And i said to enable r/w support for the /system folder. There are two checkboxes in ES File Explorer. First checkbox is enable root permission for ES File Explorer and second checkbox is "Mount / and /system writable".
Now you should be able to copy whatever file you want to /system/xbin. That's how i have done it. If you have any further questions, feel free to ask. I'll try to explain.
PS. You don't ne to alter file permissions of the su-binary but mine are "rwx r-x r-x".
Rumbi, how do you feel about the High resloution mode, does it slow the tablet down? Have you had a chance to use any tegra 2 devices and if so how does the mediapad with the snapdragon compare when in standerd/high-res mode?
Nothing to complain about the Hi-Res-Mode but i don't have any Tegra2-Devices to compare, sorry.
Haven't tried any games in hi-res-mode but normal usage is just fine.
Thanks. Ill try this out. When i try to install busybox it hangs first, then i force close and run again. Then i get the message about reflashing Rom. But i know i have root. I installed connectbot and ran su and got #
Heres how i got root (im away from my pc right now so i try to be as accurate as possible) :
Installed Hauwei modified rom (its the one that says "(root) " in the file name.
Installed Root explorer
Installed Superuser
Install busybox
Install Connectbot
Put my microsd back in (with the firmware AKA dloa folder removed)
I could not get root explorer to allow rw permissions until i slid the sd card out and back in whil the device was on.
Then i ran connectbot as local and typed su hit enter then superuser popped up asking fo allow connectbot to access. Hit allow an type su hit enter an you should get # This took 3 reinstalls of the firmware to work wjthout errors. The first times resulted in superuser needing to be force closed.
I also ran superuser and went into settings and updated it eventhouh its not neede. There i got a read out saying that busybox is not installed, but it does say i have root.
Sent from my HUAWEI MediaPad using xda premium
Honestly i havent noticed a big difference between high resolution an standard.
The only issue with high res is the small icons and buttons are difficult to hit sometimes
Sent from my HUAWEI MediaPad using xda premium
Do i need to unzip this file first?....
.... Nevermind... I unzipped it and put the busybox file in th system/xbin folder.
I installed busybox installer by JRummy16. This time and it worked!!!!!!!
Now its on to figuring out 4G and tryiying to use it as a phone.
What is the xml file i need to edit?
Sent from my HUAWEI MediaPad using xda premium
Good, that you have worked it out now What exactly do you want to do? To get to the hidden menu, you have to open the calculator and type: ()()2846579()()=
To edit the XML-Files, you have to extract the cust.img... But now that you have root, yo can edit whatever is available via root explorer
€dit: To get 4G working again, maybe with someone with an original Springboard (not a flashed one) can copy the folder /system/lib/. This should be possible even without root. I think it has something to do with the ril-files...
after updating my mediapad to S301uV100R001C232B012, i have problem with 2x Client (RDP client) now, few second after conecting to rdp session, is app 2X client crashing, with error 2x Client has stopped unexpectedly (process com.tux.client), is here anybody with this problem? thanks...
Rumbi said:
€dit: To get 4G working again, maybe with someone with an original Springboard (not a flashed one) can copy the folder /system/lib/. This should be possible even without root. I think it has something to do with the ril-files...
Click to expand...
Click to collapse
How about this - link
I'll look at it, thank you And these are the libs from an unmodified Springboard, aren't they?
yes indeed. I broke the silly thing, so I haven't played with it much. guess I will have to call about how to get it fixed.
knoxjon said:
How about this - link
Click to expand...
Click to collapse
Even though I have no clue of what to do with this, THANKS! I tried to open an .so file in notepad, but no luck, but I'm assuming that the geniuses here know what to do.
On an off-root topic - How do you take a screen cap? I accidentally did it yesterday while my MediaPad was lagging, but don't know how I did it.
The Hi Suite that comes with the device can do this, but require a computer and usb hooked up. Useful, but not as practical as doing it from the tablet itself.
The *.so files are a bit like drivers for the internal components. I'll try to find differences between T-Mobile and Huawei so maybe we get 4G working again.
tedbone said:
Even though I have no clue of what to do with this, THANKS! I tried to open an .so file in notepad, but no luck, but I'm assuming that the geniuses here know what to do.
On an off-root topic - How do you take a screen cap? I accidentally did it yesterday while my MediaPad was lagging, but don't know how I did it.
The Hi Suite that comes with the device can do this, but require a computer and usb hooked up. Useful, but not as practical as doing it from the tablet itself.
Click to expand...
Click to collapse
I'm not sure how to screencap. It's so easy on CM that I've gotten lazy. Plus I rarely do it. I know there are a ton of apps for that, tho. But you could probably google "gingerbread screen capture" and find a better answer. But not with gingerbread. I'm blanking on the name for this version of android.
knoxjon said:
I'm not sure how to screencap. It's so easy on CM that I've gotten lazy. Plus I rarely do it. I know there are a ton of apps for that, tho. But you could probably google "gingerbread screen capture" and find a better answer. But not with gingerbread. I'm blanking on the name for this version of android.
Click to expand...
Click to collapse
Honeycomb
I've been Googling searches like that, and end up with actual screen shots of Honeycomb os..I'll keep looking...
Tried this (from here), but no luck:
Screen capture
Android natively supports the ability to capture a screenshot by method of pressing both the power and volume-down buttons at the same time on an Android device. This native support was first included within the Android 4.0 (Ice Cream Sandwich) update, which is first seen on the Galaxy Nexus smartphone.[86] Previously, Android did not feature native support for screen capturing which would have likely been due to security concerns. Furthermore, prior manufacturer and third-party customizations as well as using a PC connection (DDMS developer's tool) were the only known methods of capturing a screenshot on Android.
I've looked through the *.so files and many of them are exactly the same, but some are different. One file caught my interest. I've attached it here for anyone who wants to try. Please only use it, if you have a T-Mobile Springboard with flashed root Firmware. Copy the content of the zip-file to /system/lib and overwrite the existing file. But make a backup first! After copying you have to set the correct file permission (rw- r-- r--) and reboot the tab. Hopefully 4G works again with this little trick.

[UPDATE FOR JB.15][Custom Build Prop] Increase Performance & Battery Life of PRIME

[UPDATE FOR JB.15][Custom Build Prop] Increase Performance & Battery Life of PRIME
MAJOR UPDATE: U.S. & WW. MODDED BUILD.PROP FOR NEW. 15 JELLYBEAN RELEASE ADDED. here are edited build.prop files for both the US & WW 10.4.2.15 Jelly Bean. Tweaks are listed as to what they are within the build.prop and to install just copy over using Root Explorer or similar app and then ensure permissions are set correctly. MUCH LOVE AND THANKX GO TO MR.WOOKIE FOR THIS and his constant contributions to making the prime a better device to own. I know I haven't been around as much as I don't own a prime anymore. But I can continue to update this thread as needed. Its very important that if issues arise, PLEASE TRY TO HELP ONE ANOTHER OUT. I can try to help out when I can. As always, make sure to set permissions correctly. JB build.prop Modding should be no different than previous versions. so most of the instructions in this OP/thread still apply. please post up how this mods are working for you on new JB firmware. if you notice any particular mod or line is causing problems with JB, please let us know. so it can be modified again. HAVE FUN...PRIME WILL ALWAYS BE HOME FOR ME
With the permission of the Original Developer, Seanzscreams, we bring a modified version of his mod for the 300 that now works on the Prime also. This is a custom modified build prop, that Brings Overall Performance & Battery life Improvements to the Transformer Prime. This will make your device feel more snappy and responsive overall. It should improve battery life. Other performance tweaks also will improve everyday use of Prime.Your device has to be on the latest U.S. .21 or U.S..28 firmware and rooted. If you on a ww version or other, you may need to tweak the build.prop to reflect your region version. Take a look inside the modded build.prop & see before you try it out. If you know how to edit it, give it a shot. just make sure to back up your original build.prop. If unsure, hit the link & ask the developer. It is possible to not be rooted and push this through ADB but being rooted makes it ALOT easier.
UPDATE: U.S. & WW .28 MODDED BUILD.PROP ADDED. EVERYTHING EXCEPT power collapse & wifi scanning added. some users reported issues that could be linked. same instructions on implementing this. MAKE SURE TO MAKE BACKUP OF YOUR ORIGINAL FILE. MIGHT BE BEST TO SEND IT TO SOMEPLACE OUTSIDE INTERNAL MEMORY OF PRIME. JUST TO BE ON THE SAFE SIDE.
*Users on region versions other than the US .21 or U.S. .28, read the tips at the end of this post before you attempt this. Putting this US version of build.prop in your device can cause issues if not properly edited to reflect your region.
*If you running Androwoki rom, no need to apply this tweak. the developer already added these tweaks to his ROM/build.prop.
-UPDATE: fellow member Mekrel made a .21 WW version of this for those who wish to try out. or you go the other route like mentioned in this post. the WW version is attached to this thread also.
Thanks to Hairdex for making a making a version for people running Team EOS Cornerstone build #9. only those on build #9 can use it.
-added De .21 version also
PLEASE READ IMPORTANT INFO & TIPS AT THE BOTTOM OF THIS POST IN CASE ANY POSSIBLE ISSUES ARISE.
Method described below is for rooted users as I don't really know how to do it the stock(not rooted) method through ADB. You can go to original thread and ask developer on how to push it through ADB method
Quote from developer, Seanzscreams:
" This is a modified build.prop to include all the latest ics tweaks
(from a build.prop standpoint)
forced 60fps
faster wifi connect and suplicant scan set at 100 (battery saver as well)
added deep sleep mode
added screen dithering
removed checkin back to base
kernel tweaked
dalvik mins and max set higher than stock
increased over-all fling velocity min and max now set
min at 8000 and max at 12000
a few nvidia specific graphics tweaks as well
. power collapse disable enabled
-and just a few i dont feel like explaining google is your friend"
Link to his original thread: http://forum.xda-developers.com/showthread.php?t=1641219
DISCLAIMER: I nor the original developer take responsibility if you don't follow instructions or researched first. USE AT YOUR OWN RISK. It should be a fast n simple mod. Works great on my prime. If you run into issues, we will help you the best we can. Please read the important info & tips at the bottom of this post. It could eliminate possible issues from arising.
USE ROOT EXPLORER:
this modded build.prop, which is attached to this thread, goes in /system. Make sure to back up your original build prop or add .bak to the end of it(.bak). I sent a copy of my original file to my drop box. just an extra safety precaution... You will need to change root explorer to mount as RW. after you back up the original file, paste the new modded build prop into /system. then long click on it and press permissions. the permissions need to be exactly like the original file. which is rw-r--r-- after you properly set the permissions, change root explorer back to Read only. then power down and reboot, then profit. You can reboot twice to make sure everything sticks, if you want. If you don't notice anything initially, let it cache(kind of like letting a car warm up before you drive off) just like with roms. just start using tab so it can cache.
CLARIFICATION ON SETTING PERMISSIONS IF UNSURE. your permissions for this mod build.prop should look like this: rw-r--r--
...........Read. Write
Owner. X .......... X
Group. X
Others. X
I would suggest before even applying this, open the mod build prop up in root explorer. then just take a look at it all. Then cross reference the new tweak lines added with the links I will provide now. These links show all the build prop tweaks and what they do. This is to get a better understanding of what will be improved on your device Performance & Battery Savings wise. It won't hurt for you to become more familiar with what the different lines do and it might eliminate some questions concerning what each does.
http://forum.xda-developers.com/showthread.php?t=1639104
http://forum.xda-developers.com/showthread.php?t=1510652
EXAMPLES OF SOME OF THE TWEAKS SEEN IN THIS MODDED BUILD.PROP & WHAT THEY DO OR AFFECT: Thankx to TheFrankenstain & H M Judge threads for Reference
- Allows the tablet to sleep better: This setting puts your tablet into a deeper sleep when on standby
ro.ril.disable.power.collapse=1
- Allows your wifi to scan less frequently, saving more battery
wifi.supplicant_scan_interval=100
- Increase overall touch responsiveness
debug.performance.tuning=1
video.accelerate.hw=1
-Increases Scrolling responsiveness
windowsmgr.max_events_per_sec=300
- Faster Scrolling
ro.max.fling_velocity=12000
ro.min.fling_velocity=8000
-Increases quality of photo/Increases the memory cap when decoding JPEGs
ro.media.dec.jpeg.memcap=8000000
-Raises quality of JPEG images: makes JPEG Higher Quality
ro.media.enc.jpeg.quality=100
-Enable Surface dithering:Improves image quality
persist.sys.use_dithering=1
-System tweaks:
Change the Dalvik VM heap size
-dalvik.vm.heapsize=256m
-dalvik.vm.startheapsize = 8м
-makes apps load faster and frees more ram.
dalvik.vm.dexopt-flags=m=y
-Use Jit (Dalvik just-in-time compiler): faster better caching system
dalvik.vm.execution-mode=int:jit
-Disable error checking (Should speed things up a bit)
ro.kernel.android.checkjni=0
ro.kernel.checkjni=0
this has been running great for me so far. battery life seems improved and the responsiveness of the touch screen is unbelievable. it scrolls so fast n fluid it crazy. this is with the regular UI & within browsers. It also increases quality of your JPEG pictures. Im really impressed with it so far.
Do note though, once OTA update comes, it will knock all this out and a new custom build prop will have to be made. this is even if you accept the new OTA.
I will keep this thread updated to stay current with the developers original thread. As new updates come out, he will be modifying the newer build props within the update. So I will add those here as they come.
Make sure to click on the developer, Seanzscreams, original thread(http://forum.xda-developers.com/showthread.php?t=1641219) and give him thanks. You can leave feedback in this thread and original thread, if you wish. Feedback is encouraged as it will lead to better future results on this mod.
THANKS TO: Seanzscreams for Modding my Prime build prop. Now we have this MOD available to all prime owners on latest .21 firmware and rooted.
Attached to this post is a zip file with the custom build prop inside of it. The U.S. and WW version
*IMPORTANT:
If you come across a difficulty, you can ask in this thread or even better would be to ask in the developer original thread. He would know more on possible issues that may arise.
If you run into issues or caught in a bootloop or something here is how to use adb and push back your original build.prop file: Thanks to Mekrel
in regards to being for locked/unlocked users, I posted two sets of commands. Technically three scenarios exist:
Being locked
If you're locked, you're not going to have any third party kernel installed and therefore WILL have a secure kernel and therefore not able to push files to /system. That's why you need the command that involves pushing to the /sdcard and then using su via shell to copy from the /sdcard and then to /system.
Unlocked but with a kernel installed that's still secure
As above
Unlocked but with a kernel installed that's insecure
You can push directly to /system, so you don't have to push to the /sdcard first
If you're unlocked you're going to be running a secure kernel which means you're not going to be able to run adb as root, so even with root and the /system partition mount as r/w; you're not going to be able to push to system:
Code:
adb shell
su
mount -o remount,rw -t ext4 /dev/block/mmcblk0p1 /system
exit
exit
adb push build.prop /sdcard/
adb shell
su
cp /sdcard/build.prop /system
chmod 644 /system/build.prop
rm /sdcard/build.prop
exit
exit
Unlocked and with an insecure kernel:
Code:
adb shell
su
mount -o remount,rw -t ext4 /dev/block/mmcblk0p1 /system
exit
exit
adb push build.prop /system
adb shell
su
chmod 644 /system/build.prop
exit
exit
In regards to remounting to read only once finished, you don't have to as you can simply reboot and the commands executed in ramdisk will remount every partition with the relevant flags. Or you could:
Code:
adb shell
su
mount -o remount,ro -t ext4 /dev/block/mmcblk0p1 /system
exit
exit
you should be good to go after this.
*TIPS for users that are not on US .21 but instead on a WW or other version: thnkx to Buxtahuda & Gage_Hero
- instead of editing this build.prop with your information, edit your build.prop with any missing lines from this one. That's going to cut down on error a lot, and even if you get the right characters and spacing, the build.prop can be finnicky as all hell.
- IF you edit the build.prop use the right tool which would be notepad++ (download) not the standard windows note pad. if you use the standard windows notepad you could end up with format and character issues
*CAUTION:
We had a user who was unlocked, boot to a black screen. He got his prime back running by doing a restore from recovery. For unlocked users who want to try this, make sure to do a full backup, including the original build.prop file. Unlock users could even edit their own build.prop & add the lines one by one until it breaks. You can download notepad + yes it is +(plus). then you can edit the build prop (properly with out screwing up the format) on the pc and move it to the tablet. I'm not sure if being unlocked conflicts with this mod. just make sure you on latest .21 or .28 firmware and rooted. Then follow instructions carefully. you can even click on the original developer link for assurance on how to install if unsure how to install or if you have any possible conflicting issues. It would be best to ask developer if this is safe for unlocked users also. Unlocked users should proceed with caution and make sure you will be OK using this.
update:Developer said being unlocked shouldn't matter. I'm still waiting to hear back on what if people are on a different version like WW or something.
You can feel free to Hit my Thanks also, if you want. For putting this guide together on my Prime solely. The Prime is my PC Make sure to give feedback here & to OG developer, Seanzscreamz and his OG thread http://forum.xda-developers.com/showthread.php?t=1641219 . He made this all work for our Primes when he didn't have to. Much thanks to him & other members who contributed critical info, tips, & feedback.
Thanks to Texstar & Andromorphone for editing U.S. .28 buildprop.
That is the one I am looking for so long. Thanks for sharing.
Sent from my HTC Desire HD using xda premium
Could you please explain how to do this without root?
okay okay.. I will try it and report back
1SiK1500 said:
Could you please explain how to do this without root?
Click to expand...
Click to collapse
you actually dont need root
but this is way easier if you do
you could adb push /system/build.prop
or you could just paste it into root explorer replacing your existing
(back up existing or rename it to build.prop.bak just for safe keeping )
then reboot
or
when it reboots and adb comes alive you may be able to push it to /system with: adb push build.prop /system
not really much more was explained. you can click on his original thread link to get more details or ask him about it. most seem to be doing this the rooted method. I haven't seen anyone confirm doing this adb way yet.
I get an error..
"There was not enough free disk space to complete the paste operation" when I tried to paste this into /system with the original .bak there
I had to remove the original file to make room
Also, I think you better expand on what -RW, -R, -R means for people - like exactly what boxes to check and uncheck
I forgot to add:
If you don't notice anything initially, let it cache(kind of like letting a car warm up before you drive off) just like with roms. just start using tab so it can cache. it'll take to the changes.
Lock-N-Load said:
I get an error..
"There was not enough free disk space to complete the paste operation" when I tried to paste this into /system with the original .bak there
I had to remove the original file to make room
Click to expand...
Click to collapse
that's strange. I still have my original file in there renamed. I never got that error. Do you still have all those modded wifi files in there also?
edit: I saw the other part you added, I gotcha
demandarin said:
that's strange. I still have my original file in there renamed. I never got that error. Do you still have all those modded wifi files in there also?
edit: I saw the other part you added, I gotcha
Click to expand...
Click to collapse
Yes I do in /bin which is in /system - suppose i should delete those.
But this implies /system looks for and checks the size of that directory and pukes if it is beyond xx size - which is kind of interesting
Also, technically speaking, aren't permissions rw-r--r-- not -RW, -R, -R
Well, I did this and it just goes to a black screen and does nothing else.
How can I get back into the system and restore the old file?
Lock-N-Load said:
Yes I do in /bin which is in /system - suppose i should delete those.
But this implies /system looks for and checks the size of that directory and pukes if it is beyond xx size - which is kind of interesting
Also, technically speaking, aren't permissions rw-r--r-- not -RW, -R, -R
Click to expand...
Click to collapse
I edited OP to reflect that.
acdcking12345 said:
Well, I did this and it just goes to a black screen and does nothing else.
How can I get back into the system and restore the old file?
Click to expand...
Click to collapse
were you rooted and on .21 firmware?
did you put the modded file into /system & set its permissions to rw-r--r--? & rename the old file? so it won't be confused with 2 files try to be activated.
demandarin said:
I edited OP to reflect that.
were you rooted and on .21 firmware?
did you put the modded file into /system & set its permissions to rw-r--r--? & rename the old file? so it won't be confused with 2 files try to be activated.
Click to expand...
Click to collapse
I did exactly that..It was also unlocked...
Not sure how to go back to the old file..
Works great! Wow I can see a big speed difference! I can't wait to see how much longer the battery lasts.. Thanks man!
Sent from my Transformer Prime TF201 using XDA Premium App
jjdevega said:
Works great! Wow I can see a big speed difference! I can't wait to see how much longer the battery lasts.. Thanks man!
Sent from my Transformer Prime TF201 using XDA Premium App
Click to expand...
Click to collapse
you see changes that quick?? guess I will test mine more tonight.
my install went fine and reboot went fine.
I believe in this mod type as I did similar mods to my OG Droid
Lock-N-Load said:
you see changes that quick?? guess I will test mine more tonight.
my install went fine and reboot went fine.
I believe in this mod type as I did similar mods to my OG Droid
Click to expand...
Click to collapse
Surprisingly did. I didn't think I would see much of a difference that quick. As soon as it rebooted and right after the lock screen swiping was fast and opening closing apps are much quicker load times
Edit: overall loading speeds are improved quite a bit
Sent from my Transformer Prime TF201 using XDA Premium App
At work and don't have my Prime with me at the moment.
I will try tonight and report to you guys.
Good to hear positive feedback.
acdcking12345 said:
I did exactly that..It was also unlocked...
Not sure how to go back to the old file..
Click to expand...
Click to collapse
I'm wondering if being unlocked messes with things. Did you make a backup of your original file? if so. you can try to adb push it in there. you should go to original developer thread and post this up. As I'm not exactly sure on the adb method on getting the prime to use the original file.
ill make sure to add to the OP that being unlocked may conflict with this. As this is the only difference between yours n mines.
so you rebooting and it just went to a black screen? any Asus logo or anything? can you get into recovery and reflash your rom or restore a backup?
Anyone with insight into how he get back using the old file from state he is in now?
I don't see a wifi scan interval on either the original or this build prop. That was one I changed from 30 seconds to 100 on my phone to cut down on the power used by wifi to go out and ping and search for signals.
On my phone is it wifi.supplicant_scan_interval = 30
A bit surprised this does not exist as it can be a good battery saver
I also see some telephony stuff in this prop that seems of no value as we dont have phones
demandarin said:
I'm wondering if being unlocked messes with things. Did you make a backup of your original file? if so. you can try to adb push it in there. you should go to original developer thread and post this up. As I'm not exactly sure on the adb method on getting the prime to use the original file.
ill make sure to add to the OP that being unlocked may conflict with this. As this is the only difference between yours n mines.
so you rebooting and it just went to a black screen? any Asus logo or anything? can you get into recovery and reflash your rom or restore a backup?
Anyone with insight into how he get back using the old file from state he is in now?
Click to expand...
Click to collapse
I just went into recovery and restoring from a 3 old backup..
Lock-N-Load said:
I don't see a wifi scan interval on either the original or this build prop. That was one I changed from 30 seconds to 100 on my phone to cut down on the power used by wifi to go out and ping and search for signals.
On my phone is it wifi.supplicant_scan_interval = 30
A bit surprised this does not exist as it can be a good battery saver
I also see some telephony stuff in this prop that seems of no value as we dont have phones
Click to expand...
Click to collapse
it there is one actual in there. you have to look closely. its set to 100. I just looked in saw it. its like the 4th line above the additional build properties. I believe this scan is lower than in stock configuration.
I noticed the phone stuff also. he said once he updates, he has more tweaks he will add. ill update this thread with the changes also.

Definitive guide to Rooting the Gear S

This thread has been deleted.
This thread has been deleted.
This thread has been deleted.
***** really really really reserved*****
Working w/ Root on a Mac (OSX Yosemite)
CONFIRMED: This works using AT&T (SM-R750A), OSX (Yosemite), VirtualBox and Windows XP. See this link for the driver setup I used on my Mac.
http://www.onebadkid.com/?p=6930
I also find that after factory reset, I still have root! Great job!
---
Also, I haven't been able to get the scripts to work in the virtual machine so I've just been "pushing" the files manually. I did open up the scripts to get the destinations for the various files, so thank you OP. Also, you have to have the Tizen Wearables SDK installed and then use SDB commands in the terminal.
Remember, when using SDB on a Mac, it's: ./sdb [command] (you have to use the "dot-slash")
./sdb devices (to show whether or not your device is connected)
./sdb root on
./sdb shell (puts you into the device's shell so you can navigate the device in a Darwin/Linux terminal)
./sdb push [/full path of the file you want to upload to the device] [/full path of the desination]
I usually open up three Darwin/Linux Terminals on my Mac. One to use to navigate my watch in shell, the other to run the ./sdb command (just like in Windows, you have to run SDB on the mac from within it's home location: "/Users/[you]/tizen-wearable-sdk/tools"), and a third to drop files into so I can quickly see their full file path/location.
"PWD" = print working directory so you can use that in the Darwin/Linux Terminal so you don't get lost.
I'm using Windows 8.1 (don't know if it matters) but after updating to this driver my PC no longer recognized my Gear S. Had to roll back to previous driver.
Ohhhhh!!!
ohh SO installing these and getting it ready for the rest
Edit: got rootfs.img odin'd in so now i wait lmao
Wondering
Good write up so far. I had already gotten root from the previous thread with horrible direcions. LoL After I got my replacement gear s (ALWAYS CHECK YOUR SIM COVER), I rooted it using the bad direction method again (luckily I already know how to do these things), but your directions are very clear cut and noob friendly. You're doing a huge favor to new comers who come looking to root their gear. Hopefully they don't brick them before they find this.
cipherswitch said:
Got any request for certain alarms, notification sounds or ringtones? Shoot me a PM and I will get through them as fast as I can and repost here.
No themes as of yet, but I will definitely be working on custom clock faces apart from everything else​
Click to expand...
Click to collapse
Reset my gear to factory to try out your method.
Odin'd over the root img and all went well after a few reboots (dont' turn off destination, installing new configuration, final reboot).
Watch reboots, open a command prompt and type "sdb root on" (Switched to'root' account mode)
sdb shell whoami
root
sdb shell setup-folder.sh
-1: /bin/setup-folder.sh: Permission Denied
I went and checked your .bat file and it uses the same command. The device says I have root but it's read only file system. I have been trying every trick I know the past half hour; any thoughts?
Megaflop666 said:
Reset my gear to factory to try out your method.
Odin'd over the root img and all went well after a few reboots (dont' turn off destination, installing new configuration, final reboot).
Watch reboots, open a command prompt and type "sdb root on" (Switched to'root' account mode)
sdb shell whoami
root
sdb shell setup-folder.sh
-1: /bin/setup-folder.sh: Permission Denied
I went and checked your .bat file and it uses the same command. The device says I have root but it's read only file system. I have been trying every trick I know the past half hour; any thoughts?
Click to expand...
Click to collapse
Do this
sdb root on
sdb shell
chmod +x /bin/setup-folder.sh
./bin/setup-folder.sh
Megaflop666 said:
Reset my gear to factory to try out your method.
Odin'd over the root img and all went well after a few reboots (dont' turn off destination, installing new configuration, final reboot).
Watch reboots, open a command prompt and type "sdb root on" (Switched to'root' account mode)
sdb shell whoami
root
sdb shell setup-folder.sh
-1: /bin/setup-folder.sh: Permission Denied
I went and checked your .bat file and it uses the same command. The device says I have root but it's read only file system. I have been trying every trick I know the past half hour; any thoughts?
Click to expand...
Click to collapse
Color me embarrassed. It seems in the final uploads, I nabbed the rootfs file that wasn't done yet. Uploading the new file now,sorry for the delay.
I reset, flashed the wrong one to confirm the issue then flashed the correct rootfs and confirmed it working. That was the issue, Im waiting for the new one to upload to mediafire now.
and yeah, I couldnt type this morning, totally freaking out.
cipherswitch said:
Color me embarrassed. It seems in the final uploads, I nabbed the rootfs file that wasn't done yet. Uploading the new file now,sorry for the delay.
I reset, flashed the wrong one to confirm the issue then flashed the correct rootfs and confirmed it working. That was the issue, Im waiting for the new one to upload to mediafire now.
and yeah, I couldnt type this morning, totally freaking out.
Click to expand...
Click to collapse
Its all good, I decided to tear into some things and bricked the damn thing, so I am sitting here waiting (forever) for the original firmware to download so I can factory restore it. I was not even able to get into recovery, just download mode. LoL
Oh well, if flashing the original firmware doesn't fix it, i'll take it up to Tmo at 10am and get a new one.
new rootfs uploaded as of 12/17/14 8:42 am est, I also updated the link in the writeup.
::::::Just a quick dirty write-up of how to load sounds with your newly rooted Samsung Gear S::::::
Since most folks are rooting their Gear S for the ability of adding Ringtones (which can be done via a pay app) and adding Notifications, Wallpapers, Watch Faces, you get it......
Once you have followed the awesome rooting guide contained here and you want to load some stuff:
Path for Ringtones:
/opt/share/settings/Ringtones/
Path for Notifications:
/opt/share/settings/Alerts/
Path for Wallpapers:
/opt/share/settings/Wallpapers/
Path for Alarm Sounds:
/opt/share/settings/Alarms/
I have placed both mp3 and off files and they both work fine. Sometimes when setting your applicable Alert/Notification/Ringtone and the file is a mp3, the sound will not play, no worries, it will when the Alert/Notification/Ringtone is invoked.
To load files (Choose appropriate folder listed above)
sdb root on
sdb shell ls /opt/share/settings/Alerts/ (Shows directory listing for /opt/share/settings/Alerts/ on the Gear 2)
sdb push NAMEOFFILE /opt/share/settings/NOTIFICATION_TYPE_FOLDER (ie /Alerts or /Ringtones)
Megaflop666 said:
Its all good, I decided to tear into some things and bricked the damn thing, so I am sitting here waiting (forever) for the original firmware to download so I can factory restore it. I was not even able to get into recovery, just download mode. LoL
Oh well, if flashing the original firmware doesn't fix it, i'll take it up to Tmo at 10am and get a new one.
Click to expand...
Click to collapse
It is SO hard to brick this device so you will be fine! If you get into the firmware failed to install screen you're still good to go. Like I said, I got to bootloops and thought it was dead but stock fixed everything.
No worries you're fine!
You'll be fine!
You will be fine. I've been able to restore from this screen using stock.
Um actually..... its easier. Connect your gear, drop your content into the right folders (eg; ringtones, alerts and such) and run the update script. done and done.
ipstack said:
::::::Just a quick dirty write-up of how to load sounds with your newly rooted Samsung Gear S::::::
Since most folks are rooting their Gear S for the ability of adding Ringtones (which can be done via a pay app) and adding Notifications, Wallpapers, Watch Faces, you get it......
Once you have followed the awesome rooting guide contained here and you want to load some stuff:
Path for Ringtones:
/opt/share/settings/Ringtones/
Path for Notifications:
/opt/share/settings/Alerts/
Path for Wallpapers:
/opt/share/settings/Wallpapers/
Path for Alarm Sounds:
/opt/share/settings/Alarms/
I have placed both mp3 and off files and they both work fine. Sometimes when setting your applicable Alert/Notification/Ringtone and the file is a mp3, the sound will not play, no worries, it will when the Alert/Notification/Ringtone is invoked.
To load files (Choose appropriate folder listed above)
sdb root on
sdb shell ls /opt/share/settings/Alerts/ (Shows directory listing for /opt/share/settings/Alerts/ on the Gear 2)
sdb push NAMEOFFILE /opt/share/settings/NOTIFICATION_TYPE_FOLDER (ie /Alerts or /Ringtones)
Click to expand...
Click to collapse
sbrownla said:
It is SO hard to brick this device so you will be fine! If you get into the firmware failed to install screen you're still good to go. Like I said, I got to bootloops and thought it was dead but stock fixed everything.
No worries you're fine!
Click to expand...
Click to collapse
I wasn't worried to begin with. It's dead, stock firmware flash didn't even fix it. New one will be here tomorrow afternoon. It'll be my third one since I first bought it done my kids drowned the first one. Lmao
Megaflop666 said:
I wasn't worried to begin with. It's dead, stock firmware flash didn't even fix it. New one will be here tomorrow afternoon. It'll be my third one since I first bought it done my kids drowned the first one. Lmao
Click to expand...
Click to collapse
Hm ... what was it doing when you tried to flash?!
I was working on changing some permissions, rebooted it and it never came back, don't even have recovery. From what tmo said, this has happened to other people on this watch

[VS995] LG V20 VS995 Verizon Hotspot (Tether) Unlocker [ZIP][FLASHABLE]

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.

Categories

Resources