ale5000-git / tingle

Tingle - Android patcher
http://forum.xda-developers.com/showthread.php?t=3438764
GNU General Public License v3.0
161 stars 11 forks source link

Cannot restore framework #19

Open JonnyTech opened 7 years ago

JonnyTech commented 7 years ago

Currently running CM13 with CM recovery Installed Tingle but experienced major problem So trying to reverse using following steps: In recovery, mount /system $ adb push "./output/framework.jar.backup" /system/framework/framework.jar But looks like there is no adb support in CM recovery No other recovery exists for my phone How can I revert?

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/39355934-cannot-restore-framework?utm_campaign=plugin&utm_content=tracker%2F43052892&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F43052892&utm_medium=issues&utm_source=github).
moodl commented 7 years ago

@JonnyTech Can you boot into the system and enable ADB with root?

JonnyTech commented 7 years ago

Yes, root is available from root in normal boot but only adb sideload from cm recovery.

Did try to replace file but failed. In the end I reflashed rom.

Would be nice if a better uninstall method is implemented.

ale5000-git commented 7 years ago

What do you mean that there isn't adb support in CM recovery? Can you please run from the pc adb rootwhen the phone is in the recovery and tell me what it say?

PS: There will be something better in the future for uninstall.

JonnyTech commented 7 years ago

Booted into recovery:

$ adb devices
List of devices attached
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
WbSPARKPJH0025693   unauthorized

$ adb root
error: device unauthorized.
This adbd's $ADB_VENDOR_KEYS is not set; try 'adb kill-server' if that seems wrong.
Otherwise check for a confirmation dialog on your device.

Booting to normal mode then adb works correctly.

georgedorn commented 7 years ago

See my workaround here, which can be done on a phone booted up normally: https://github.com/ale5000-git/tingle/issues/22#issuecomment-285998202