CheriePie
Senior Member
Lately we have been seeing a extremely large number of people experiencing install failures. This is NOT due to the software of it's code. The reason for the failure is due to a Superuser Permission problem. When you run each option you must watch the Kindle closely during the first set of commands, this is CRITICAL! You will see a Superuser Request on the Kindle directly, you MUST click on Allow or Grant otherwise the entire install will fail. Usually once you have granted the first request the rest of the commands will execute as expected.
So, if you have an install failing like Google Apps (Which has successfully worked over the last 60 days), this is due to not responding to the Superuser Popup or Request on the Kindle. We have been looking at options to fully automate these processes without having to deal with the Superuser security window. After several hours OS testing there is no way around this issue, you must pay close attention to the Kindle otherwise all the operations will fail. There is a slight chance some people may have inadvertently click on Disallow or Deny - this will cause every install to fail until we reset the Superuser account. The way to determine if you have the proper permissions to run our software on your Kindle is to run the following command:
Code:adb wait-for-device adb shell su -c "ls /system/app"
If the command fails, you have a Superuser permission issue.
Pay attention to the Kindle, you will see a Superuser request, click on ALLOW! Once you allow the ADB Shell access future requests should run fine and our software will no longer fail. You will see a small popup stating "ADB Shell has been granted superuser permissions for interactive shell". Also, open SuperSU or Superuser, look at the Logs after the above command you should see ADB Shell was granted Superuser Permissions. If you look under the SuperSU or Superuser Apps Tab, you should see "ADB Shell #" - if you do not see either entry then Superuser is denying the ADB Request and will need to be reset. Post a response, advising us what version of Superuser you are using, we will respond with a fix.
I read through the above and I completely understand what you're saying. However, my problem isn't a Superuser Permission problem. The above adb shell su -c "ls /system/app" runs perfectly, and returns the full output of the /system/app directory, but yet I still have problems with the script when trying to write to the /system partition. The command to mount /system as rw doesn't seem to be working properly on my system. I've tried a couple alternate syntax formats for the mount command, and even just the adb remount command alone, but am still unable to mount /system as rw from adb. I also verified that I can use adb push to push files to other directories, just not to /system.
Yes, I did see a prompt for ADB Shell the first time I ran an adb command from KFFirstAide and it is now properly authorized and listed in SuperSU. I've attached a screen shot of that, and the output from my ls command below, just to back up what I'm saying.
I'm using a Kindle Fire HD 8.9, perhaps that requires slightly different commands to mount /system as rw.
I also noticed that the script is still doing "cd /data/local/tmp/; rm *" (line 4384 in the Google Apps installation subroutine) and ""rm -r /data/local/tmp" (line 4399), while other parts of the script create a symlink from /data/local/tmp to /data. Since the script exits leaving that symlink in place, and you're not checking for it prior to issuing the forementioned delete commands, you are creating the potential to completely wipe out the /data directory here!
Edited to add: whoops forgot to attach the screen shot. Not sure it's really needed anyway other than to prove that ADB Shell has been granted Superuser permission by the SuperSU app.
Code:
C:\KFFirstAide>adb devices
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
List of devices attached
B0CA0604252201M0 device
C:\KFFirstAide>adb wait-for-device
C:\KFFirstAide>adb shell su -c "ls /system/app"
APNWidget_Kindle-ATT-1-0-26.apk
APNWidget_Kindle_BaseRoot-1-0-5.apk
ATSystem.apk
ATVAndroidClient.apk
AccountAndSyncSettings.apk
AmazonGamesService.apk
AmazonPlatform-release.apk
Amazon_Apps.apk
AppWidgetPicker.apk
ApplicationsProvider.apk
ApplicationsProvider.odex
AudibleForAndroid-otter-unsigned.apk
BackupRestoreConfirmation.apk
BackupRestoreConfirmation.odex
Bluetooth.apk
Bluetooth.odex
CMS-Service.apk
CSApp-unsigned.apk
Calendar.apk
CalendarProvider.apk
Camera.apk
Camera.odex
CertInstaller.apk
CertInstaller.odex
ChromeBookmarksSyncAdapter.apk
Cloud9-release-unsigned.apk
Cloud9AndroidSystemBrowserProvider.apk
Contacts-release.apk
ContactsProvider-release.apk
DefaultContainerService.apk
DefaultContainerService.odex
DeviceControlService.apk
DeviceControlService.odex
DolbySurround.apk
DolbySurround.odex
DownloadProvider.apk
DownloadProvider.odex
DownloadProviderUi.apk
DownloadProviderUi.odex
DpContacts-release.apk
DrmProvider.apk
DrmProvider.odex
Email.apk
Exchange.apk
FaceLock.apk
Gallery2.apk
Gallery2.odex
GalleryGoogle.apk
Gmail_4.2.1.apk
GoogleBackupTransport.apk
GoogleCalendarSyncAdapter.apk
GoogleContactsSyncAdapter.apk
GoogleFeedback.apk
GoogleLoginService.apk
GooglePartnerSetup.apk
GoogleQuickSearchBox.apk
GoogleServicesFramework.apk
GoogleTTS.apk
Google_Voice_0.4.2.72.apk
HTMLViewer.apk
HTMLViewer.odex
IMDb-release-unsigned.apk
IvonaTTS.apk
KCPTutorial.apk
KeyChain.apk
KeyChain.odex
KindleForOtter.apk
KindleSafeMode.apk
KindleStoreWebApp-release-unsigned.apk
LatinIME.apk
LatinIME.odex
Launcher.apk
LiveWallpapersPicker.apk
MarketUpdater.apk
MediaProvider.apk
MediaProvider.odex
MediaUploader.apk
MobileAuthenticationPlatformAndroid-unsigned.apk
MyAccount-unsigned.apk
Nova_Launcher.apk
OOBE-unsigned.apk
OfficeSuite.apk
OneLensAndroidClient.apk
OneTimeInitializer.apk
OtterTutorial.apk
PackageInstaller.apk
PackageInstaller.odex
ParentalControls.apk
ParentalControls.odex
Phone.apk
Phone.odex
PicoTts.apk
PicoTts.odex
Provision.apk
Provision.odex
QuickSearchBox.apk
QuickSearchBox.odex
Settings.apk
Settings.odex
SettingsProvider.apk
SettingsProvider.odex
SetupWizard.apk
SharedStorageBackup.apk
SharedStorageBackup.odex
SoftkeyBar.apk
SoftkeyBar.odex
Stk.apk
Stk.odex
Superuser.apk
Swype.apk
SystemUI.apk
SystemUI.odex
TalkBack.apk
TalkBack.odex
TelephonyProvider.apk
TelephonyProvider.odex
UnifiedSearch.apk
UnifiedSearch.odex
UniversalSearch.apk
UserDictionaryProvider.apk
UserDictionaryProvider.odex
Vending.apk
VoiceSearch.apk
VpnDialogs.apk
VpnDialogs.odex
WAPPushManager.apk
WAPPushManager.odex
WebRuntime-release-unsigned.apk
Windowshop.apk
YahooSync.apk
ZicoClient-release-unsigned.apk
air_runtime_dcts.apk
amazonmp3-unsigned.apk
com.amazon.dcp.apk
com.amazon.sso.apk
dtcp_apk.apk
wanpeek_1200010.apk
C:\KFFirstAide>adb shell su -c "/data/local/tmp/busybox mount -o remount,rw /system"
C:\KFFirstAide>adb push FaceLock.apk /system/app/FaceLock.apk
failed to copy 'FaceLock.apk' to '/system/app/FaceLock.apk': Permission denied
Last edited: