yashsingh1/xdaforums huggingface dataset:
[Sony Smartwatch 3] sandreweas:
My Sony smartwatch 3 does the screen turn on randomly and then also touch screen problem occurs, and it makes random touches, swipes going into settings and so on, without touching the screen. It is mostly lying on table. It's on the latest wear version: mwd49b.

I have put the earlier versions back on it, also the 5.1.1 and it does the same. Alltrought it is rooted and I put the other rooms back with twrp from my backups. So I think, that it can be a problem in all of my backups, or it is more worse, if it is hardware problem, but I hope it isn't.

Is there any way to revert back to stock room and kernel? I done recently more factory reset, and deleted the android wear app from the phone also (xperia z2). I also reinstalled it with Sony companion software. Still have the same problem.

It seems like it is doing something in the background, and it is frozen, but it is not going to be hot. Inbetween if I touch the screen, it doesen't responding to my imput, but after some time it makes this strange screen touches, like it tries to make my imput afterwards. So this is why I think it is a software problem, not a hardware.

Please, if anybody know about this, or having the same of similar problem, write here, maybe there is someone in this forum, who can help.

Almost forget: Can someone please write me down, how I can do a full wipe on the SW 3 with twrp and then reinstall a clean rom?

For more info, please search on youtube for my video about this problem: Sony SmartWatch 3 screen problem.
[Sony Smartwatch 3] nathansg7:
I know that are a little weird but you tried to remove the screen protector? in your video seems you use a screen protector, maybe that are making your sw3 crazy
[Sony Smartwatch 3] sandreweas:
Yes, once when the problem was there I tried to remove fast the screen protector, but then the touching problem was also there, so then I decided to leave it on. Now I removed it completly, but doesen't solve the problem. :(

I think it is a software problem, cause when it is for exemple in twrp, the problem never occur.

I'm gonna do full wipe, and then I will see. If somebody has a good idea, how to do a full wipe on the smartwatch 3, please, give me an advice. THX
[Android Apps and Games] gagan.u20:
Hello folks,

After a long time, I am back with a new android app for all of you.

I Gagan Singh, Recognized Contributor/Developer of XDA and the developer of this android app, proudly presenting you my new app Mashup Player

This app is in beta stage, so you might get some crashes or other random errors. Feel free to share the issues and/or suggestions. Your feedback are very important and always welcome. For your ease, you can share your feedback directly from the app by choosing "Feedback" from app menu.

Try to send me feedback from the app itself as I am not much active on XDA as of now.

​

Join my official Facebook page to get updated with latest info:

https://www.facebook.com/groups/646454415368000/

What is Mashup Player?

Mashup is a music player and does the same what rest of the music players in the market do. It has something unique and that is the capability of mashing the songs. So, Mashup plays songs and mashes rest of the songs automatically on the basis of the current song.

Basically its is a kinda of music player, but actually it does more than that.

Mashup uses an algorithm (called MASM algo) which is purely written by me. This algorithm determines the current playing song and the next song in your playlist. What it does is, it mashes the next song with the current song when current song is going to finish or user choose to play next track.

There is another feature called "Auto-Mashup". When you turn on auto-mashup mode, it shows the current track in full-screen. In this mode, you are not allowed to either play/pause the current track or change to next track from the app screen. Auto-mashup automatically changes your track based on MASM algorithm. If you still want to switch to next track in auto-mashup mode, you can do the same from notification area.

This new app comes with a beautiful refreshed UI. You can easily create playlists and you can play them when you want. These playlists are universal. So you can use these playlists in your other music player apps as well.

Requirements

Your device should be running on Android 4+ :good:

Screenshots

See attachment for screen-shots.

Download

See attachment for apk.

Credits:

Will shortly add credits details.

If you like my work then just hit thanks. :)

All the request/suggestions are always welcomed. :good:
[Android Apps and Games] gagan.u20:
Reserved!
[Android Apps and Games] lpdavidgc:
Crash at play mm note 4

Enviado desde mi SM-N910F mediante Tapatalk
[Android Apps and Games] gagan.u20:
Kindly allow the record audio permission from settings manually as of now.

I will fix this issue.
[Android Apps and Games] SackofCodetatoes:
this looks really neat! I always wanted to have similar music played after each other
[Android Apps and Games] gagan.u20:
Updated apk with fixes, see changelog.

Don't forget to share your feedback.
[Sprint Samsung Galaxy S 4 General] Jonathanlc2005:
interesting... going to try this and get back to you... but after this unlock.... could you use sprint and had the option to switch sims if need be using this rom?
[Sprint Samsung Galaxy S 4 General] Mangodreads:
You can use any network after this unlock. I upgraded to cyanogens marshmallow rom and still have network service.
[Sprint Samsung Galaxy S 4 General] Jonathanlc2005:
It worked, screenshot uploaded later
[Sprint Samsung Galaxy S 4 General] Jonathanlc2005:
screenshots
[Sprint Samsung Galaxy S 4 General] Jonathanlc2005:
going to keep testing and ill get back to you
[Sprint Samsung Galaxy S 4 General] helikvar:
will this work if your on 5.0.1 ok3 lollipop?
[Sprint Samsung Galaxy S 4 General] Jonathanlc2005:
did you do exactly like it says including the radio?

the radio has to be flashed first before anything. i used to be on OH1, switched the radio and used cyanogenmod stable 4.4. then did this mod and it works so far. i havent had a chance to fully test it as i am on vacation but i will hopefully soon
[Sprint Samsung Galaxy S 4 General] Jonathanlc2005:
yeah tmobile doesnt work
[Sprint Samsung Galaxy S 4 General] nyknight77:
Great post! Just what I needed!! Can I make a TWRP backup of my CM12.1 ROM on OK3 modem and then then flash M919 rom and follow your directions? After all the steps, can I restore my TWRP backup of CM12.1 ROM and OK3 modem and will it still have domestic sim unlocked?
[Sprint Samsung Galaxy S 4 General] bilgerryan:
restoring your modem would wipe out the unlock for sure
[Sprint Samsung Galaxy S 4 General] jkh9081:
Don't know how to install M919 ROM!!!

I need help installing M919 ROM. I have never done this before, so I do not know how to create the file format needed to use with ODIN. I tarred the boot.img file, but it is only 8MB in size; that isn't the file I'm suppose to load, is it?

Need more details than just "install the M919 rom"...
[Sprint Samsung Galaxy S 4 General] bilgerryan:
Install TWRP with Odin, flash ROM from TWRP. That's a link in step 12.
[Sprint Samsung Galaxy S 4 General] jkh9081:
Still struggling with unlocking phone.
[Sprint Samsung Galaxy S 4 General] jkh9081:
Some notes to help others.

Being a newbie, I have no idea what I'm doing. So here are some notes that may help others like myself.

NOTE: My phone was previously rooted before starting this unlocking procedure.

In order to install the M919 rom, I had to install the TWRP (Team Win Recovery Project) tool. This was

accomplished by downloading the recovery.img file that was referenced by the link in this post. I had to use

the ODIN tool to install the file, but it had to be converted to a TAR file first. To convert to a TAR file, the

GNU version of TAR was downloaded and installed; I also set the Windows 7 search path to include the

bin directory of the installed tree (the search path allows running 'tar' without having to type

the full path to the program; the path was added by editing the path through the properties of

"My Computer" (right click the My Computer icon to edit). Once tar is installed, cd to where the recover.img

file resides and to the following command:

tar -cvf recovery.img.tar recovery.img

Now you have a recovery.img.tar file that will work with ODIN; install using the file as 'AP' type.

To use ODIN, put your phone in OS flash mode by powering it up by pressing volume down/home/power

buttons. Start up ODIN then plug the phone into the computer and press the volume up button; you will

see a message that the phone has been connected. Click the start button and the tarred image file will

be flashed to the phone. Now when the phone is booted by pressing the volume up/home/power buttons,

it will run the TWRP tool.

To install the M919 rom, boot phone in recovery mode (run the TWRP tool as mentioned above).

The M919 rom file is in a ZIP file which is the correct format for the TWRP tool to install, but the

ZIP file must first be put on your phone's SD card. To get the file onto the phone, you should be

able to remove the SD card and just copy it to the TWRP directory which should have been

created when TWRP was installed. However, I downloaded ADB on my computer and did

the following command from inside a windows CMD window from the directory where the

M919 rom Zip file resided...

adb push jfltetmo_M919UVUEMK2_Stock_Deodexed.zip /sdcard/TWRP

With the zip file on the sdcard (in the phone), click the 'INSTALL" button in TWRP and select

the /sdcard/TWRP/jflt...Deodexed.zip file path to flash to phone.

Installing the MK5 modem.bin file again requires it to be tarred for use with ODIN...

tar -cvf modem.bin.tar modem.bin

So that's where I'm currently at.

FYI, there seems to be a bug with the TWRP tool. If the phone is left inactive for a few

minutes, the screen will dim then lock and cannot: be unlocked. Once locked, the phone must

be powered down and TWRP restarted. So press the back arrow periodically to prevent the

phone from locking.
[Sprint Samsung Galaxy S 4 General] bilgerryan:
Mine unlocks fine in TWRP 3.0
[Sprint Samsung Galaxy S 4 General] asadnow2k:
if any one need direct unlock contact me via pm
[Sprint Samsung Galaxy S 4 General] jkh9081:
Still needing help.

I thought I had my phone unlocked, but made the mistake to trying to upgrade my android version using the Tmobile installation. Now the phone will not boot. I re-installed the M919 ROM, and the phone gets further along, but it shows a message of starting apps then shuts down. How can I get back to where the phone will boot? Thanks for any ideas. Also, can somebody please post a link to the 3.0 version of TWRP; the version I have will lock the screen and cannot be unlocked.

Correction: Phone will only briefly show the Samsung S4 image, then shuts down. Currently the phone will not even startup the TWRP tool; I can still get to the mode where I should be able to load the TWRP tool; looking like the phone maybe too far gone to save.
[Sprint Samsung Galaxy S 4 General] bilgerryan:
TWRP- https://twrp.me/#
[Sprint Samsung Galaxy S 4 General] nyknight77:
Just to confirm, so we have remain on android 4.4 or older to keep domestic sim unlock?
[Sprint Samsung Galaxy S 4 General] jkh9081:
Unlock successful, but Pokemon Go does not work/load.

I was able to get my Galaxy S4 unlocked, and it is working well with the Cricket network.

I took the phone to a Cricket store, and they were more than happy to set up the phone

to work with their data. However the phone will not load the Pokemon Go game from

Google Play. We are getting an error of "not compatible with device". I see on-line that

others with an S4 are able to play the game. 'Should I try loading a Sprint ROM? Does

having a rooted phone cause problems like this. Since the phone is already unlocked,

will loading a Sprint ROM cause any problems?

Thanks for your help.

---------- Post added at 12:22 PM ---------- Previous post was at 12:07 PM ----------

Okay, I think the problem is that the M919 ROM is android 4.3; pokemon go needs 4.4 or better. Can I install a Sprint 5.0 or better android version without concerns?
[Sprint Samsung Galaxy S 4 General] jkh9081:
How to install 4.4.2 after 5.0.1 has been installed

I want to try and install 4.4.2 on my phone that has 5.0.1; removed M919 due to many issues with older os. Can I use ODIN to load a 4.4.2 stock rom? If not, can somebody point me to a good 4.4.2 rom that I can load using ODIN? This is for SPH-L720T Galaxy S4 phone. Will have to unlock all over again; lost the unlock when loaded 5.0.1 os.

Thanks...
[Sprint Samsung Galaxy S 4 General] bilgerryan:
Don't use Odin to load a ROM, use Odin to flash TWRP and then flash a ROM. Odin flashes a modem with the software and you will lose your unlock. Just look in Android Development Section for stock ROMs.
[Sprint Samsung Galaxy S 4 General] jkh9081:
Thank you for this response. I looked all over about using TWRP to load a stock ROM, but found nothing definitive. Also did not understand about ODIN loading a modem; btw, what does the modem program/firmware do? Will it ever be possible to load a 5.0.1 ROM and keep the phone unlocked?
[Sprint Samsung Galaxy S 4 General] bilgerryan:
Yes. Odin flashes a full stock image basically making your phone like when you bought it. Download TWRP from the thread in Original Development. Flash it with Odin, make sure Auto Reboot and F Time Reset are unchecked in Odin. Now when you reboot into Recovery (by powering down and holding Vol Up and Power button) you can flash ROMs (they come in zip format instead of tar format like Odin flashables).

As for which ROMs will work, I don't know as my phone is not unlocked and I have the standard software installed and am running my 5.0.1 ROM, Wicked X.
[Sprint Samsung Galaxy S 4 General] jkh9081:
Thanks again for your insight. I've been looking high and low for a 4.4.2 zip file that will download. I let it download for 2+ hours and then towards the very end, the download fails. Another site, after the file is done, Avast anti-virus warns that a threat was blocked and the download is prevented. Can anybody point me to a good .zip file for the OA3 or NK1 ROM?
[Sprint Samsung Galaxy S 4 General] bilgerryan:
It's not stock, but my 4.4.2 ROM is here - http://xdaforums.com/showthread.php?t=3086132
[Sprint Samsung Galaxy S 4 General] jkh9081:
I wanted to load thje wicked X ROM, but the instructions say the phone needs to have NG5 or OA3 bootloader installed. I don't know what that means, but I cannot install a 4.4.2 OS using ODIN. Looking for a 4.4.2 ROM that I can just load using TWRP and then load the NK5 modem so as to unlock the phone. How can I find a stock 4.4.2 ROM that I can load?
[Sprint Samsung Galaxy S 4 General] bilgerryan:
You have the right bootloader installed, just follow the rest of the instructions and install the ROM.
[Sprint Samsung Galaxy S 4 General] jkh9081:
So what happens if I have the wrong bootloader? I installed the wicked-x rom and rebooted; it has been showing the samsung screen with the stars flying out for 30 minutes now. I'm hoping this is normal, but if not, what do I need to do now? I followed the instructions for the wickecX install, and it said to format the internal SD; I selected to format the "internal storage" in TWRP; I hope that was correct.
[Sprint Samsung Galaxy S 4 General] jkh9081:
Why is this so difficult???

Okay, I re-installed the M919 ROM, then the MK5 modem. I was then able to load the WickedX ROM and it booted. But now the touch screen does not work. The buttons on the side of the phone work and the menu and back areas on the front work, but I cannot use the touch screen to make selections. I notice that when I press the power button, it will allow the touchscreen to make a single selection; I used this method to get all the way through the setup screens. The touch screen is still not working. Is this a known problem? Is there a way to fix this? Thanks...
[Sprint Samsung Galaxy S 4 General] macncapn:
I tried installing the wickedx 10 rom, but the wifi doesn't work most likely because the modem I have is mk5. This was the modem we downloaded to unlock the phone. If we can't flash a newer modem while retaining lock is it not impossible to upgrade to 5.0.1 as with your rom, or even to 4.4.2?
[Sprint Samsung Galaxy S 4 General] bilgerryan:
Like I said I don't know the answer to that. My phone is not unlocked. I can't remember what version of Android MK5 was, if it is 4.4 you should be able to use a 4.4 ROM. But I can't confirm this for sure.
[Sprint Samsung Galaxy S 4 General] jkh9081:
MK5 is the 4.3 version for this phone.
[Sprint Samsung Galaxy S 4 General] bilgerryan:
That's the problem. Data will not work on any version above that... You could fake the Android version or just try downloading the apk of Pokémon Go and try installing manually.
[Sprint Samsung Galaxy S 4 General] jkh9081:
I tried both downloading a .apk file and installing, and faking the version to 4.4.2; neither worked to install Pokemon Go. I have reverted back to the 4.3 M919 ROM, and at least the phone is mostly working. I'm hoping that some time in the future a 5.0 version of android will become available that we can use to unlock. I'm wondering if anybody has been able to use the MK5 modem with a 4.4.2 ROM. It doesn't look to me that it can work.
[Sprint Samsung Galaxy S 4 General] bilgerryan:
This modem is for the L720 so do not flash it, but the creator has included a video guide on how to make your own - http://xdaforums.com/showthread.php?p=60926582
[Sprint Samsung Galaxy S 4 General] jkh9081:
Thank you for always posting help. I watched the video and used a similar method to create a modem based on the MK5 modem.bin and the OA3 NON-HLOS.bin files. I haven't obtained the courage to try it yet; what is the worst case scenario if it doesn't work? Note OA3 is a 4.4.2 rom version, MK5 is 4.3
[Sprint Samsung Galaxy S 4 General] bilgerryan:
Yeah when I got mine it had 4.4.2 installed. Worst case scenario, you'll have to Odin stock and start over. You'll be without cell service until you do that of course but I've been doing this for years and never bricked a phone from messing with software (it is possible, be careful). I did brick one trying to replace the screen though. The modem shouldn't brick your device unless you are using one from another device. As long as you are able to get into Download Mode you have nothing to really worry about.
[Sprint Samsung Galaxy S 4 General] Jonathanlc2005:
GOOD NEWS EVERYONE!

so i tried the ATT simcard and that works, i tried the tmobile simcard but some reason that didnt work. HOWEVER FreedomPop GSM works on it for sure with both tmobile and att supported.

i can attest this has worked very successfully. OP hopefully when im more financially secure ill see if i can put a donation for you. great job!
[Sprint Samsung Galaxy S 4 General] dfw123:
Hello! Thanks. I followed instruction and unlocked my phone. Now it is M919 rom android 4.3, baseband L720TVPUAMK5 but it is too old. Many apps are not support. How do I upgrade to the latest version and still unlocked? which latest version is that? Can I upgrade to android version 6.0? any steps? thx.
[Android Q&A, Help & Troubleshooting] QJQJ:
Hacking android, got "system" user, but not root, how to escalate privilege?

Hello, i am new to XDA. I am trying to jail-break my android device:

Android 5.1.1, Linux 3.10.49

This device is a rare brand and have no any unlock & flash mechanism.

Currently i have successfully got "system" user (UID 1000) by using a preinstalled DEBUGGABLE system app.

This user can only change /data directory etc, it can not change any file owned by root.

So any help to escalate "system" user to root user will be very appreciate.

the result of command "id":

uid=1000(system)
gid=1000(system)
groups=1000(system)
1007(log)
1010(wifi)
1015(sdcard_rw)
1021(gps)
1023(media_rw)
1028(sdcard_r)
3001(net_bt_admin)
3002(net_bt)
3003(inet)
3004(net_raw)
3005(net_admin)
3006(net_bw_stats)
3009(qcom_diag)
9997(everybody)
41000(u0_a31000)

context=u:r:system_app:s0

This account can change /data/system/packages.xml etc, but can not change /system/*, nor chown/mount.....

It's CapBound is 0, too strict. And also can not disable SELinux.

Can anyone help me?

----------------------- PS: share how i get system user privilege, maybe helpful to others -----------------------

In a word, just use jdb to attache to the app then print new java.lang.Runtime().exec("sh /sdcard/my.sh").

First, i found a package appeared in Android Device Monitor's debuggable app list, e.x. com.example.app.

Then i use

pm dump com.example.app

got confirmed it use system UID, then

run-as com.example.app

but failed due to "Package not found", i don't know why.

Then i try to use JDWP way.

Get the debuggable process ID:

$ adb jdwp
9424
$ adb forward tcp:8600 jdwp:9424
$ jdb -attach localhost:8600
> threads
group system:
(java.lang.Thread)0x2a86 Signal Catcher ...
(java.lang.Thread)0x2a87 FinalizerWatchdogDaemon ...
...
group main:
(java.lang.Thread)0x2a8d main ...
(java.lang.Thread)0x2a8e Binder_1 ...
...
> thread 0x2a8d
main[1] stepi
>
stepi completed: "thread=main", android.os.MessageQueue.next()、row=145 bci=22

main[1] > print new java.lang.Runtime().exec("sh /sdcard/qj.sh")

There are some files need be upload(adb push .... ) before run the last command.

/sdcard/qj.sh:

date > /sdcard/log
cp -f /sdcard/busybox /data/ 2>> /sdcard/log || exit 1
chmod 4777 /data/busybox 2>> /sdcard/log || exit 1
(while true; do /data/busybox nc -l -p 7777 -e sh; done) >> /sdcard/log 2>&1 &
echo server OK >> /sdcard/log

/sdcard/busybox:

this file can be found at busybox.net/downloads/binaries/latest, choose ARM7v.

The above jdb command "print new java.lang.Runtime().exec("sh /sdcard/qj.sh")" will create a shell server listening at 7777 port, bridge input/output to sh.

So, to connect to the shell server,

adb forward tcp:7777 tcp:7777
nc localhost 7777

then in this connection, input shell command.

Sorry: i forgot a very important step: to run the "print new ...." statement, i have to turn on screen, even touch the app so can be trapped into jdb.

---------That's all------------
[Android Q&A, Help & Troubleshooting] Azaze666:
could you share that app if you still have it?
[Android Q&A, Help & Troubleshooting] froku:
Thank you!
[Sony Cross-Device Development Themes and Apps] venkat kamesh:
Hello guys here i would like to share a small mod :p

that is to hide layouts with no smali code edit ;)

here i will explain in simple way on what you can hide/enable

Example:- you can hide/Enable from settings

Battery ( on statusbar /lockscreen )

CLock ( on Statusbar /Lockscreen)

Carrier lable ( on Lockscreen / Expanded)

Network /wifi icons

User Icon

IME switch

If you add any Power button ( on navigation bar )

Small apps on recents

Clear button

navigation buttons too

so based on need you can make hide and enable these things and many other with a Switch from settings ( no restart or Reboot )

So lets move to tut :p

Continued in Page 2 with example codes ( on how to add )
[Sony Cross-Device Development Themes and Apps] whalesplaho:
Please is it possible to make clock on expanded status bar has seconds?
[Sony Cross-Device Development Themes and Apps] glfsd:
Thank you master!
[Sony Cross-Device Development Themes and Apps] Kuciak:
Awesome tutorials, Thank you :)
[Sony Cross-Device Development Themes and Apps] zhaozihanzzh:
Nice, BUT Only LP/MM?Will it work on GB?

来自华为荣耀畅玩4C CHM-TL00H -天生急性子 Android 小楼阁
[Sony Cross-Device Development Themes and Apps] BlueSky_Vincent:
Want to know the code for the small app on MM
[Sony Cross-Device Development Themes and Apps] niaboc79:
Interesting way to hide layouts but it works only with linear layouts.

If you want to hide something in a relative layout it won't work since all layouts have a position determined with others.

Good job anyway ;)

Envoyé de mon D6503 en utilisant Tapatalk
[Sony Cross-Device Development Themes and Apps] venkat kamesh:
Yes ;)

So that I have examples on what we can hide ;)

Thanks for the compliment bro