yashsingh1/xdaforums huggingface dataset:
[Miscellaneous Android Development] ale5000:
[MENTION=8511196]osilvab[/MENTION]: The latest version now detect when ADB is not setup correctly and display a proper error message.

Please try it when you have time.
[Miscellaneous Android Development] osilvab:
[MENTION=5627087]ale5000[/MENTION] Thanks, You also replied to me on the fairphone forum. It was a problem with missing dependencies or in the wrong place. I managed to fix it:
[Miscellaneous Android Development] ale5000:
This problem was probably caused by an incorrect adb setup, the latest version now say it clearly when it is like this.

It would be nice if someone can try it on this ROM.
[Miscellaneous Android Development] choukerim:
Error

Hello, I have a problem could you help me ? I'm a nebbie :mad:

*** OS: Linux 3.16.0-4-amd64 (linux)

*** Python: 2.7.9 (64 bit)

*** Mode: 1

*** Working dir: /tmp/Tingle-6pFcjp

*** Selected device: 001af8e265a79f

*** Automounting /system (if not already mounted)...

*** Pulling framework from device...

*** Device SDK: 25

*** Decompressing framework...

DEBUG: Decompressing framework.jar

*** Disassembling classes...

DEBUG: Disassembling framework/classes.dex

Exception in thread "main" java.lang.UnsupportedClassVersionError: com/beust/jcommander/JCommander : Unsupported major.minor version 52.0

at java.lang.ClassLoader.defineClass1(Native Method)

at java.lang.ClassLoader.defineClass(ClassLoader.java:803)

at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)

at java.net.URLClassLoader.defineClass(URLClassLoader.java:442)

at java.net.URLClassLoader.access$100(URLClassLoader.java:64)

at java.net.URLClassLoader$1.run(URLClassLoader.java:354)

at java.net.URLClassLoader$1.run(URLClassLoader.java:348)

at java.security.AccessController.doPrivileged(Native Method)

at java.net.URLClassLoader.findClass(URLClassLoader.java:347)

at java.lang.ClassLoader.loadClass(ClassLoader.java:425)

at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:312)

at java.lang.ClassLoader.loadClass(ClassLoader.java:358)

at org.jf.baksmali.Main.main(Main.java:78)

Traceback (most recent call last):

File "main.py", line 509, in <module>

smali_folder, dex_filename, dex_filename_last = find_smali(smali_to_search, "framework/", DEVICE_SDK)

File "main.py", line 432, in find_smali

disassemble(search_dir+filename, out_dir, device_sdk)

File "main.py", line 399, in disassemble

subprocess.check_call(disass_cmd)

File "/usr/lib/python2.7/subprocess.py", line 540, in check_call

raise CalledProcessError(retcode, cmd)

subprocess.CalledProcessError: Command '['/usr/bin/java', '-jar', '/home/kevin/tools/baksmali.jar', 'dis', '-l', '--seq', '-o', './smali-classes/', 'framework/classes.dex', '-a', u'25']' returned non-zero exit status 1

Thanks you so much !
[Miscellaneous Android Development] ale5000:
[MENTION=6969687]choukerim[/MENTION]: I haven't checked it exactly yet but probably you need to update Java to version 8.
[Miscellaneous Android Development] choukerim:
Thank you so much I pass to debian 8 to 9 it's ok :D !
[Miscellaneous Android Development] espionage724:
Is signature spoofing posible on Android O, and would there happen to be a patch I could apply to sources to have the framework already patched with the Android compile?
[Miscellaneous Android Development] ale5000:
Yes, it is here.

I haven't tested it but I don't think there should be problems.
[Miscellaneous Android Development] Firelock:
i have a error

*** OS: Windows 10 (win32)
*** Python: 3.5.3 (64 bit)
*** Mode: 1
*** Working dir: C:\Users\javi_\AppData\Local\Temp\Tingle-ze0dtfmp
*** Selected device: ZX1D82XXFM
*** Automounting /system (if not already mounted)...
*** Pulling framework from device...
*** Device SDK: 25
*** Decompressing framework...
DEBUG: Decompressing framework.jar
*** Disassembling classes...
DEBUG: Disassembling framework/classes.dex
*** Patching...
*** Detected: Android 8.x / 7.x / 6.x (or LOS/CM 13-15)
*** Patching succeeded.
*** Reassembling classes...
DEBUG: Assembling out/classes.dex
*** Recompressing framework...
DEBUG: Compressing framework.jar
*** Copying the patched file to the output folder...
*** Rooting adbd...
*** Unlocked ADB: True
*** Remounting /system...
DEBUG: Not running as root. Try "adb root" first.
*** Pushing changes to the device...
DEBUG: [ 0%] /system/framework/framework.jar
adb: error: failed to copy 'framework.jar' to '/system/framework/framework.jar': remote couldn't create file: Permission denied
framework.jar: 0 files pushed. 17.9 MB/s (131072 bytes in 0.007s)
Traceback (most recent call last):
File "C:\Users\javi_\Desktop\tingle-master\main.py", line 698, in <module>
output = subprocess.check_output([DEPS_PATH["adb"], "-s", SELECTED_DEVICE, "push", "framework.jar", "/system/framework/framework.jar"], stderr=subprocess.STDOUT)
File "C:\Python35\lib\subprocess.py", line 316, in check_output
**kwargs).stdout
File "C:\Python35\lib\subprocess.py", line 398, in run
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['C:\\adb\\adb.exe', '-s', 'ZX1D82XXFM', 'push', 'framework.jar', '/system/framework/framework.jar']' returned non-zero exit status 1

rom: pure nexus 7.1.2 titan.

root: magisk v14

ty
[Miscellaneous Android Development] ghst7:
Seems like you didn't grant root permissions for ADB in your phone;

go to settings> developer options> and look for "root access" or "root manager" something like that and try changing to "root ADB only" then try patching again.

Best of luck
[Miscellaneous Android Development] realmain:
Remounting /system permission denied

Hello,

I am trying to run this on linux. For some reason, I am getting permission denied when it is remounting /system.

~/Downloads/tingle-master >>> python3 main.py
MENU

1 - Patch file from a device (adb)
2 - Patch file from the input folder

> 1

*** OS: Linux 4.13.5-1-MANJARO (linux)
*** Python: 3.6.2 (64 bit)
*** Mode: 1
*** Working dir: /tmp/Tingle-_ym09978
*** Selected device: df6e59e3
*** Automounting /system (if not already mounted)...
*** Pulling framework from device...
*** Device SDK: 25
*** Decompressing framework...
DEBUG: Decompressing framework.jar
*** Disassembling classes...
DEBUG: Disassembling framework/classes.dex
*** Patching...
*** Detected: Android 8.x / 7.x / 6.x (or LOS/CM 13-15)
*** Patching succeeded.
*** Reassembling classes...
DEBUG: Assembling out/classes.dex
*** Recompressing framework...
DEBUG: Compressing framework.jar
*** Copying the patched file to the output folder...
*** Rooting adbd...
DEBUG: adbd cannot run as root in production builds
*** Unlocked ADB: False
*** Remounting /system...
Permission denied
Traceback (most recent call last):
File "main.py", line 694, in <module>
enable_device_writing(SELECTED_DEVICE)
File "main.py", line 342, in enable_device_writing
remount_check = subprocess.check_output([DEPS_PATH["adb"], "-s", chosen_device, "shell", "su -c 'mount -o remount,rw /system && mount' | grep /system"]).decode("utf-8") # Untested
File "/usr/lib/python3.6/subprocess.py", line 336, in check_output
**kwargs).stdout
File "/usr/lib/python3.6/subprocess.py", line 418, in run
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['/usr/bin/adb', '-s', 'df6e59e3', 'shell', "su -c 'mount -o remount,rw /system && mount' | grep /system"]' returned non-zero exit status 1.
[Miscellaneous Android Development] ST Dog:
For some reason su fails.

Are you rooted? Root enabled for ADB?

You could manually copy the new apk and fix permissions.
[Miscellaneous Android Development] realmain:
I'm special. I forgot to grant permission to com.android.shell. But now... It is failing while pushing.

~/Downloads/tingle-master >>> python3 main.py [1]
MENU

1 - Patch file from a device (adb)
2 - Patch file from the input folder

> 1

*** OS: Linux 4.13.5-1-MANJARO (linux)
*** Python: 3.6.2 (64 bit)
*** Mode: 1
*** Working dir: /tmp/Tingle-bllo51cr
*** Selected device: df6e59e3
*** Automounting /system (if not already mounted)...
*** Pulling framework from device...
*** Device SDK: 25
*** Decompressing framework...
DEBUG: Decompressing framework.jar
*** Disassembling classes...
DEBUG: Disassembling framework/classes.dex
*** Patching...
*** Detected: Android 8.x / 7.x / 6.x (or LOS/CM 13-15)
*** Patching succeeded.
*** Reassembling classes...
DEBUG: Assembling out/classes.dex
*** Recompressing framework...
DEBUG: Compressing framework.jar
*** Copying the patched file to the output folder...
*** Rooting adbd...
DEBUG: adbd cannot run as root in production builds
*** Unlocked ADB: False
*** Remounting /system...
DEBUG: /dev/block/mmcblk0p14 on /system type ext4 (rw,seclabel,relatime,data=ordered)
/dev/block/mmcblk0p14 on /dev/magisk/mirror/system type ext4 (ro,seclabel,relatime,data=ordered)
DEBUG: /dev/block/mmcblk0p14 on /system type ext4 (rw,seclabel,relatime,data=ordered)
/dev/block/mmcblk0p14 on /dev/magisk/mirror/system type ext4 (ro,seclabel,relatime,data=ordered)
*** Pushing changes to the device...
DEBUG: [ 1%] /system/framework/framework.jar
[ 2%] /system/framework/framework.jar
[ 3%] /system/framework/framework.jar
[ 4%] /system/framework/framework.jar
[ 5%] /system/framework/framework.jar
[ 6%] /system/framework/framework.jar
[ 7%] /system/framework/framework.jar
[ 8%] /system/framework/framework.jar
[ 9%] /system/framework/framework.jar
[ 10%] /system/framework/framework.jar
[ 11%] /system/framework/framework.jar
[ 12%] /system/framework/framework.jar
[ 13%] /system/framework/framework.jar
[ 14%] /system/framework/framework.jar
[ 15%] /system/framework/framework.jar
[ 16%] /system/framework/framework.jar
[ 17%] /system/framework/framework.jar
[ 18%] /system/framework/framework.jar
adb: error: failed to copy 'framework.jar' to '/system/framework/framework.jar': remote couldn't create file: Permission denied
framework.jar: 0 files pushed. 2305.6 MB/s (1245184 bytes in 0.001s)
Traceback (most recent call last):
File "main.py", line 699, in <module>
output = subprocess.check_output([DEPS_PATH["adb"], "-s", SELECTED_DEVICE, "push", "framework.jar", "/system/framework/framework.jar"], stderr=subprocess.STDOUT)
File "/usr/lib/python3.6/subprocess.py", line 336, in check_output
**kwargs).stdout
File "/usr/lib/python3.6/subprocess.py", line 418, in run
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['/usr/bin/adb', '-s', 'df6e59e3', 'push', 'framework.jar', '/system/framework/framework.jar']' returned non-zero exit status 1.

EDIT: I got it to work. IDK if it was a Magisk problem or not. But I just removed Magisk and installed LineageOS su, and it worked. And then replaced it with Magisk again.
[Miscellaneous Android Development] ale5000:
[MENTION=7715648]Firelock[/MENTION]: Try to use Tingle while the phone is in the recovery.

[MENTION=4746554]realmain[/MENTION]: The code the get executed when Unlocked ADB is False need to be rewritten.

In this case you will get better result if you try to use Tingle while the phone is in the recovery.

PS: If you use Magisk it is always better use Tingle before installing Magisk.
[Miscellaneous Android Development] ale5000:
The Python code must be run as is without previous compilation, it is an interpreted language.

PS: You must have Python installed.
[Miscellaneous Android Development] exist2resist:
Can someone explain how Tingle works and exactly what it does to the signatures?

I have Android with microG and Google Sync apps installed, does this fix the issue with images not coming up in hangouts?

Is this for a specific version of Android, can it be used on 7?
[Miscellaneous Android Development] ale5000:
microG GmsCore to be used by apps that usually use Google Play services need to spoof the signature of Google but it cannot do it normally since Android doesn't support it natively (except some ROMs that have it included).

To overcome the problem Tingle alter a file (framework.jar) of the ROM to allow apps (in this case microG) to spoof their signature seen by other apps (in this case Hangouts); the signature read by the operative system is still the original one, it is spoofed only to the apps.

The signature spoofing is needed to allow microG GmsCore to be used by other apps, your problem of images not coming up in hangouts is probably not related.

Tingle works fine on almost all versions of Android.
[Nexus 6P Q&A, Help & Troubleshooting] falcon26:
Is there any way to root your 6P and keep the stock recovery? I would like to have a dark system theme. But unless your on root you can't really make everything dark. I would also like to hide the soft keys which unless your rooted you can not. I don't want to lose the OTA updates and was hoping that just rooting the phone without a custom recovery would do the trick?
[Nexus 6P Q&A, Help & Troubleshooting] adrman:
You can, just boot TWRP to your device from there bootloader with fastboot. With the current TWRP image the command would be "fastboot boot twrp-3.0.2-0-angler.img". Unfortunately, just having root on your device is enough to cause an OTA update to fail. You would have to fully unroot, apply the OTA, then root again.
[Nexus 6P Q&A, Help & Troubleshooting] uicnren:
You can use flashfire to do just what you want.

Use CF-auto root to root, then when OTA comes along, flashfire to update.
[Security Discussion] Crayder:
The Android Device Manager can be used to track, erase, and make a device ring.

Before it could also be used to change a password remotely, apparently now that feature can only be used to add a lock screen to a device that doesn't have one already. This is a huge problem.

The most obvious example of where the remote password changing would be used is theft. What if a thief knew your phone's password? If we can't change the password remotely anymore then we're screwed there. That thief has access to everything including the device's administrative apps. The thief could easily go into the settings and disable the ADM. Therefore even if we did try to get on ADM and erase the phone we can't because ADM is disabled!

Is this a problem only I am having? Does anyone else find this a problem? What are your perspectives on this?

In case you don't know what I'm talking about, this is what happens when you try to set a new password now:
[Security Discussion] tem02:
You can allow google to do this by going to Google Settings->security->Allow remote lock and erase. When you turn this on, you can change your password remotely (see screenshot below).

But I do agree with you. ADM should be harder to disable (anyone past lockscreen or anyone you lent your phone to can disable it). My solution is that you use applock to prevent the thief to get in to settings (although this can be bypassed). However, in my own experience, 95% of thieves are not that smart.

Also, under no circumstances should you let your phone password leak. Use a fingerprint scanner (or heck, an iris scanner) if you need to.

p.s. allowing ADM to remotely change passcode allows Google, the FBI, or someone with your Google login to access your phone
[Security Discussion] optimumpro:
Everything in this thread is on its head. Google ADM is a huge security hole that makes your device vulnerable to the outside world. Google is trying to patch remote exploits, such as stagefright, but ADM is an open door and invitation to steal. Google have realized that and made the hole somewhat smaller. ADM should be permanently disabled, which is the first step in securing your device.

In addition, 99% of thieves don't care about your data, but rather want the device. The first thing they do is wipe the device via bootloader or, if your bootloader is locked, by clean flashing stock firmware.
[Security Discussion] pulser_g2:
The reason this is blocked is because the remote lock feature also changes your lockscreen code (and therefore device encryption key). It means a device that is otherwise locked can be accessed via various kinds of social engineering attacks.

Imagine a corporate device is stolen. The thief gets a hold of it, and is able to social engineer you (see https://www.macobserver.com/news/stolen-iphone-watch-identity-theft-phishing-schemes/) into changing the password on it. Or even just get your Google login password and change the device password from there. They now have access to the device.

Removing this feature is doing what should really have been done long ago. If the thief knows your lock password, then you have bigger problems. They could have prevented you from changing the password. They could turn it off (now knowing the password), and turn it on with no WiFi signal and cell signal (i.e. remove the SIM). They could even just drop it in their Faraday bag. If a thief has gone to the effort to know your device password, they're targeting you, and should know to bring a Faraday bag with them.

Tl;dr In the long run it is not making you any less secure, unless you had your lock PIN as "1234" or similar. A thief caring to know your password will take the device offline immediately, stopping this from working.
[Security Discussion] PalmCentro:
You guys should check out Samsung's find my mobile, can do anything remotely plus change codes.

I also hear that the connection between the device and the Samsung servers are unencrypted...

---------- Post added at 04:38 AM ---------- Previous post was at 04:34 AM ----------

It will not change your code, It might push a new code on top of your pattern lock, but once you are past the new code you'll still need to enter your pattern.
[Xperia Z2 Q&A, Help & Troubleshooting] Jietzo:
Hello,

I've rooted my z2 and flashed another Kernel etc.

but i've one problem which is really weird..

When I'm trying to make a screenshot, a message appears "Screenshot can't be taken - The content may be protected" ?!

When I'm trying to delete the Screenshot folder i get the message "permission denied" ?

I tried it with root explorer and adb shell with root.

And i also tried another ROM, same problem.

What can I do?

I really need this function

thank you

greets
[Xperia Z2 Q&A, Help & Troubleshooting] Jietzo:
no one? cmon guys
[Xperia Z2 Q&A, Help & Troubleshooting] RuffBuster:
Does screen shot still work with something's? Might be because the app won't let you screen shot it. Apps like PayPal won't let you because of DRM restrictions. There are a couple of Xposed modules that may help with this. As for deleting the folder I've never run into this issue. Maybe try a different file explorer. I recommend ES File Explorer with root feature enabled. Or Aroma File Manager from XDA. A file explorer for recovery if TWRP doesn't have one.
[Xperia Z2 Q&A, Help & Troubleshooting] Deleted member 4529355:
maybe because of the bootloader unlock
[Xperia Z2 Q&A, Help & Troubleshooting] Jietzo:
oke, but what has that to do with the screenshot function ? what should i do ?

cant be because i cant take a screenshot anywhere.

... sadly
[Xperia Z2 Q&A, Help & Troubleshooting] Skanin:
Do you have Xposed installed? If yes, try the module "Disable flag secure", you can find it here. Hope this helps :)
[Alcatel Idol 4S Guides, News, & Discussion] VegasRooted:
Even though pre-orders are finished, I noticed that you can still get the Alcatel Idol 4S Bundle at the pre-order price of $349.99, which is $50.00 less than the current full price. (Although you will still have to pay for shipping.) When you are on the Alcatel website, do a search in the upper-right corner for "precision", then scroll down to the bottom of the results. You'll see three "partner" offers for the Bundle, all at $349.99.

Here is a direct link: (then scroll down)

http://www.alcatelonetouch.us/catalogsearch/result/?q=precision

I'm also attaching screenshots of the three. (You could probably also search the individual partner names too, instead of "precision", but I didn't try.) Anyways, there don't seem to be any restrictions or special requirements to ordering these partner offers.

View attachment 3841582

View attachment 3841583

View attachment 3841584

Enjoy!

Cheers,

VegasRooted
[Alcatel Idol 4S Guides, News, & Discussion] jonathan3579:
Good spot! Now I'm back to considering this device again. Thank you!
[8525, TyTN, MDA Vario II, JasJam Software Upgradin] chadm:
I am using HTC Home Customizer (HHC1.0b5), and generally I am very happy with it.

I had a problem where suddenly Weather Tab displayed the temperature as (null) instead of High, and in front of the ringtone name there was also (null) instead of the word Ringtone.

Well I think I have figured this out...

It seems that when the Pocket PC is reset or restarted, something goes wrong which causes the problem.

The remedy is quick & simple....

1) Unload HTC Home Start/Settings/Personal/Today Items Tab, and deselect HTC Home.

Go back to the Today Screen to check that it has unloaded. If it has, then go on to Step 2), if not do Step 1) again.

2) Load HTC Home Start/Settings/Personal/Today Items Tab, and select HTC Home.

Hopefully our good friend EmmuNutz can fix this for us.

Chad
[8525, TyTN, MDA Vario II, JasJam Software Upgradin] ndcart:
I have just noticed this exact same problem. Also, all my shortcuts on my progams tab get erased at random. Has happend twice in the past week. Guess it must be the version of HTC home we are using.
[Verizon HTC One (M8)] Phillyfinest89:
Using page plus sim with Verizon m8 s off unlock bootloader but no data even with Verizon preloaded APN. Just get text and calls. Isn't page plus using the verizon network.
[Verizon HTC One (M8)] Phillyfinest89:
Anyone?
[Nexus 5X Q&A, Help & Troubleshooting] oldsnow:
I wonder if anyone is able to help.

my 5x is stuck in bootloop. i can downkey on volume to menu but te recovery options just leads back to bootloop.

my bootloader is locked and from the bootloop i cant access the phones developer options as the phone wont boot up.

is there any way of unlocking the phone so i can reflash stock from a phone that wont boot up

MIni
[Nexus 5X Q&A, Help & Troubleshooting] Darke5tShad0w:
The actual bootloader unlocking is done in bootloader mode with fastboot.

Try unlocking it in fastboot anyway and see what happens. If your rom is corrupt it might not stop you.

Try restoring the stock image and see what it does, if it fails try unlocking the bootloader, ignoring the oem unlock process.

Are you on stock recovery? Are you on a custom rom? If you are have you tried dirty flashing it?

Have you tried clearing cache and delvik cache?
[Nexus 5X Q&A, Help & Troubleshooting] sfhub:
When did that change? Reference?
[Nexus 5X Q&A, Help & Troubleshooting] Darke5tShad0w:
I checked again and it seems they were talking about OTA's. opps.

Then when I went to download the full image the other day they had changed it from a required warning to just a "if necessary" and I put it together wrong.
[G 2014 Q&A, Help & Troubleshooting] Titan068:
i used flasify to flash an update to my TWRP but after that my phone keeps on rebooting into recovery please help

phone MOTO G 2014(Titan)

ROM zephyr OS 4.4(6.0.1)﻿
[Verizon Samsung Galaxy S7 Edge Questions & Answers] TheVrolok:
So I have my S7 Edge. Haven't rooted it (don't feel the desire at this point) and I'm really having issues with simple file transfers. Phone is recognized immediately when connecting it to the PC via the supplied USB cable. I set the device to "file transfer mode," I browse to the device, it displays the Card with appropriate storage usage and then the Phone storage with appropriately calculated storage, but then I can't actually browse either. If I enter the phone storage, there is absolutely nothing in the directory list, it's empty. If I enter the card storage I just see: http://imgur.com/a/IpnUE . What is going on here? I do have the latest Samsung USB drivers. Cable also works fine with my Galaxy Tab E. Random other thing, I don't ever recall it asking me for permissions to access device storage when allowing MTP.
[Verizon Samsung Galaxy S7 Edge Questions & Answers] Outbreak444:
Is your SD card encrypted by chance?
[Verizon Samsung Galaxy S7 Edge Questions & Answers] TheVrolok:
It is not
[Verizon Samsung Galaxy S7 Edge Questions & Answers] Outbreak444:
Is it set up for adaptable storage? If not remove it from your phone and plug it directly into your PC with an adapter and see if it works after that.