Custom Debloat of your rooted XA1 / fw G3121_40.0.A.6.135 - Sony Xperia XA1 Guides, News, & Discussion

Hi,
I've done this easy debloat batch script for experimenting with. It reads the file applist.txt and process all lines which does not start with #
Package(App) is disabled, then it's data removed and finaly the package directory deleted.
You need working adb shell (Flashtool) and rooted phone.
You need custom kernel flashed, so rw remount works. i am using kernel from xa1 ultra thread.
debloat_xa1.bat and applist.txt must be in the same directory. For example ...\Flashtool\x10flasher_lib\
debloat_xa1.bat
Code:
adb devices
timeout 4
adb shell su -c mount -o rw,remount /system
adb shell su -c mount -o rw,remount /oem
timeout 1
echo off
for /f "eol=#" %%f in (applist.txt) do (
set radek=%%f
call :work
)
goto :eof
:work
for /f "tokens=1,2 delims=^=" %%a in ("%radek%") do (
set cesta=%%a
rem disable package: %%b
adb shell su -c pm disable %%b
rem delete data/data package: %%b
adb shell su -c pm clear %%b
rem delete directory: %%a
call :mazudir
echo:
)
goto :eof
:mazudir
for /f "tokens=1,2,3 delims=/" %%j in ("%cesta%") do (
echo delete directory /%%j/%%k/%%l
adb shell su -c rm -rf "/%%j/%%k/%%l"
)
goto :eof
This is my hc debloat list - no google stuff, no play services, sony and other. I am using alternatives like f-droid/ k-9 mail/firefox/offline calendar so You probably want to edit it and enable stuff (add #)
This is bare working minimum. !!! Backup your system and data partitions first !!!
applist.txt
Code:
#------/system/priv-app/StatementService/StatementService.apk=com.android.statementservice
#------/system/vendor/app/AutoDialer/AutoDialer.apk=com.example
#------/system/vendor/app/ChromeCustomizations/ChromeCustomizations.apk=com.android.partnerbrowsercustomizations.chromeHomepage
#/system/app/ApplicationsProvider/ApplicationsProvider.apk=com.android.providers.applications
#/system/app/AptxNotifier/AptxNotifier.apk=com.sonymobile.aptx.notifier
#/system/app/BasicDreams/BasicDreams.apk=com.android.dreams.basic
#/system/app/Bluetooth/Bluetooth.apk=com.android.bluetooth
#/system/app/BluetoothMidiService/BluetoothMidiService.apk=com.android.bluetoothmidiservice
#/system/app/BookmarkProvider/BookmarkProvider.apk=com.android.bookmarkprovider
#/system/app/CameraAddonPermission/CameraAddonPermission.apk=com.sonymobile.camera.addon.permission
#/system/app/CameraCommonPermission/CameraCommonPermission.apk=com.sonymobile.cameracommon.permission
#/system/app/CameraExtensionPermission/CameraExtensionPermission.apk=com.sonyericsson.cameraextension.permission
#/system/app/CaptivePortalLogin/CaptivePortalLogin.apk=com.android.captiveportallogin
#/system/app/CertInstaller/CertInstaller.apk=com.android.certinstaller
#/system/app/ClockWidgets-release/ClockWidgets-release.apk=com.sonymobile.advancedwidget.clock
#/system/app/CoreSettings/CoreSettings.apk=com.sonymobile.coresettings
#/system/app/DeviceConfigTool/DeviceConfigTool.apk=com.sonymobile.deviceconfigtool
#/system/app/DownloadProviderUi/DownloadProviderUi.apk=com.android.providers.downloads.ui
#/system/app/ExactCalculator/ExactCalculator.apk=com.android.calculator2
#/system/app/FotaService/FotaService.apk=com.sonymobile.fota.service
#/system/app/GoogleExtShared/GoogleExtShared.apk=com.google.android.ext.shared
#/system/app/HTMLViewer/HTMLViewer.apk=com.android.htmlviewer
#/system/app/HeadphoneSelection/HeadphoneSelection.apk=com.sonymobile.headphoneselection
#/system/app/HotspotAdvancedSetting/HotspotAdvancedSetting.apk=com.sonyericsson.settings.wifi
#/system/app/IddPermissionApplicationCertificate/IddPermissionApplicationCertificate.apk=com.sonymobile.idd.permission.application_certificate
#/system/app/Iengine/Iengine.apk=com.sonymobile.intelligent.iengine
#/system/app/KeyChain/KeyChain.apk=com.android.keychain
#/system/app/LiveWallpapersPicker/LiveWallpapersPicker.apk=com.android.wallpaper.livepicker
#/system/app/LockscreenSettings-release/LockscreenSettings-release.apk=com.sonyericsson.lockscreen.uxpnxt
#/system/app/MusicFX/MusicFX.apk=com.android.musicfx
#/system/app/NfcNci/NfcNci.apk=com.android.nfc
#/system/app/OneTimePassLockScreenApp/OneTimePassLockScreenApp.apk=com.sonymobile.lockscreen.otp
#/system/app/PacProcessor/PacProcessor.apk=com.android.pacprocessor
#/system/app/PrintSpooler/PrintSpooler.apk=com.android.printspooler
#/system/app/ScdServiceJava/ScdServiceJava.apk=com.sony.scdservice
#/system/app/SecureClockService/SecureClockService.apk=com.sonymobile.secureclockservice
#/system/app/SemcAutoPowerOff/SemcAutoPowerOff.apk=com.sonyericsson.autopoweroffservice
#/system/app/SemcSettings/SemcSettings.apk=com.sonyericsson.settings
#/system/app/ServiceMenu/ServiceMenu.apk=com.compal.sony.servicemenu
#/system/app/SmartcardService/SmartcardService.apk=org.simalliance.openmobileapi.service
#/system/app/SomcSketch-live/SomcSketch-live.apk=com.sonymobile.sketch
#/system/app/SomcWifiDisplay/SomcWifiDisplay.apk=com.sonymobile.tvout.wifidisplay
#/system/app/SoundEnhancement/SoundEnhancement.apk=com.sonyericsson.soundenhancement
#/system/app/Theme009-sw320dp-xhdpi-release/Theme009-sw320dp-xhdpi-release.apk=com.sonymobile.themes.id009
#/system/app/Theme010-sw320dp-xhdpi-release/Theme010-sw320dp-xhdpi-release.apk=com.sonymobile.themes.id010
#/system/app/Theme011-sw320dp-xhdpi-release/Theme011-sw320dp-xhdpi-release.apk=com.sonymobile.themes.id011
#/system/app/Theme012-sw320dp-xhdpi-release/Theme012-sw320dp-xhdpi-release.apk=com.sonymobile.themes.id012
#/system/app/TopContactsWidget-release/TopContactsWidget-release.apk=com.sonymobile.advancedwidget.topcontacts
#/system/app/TouchFilterPackageSwitchService/TouchFilterPackageSwitchService.apk=com.sonymobile.touchscreen.touchfilter
#/system/app/TransmitPower/TransmitPower.apk=com.sonymobile.transmitpower
#/system/app/UiccTerminal/UiccTerminal.apk=org.simalliance.openmobileapi.uiccterminal
#/system/app/UnsupportedHeadsetNotifier/UnsupportedHeadsetNotifier.apk=com.sonyericsson.unsupportedheadsetnotifier
#/system/app/UserDictionaryProvider/UserDictionaryProvider.apk=com.android.providers.userdictionary
#/system/app/WAPPushManager/WAPPushManager.apk=com.android.smspush
#/system/app/WallpaperBackup/WallpaperBackup.apk=com.android.wallpaperbackup
#/system/app/WebViewGoogle/WebViewGoogle.apk=com.google.android.webview
#/system/app/XperiaXLiveWallpaper-release/XperiaXLiveWallpaper-release.apk=com.sonymobile.xperiaxlivewallpaper
#/system/app/ar-effect/ar-effect.apk=com.sonymobile.androidapp.cameraaddon.areffect
#/system/app/bootinfo/bootinfo.apk=com.sonyericsson.android.bootinfo
#/system/app/com.swiftkey.swiftkeyconfigurator/com.swiftkey.swiftkeyconfigurator.apk=com.swiftkey.swiftkeyconfigurator
#/system/app/com.touchtype.swiftkey/com.touchtype.swiftkey.apk=com.touchtype.swiftkey
#/system/app/device-monitor/device-monitor.apk=com.sonyericsson.devicemonitor
#/system/app/sim-detection-release/sim-detection-release.apk=com.sonyericsson.simdetection
#/system/app/skin-core-release/skin-core-release.apk=com.sonymobile.runtimeskinning.core
#/system/app/skin-picker-release/skin-picker-release.apk=com.sonymobile.runtimeskinning.picker
#/system/app/theme-xperialoops-release/theme-xperialoops-release.apk=com.sonymobile.themes.xperialoops
#/system/app/white-balance/white-balance.apk=com.sonymobile.whitebalance
#/system/framework/framework-res.apk=android
#/system/priv-app/ApnUpdater-release/ApnUpdater-release.apk=com.sonymobile.apnupdater
#/system/priv-app/ArtFilterCamera/ArtFilterCamera.apk=com.sonyericsson.android.addoncamera.artfilter
#/system/priv-app/BackupRestoreConfirmation/BackupRestoreConfirmation.apk=com.android.backupconfirm
#/system/priv-app/BatteryAge/BatteryAge.apk=com.cei.batage
#/system/priv-app/BlockedNumberProvider/BlockedNumberProvider.apk=com.android.providers.blockednumber
#/system/priv-app/CalendarProvider/CalendarProvider.apk=com.android.providers.calendar
#/system/priv-app/CallLogBackup/CallLogBackup.apk=com.android.calllogbackup
#/system/priv-app/CallWidgetFrameworkPermission/CallWidgetFrameworkPermission.apk=com.sonymobile.callwidgetframework.permission
#/system/priv-app/CameraCommon/CameraCommon.apk=com.sonymobile.cameracommon
#/system/priv-app/CameraPanorama-release/CameraPanorama-release.apk=com.sonyericsson.android.camera3d
#/system/priv-app/CameraWearableBridgeHandheldServer/CameraWearableBridgeHandheldServer.apk=com.sonymobile.cameracommon.wearablebridge
#/system/priv-app/CarrierConfig/CarrierConfig.apk=com.android.carrierconfig
#/system/priv-app/Contacts-release/Contacts-release.apk=com.sonymobile.android.contacts
#/system/priv-app/Conversations/Conversations.apk=com.sonyericsson.conversations
#/system/priv-app/CredentialManagerService/CredentialManagerService.apk=com.sonyericsson.credentialmanagerservice
#/system/priv-app/CustomizationSelector-universal-release/CustomizationSelector-universal-release.apk=com.sonymobile.customizationselector
#/system/priv-app/CustomizedSettings-release/CustomizedSettings-release.apk=com.sonyericsson.customizedsettings
#/system/priv-app/DefaultContainerService/DefaultContainerService.apk=com.android.defcontainer
#/system/priv-app/DeviceSecurityService/DeviceSecurityService.apk=com.sonymobile.devicesecurity.service
#/system/priv-app/Dialer-release/Dialer-release.apk=com.sonymobile.android.dialer
#/system/priv-app/DocumentsUI/DocumentsUI.apk=com.android.documentsui
#/system/priv-app/DownloadProvider/DownloadProvider.apk=com.android.providers.downloads
#/system/priv-app/EmergencyInfo-release/EmergencyInfo-release.apk=com.android.emergency
#/system/priv-app/EmergencySms/EmergencySms.apk=com.sonymobile.emergencysms
#/system/priv-app/EnterpriseService/EnterpriseService.apk=com.sonymobile.enterprise.service
#/system/priv-app/ExtendedBootLockService/ExtendedBootLockService.apk=com.sonymobile.extendedbootlock.service
#/system/priv-app/ExternalStorageProvider/ExternalStorageProvider.apk=com.android.externalstorage
#/system/priv-app/FMRadio/FMRadio.apk=com.mediatek.fmradio
#/system/priv-app/FMRadioFTM/FMRadioFTM.apk=com.cei.FMRadio
#/system/priv-app/FusedLocation/FusedLocation.apk=com.android.location.fused
#/system/priv-app/GSensorCalibration/GSensorCalibration.apk=com.mediatek.engineermode
#/system/priv-app/GoogleExtServices/GoogleExtServices.apk=com.google.android.ext.services
#/system/priv-app/GooglePackageInstaller/GooglePackageInstaller.apk=com.google.android.packageinstaller
#/system/priv-app/InputDevices/InputDevices.apk=com.android.inputdevices
#/system/priv-app/IntelligentBacklight/IntelligentBacklight.apk=com.sonymobile.intelligent.backlight
#/system/priv-app/MediaProvider/MediaProvider.apk=com.android.providers.media
#/system/priv-app/MmsService/MmsService.apk=com.android.mms.service
#/system/priv-app/MtpDocumentsProvider/MtpDocumentsProvider.apk=com.android.mtp
#/system/priv-app/ProxyHandler/ProxyHandler.apk=com.android.proxyhandler
#/system/priv-app/SEMCSetupWizard/SEMCSetupWizard.apk=com.sonyericsson.setupwizard
#/system/priv-app/SemcCameraUI/SemcCameraUI.apk=com.sonyericsson.android.camera
#/system/priv-app/SemcCnapProvider/SemcCnapProvider.apk=com.sonyericsson.providers.cnap
#/system/priv-app/SemcContactsProvider/SemcContactsProvider.apk=com.android.providers.contacts
#/system/priv-app/SemcPhotoEditor-photoeditor-release/SemcPhotoEditor-photoeditor-release.apk=com.sonyericsson.photoeditor
#/system/priv-app/SemcStorageChecker/SemcStorageChecker.apk=com.sonymobile.storagechecker
#/system/priv-app/SemcTelephonyProvider/SemcTelephonyProvider.apk=com.android.providers.telephony
#/system/priv-app/Settings/Settings.apk=com.android.settings
#/system/priv-app/SettingsProvider/SettingsProvider.apk=com.android.providers.settings
#/system/priv-app/SharedStorageBackup/SharedStorageBackup.apk=com.android.sharedstoragebackup
#/system/priv-app/Shell/Shell.apk=com.android.shell
#/system/priv-app/SimContacts/SimContacts.apk=com.android.sonymobile.simcontacts
#/system/priv-app/SimlockUnlockApp/SimlockUnlockApp.apk=com.sonymobile.simlockunlockapp
#/system/priv-app/SmartCleaner/SmartCleaner.apk=com.sonymobile.smartcleaner
#/system/priv-app/SomcExtTelephony/SomcExtTelephony.apk=com.sonymobile.telephony.extension
#/system/priv-app/SomcWifiService/SomcWifiService.apk=com.sonymobile.wifi
#/system/priv-app/SoundPhotoCamera/SoundPhotoCamera.apk=com.sonymobile.android.addoncamera.soundphoto
#/system/priv-app/Stk1/Stk1.apk=com.android.stk
#/system/priv-app/SuperStamina/SuperStamina.apk=com.sonymobile.superstamina
#/system/priv-app/SystemUI/SystemUI.apk=com.android.systemui
#/system/priv-app/Tag/Tag.apk=com.android.apps.tag
#/system/priv-app/TeleService/TeleService.apk=com.android.phone
#/system/priv-app/Telecom/Telecom.apk=com.android.server.telecom
#/system/priv-app/TetherEntitlementCheck/TetherEntitlementCheck.apk=com.sonyericsson.tetherentitlementcheck
#/system/priv-app/TimeShiftCamera/TimeShiftCamera.apk=com.sonymobile.android.addoncamera.timeshift
#/system/priv-app/USMHome/USMHome.apk=com.sonymobile.usm
#/system/priv-app/VpnDialogs/VpnDialogs.apk=com.android.vpndialogs
#/system/priv-app/WallpaperCropper/WallpaperCropper.apk=com.android.wallpapercropper
#/system/priv-app/WapPush/WapPush.apk=com.sonyericsson.wappush
#/system/priv-app/enhancedusbux/enhancedusbux.apk=com.sonyericsson.usbux
#/system/priv-app/sound-picker-release/sound-picker-release.apk=com.sonyericsson.suquashi.soundpicker
#/system/priv-app/usb-mtp-backup-transport/usb-mtp-backup-transport.apk=com.sonyericsson.mtp.extension.backuprestore
#/system/priv-app/usb-mtp-factoryreset-wrapper/usb-mtp-factoryreset-wrapper.apk=com.sonyericsson.mtp.extension.factoryreset
#/system/priv-app/usb-mtp-fotaupdate-wrapper/usb-mtp-fotaupdate-wrapper.apk=com.sonymobile.mtp.extension.fotaupdate
#/system/priv-app/usb-mtp-update-wrapper/usb-mtp-update-wrapper.apk=com.sonyericsson.mtp.extension.update
#/system/priv-app/usb-mtp-vendor-extension-service/usb-mtp-vendor-extension-service.apk=com.sonyericsson.mtp
#/system/vendor/app/BtTool/BtTool.apk=com.mediatek.bluetooth.dtt
#/system/vendor/app/Gba/Gba.apk=com.mediatek.gba
#/system/vendor/app/MDMLSample/MDMLSample.apk=com.mediatek.mdmlsample
#/system/vendor/app/MediatekDM/MediatekDM.apk=com.mediatek.mediatekdm
#/system/vendor/app/Omacp/Omacp.apk=com.mediatek.omacp
#/system/vendor/app/RootPA/RootPA.apk=com.gd.mobicore.pa
#/vendor/framework/mediatek-res/mediatek-res.apk=com.mediatek
#/vendor/priv-app/CDS_INFO/CDS_INFO.apk=com.mediatek.connectivity
#/vendor/priv-app/ImsService/ImsService.apk=com.mediatek.ims
#/vendor/priv-app/WfoService/WfoService.apk=com.mediatek.wfo.impl
/data/app/com.digitalturbine.ignite.deutschetelekom-1/base.apk=com.digitalturbine.ignite.deutschetelekom
/data/app/com.facebook.orca-1/base.apk=com.facebook.orca
/data/app/com.instagram.android-1/base.apk=com.instagram.android
/oem/priv-app/de.telekom.tsc/de.telekom.tsc.apk=de.telekom.tsc
/system/app/AnonymousData/AnonymousData.apk=com.sonymobile.anondata
/system/app/CalendarGoogle/CalendarGoogle.apk=com.google.android.calendar
/system/app/Chrome/Chrome.apk=com.android.chrome
/system/app/CrashMonitor/CrashMonitor.apk=com.sonyericsson.crashmonitor
/system/app/CrashMonitorSystem/CrashMonitorSystem.apk=com.sonymobile.crashmonitor.system
/system/app/CtsShimPrebuilt/CtsShimPrebuilt.apk=com.android.cts.ctsshim
/system/app/DemoAppChecker/DemoAppChecker.apk=com.sonymobile.demoappchecker
/system/app/Drive/Drive.apk=com.google.android.apps.docs
/system/app/Duo/Duo.apk=com.google.android.apps.tachyon
/system/app/EasterEgg/EasterEgg.apk=com.android.egg
/system/app/EditorsDocs/EditorsDocs.apk=com.google.android.apps.docs.editors.docs
/system/app/EditorsSheets/EditorsSheets.apk=com.google.android.apps.docs.editors.sheets
/system/app/EditorsSlides/EditorsSlides.apk=com.google.android.apps.docs.editors.slides
/system/app/Exchange2/Exchange2.apk=com.sonymobile.exchange
/system/app/FaceLock/FaceLock.apk=com.android.facelock
/system/app/GetMoreClient-standard-release/GetMoreClient-standard-release.apk=com.sonymobile.getmore.client
/system/app/Gmail2/Gmail2.apk=com.google.android.gm
/system/app/GmsSampleLayout/GmsSampleLayout.apk=com.google.android.launcher.layouts.gms
/system/app/GoogleContactsSyncAdapter/GoogleContactsSyncAdapter.apk=com.google.android.syncadapters.contacts
/system/app/GoogleLyricsPlugin/GoogleLyricsPlugin.apk=com.sonymobile.music.googlelyricsplugin
/system/app/GooglePrintRecommendationService/GooglePrintRecommendationService.apk=com.google.android.printservice.recommendation
/system/app/GoogleTTS/GoogleTTS.apk=com.google.android.tts
/system/app/GpaiConfig-release/GpaiConfig-release.apk=android.autoinstalls.config.sony.xperia
/system/app/IddAgent/IddAgent.apk=com.sonyericsson.idd.agent
/system/app/Maps/Maps.apk=com.google.android.apps.maps
/system/app/Music2/Music2.apk=com.google.android.music
/system/app/OmaDownload/OmaDownload.apk=com.sonyericsson.omadl
/system/app/PartnerBookmarksProvider/PartnerBookmarksProvider.apk=com.android.providers.partnerbookmarks
/system/app/Photos/Photos.apk=com.google.android.apps.photos
/system/app/RcaHandler/RcaHandler.apk=com.sonymobile.rcahandler
/system/app/RemoteControlService/RemoteControlService.apk=com.realvnc.android.remote
/system/app/SemcEmail/SemcEmail.apk=com.sonymobile.email
/system/app/SemcWarrantyTime/SemcWarrantyTime.apk=com.sonyericsson.warrantytime
/system/app/SomcMovieCreatorRmm-release/SomcMovieCreatorRmm-release.apk=com.sonymobile.moviecreator.rmm
/system/app/SomcXperiaServices/SomcXperiaServices.apk=com.sonymobile.xperiaservices
/system/app/SyncHub-release/SyncHub-release.apk=com.sonymobile.synchub
/system/app/Videos/Videos.apk=com.google.android.videos
/system/app/WikipediaPlugin/WikipediaPlugin.apk=com.sonymobile.music.wikipediaplugin
/system/app/WorldClockWidget-release/WorldClockWidget-release.apk=com.sonymobile.advancedwidget.worldclock
/system/app/XperiaTransferMobile-release/XperiaTransferMobile-release.apk=com.sonymobile.xperiatransfermobile
/system/app/YouTube/YouTube.apk=com.google.android.youtube
/system/app/YouTubeKaraokePlugin/YouTubeKaraokePlugin.apk=com.sonymobile.music.youtubekaraokeplugin
/system/app/YouTubePlugin/YouTubePlugin.apk=com.sonymobile.music.youtubeplugin
/system/app/com.amazon.mShop.android.shopping/com.amazon.mShop.android.shopping.apk=com.amazon.mShop.android.shopping
/system/app/com.facebook.appmanager/com.facebook.appmanager.apk=com.facebook.appmanager
/system/app/com.facebook.katana/com.facebook.katana.apk=com.facebook.katana
/system/app/com.s.antivirus/com.s.antivirus.apk=com.s.antivirus
/system/app/com.sonyericsson.xhs/com.sonyericsson.xhs.apk=com.sonyericsson.xhs
/system/app/com.sonymobile.infoapp/com.sonymobile.infoapp.apk=com.sonymobile.infoapp
/system/app/com.sonymobile.support/com.sonymobile.support.apk=com.sonymobile.support
/system/app/com.sonymobile.xperialounge.services/com.sonymobile.xperialounge.services.apk=com.sonymobile.xperialounge.services
/system/app/com.spotify.music/com.spotify.music.apk=com.spotify.music
/system/app/newssuite/newssuite.apk=com.sony.nfx.app.sfrc
/system/app/phone-usage/phone-usage.apk=com.sonymobile.phoneusage
/system/app/playstationapp/playstationapp.apk=com.scee.psxandroid
/system/app/talkback/talkback.apk=com.google.android.marvin.talkback
/system/app/textinput-chn/textinput-chn.apk=com.sonyericsson.textinput.chinese
/system/app/videoplaceholder/videoplaceholder.apk=com.sony.tvsideview.videoph
/system/app/videotvsideview/videotvsideview.apk=com.sony.tvsideview.phone
/system/app/weather-release/weather-release.apk=com.sonymobile.xperiaweather
/system/priv-app/ConfigUpdater/ConfigUpdater.apk=com.google.android.configupdater
/system/priv-app/CtsShimPrivPrebuilt/CtsShimPrivPrebuilt.apk=com.android.cts.priv.ctsshim
/system/priv-app/GetMore-standard-release/GetMore-standard-release.apk=com.sonymobile.getmore
/system/priv-app/GetSetClient-release/GetSetClient-release.apk=com.sonymobile.getset
/system/priv-app/GetSetSystem-release/GetSetSystem-release.apk=com.sonymobile.getset.priv
/system/priv-app/GmsCore/GmsCore.apk=com.google.android.gms
/system/priv-app/GoogleBackupTransport/GoogleBackupTransport.apk=com.google.android.backuptransport
/system/priv-app/GoogleFeedback/GoogleFeedback.apk=com.google.android.feedback
/system/priv-app/GoogleLoginService/GoogleLoginService.apk=com.google.android.gsf.login
/system/priv-app/GoogleOneTimeInitializer/GoogleOneTimeInitializer.apk=com.google.android.onetimeinitializer
/system/priv-app/GooglePartnerSetup/GooglePartnerSetup.apk=com.google.android.partnersetup
/system/priv-app/GoogleServicesFramework/GoogleServicesFramework.apk=com.google.android.gsf
/system/priv-app/KerberosService/KerberosService.apk=com.sonymobile.sso
/system/priv-app/ManagedProvisioning/ManagedProvisioning.apk=com.android.managedprovisioning
/system/priv-app/MyXperia-release/MyXperia-release.apk=com.sonymobile.mx.android
/system/priv-app/OMAClientProvisioning/OMAClientProvisioning.apk=com.sonyericsson.android.omacp
/system/priv-app/Phonesky/Phonesky.apk=com.android.vending
/system/priv-app/RcsVideoShare/RcsVideoShare.apk=com.sonymobile.rcsvideoprovider
/system/priv-app/SemcClock-release/SemcClock-release.apk=com.sonyericsson.organizer
/system/priv-app/SemcMusic/SemcMusic.apk=com.sonyericsson.music
/system/priv-app/SetupWizard/SetupWizard.apk=com.google.android.setupwizard
/system/priv-app/SomcMovieCreator-release/SomcMovieCreator-release.apk=com.sonymobile.moviecreator
/system/priv-app/StartupFlagV2/StartupFlagV2.apk=com.sonyericsson.startupflagservice
/system/priv-app/UpdateCenter-release/UpdateCenter-release.apk=com.sonyericsson.updatecenter
/system/priv-app/Velvet/Velvet.apk=com.google.android.googlequicksearchbox
/system/priv-app/album-albumLive-release/album-albumLive-release.apk=com.sonyericsson.album
/system/priv-app/com.facebook.system/com.facebook.system.apk=com.facebook.system
/system/priv-app/com.sonymobile.retaildemo/com.sonymobile.retaildemo.apk=com.sonymobile.retaildemo
/system/priv-app/rcs-core/rcs-core.apk=com.gsma.rcs
/system/priv-app/rcs-settings/rcs-settings.apk=com.sonymobile.rcs.settings
/system/priv-app/rcs-startup/rcs-startup.apk=com.sonymobile.rcs.startup
/system/priv-app/somc-get-to-know-it-release/somc-get-to-know-it-release.apk=com.sonymobile.gettoknowit
/system/priv-app/sonyentrance2-release/sonyentrance2-release.apk=com.sonymobile.entrance
#/system/priv-app/home-sonyMobile-release/home-sonyMobile-release.apk=com.sonymobile.home

Maybe bit off topic
megaice said:
Hi,
I've done this easy debloat batch script for experimenting with. It reads the file applist.txt and process all lines which does not start with #
Package(App) is disabled, then it's data removed and finaly the package directory deleted.
You need working adb shell (Flashtool) and rooted phone.
You need custom kernel flashed, so rw remount works. i am using kernel from xa1 ultra thread.
debloat_xa1.bat and applist.txt must be in the same directory. For example ...\Flashtool\x10flasher_lib\
debloat_xa1.bat
Code:
adb devices
timeout 4
adb shell su -c mount -o rw,remount /system
adb shell su -c mount -o rw,remount /oem
timeout 1
echo off
for /f "eol=#" %%f in (applist.txt) do (
set radek=%%f
call :work
)
goto :eof
:work
for /f "tokens=1,2 delims=^=" %%a in ("%radek%") do (
set cesta=%%a
rem disable package: %%b
adb shell su -c pm disable %%b
rem delete data/data package: %%b
adb shell su -c pm clear %%b
rem delete directory: %%a
call :mazudir
echo:
)
goto :eof
:mazudir
for /f "tokens=1,2,3 delims=/" %%j in ("%cesta%") do (
echo delete directory /%%j/%%k/%%l
adb shell su -c rm -rf "/%%j/%%k/%%l"
)
goto :eof
This is my hc debloat list - no google stuff, no play services, sony and other. I am using alternatives like f-droid/ k-9 mail/firefox/offline calendar so You probably want to edit it and enable stuff (add #)
This is bare working minimum. !!! Backup your system and data partitions first !!!
applist.txt
Code:
#------/system/priv-app/StatementService/StatementService.apk=com.android.statementservice
#------/system/vendor/app/AutoDialer/AutoDialer.apk=com.example
#------/system/vendor/app/ChromeCustomizations/ChromeCustomizations.apk=com.android.partnerbrowsercustomizations.chromeHomepage
#/system/app/ApplicationsProvider/ApplicationsProvider.apk=com.android.providers.applications
#/system/app/AptxNotifier/AptxNotifier.apk=com.sonymobile.aptx.notifier
#/system/app/BasicDreams/BasicDreams.apk=com.android.dreams.basic
#/system/app/Bluetooth/Bluetooth.apk=com.android.bluetooth
#/system/app/BluetoothMidiService/BluetoothMidiService.apk=com.android.bluetoothmidiservice
#/system/app/BookmarkProvider/BookmarkProvider.apk=com.android.bookmarkprovider
#/system/app/CameraAddonPermission/CameraAddonPermission.apk=com.sonymobile.camera.addon.permission
#/system/app/CameraCommonPermission/CameraCommonPermission.apk=com.sonymobile.cameracommon.permission
#/system/app/CameraExtensionPermission/CameraExtensionPermission.apk=com.sonyericsson.cameraextension.permission
#/system/app/CaptivePortalLogin/CaptivePortalLogin.apk=com.android.captiveportallogin
#/system/app/CertInstaller/CertInstaller.apk=com.android.certinstaller
#/system/app/ClockWidgets-release/ClockWidgets-release.apk=com.sonymobile.advancedwidget.clock
#/system/app/CoreSettings/CoreSettings.apk=com.sonymobile.coresettings
#/system/app/DeviceConfigTool/DeviceConfigTool.apk=com.sonymobile.deviceconfigtool
#/system/app/DownloadProviderUi/DownloadProviderUi.apk=com.android.providers.downloads.ui
#/system/app/ExactCalculator/ExactCalculator.apk=com.android.calculator2
#/system/app/FotaService/FotaService.apk=com.sonymobile.fota.service
#/system/app/GoogleExtShared/GoogleExtShared.apk=com.google.android.ext.shared
#/system/app/HTMLViewer/HTMLViewer.apk=com.android.htmlviewer
#/system/app/HeadphoneSelection/HeadphoneSelection.apk=com.sonymobile.headphoneselection
#/system/app/HotspotAdvancedSetting/HotspotAdvancedSetting.apk=com.sonyericsson.settings.wifi
#/system/app/IddPermissionApplicationCertificate/IddPermissionApplicationCertificate.apk=com.sonymobile.idd.permission.application_certificate
#/system/app/Iengine/Iengine.apk=com.sonymobile.intelligent.iengine
#/system/app/KeyChain/KeyChain.apk=com.android.keychain
#/system/app/LiveWallpapersPicker/LiveWallpapersPicker.apk=com.android.wallpaper.livepicker
#/system/app/LockscreenSettings-release/LockscreenSettings-release.apk=com.sonyericsson.lockscreen.uxpnxt
#/system/app/MusicFX/MusicFX.apk=com.android.musicfx
#/system/app/NfcNci/NfcNci.apk=com.android.nfc
#/system/app/OneTimePassLockScreenApp/OneTimePassLockScreenApp.apk=com.sonymobile.lockscreen.otp
#/system/app/PacProcessor/PacProcessor.apk=com.android.pacprocessor
#/system/app/PrintSpooler/PrintSpooler.apk=com.android.printspooler
#/system/app/ScdServiceJava/ScdServiceJava.apk=com.sony.scdservice
#/system/app/SecureClockService/SecureClockService.apk=com.sonymobile.secureclockservice
#/system/app/SemcAutoPowerOff/SemcAutoPowerOff.apk=com.sonyericsson.autopoweroffservice
#/system/app/SemcSettings/SemcSettings.apk=com.sonyericsson.settings
#/system/app/ServiceMenu/ServiceMenu.apk=com.compal.sony.servicemenu
#/system/app/SmartcardService/SmartcardService.apk=org.simalliance.openmobileapi.service
#/system/app/SomcSketch-live/SomcSketch-live.apk=com.sonymobile.sketch
#/system/app/SomcWifiDisplay/SomcWifiDisplay.apk=com.sonymobile.tvout.wifidisplay
#/system/app/SoundEnhancement/SoundEnhancement.apk=com.sonyericsson.soundenhancement
#/system/app/Theme009-sw320dp-xhdpi-release/Theme009-sw320dp-xhdpi-release.apk=com.sonymobile.themes.id009
#/system/app/Theme010-sw320dp-xhdpi-release/Theme010-sw320dp-xhdpi-release.apk=com.sonymobile.themes.id010
#/system/app/Theme011-sw320dp-xhdpi-release/Theme011-sw320dp-xhdpi-release.apk=com.sonymobile.themes.id011
#/system/app/Theme012-sw320dp-xhdpi-release/Theme012-sw320dp-xhdpi-release.apk=com.sonymobile.themes.id012
#/system/app/TopContactsWidget-release/TopContactsWidget-release.apk=com.sonymobile.advancedwidget.topcontacts
#/system/app/TouchFilterPackageSwitchService/TouchFilterPackageSwitchService.apk=com.sonymobile.touchscreen.touchfilter
#/system/app/TransmitPower/TransmitPower.apk=com.sonymobile.transmitpower
#/system/app/UiccTerminal/UiccTerminal.apk=org.simalliance.openmobileapi.uiccterminal
#/system/app/UnsupportedHeadsetNotifier/UnsupportedHeadsetNotifier.apk=com.sonyericsson.unsupportedheadsetnotifier
#/system/app/UserDictionaryProvider/UserDictionaryProvider.apk=com.android.providers.userdictionary
#/system/app/WAPPushManager/WAPPushManager.apk=com.android.smspush
#/system/app/WallpaperBackup/WallpaperBackup.apk=com.android.wallpaperbackup
#/system/app/WebViewGoogle/WebViewGoogle.apk=com.google.android.webview
#/system/app/XperiaXLiveWallpaper-release/XperiaXLiveWallpaper-release.apk=com.sonymobile.xperiaxlivewallpaper
#/system/app/ar-effect/ar-effect.apk=com.sonymobile.androidapp.cameraaddon.areffect
#/system/app/bootinfo/bootinfo.apk=com.sonyericsson.android.bootinfo
#/system/app/com.swiftkey.swiftkeyconfigurator/com.swiftkey.swiftkeyconfigurator.apk=com.swiftkey.swiftkeyconfigurator
#/system/app/com.touchtype.swiftkey/com.touchtype.swiftkey.apk=com.touchtype.swiftkey
#/system/app/device-monitor/device-monitor.apk=com.sonyericsson.devicemonitor
#/system/app/sim-detection-release/sim-detection-release.apk=com.sonyericsson.simdetection
#/system/app/skin-core-release/skin-core-release.apk=com.sonymobile.runtimeskinning.core
#/system/app/skin-picker-release/skin-picker-release.apk=com.sonymobile.runtimeskinning.picker
#/system/app/theme-xperialoops-release/theme-xperialoops-release.apk=com.sonymobile.themes.xperialoops
#/system/app/white-balance/white-balance.apk=com.sonymobile.whitebalance
#/system/framework/framework-res.apk=android
#/system/priv-app/ApnUpdater-release/ApnUpdater-release.apk=com.sonymobile.apnupdater
#/system/priv-app/ArtFilterCamera/ArtFilterCamera.apk=com.sonyericsson.android.addoncamera.artfilter
#/system/priv-app/BackupRestoreConfirmation/BackupRestoreConfirmation.apk=com.android.backupconfirm
#/system/priv-app/BatteryAge/BatteryAge.apk=com.cei.batage
#/system/priv-app/BlockedNumberProvider/BlockedNumberProvider.apk=com.android.providers.blockednumber
#/system/priv-app/CalendarProvider/CalendarProvider.apk=com.android.providers.calendar
#/system/priv-app/CallLogBackup/CallLogBackup.apk=com.android.calllogbackup
#/system/priv-app/CallWidgetFrameworkPermission/CallWidgetFrameworkPermission.apk=com.sonymobile.callwidgetframework.permission
#/system/priv-app/CameraCommon/CameraCommon.apk=com.sonymobile.cameracommon
#/system/priv-app/CameraPanorama-release/CameraPanorama-release.apk=com.sonyericsson.android.camera3d
#/system/priv-app/CameraWearableBridgeHandheldServer/CameraWearableBridgeHandheldServer.apk=com.sonymobile.cameracommon.wearablebridge
#/system/priv-app/CarrierConfig/CarrierConfig.apk=com.android.carrierconfig
#/system/priv-app/Contacts-release/Contacts-release.apk=com.sonymobile.android.contacts
#/system/priv-app/Conversations/Conversations.apk=com.sonyericsson.conversations
#/system/priv-app/CredentialManagerService/CredentialManagerService.apk=com.sonyericsson.credentialmanagerservice
#/system/priv-app/CustomizationSelector-universal-release/CustomizationSelector-universal-release.apk=com.sonymobile.customizationselector
#/system/priv-app/CustomizedSettings-release/CustomizedSettings-release.apk=com.sonyericsson.customizedsettings
#/system/priv-app/DefaultContainerService/DefaultContainerService.apk=com.android.defcontainer
#/system/priv-app/DeviceSecurityService/DeviceSecurityService.apk=com.sonymobile.devicesecurity.service
#/system/priv-app/Dialer-release/Dialer-release.apk=com.sonymobile.android.dialer
#/system/priv-app/DocumentsUI/DocumentsUI.apk=com.android.documentsui
#/system/priv-app/DownloadProvider/DownloadProvider.apk=com.android.providers.downloads
#/system/priv-app/EmergencyInfo-release/EmergencyInfo-release.apk=com.android.emergency
#/system/priv-app/EmergencySms/EmergencySms.apk=com.sonymobile.emergencysms
#/system/priv-app/EnterpriseService/EnterpriseService.apk=com.sonymobile.enterprise.service
#/system/priv-app/ExtendedBootLockService/ExtendedBootLockService.apk=com.sonymobile.extendedbootlock.service
#/system/priv-app/ExternalStorageProvider/ExternalStorageProvider.apk=com.android.externalstorage
#/system/priv-app/FMRadio/FMRadio.apk=com.mediatek.fmradio
#/system/priv-app/FMRadioFTM/FMRadioFTM.apk=com.cei.FMRadio
#/system/priv-app/FusedLocation/FusedLocation.apk=com.android.location.fused
#/system/priv-app/GSensorCalibration/GSensorCalibration.apk=com.mediatek.engineermode
#/system/priv-app/GoogleExtServices/GoogleExtServices.apk=com.google.android.ext.services
#/system/priv-app/GooglePackageInstaller/GooglePackageInstaller.apk=com.google.android.packageinstaller
#/system/priv-app/InputDevices/InputDevices.apk=com.android.inputdevices
#/system/priv-app/IntelligentBacklight/IntelligentBacklight.apk=com.sonymobile.intelligent.backlight
#/system/priv-app/MediaProvider/MediaProvider.apk=com.android.providers.media
#/system/priv-app/MmsService/MmsService.apk=com.android.mms.service
#/system/priv-app/MtpDocumentsProvider/MtpDocumentsProvider.apk=com.android.mtp
#/system/priv-app/ProxyHandler/ProxyHandler.apk=com.android.proxyhandler
#/system/priv-app/SEMCSetupWizard/SEMCSetupWizard.apk=com.sonyericsson.setupwizard
#/system/priv-app/SemcCameraUI/SemcCameraUI.apk=com.sonyericsson.android.camera
#/system/priv-app/SemcCnapProvider/SemcCnapProvider.apk=com.sonyericsson.providers.cnap
#/system/priv-app/SemcContactsProvider/SemcContactsProvider.apk=com.android.providers.contacts
#/system/priv-app/SemcPhotoEditor-photoeditor-release/SemcPhotoEditor-photoeditor-release.apk=com.sonyericsson.photoeditor
#/system/priv-app/SemcStorageChecker/SemcStorageChecker.apk=com.sonymobile.storagechecker
#/system/priv-app/SemcTelephonyProvider/SemcTelephonyProvider.apk=com.android.providers.telephony
#/system/priv-app/Settings/Settings.apk=com.android.settings
#/system/priv-app/SettingsProvider/SettingsProvider.apk=com.android.providers.settings
#/system/priv-app/SharedStorageBackup/SharedStorageBackup.apk=com.android.sharedstoragebackup
#/system/priv-app/Shell/Shell.apk=com.android.shell
#/system/priv-app/SimContacts/SimContacts.apk=com.android.sonymobile.simcontacts
#/system/priv-app/SimlockUnlockApp/SimlockUnlockApp.apk=com.sonymobile.simlockunlockapp
#/system/priv-app/SmartCleaner/SmartCleaner.apk=com.sonymobile.smartcleaner
#/system/priv-app/SomcExtTelephony/SomcExtTelephony.apk=com.sonymobile.telephony.extension
#/system/priv-app/SomcWifiService/SomcWifiService.apk=com.sonymobile.wifi
#/system/priv-app/SoundPhotoCamera/SoundPhotoCamera.apk=com.sonymobile.android.addoncamera.soundphoto
#/system/priv-app/Stk1/Stk1.apk=com.android.stk
#/system/priv-app/SuperStamina/SuperStamina.apk=com.sonymobile.superstamina
#/system/priv-app/SystemUI/SystemUI.apk=com.android.systemui
#/system/priv-app/Tag/Tag.apk=com.android.apps.tag
#/system/priv-app/TeleService/TeleService.apk=com.android.phone
#/system/priv-app/Telecom/Telecom.apk=com.android.server.telecom
#/system/priv-app/TetherEntitlementCheck/TetherEntitlementCheck.apk=com.sonyericsson.tetherentitlementcheck
#/system/priv-app/TimeShiftCamera/TimeShiftCamera.apk=com.sonymobile.android.addoncamera.timeshift
#/system/priv-app/USMHome/USMHome.apk=com.sonymobile.usm
#/system/priv-app/VpnDialogs/VpnDialogs.apk=com.android.vpndialogs
#/system/priv-app/WallpaperCropper/WallpaperCropper.apk=com.android.wallpapercropper
#/system/priv-app/WapPush/WapPush.apk=com.sonyericsson.wappush
#/system/priv-app/enhancedusbux/enhancedusbux.apk=com.sonyericsson.usbux
#/system/priv-app/sound-picker-release/sound-picker-release.apk=com.sonyericsson.suquashi.soundpicker
#/system/priv-app/usb-mtp-backup-transport/usb-mtp-backup-transport.apk=com.sonyericsson.mtp.extension.backuprestore
#/system/priv-app/usb-mtp-factoryreset-wrapper/usb-mtp-factoryreset-wrapper.apk=com.sonyericsson.mtp.extension.factoryreset
#/system/priv-app/usb-mtp-fotaupdate-wrapper/usb-mtp-fotaupdate-wrapper.apk=com.sonymobile.mtp.extension.fotaupdate
#/system/priv-app/usb-mtp-update-wrapper/usb-mtp-update-wrapper.apk=com.sonyericsson.mtp.extension.update
#/system/priv-app/usb-mtp-vendor-extension-service/usb-mtp-vendor-extension-service.apk=com.sonyericsson.mtp
#/system/vendor/app/BtTool/BtTool.apk=com.mediatek.bluetooth.dtt
#/system/vendor/app/Gba/Gba.apk=com.mediatek.gba
#/system/vendor/app/MDMLSample/MDMLSample.apk=com.mediatek.mdmlsample
#/system/vendor/app/MediatekDM/MediatekDM.apk=com.mediatek.mediatekdm
#/system/vendor/app/Omacp/Omacp.apk=com.mediatek.omacp
#/system/vendor/app/RootPA/RootPA.apk=com.gd.mobicore.pa
#/vendor/framework/mediatek-res/mediatek-res.apk=com.mediatek
#/vendor/priv-app/CDS_INFO/CDS_INFO.apk=com.mediatek.connectivity
#/vendor/priv-app/ImsService/ImsService.apk=com.mediatek.ims
#/vendor/priv-app/WfoService/WfoService.apk=com.mediatek.wfo.impl
/data/app/com.digitalturbine.ignite.deutschetelekom-1/base.apk=com.digitalturbine.ignite.deutschetelekom
/data/app/com.facebook.orca-1/base.apk=com.facebook.orca
/data/app/com.instagram.android-1/base.apk=com.instagram.android
/oem/priv-app/de.telekom.tsc/de.telekom.tsc.apk=de.telekom.tsc
/system/app/AnonymousData/AnonymousData.apk=com.sonymobile.anondata
/system/app/CalendarGoogle/CalendarGoogle.apk=com.google.android.calendar
/system/app/Chrome/Chrome.apk=com.android.chrome
/system/app/CrashMonitor/CrashMonitor.apk=com.sonyericsson.crashmonitor
/system/app/CrashMonitorSystem/CrashMonitorSystem.apk=com.sonymobile.crashmonitor.system
/system/app/CtsShimPrebuilt/CtsShimPrebuilt.apk=com.android.cts.ctsshim
/system/app/DemoAppChecker/DemoAppChecker.apk=com.sonymobile.demoappchecker
/system/app/Drive/Drive.apk=com.google.android.apps.docs
/system/app/Duo/Duo.apk=com.google.android.apps.tachyon
/system/app/EasterEgg/EasterEgg.apk=com.android.egg
/system/app/EditorsDocs/EditorsDocs.apk=com.google.android.apps.docs.editors.docs
/system/app/EditorsSheets/EditorsSheets.apk=com.google.android.apps.docs.editors.sheets
/system/app/EditorsSlides/EditorsSlides.apk=com.google.android.apps.docs.editors.slides
/system/app/Exchange2/Exchange2.apk=com.sonymobile.exchange
/system/app/FaceLock/FaceLock.apk=com.android.facelock
/system/app/GetMoreClient-standard-release/GetMoreClient-standard-release.apk=com.sonymobile.getmore.client
/system/app/Gmail2/Gmail2.apk=com.google.android.gm
/system/app/GmsSampleLayout/GmsSampleLayout.apk=com.google.android.launcher.layouts.gms
/system/app/GoogleContactsSyncAdapter/GoogleContactsSyncAdapter.apk=com.google.android.syncadapters.contacts
/system/app/GoogleLyricsPlugin/GoogleLyricsPlugin.apk=com.sonymobile.music.googlelyricsplugin
/system/app/GooglePrintRecommendationService/GooglePrintRecommendationService.apk=com.google.android.printservice.recommendation
/system/app/GoogleTTS/GoogleTTS.apk=com.google.android.tts
/system/app/GpaiConfig-release/GpaiConfig-release.apk=android.autoinstalls.config.sony.xperia
/system/app/IddAgent/IddAgent.apk=com.sonyericsson.idd.agent
/system/app/Maps/Maps.apk=com.google.android.apps.maps
/system/app/Music2/Music2.apk=com.google.android.music
/system/app/OmaDownload/OmaDownload.apk=com.sonyericsson.omadl
/system/app/PartnerBookmarksProvider/PartnerBookmarksProvider.apk=com.android.providers.partnerbookmarks
/system/app/Photos/Photos.apk=com.google.android.apps.photos
/system/app/RcaHandler/RcaHandler.apk=com.sonymobile.rcahandler
/system/app/RemoteControlService/RemoteControlService.apk=com.realvnc.android.remote
/system/app/SemcEmail/SemcEmail.apk=com.sonymobile.email
/system/app/SemcWarrantyTime/SemcWarrantyTime.apk=com.sonyericsson.warrantytime
/system/app/SomcMovieCreatorRmm-release/SomcMovieCreatorRmm-release.apk=com.sonymobile.moviecreator.rmm
/system/app/SomcXperiaServices/SomcXperiaServices.apk=com.sonymobile.xperiaservices
/system/app/SyncHub-release/SyncHub-release.apk=com.sonymobile.synchub
/system/app/Videos/Videos.apk=com.google.android.videos
/system/app/WikipediaPlugin/WikipediaPlugin.apk=com.sonymobile.music.wikipediaplugin
/system/app/WorldClockWidget-release/WorldClockWidget-release.apk=com.sonymobile.advancedwidget.worldclock
/system/app/XperiaTransferMobile-release/XperiaTransferMobile-release.apk=com.sonymobile.xperiatransfermobile
/system/app/YouTube/YouTube.apk=com.google.android.youtube
/system/app/YouTubeKaraokePlugin/YouTubeKaraokePlugin.apk=com.sonymobile.music.youtubekaraokeplugin
/system/app/YouTubePlugin/YouTubePlugin.apk=com.sonymobile.music.youtubeplugin
/system/app/com.amazon.mShop.android.shopping/com.amazon.mShop.android.shopping.apk=com.amazon.mShop.android.shopping
/system/app/com.facebook.appmanager/com.facebook.appmanager.apk=com.facebook.appmanager
/system/app/com.facebook.katana/com.facebook.katana.apk=com.facebook.katana
/system/app/com.s.antivirus/com.s.antivirus.apk=com.s.antivirus
/system/app/com.sonyericsson.xhs/com.sonyericsson.xhs.apk=com.sonyericsson.xhs
/system/app/com.sonymobile.infoapp/com.sonymobile.infoapp.apk=com.sonymobile.infoapp
/system/app/com.sonymobile.support/com.sonymobile.support.apk=com.sonymobile.support
/system/app/com.sonymobile.xperialounge.services/com.sonymobile.xperialounge.services.apk=com.sonymobile.xperialounge.services
/system/app/com.spotify.music/com.spotify.music.apk=com.spotify.music
/system/app/newssuite/newssuite.apk=com.sony.nfx.app.sfrc
/system/app/phone-usage/phone-usage.apk=com.sonymobile.phoneusage
/system/app/playstationapp/playstationapp.apk=com.scee.psxandroid
/system/app/talkback/talkback.apk=com.google.android.marvin.talkback
/system/app/textinput-chn/textinput-chn.apk=com.sonyericsson.textinput.chinese
/system/app/videoplaceholder/videoplaceholder.apk=com.sony.tvsideview.videoph
/system/app/videotvsideview/videotvsideview.apk=com.sony.tvsideview.phone
/system/app/weather-release/weather-release.apk=com.sonymobile.xperiaweather
/system/priv-app/ConfigUpdater/ConfigUpdater.apk=com.google.android.configupdater
/system/priv-app/CtsShimPrivPrebuilt/CtsShimPrivPrebuilt.apk=com.android.cts.priv.ctsshim
/system/priv-app/GetMore-standard-release/GetMore-standard-release.apk=com.sonymobile.getmore
/system/priv-app/GetSetClient-release/GetSetClient-release.apk=com.sonymobile.getset
/system/priv-app/GetSetSystem-release/GetSetSystem-release.apk=com.sonymobile.getset.priv
/system/priv-app/GmsCore/GmsCore.apk=com.google.android.gms
/system/priv-app/GoogleBackupTransport/GoogleBackupTransport.apk=com.google.android.backuptransport
/system/priv-app/GoogleFeedback/GoogleFeedback.apk=com.google.android.feedback
/system/priv-app/GoogleLoginService/GoogleLoginService.apk=com.google.android.gsf.login
/system/priv-app/GoogleOneTimeInitializer/GoogleOneTimeInitializer.apk=com.google.android.onetimeinitializer
/system/priv-app/GooglePartnerSetup/GooglePartnerSetup.apk=com.google.android.partnersetup
/system/priv-app/GoogleServicesFramework/GoogleServicesFramework.apk=com.google.android.gsf
/system/priv-app/KerberosService/KerberosService.apk=com.sonymobile.sso
/system/priv-app/ManagedProvisioning/ManagedProvisioning.apk=com.android.managedprovisioning
/system/priv-app/MyXperia-release/MyXperia-release.apk=com.sonymobile.mx.android
/system/priv-app/OMAClientProvisioning/OMAClientProvisioning.apk=com.sonyericsson.android.omacp
/system/priv-app/Phonesky/Phonesky.apk=com.android.vending
/system/priv-app/RcsVideoShare/RcsVideoShare.apk=com.sonymobile.rcsvideoprovider
/system/priv-app/SemcClock-release/SemcClock-release.apk=com.sonyericsson.organizer
/system/priv-app/SemcMusic/SemcMusic.apk=com.sonyericsson.music
/system/priv-app/SetupWizard/SetupWizard.apk=com.google.android.setupwizard
/system/priv-app/SomcMovieCreator-release/SomcMovieCreator-release.apk=com.sonymobile.moviecreator
/system/priv-app/StartupFlagV2/StartupFlagV2.apk=com.sonyericsson.startupflagservice
/system/priv-app/UpdateCenter-release/UpdateCenter-release.apk=com.sonyericsson.updatecenter
/system/priv-app/Velvet/Velvet.apk=com.google.android.googlequicksearchbox
/system/priv-app/album-albumLive-release/album-albumLive-release.apk=com.sonyericsson.album
/system/priv-app/com.facebook.system/com.facebook.system.apk=com.facebook.system
/system/priv-app/com.sonymobile.retaildemo/com.sonymobile.retaildemo.apk=com.sonymobile.retaildemo
/system/priv-app/rcs-core/rcs-core.apk=com.gsma.rcs
/system/priv-app/rcs-settings/rcs-settings.apk=com.sonymobile.rcs.settings
/system/priv-app/rcs-startup/rcs-startup.apk=com.sonymobile.rcs.startup
/system/priv-app/somc-get-to-know-it-release/somc-get-to-know-it-release.apk=com.sonymobile.gettoknowit
/system/priv-app/sonyentrance2-release/sonyentrance2-release.apk=com.sonymobile.entrance
#/system/priv-app/home-sonyMobile-release/home-sonyMobile-release.apk=com.sonymobile.home
Click to expand...
Click to collapse
Hii there
I am asking anyone who has some more knowledge than the average..
I have the XA1 Ultra and it is SIM locked AND bootloader unlock allowed NO
Is there any way you could know of unlocking the bootloader??
Have already tried with fastboot it gives me after the command ''not allowed''
Can I in any way make it change to bootloader unlock yes
Even if I do this
I would pay to get it sim unlocked and then I would ask the sony center to flash me
the factory firmware wich is debloated ... I would ask that from sony in a way that I do not
want this system form this provider with all that apps from that provider
And since I would go the way to unlock the sim and pay for that I would loose the warranty and
sony would be able to do it.. otherwise if it is locked to provider and under warranty thay do not
want me to do it even if I pay them couse thay want it form my provider to allow that operation
But my provider will do it after the 2 years warranty..
So.. again.. could it be unlocked in any possible way from bootloader no to yes..
And again if not.. could it be the solution if I ask sony to give me stock sony firmware
not the one from my provider.. could this change the hole sistem and then change the bootloader to yes unlock??
If you know anything please help I will try it

Related

A little guidance please (delete permissions, etc.)

(Sorry for not posting actual links - the system won't let me because I'm still a "new user.")
I already rooted my Sprint Hero using this (thread 583291) guide and can successfully tether using the WiFi Tether app. Yay!
Now I want to delete and/or replace the boot up sound (boot.mp3 located in /system/media/bootscreen) When I try to delete it right now (either through adb shell on my computer or from within a file manager app on the phone itself) I get permission denied or "read-only file system."
I see two threads regarding busybox, superuser, and adb remount. Thread 591303 which is dated 11/28/09 and is just for busybox and Thread 593952 which is dated 12/03/09.
I'm not sure which of these two I need to install. If it's the latter which includes ADB remount and superuser as well as busybox, then I'm not sure if I am supposed to unzip them before pushing them to my phone.
Could anyone point me in the right direction based on what I want to do (delete files on my phone - ANY file I want)?
Thanks in advance for any help you can offer.
All you should need to do is:
Code:
adb remount
rm /insert file path/file
So yours would be
Code:
rm /system/media/bootscreen/boot.mp3
Mr. Biggz said:
All you should need to do is:
Code:
adb remount
rm /insert file path/file
So yours would be
Code:
rm /system/media/bootscreen/boot.mp3
Click to expand...
Click to collapse
will rm work without busybox?
As long as you can shell into the phone it should work. The rm command is to be run inside the shell.
So it actually should be
Code:
adb remount
adb shell
rm /system/media/bootscreen/boot.mp3
You want to install the busybox remount and superuser Rom if you want to run stock.
Or manually install busybox, superuser whitelist and adb remount
Biggz - looks like they are on stock. No adb remount.
gbhil said:
Biggz - looks like they are on stock. No adb remount.
Click to expand...
Click to collapse
Unfortunate, custom is so much better.
If you are on stock, do this:
Code:
adb shell
mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
mv /system/media/bootscreen/boot.mp3 /system/media/bootscreen/boot.mp3.old
exit
[you can also do rm /system/media/bootscreen/boot.mp3 instead]
gbhil said:
You want to install the busybox remount and superuser Rom if you want to run stock.
Or manually install busybox, superuser whitelist and adb remount
Biggz - looks like they are on stock. No adb remount.
Click to expand...
Click to collapse
successfully removed (rm) the boot.mp3 in the shell - Thank you for that. I do want to replace it with a different one (I'll use the same file name since the .xml file still refers to it) so I'll need the cp command and I've noticed that it's missing in shell. I'm assuming I need to install busybox to get this functionality. I'm not really sure I want to install a complete new ROM and I don't mind manually installing busybox, adb remount, etc. What does installing "superuser whitelist" and "adb remount" allow me to do? I'm not sure what their potential uses are?
I installed busybox and have the cp command functionality now (see above post) but now when I try to copy anything to the /system/media/bootscreen folder I get "cp: cannot create '/system/media/bootscreen/boot.mp3': Permission denied"
I type "mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system" after getting into shell and typing "su" and getting the "#" prompt and it takes successfully (this is the only way I was able to actually "rm" the original boot.mp3 file to begin with.
See anything I'm doing wrong?
Nope, that is correct.
/system is normally mounted as read-only, so you can't add or delete anything. The mount command remounts it as read-write, so you can modify it as root.
armyturtle said:
<snip> I'm not really sure I want to install a complete new ROM and I don't mind manually installing busybox, adb remount, etc. What does installing "superuser whitelist" and "adb remount" allow me to do? I'm not sure what their potential uses are?
Click to expand...
Click to collapse
Superuser whitelist is an application that warns you and asks for you to provide permission whenever an app tries to use the su binary to run as another user. You want this, as without it there's no way to know if an application runs as root.
Adb remount is a service that allows you to toggle the +RW bit on the /system/ partition through the shell. IIRC the one one floating around also kills color terminfo so you don't get all the extra chars on a windows PC when using the ls command. Just a matter of convenience.
jonnythan said:
Nope, that is correct.
/system is normally mounted as read-only, so you can't add or delete anything. The mount command remounts it as read-write, so you can modify it as root.
Click to expand...
Click to collapse
I can't create/copy anything after getting into the shell and remounting as read-write. From CMD prompt I type:
adb shell
and get:
$
Then I type:
su
and get:
#
This is where I type:
mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
Then trying to copy anything into the /system directory gives me:
Permission denied
It will let me DELETE anything I want from this folder (as confirmed by now deleting boot.gif just to check) but it won't let me cp (copy) anything to this folder. WHY?
What the heck?
try these commands for the boot mp3
Code:
cd/
cd /androidsdk/tools/
adb shell
su
mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
exit
adb push directoryonpcwhereyourbootmp3is /system/media/bootscreen/
make sure that you rename the mp3 to boot.mp3 or it wont work anyways.
the other option (this is what I do) is find a bootscreen that you like (I use this one). open the zip file useing winrar or 7zip, navigate into the files where you see the boot.mp3 and drag in YOUR (now renamed) boot.mp3 close the window, put the zip file onto the root of your sd card, boot into recovery, choose flash from zip, flash the file and your good to go.
wtphoto said:
try these commands for the boot mp3
Code:
cd/
cd /androidsdk/tools/
adb shell
su
mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
exit
adb push directoryonpcwhereyourbootmp3is /system/media/bootscreen/
make sure that you rename the mp3 to boot.mp3 or it wont work anyways.
the other option (this is what I do) is find a bootscreen that you like (I use this one). open the zip file useing winrar or 7zip, navigate into the files where you see the boot.mp3 and drag in YOUR (now renamed) boot.mp3 close the window, put the zip file onto the root of your sd card, boot into recovery, choose flash from zip, flash the file and your good to go.
Click to expand...
Click to collapse
tried this just now and still get "failed to copy 'C:\android-sdk-windows\tools\boot.mp3' to '/system/media/bootscreen/boot.mp3': Permission denied"
It's the /system folder... I can push to /data/local all day long, but anything in the /system folder is read only. How the hell can I change this?
/system/media/bootscreen/boot.mp3
Click to expand...
Click to collapse
if this is the code you are using then that could be your issue
the code line should look like this
Code:
adb push C:\android-sdk-windows\tools\boot.mp3 /system/media/bootscreen/
doing adb push C:\android-sdk-windows\tools\boot.mp3 /system/media/bootscreen/boot.mp3 says that you are trying to push the boot.mp3 to the directory bott.mp3 and there is no boot.mp3 directory the folder where you want the boot.mp3 is bootscreen. try the ubove code and see what happenes.
wtphoto said:
if this is the code you are using then that could be your issue
the code line should look like this
Code:
adb push C:\android-sdk-windows\tools\boot.mp3 /system/media/bootscreen/
doing adb push C:\android-sdk-windows\tools\boot.mp3 /system/media/bootscreen/boot.mp3 says that you are trying to push the boot.mp3 to the directory bott.mp3 and there is no boot.mp3 directory the folder where you want the boot.mp3 is bootscreen. try the ubove code and see what happenes.
Click to expand...
Click to collapse
Nope, was a typo on my part (here in the post, not when issuing the command). Still permission denied. I don't think it's actually mounting the /system folder as writable. Is there a way to check after issuing the remount command?
A quick command of "ls -l" at root prompt gives the following for the /system folder:
drwxr-xr-x root root 2009-09-21 06:30 system
after you run the remount command what does it say? does it say remount succeded?
After typing the remount command it simply repeats my command back at me and returns to the "#" prompt.
honestly at this point what I would try doing is do a back up then flash a custom rom like fresh 1.1 that has all the tools built into it. then go into the cmd prompt and cd to where sdk is then type adb remount and see what it says then adb shell and try to cp the file to that directory.
this is more a test than anything else.
wtphoto said:
honestly at this point what I would try doing is do a back up then flash a custom rom like fresh 1.1 that has all the tools built into it. then go into the cmd prompt and cd to where sdk is then type adb remount and see what it says then adb shell and try to cp the file to that directory.
this is more a test than anything else.
Click to expand...
Click to collapse
I'll try this - so you recommend trying fresh 1.1 then? I know it's just a test, but just in case I like the ROM and decide to stick with it, might as well try a really good one! I'll try this tomorrow - I'm beat! (Thanks again!)

[How To] Enable Non-Market apps on Captivate (consolidated)

(additional CHOWN notes added below. If you are getting "chown: unknown user/group system:system" read them!
Ok, we do have a WHOLE other thread that was made a sticky already, but you need to read the WHOLE thing to get all the properly interesting parts. I'll make sure I keep this OP up to date.
The following methods enable side loading and installing of apps onto the captivate, without the need of a program on a computer attached via the SDK. There are multiple methods, and for the most part, these methods that have worked flawlessly for many users here on this forum. We're just collecting them all in one post for speed and clarity.
Methods that assist in loading applications, without modification to the settings (a.k.a still need a computer attached) can be found at the collective wiki, http://samsungcaptivate.wikia.com/wiki/How_to_Sideload
ALL METHODS REQUIRE ROOT & BUSYBOX:
Root your phone, see http://forum.xda-developers.com/showthread.php?t=725555
Busybox : http://www.appbrain.com/app/stericson.busybox
Please, save a clean, un-altered backup copy of this file. To be safe. Rarely does corruption occur, but if it does, it won't be good.
Method 1: From Win7x64, Samsung Drivers, Android SDK installed.
This method uses the tools you already have at hand, as part of the SDK. All instances in code blocks are run inside of the command prompt. You will need to know where you installed your SDK, and the tools directory therein.
Once rooted, go install BusyBox installer from the App Market/AppBrain etc and run it. It will download and install the latest version for you.
From my Win7x64, with USB Debugging ON. Ensure that you phone is UNLOCKED as it the SU app will ask for permission for 'UNKOWN' in the following command.
Connect to PC, and Eject/Safely Remove the SD card, and "Turn off USB Storage" on the phone.
open command prompt, follow along:
Code:
> c:
> cd \android\tools
> adb shell
$ su
# cp /dbdata/databases/com.android.providers.settings/settings.db /sdcard/settings.db
# exit
$ exit
mount the SD cards to the pc,
"USB Connected select to... ", Mount
mine mounted as H:
Code:
> copy H:\settings.db settings.db
> sqlite3 settings.db
~> update secure set value="1" where name="install_non_market_apps";
1 row updated
~> .quit
> copy settings.db H:\settings.db
Eject the drive, safely remove, etc.
"Turn off USB storage" etc, to mount it back to the phone
Code:
> adb shell
$ su
# cp /sdcard/settings.db /dbdata/databases/com.android.providers.settings/settings.db
# chmod 660 /dbdata/databases/com.android.providers.settings/settings.db
# chown system.system /dbdata/databases/com.android.providers.settings/settings.db
# exit
$ exit
> adb reboot
Bam. Done.
Method 2: with Root Explorer
(courtesy of kirbo20)
This is a pretty easy process. I went in to Root Explorer - dbdata - databases - com.android.providers.settings, copied settings.db to my sd card, edited it on my pc with a db editor changed 0 to a 1 next to non market apps. Copied it back to the original directory, rebooted and installed a non market app.
(added by gotfolk)
again using FF plug in..
Click Secure on the left pane
click on install_non_market_apps
click edit
number 3 states value click there and type in 1. hit ok
(/gotfolk)
Please use caution. If you want to make sure the db save properly open it on your sd card before you copy and replace the original. It should open up as a readable table. If it opens up in a txt editor its corrupt. This permanently enables non market apps. You can not toggle it on and off.
( This is a sqlite3 database file, you can find many GUI editors that will be able to handle the editing, including a FF plugin. Search "SQLite" )
Method 3: with Root Explorer & Sqlite Editor & Terminal Emulator
(courtesy of ice3186)
- Open Root Explorer
- Browse to /dbdata/databases/com.android.providers.settings/
- copy settings.db to the root of your sd card ( /sdcard/ )
- Click on the newly copied settings.db in /sdcard/, with SQLite Editor installed, you can open and edit it here.
- Select the "secure" table, and update the value of 'install_nonmarket_apps' from 0 to 1, and save.
- close out of SQLite editor
- copy the modified file ( /sdcard/settings.db ), and browse back to /dbdata/databases/com.android.providers.settings/ and paste
- confirm the overwrite if asked and then open again to confirm it's been changed.
- open Terminal Emulator
Code:
$ su
# chmod 660 /dbdata/databases/com.android.providers.settings/settings.db
# chown system.system /dbdata/databases/com.android.providers.settings/settings.db
# reboot
- reboot phone.
No PC, no Mac, no drivers, no SDK. Viola.
Method 4: Mac & Android SDK
You will see "[sdcard]" through this method...I don't own a Mac so I'm guessing a bit.
This method uses the tools you already have at hand, as part of the SDK. All instances in code blocks are run inside of the Terminal. You will need to know where you installed your SDK, and the tools directory therein.
Once rooted, go install BusyBox installer from the App Market/AppDroid etc and run it. It will download and install the latest version for you.
From a Max OS X, with USB Debugging ON. Ensure that you phone is UNLOCKED as it the SU app will ask for permission for 'UNKOWN' in the following command.
Connect to Mac, and Eject/Safely Remove the SD card, and "Turn off USB Storage" on the phone.
open Terminal, follow along:
Code:
> cd /android/tools
> ./adb shell
$ su
# cp /dbdata/databases/com.android.providers.settings/settings.db /sdcard/settings.db
# exit
$ exit
mount the SD cards to the Mac,
"USB Connected select to... ", Mount
mine mounted as [sdcard]
Code:
> cp [sdcard]/settings.db settings.db
> ./sqlite3 settings.db
~> update secure set value="1" where name="install_non_market_apps";
1 row updated
~> .quit
> cp settings.db [sdcard]/settings.db
Eject the drive, safely remove, etc.
"Turn off USB storage" etc, to mount it back to the phone
Code:
> ./adb shell
$ su
# cp /sdcard/settings.db /dbdata/databases/com.android.providers.settings/settings.db
# chmod 660 /dbdata/databases/com.android.providers.settings/settings.db
# chown system.system /dbdata/databases/com.android.providers.settings/settings.db
# exit
$ exit
> ./adb reboot
Method 5: Android SDK only
Of course, this also requires root and BusyBox.
From the android sdk tools folder in a command prompt:
note: all linux/mac should use './adb' in place of just 'adb', and place quotes on the echo statement between echo and |
Code:
adb shell
su
chmod 666 /dbdata/databases/com.android.providers.settings/settings.db
exit
exit
adb pull /dbdata/databases/com.android.providers.settings/settings.db settings.db
echo update secure set value = 1 where name = 'install_non_market_apps';|sqlite3 settings.db
adb push settings.db /dbdata/databases/com.android.providers.settings/settings.db
adb shell
su
chmod 660 /dbdata/databases/com.android.providers.settings/settings.db
chown system.system /dbdata/databases/com.android.providers.settings/settings.db
reboot
NOTICE
You must chown the settings.db file and reboot once it is back in its original location. If you do not, you will not be able to alter settings such as WiFi,GPS, default Ringtones, etc. It's also highly likely that you may wish to chmod to 660 (-rw-rw---), so I've tacked that in here and above.
Code:
> adb shell
$ su
# chmod 660 /dbdata/databases/com.android.providers.settings/settings.db
# chown system.system /dbdata/databases/com.android.providers.settings/settings.db
# exit
$ exit
> adb reboot
Chown Note
In the event that you are getting "chown: unknown user/group system:system" please try 1000.1000 as this has been reported to work on several of the samfirmware-released roms that fail with this message.
Absolutely do not use someone else's settings.db unless you specifially make it a point replace android_id with your android_id!
Special Note
Any of these adb comments can be run from Terminal Emulator (Android Terminal Emulator, free) from the su command. I use the ADB here as it is a lot easier to type into. Terminal Emulator will provide you with a shell that is an exact match of the 'adb shell' command, as they both simply provide the shell to you.
Result:
After completing this process you will be able to load non-market apps directly from the APK files, SDK tools, tools such as DroidExplorer and apps such as APKtor.
You will be able to download the APKs directly, and then install from your favorite file browser (e.g. MyFiles(s), Astro(f), RootExplorer($)...)
Tools
SQLite Administrator (Win, GUI, no FF required) http://sqliteadmin.orbmu2k.de/
SQLite Manager (FF addon, search for it)
Application links
Root Explorer http://www.appbrain.com/app/com.speedsoftware.rootexplorer
SQLite Editor http://www.appbrain.com/app/com.speedsoftware.sqleditor
Terminal Emulator http://www.appbrain.com/app/jackpal.androidterm
BusyBox http://www.appbrain.com/app/stericson.busybox
bump.. settings.db people.. please read the threads!!
good stuff!!!
Ok. I can find settings.db with root explorer. i can copy it and i put it in my sdcard folder but nothing is there when i try to find it on my computer. Im trying to use SQlite editor on firefox. Im also on a powermac g4 if that makes a difference. I did download sqlite editor on my phone and I can find where to change the values for installing non market apps but when I change from a zero to a one it denies me. Please help
Ok, so let me make sure I have your process:
- Rooted
- Installed busybox ?
- Installed Root Explorer
- copied settings.db to /sdcard
-- cant see the file when mounted to Mac, thus can't edit with FF plugin
-- SQLite editor for android wont allow access..
(is this the SQLite Editor you used? http://www.appbrain.com/app/com.speedsoftware.sqleditor)
Try installing "Android Terminal Emulator" from the market (http://www.appbrain.com/app/jackpal.androidterm)
- open Terminal Emulator
$ su
# cd /sdcard
# chmod 777 settings.db
# exit
- Open the sqlite editor, and make the change
- back to Terminal Emulator
$ su
# chmod 660 settings.db
- proceed with rest of instructions.
how many more threads do we need on the same thing? We already have ALL of this info posted, several times.
designgears said:
how many more threads do we need on the same thing? We already have ALL of this info posted, several times.
Click to expand...
Click to collapse
Please read my initial post, first few lines. I explained why, specifically: Consolidation.
Thanks I will give it a try later today.
Sent from my SAMSUNG-SGH-I897 using XDA App
- OP updated to reflect stock ownership settings for 'chown'
Also, which sqlite app are you using? I'll put that up as method 3 if it works out nicely for you.
fixed a typo in the chown command.. bad copy paste.. bad.. doh.
added method 3 courtest of ice3186
added links to Root Explorer ($), SQLite Editor ($) and Android Terminal Emulator (free) and added the chmod/chown commands to method 3, as they were skipped by accident.
bump** for newcomers, sry.
thanks max for adding the third method. this was by far much easier than the first two methods. I have a hard time getting my mac to talk to my phone sometimes and it was good to not have to plug the lil guy in at all. Worked like a charm
myself and ice3186 are glad we could be of help
If I had accidentally deleted the settings.db how should I go about recovering my phone? Now I have the issue that my phone won't boot past the boot animation and I'm notbsure what to do
mkslt4 said:
If I had accidentally deleted the settings.db how should I go about recovering my phone? Now I have the issue that my phone won't boot past the boot animation and I'm notbsure what to do
Click to expand...
Click to collapse
Did you make any kind of backup before hand?
You may have to use someone else's settings.db and then do a factory reset.
Depending on how much you've done with the phone I'd suggest deciding on doing a the reboot process for rooting, but choosing to clear data. This may rebuild it, I am not sure.
my dbdata directory is empty.. My phone is less then 2 hours old and i have some market apps installed..
xetrev said:
my dbdata directory is empty.. My phone is less then 2 hours old and i have some market apps installed..
Click to expand...
Click to collapse
Oh, if it's running, then this folder isn't actually empty.
What are you using to browse this folder?
i followed this guide to a T yesterday when i did this. I used option 1, ADB commands on terminal since i'm a mac and it was super easy, did it in about 5 minutes.
this is just my opinion but i think everyone should try playing with the ADB commands, they're actually really useful and educational to know. and if you should brick your phone, just use clockwork recovery to restore it.
that being said, maybe you should add a disclaimer that when done on a mac, the adb commands require a "./" in front (so adb reboot becomes ./adb reboot). cp, chown, and chmod commands don't need it though (or at least i didn't).

[HOWTO]: Rooting the Huawei S7 Android 2.2.2 stock

Well this was a bit of a mess!
Firstly updating:
http://forum.xda-developers.com/showthread.php?t=1043349
http://phonedock.net/huawei-ideos-s7-froyo-2-2-2-update.html I followed this nice writeup. Be sure to delete the log file in dload for the second round of the upgrade as your device might, like mine, just blink on and off for a while trying to flash what it thinks it finds is already flashed but what just gives an error!
http://www.androidtablets.net/forum...uawei-ideos-s7-official-firmware-2-2-2-a.html Links to 2.2.2 Brazil which is the best for the 101 apparently, some tests done in that post on which rom work best for which model.
Now,
REMOVE YOUR SDCARD IF ANY! AND REBOOT THE DEVICE ! THIS HACK RELIES HEAVILY ON HIGH STRANGENESS AND SPOOKY ACTION AT A DISTANCE!
Originally i though modifying an ol doroot.sh script to using the psneuter exploit from SuperOneClick i would manage to root the device. Not without some fuzz, no. Firstly i discovered "cp" and many basic fileutils im used to in the world of *nix was missing from the 2.2.2 image kindly provided by Huawei ( The Norwegian Telenor image i might add that the camera on a model 101 will not work with!) so i found an easier way! push push push!
Here's what i did, for convenience ill try making it a script, but be prepared to copy these commands manually instead! For windows simply remove the ./ and add .exe .
Now, to make this work, simply get SuperOneClick from http://shortfuse.org/?page_id=2 and unzip, i used the adb from the google android sdk, but i guess the adb binary that comes with SOC is a simpler route if your just in for a quick root fix. Simply rename the appropriate adb for your system and use this method.
The simplest thing to do i guess is to copy Exploits/psneuter or gingerbreak to the ADB folder (in SuperOneClick's folder) and go on from there, also copy su-v3 (rename it to su) and Superuser.apk from "Root/" to the folder (ADB), or if you choose to, rewrite this "script" with the appropriate paths. Im unsure if the following script will work in every case, so you might want to do it manually, but most should get the drift, if you are not comfortable with this procedure you probably have no business or reason rooting the device in the first place. Disclaimer; if this bricks your device don't blame me, this is a fact of "it worked for me", your results may differ.
Be sure to set your USB mode to "Developer" mode
AND BE ROOT ON YOUR MACHINE!
Code:
#/bin/bash
echo "The BackAsswardsRootScript!\n\n"
echo "Lets start the adb server.\n\n"
./adb kill-server
./adb start-server
echo "Pushing the exploit psneuter onto the device.\n\n"
./adb push psneuter /data/local/tmp/psneuter
./adb shell "chmod 0755 /data/local/tmp/psneuter"
./adb push busybox /data/local/tmp/busybox
./adb shell "chmod 4755 /data/local/tmp/busybox"
echo "Now we run the root exploit.\n\n"
./adb shell "./data/local/tmp/psneuter"
echo "We should be root now, making sure.\n\n"
./adb root
echo "Remointing the FS as RW!\n\n"
./adb shell " /data/local/tmp/busybox mount -o rw,remount /system"
echo "Pushing the system files in place\n"
./adb shell "/data/local/tmp/busybox cp /data/local/tmp/busybox /system/bin/busybox"
./adb push su /system/bin/su
./adb push Superuser.apk /system/app/Superuser.apk
echo "Correct permissions might be nice.\n"
./adb shell "chmod 4755 /system/bin/busybox"
./adb shell "chmod 4755 /system/bin/su"
./adb shell "chmod 755 /system/app/Superuser.apk"
# Lets go back to read only, just for kicks!
echo "Remounting the filesystem as Read-Only\n\n"
./adb shell "busybox mount -o ro,remount -t /system"
echo "You should now be rooted my friend.\n Enjoy!\n"
Please help feed my Linux addiction! Go to http://threader.zapto.org and click Donate!
Rooting S7 using Gingerbreak
Just too inform you. I've just succesfully rooted the Indonesian 2.2.2 running on a
S7-105 using Chainfire's Gingerbreak v1.2.
Cool, theres a gingerbreak exploit in the superoneclick package also, i tried that after i though psneuter didnt work, just a matter of replacing psneuter with gingerbreak. Did you use this method though or did you find some other way?
I didn't change or replace anything. My terminal skills are not on a level to have the guts anyway.
I simply updated from S7V100R001C43B010 to S7v100R001C98B021.
Then ran the Gingerbreak 1.2 exploit.
Interesting, yeah the gingerbreak exploit will work, when i wrote the fist post i used the gingerbreak exploit instead of the psneuter one thinking psneuter didnt work, turns out it did though and i went back to that one as its designed for 2.2.2, didnt know of this wrapper though, thanks!
Just granted su superuser permissions on the Australian s7
Great work. Just noticed a missing final quotation mark:
threader said:
./adb shell "chmod 0755 /data/local/tmp/psneuter
Click to expand...
Click to collapse
Probably works because of the end of line but should be:
./adb shell "chmod 0755 /data/local/tmp/psneuter"
threader said:
Well this was a bit of a mess!
Firstly updating:
http://forum.xda-developers.com/showthread.php?t=1043349
http://phonedock.net/huawei-ideos-s7-froyo-2-2-2-update.html I followed this nice writeup. Be sure to delete the log file in dload for the second round of the upgrade as your device might like mine just blink on and off for a while trying to flash what it finds is already flashed but what just gives an error. !
http://www.androidtablets.net/forum...uawei-ideos-s7-official-firmware-2-2-2-a.html Links to 2.2.2 Brazil which is the best for the 101 apparently, some tests there on which roms work best for which models also.
Now,
REMOVE YOUR SDCARD IF ANY! AND REBOOT THE DEVICE ! THIS HACK RELIES HEAVILY ON HIGH STRANGENESS AND SPOOKY ACTION AT A DISTANCE!
Originally i though modifying an ol doroot.sh script to using the psneuter exploit from SuperOneClick i would manage to root the device. Not without some fuzz, no. Firstly i discovered "cp" and many basic fileutils was missing from the 2.2.2 image kindly provided by Huawei (Norwegian Telenor image, that i might add, the camera on a model 101 will not work with!) soo i found an easier way! push push push!
Heres what i did, for convenience ill try making it a script, but im making it as i type this post so this is untested as a script(!) Be prepared to copy these commands instead!
Now, to make this work, simply get SuperOneClick from http://shortfuse.org/?page_id=2 and unzip, i used the adb from the google android sdk, but i guess the adblinux binary that comes with SOC will work just as well, simply rename it to adb and use this method. The simplest thing to do i guess is copy Exploits/psneuter to the ADB folder (in SuperOneClick's folder) and go from there, also copy su-v3 (and rename it to su) and Superuser.apk from Root to the folder (ADB), or rewrite this "script"/collection of commands i used" with the appropriate paths. Im unsure if the following script will work as is as i said, so you might want to do it manually, but most should get the drift, if not you probably have no business or reason rooting the device in the first place. Disclaimer; if this bricks your device don't blame me, this is a fact of "it worked for me", your results may differ.
Be sure to set your usb mode to Developer mode
BE ROOT!
#/bin/bash
echo "The backasswardsrootscript!\n\n"
echo "Lets start the adb\n\n"
./adb kill-server
./adb start-server
./adb push psneuter /data/local/tmp/psneuter
./adb shell "chmod 0755 /data/local/tmp/psneuter
echo "Now we run the root exploit.\n\n"
./adb shell "./data/local/tmp/psneuter"
echo "Should say we are already root now.\n\n"
./adb root
echo "Remointing the FS as RW!\n\n"
# This really should be /dev/block/mmcblk0p1, i have no idea why this works.
./adb shell "mount -o rw,remount -t ext3 /dev/block/mmcblk1p1 /system"
# Now instead of copying using cp or moving with mv, considering "cp" was missing
# and mv just didnt work for some reason...! I found just pushing the files straight to the
# system after remounting worked just fine
echo "Pushing the system files in place\n"
./adb push su /system/bin/su
./adb push Superuser.apk /system/app/Superuser.apk
./adb push busybox /system/bin/busybox
echo "Correct permissions might be nice.\n"
./adb shell "chmod 4755 /system/bin/busybox
./adb shell "chmod 4755 /system/bin/su"
./adb shell "chmod 755 /system/app/Superuser.apk"
# Lets go back to read only just for kicks!
echo "Remounting the filesystem as Read-Only\n"
./adb shell "mount -o ro,remount -t ext3 /dev/block/mmcblk1p1 /system"
echo "You should be rooted my friend\n Enjoy!\n BE SURE TO DONATE TO SUPERONECLICK!!!"
# One of the main strangenesses i found was the block device was logically enough placed on
# partioton 1, of block1 which really should have been block 0 part 1, but that doesnt work.
# So it boils down to that this shouldnt work but does for no apparent reason(!).
# even /etc/mtab says that mmcblk0p1 is mounted to a non existent /mnt/dcard
# as an EXT4 partition which isnt supposed to be supported until 2.3.x
Click to expand...
Click to collapse
Dear S7 users,I am using the ideos s7 by Teltra supllier and i did unlock sim by norwegian rom.I read a lot of document but i didnt find out an easy way to run clockwork that i can run cook rom,can u help me how to run it in easy way.Thanks and appreciate that.
http://www.androidtablets.net/forum...wegian-2-2-2-s7v100r001c57b111.html#post82863
PuZZleDucK said:
Just granted su superuser permissions on the Australian s7
Great work. Just noticed a missing final quotation mark:
Probably works because of the end of line but should be:
./adb shell "chmod 0755 /data/local/tmp/psneuter"
Click to expand...
Click to collapse
Great! Thanks! Ops, yeah missed that, fixed now, thank you for pointing that out. I haven't spent much more time on this. the pad has pretty much been untouched since i moved house. I would like to make this easier for less technical inclined here but its just a matter of replacing ./adb with adb.exe if your on windows. Besides, i don't want to be at fault for bricking someone. And maybe i could write some simple application for installing Gnu/Linux as well, ( http://forum.xda-developers.com/showthread.php?t=1109730 ) but that will have to wait until someone bribes me or hits me over the head i guess.
tell me how you did it. i have a s7 - 105 too. please tell me the full tutorial, beginning to the end. cause i'm new to this android stuff. please..
---------- Post added at 08:53 PM ---------- Previous post was at 08:51 PM ----------
Maniacnl said:
Just too inform you. I've just succesfully rooted the Indonesian 2.2.2 running on a
S7-105 using Chainfire's Gingerbreak v1.2.
Click to expand...
Click to collapse
tell me how you did it. i have a s7 - 105 too. please tell me the full tutorial, beginning to the end. cause i'm new to this android stuff. please..

[Guide] Remove bloatware from Android phone

Hello,
I have found a way to remove unwanted applications from probably any Android phone with stock ROM (like Motorola Defy XT320). Linux console basics needed.
Procedure is safe as long as you know what you are doing.
However if you remove important applications you will damage your ROM. Some bloatware is needed by ROM.
I do not take responsibility. Experiment, but backup your phone first!
1) Root phone
2) Install and setup SSHDroid on the phone
3) Connect through ssh to your phone and login as root. Depending on system use putty (WIN) or console command ssh (LINUX).
command: su (login as root)
4) Find package of the aplication you want to remove
command: pm list packages (list packages installed in the phone)
command: pm path <PACKAGE> (use package name found in previous step to determine where the file is)
5) Move to this folder and change file access rights and move file to ie. SD card. Probably you will need to remount first folder applications are in. So if application is in /flex/app, then remount only /flex as below.
command: mount -o rw,remount /<FOLDER>
command: chmod 777 <FILENAME>
command: mv <FILENAME> /mnt/sdcard/
6) Probably we don't need this, but change access rights to the file and remount folder again.
command: chmod 644 <FILENAME>
command: mount -o ro,remount /<FOLDER>
7) Enjoy more internal memory on your phone! Comments welcome!
[Guide] Moving applications to SD card
You can also move heavy applications to SD card and still use them.
Not all applications may be moved this way. Some will disappear from application menu.
I do not take responsibility. Experiment, but backup your phone first!
command: mv <FILENAME> /mnt/sdcard/
command: ln -s <TARGET FILENAME> <APPLICATION FILENAME>
In my example I have moved 10MB Quickoffice from internal memory to SD card and created symlink in /flex/app folder:
mv Quick* /mnt/sdcard/app/
ln -s /mnt/sdcard/app/Quickoffice-Motorola-SP-5_0_104_V_Signed_2012-01-03_10-18-47.apk Quickoffice-Motorola-SP-5_0_104_V_Signed_2012-01-03_10-18-47.apk
Works like a charm!
I think that is easier to remove through root explorer.
pgreed said:
I think that is easier to remove through root explorer.
Click to expand...
Click to collapse
You are probably right. I bought my first Android phone two days earlier. Pieces of software I have tried were unsuccessful in removing bloatware. So I was looking for other way. Using console allows you to remove ie. default wallpapers or sounds. It frees some additional memory which is scarce in Defy Mini.

Cannot deactivate knox

Hello
I have a Samsung Galaxy Tab A 10.1 (2016) and i have rooted it. now i am getting that annoying Knox notification about security. I have tried to get rid of it/deactivate but without luck.
I have tried:
- through adb shell command
- A few months ago i have tried to disable a knox service through a bat fille which contains this:
@Echo off
echo ---------------------------------
echo Security Notification Removing
echo By BoxWares
echo ---------------------------------
echo.
echo Please make sure that Sideload mode is enabled from Custom Recovery, and SAMSUNG drivers are installed.
echo.
echo Starting adb server..
echo ADB Starting ..
adb kill-server
echo Waiting for device ..
adb wait-for-device
adb shell su '-C' mount -o rw,remount /system
adb shell su '-C' rm -r /system/app/SecurityLogAgent
echo Security Notification Removed Successfully ..
pause
- through smali patcher
- paid the titanium backup and froze associated apps (what i have found through google search are a bit different associated apps, in the attachment you can see what did titanium backup find under "knox"- i have freeze which you can see in blue + secure folder later).
That goddamn security notification still keeps popping out.
Is there any way to get rid of it? it is really annoying me.
Thank you for helping me

Categories

Resources