Install busybox in sbin mode - X Style (Pure) Q&A, Help & Troubleshooting

How can i install busybox if i have installed supersu in sbin mode in stock nougut?
If i open busybox app it set default directory to system/xbin but it fails to install.

https://forum.xda-developers.com/android/software-hacking/tool-busybox-flashable-archs-t3348543
Flash universal YDS.zip.
---------- Post added at 03:01 PM ---------- Previous post was at 03:01 PM ----------
@yk1999

Related

[Q] chmod & chown automatic script code

Hi,
I have rooted my android device using a kernel, but notice the permissions and ownership are not correctly ok. I know using Root explorer tool i could fix them manually or by recovery fix permissions, but i need an automatic script for just few path (see below).
I want to CHMOD 777 and change ownership to root for all the following path upto the database:
/data/data/com.facebook.katana/databases/fb.db
/data/data/com.whatsapp/databases/msgstore.db
So, all the route (except data/data which are system directories), are now chmod 777 and the ownership is ROOT.
any ideas how to do this automatically for the path i want? instead of doing it manually using a file explorer tool?
Any help is appreciate.
Thanks.
What is about that?
Code:
cd <the directory>
find . -exec <the command > \;
---------- Post added at 07:34 PM ---------- Previous post was at 07:31 PM ----------
This will change ALL files in that directory.

[Q] Help! No WIFI or Bluetooth after trying /persist fix

Hi,
I have some linux experience but this is my first time playing around with an android device.
I have Razr M with Verizon and ever since KitKat update my Bluetooth and Wifi have stopped working similar to what other people were seeing. I first rooted and unlocked bootloader to allow me to go back to JellyBean. The Wifi and Bluetooth were still not functional. I dug a little more through google and found the fix for copying over the /persist and /etc/firmware/wlan/prima folders. I tried this solution with both JellyBean and KitKat firmware and set the permissions and ownership in multiple combinations and rebooted, reflashed and no matter what I do I cannot get my wifi to work. I am currently running KitKat and prefer to run this firmware. Here are the current contents and permissions of my folders.
/persist:
-rw-rw---- bluetooth bluetooth 9 2012-10-01 08:23 .bt_nv.bin
-rw-rw---- wifi wifi 28456 2014-07-07 12:13 WCNSS_qcom_wlan_nv.bin
lrwxrwxrwx root root 2014-05-19 11:26 WCNSS_qcom_wlan_nv_calibr
ation_persist.bin -> /system/etc/firmware/wlan/prima/cal_files/WCNSS_qcom_wlan_n
v_calibration.bin
lrwxrwxrwx root root 2014-05-19 11:26 WCNSS_qcom_wlan_nv_regula
tory_persist.bin -> /system/etc/firmware/wlan/prima/cal_files/WCNSS_qcom_wlan_nv
_regulatory.bin
drwx------ system system 2012-11-14 03:49 drm
drwx------ system system 2012-11-14 03:49 prov
/../prima:
-rw-r--r-- root root 10330 2014-05-02 02:43 WCNSS_cfg.dat
-rw-r--r-- root root 8469 2014-05-02 02:43 WCNSS_qcom_cfg.ini
lrw-r--r-- root root 2014-05-02 02:52 WCNSS_qcom_wlan_nv.bin ->
/persist/WCNSS_qcom_wlan_nv.bin
lrw-r--r-- root root 2014-05-02 02:52 WCNSS_qcom_wlan_nv_calibr
ation.bin -> /persist/WCNSS_qcom_wlan_nv_calibration_persist.bin
lrw-r--r-- root root 2014-05-02 02:52 WCNSS_qcom_wlan_nv_regula
tory.bin -> /persist/WCNSS_qcom_wlan_nv_regulatory_persist.bin
drwxr-xr-x root root 2014-05-02 02:43 cal_files
/../prima/cal_files:
-rw-r--r-- root root 24768 2014-05-02 02:43 WCNSS_qcom_wlan_nv_calibr
ation.bin
-rw-r--r-- root root 5084 2014-05-02 02:43 WCNSS_qcom_wlan_nv_regula
tory.bin
Please let me know what the correct setup should be or if I need different files for KitKat. Any help would be greatly appreciated. Thank you!
vali0227 said:
Hi,
I have some linux experience but this is my first time playing around with an android device.
I have Razr M with Verizon and ever since KitKat update my Bluetooth and Wifi have stopped working similar to what other people were seeing. I first rooted and unlocked bootloader to allow me to go back to JellyBean. The Wifi and Bluetooth were still not functional. I dug a little more through google and found the fix for copying over the /persist and /etc/firmware/wlan/prima folders. I tried this solution with both JellyBean and KitKat firmware and set the permissions and ownership in multiple combinations and rebooted, reflashed and no matter what I do I cannot get my wifi to work. I am currently running KitKat and prefer to run this firmware. Here are the current contents and permissions of my folders.
/persist:
-rw-rw---- bluetooth bluetooth 9 2012-10-01 08:23 .bt_nv.bin
-rw-rw---- wifi wifi 28456 2014-07-07 12:13 WCNSS_qcom_wlan_nv.bin
lrwxrwxrwx root root 2014-05-19 11:26 WCNSS_qcom_wlan_nv_calibr
ation_persist.bin -> /system/etc/firmware/wlan/prima/cal_files/WCNSS_qcom_wlan_n
v_calibration.bin
lrwxrwxrwx root root 2014-05-19 11:26 WCNSS_qcom_wlan_nv_regula
tory_persist.bin -> /system/etc/firmware/wlan/prima/cal_files/WCNSS_qcom_wlan_nv
_regulatory.bin
drwx------ system system 2012-11-14 03:49 drm
drwx------ system system 2012-11-14 03:49 prov
/../prima:
-rw-r--r-- root root 10330 2014-05-02 02:43 WCNSS_cfg.dat
-rw-r--r-- root root 8469 2014-05-02 02:43 WCNSS_qcom_cfg.ini
lrw-r--r-- root root 2014-05-02 02:52 WCNSS_qcom_wlan_nv.bin ->
/persist/WCNSS_qcom_wlan_nv.bin
lrw-r--r-- root root 2014-05-02 02:52 WCNSS_qcom_wlan_nv_calibr
ation.bin -> /persist/WCNSS_qcom_wlan_nv_calibration_persist.bin
lrw-r--r-- root root 2014-05-02 02:52 WCNSS_qcom_wlan_nv_regula
tory.bin -> /persist/WCNSS_qcom_wlan_nv_regulatory_persist.bin
drwxr-xr-x root root 2014-05-02 02:43 cal_files
/../prima/cal_files:
-rw-r--r-- root root 24768 2014-05-02 02:43 WCNSS_qcom_wlan_nv_calibr
ation.bin
-rw-r--r-- root root 5084 2014-05-02 02:43 WCNSS_qcom_wlan_nv_regula
tory.bin
Please let me know what the correct setup should be or if I need different files for KitKat. Any help would be greatly appreciated. Thank you!
Click to expand...
Click to collapse
Did you try using RSDLite to get it back to stock?
rocketrazr99 said:
Did you try using RSDLite to get it back to stock?
Click to expand...
Click to collapse
Thanks for responding. Yes I tried that multiple times. I saw that the persist partition where the drivers are kept does not get flashed in the process. I did check the boot logs and saw that wlan said no device found after loading drivers. I'm wondering if this could be a hardware problem .
vali0227 said:
Hi,
I have some linux experience but this is my first time playing around with an android device.
I have Razr M with Verizon and ever since KitKat update my Bluetooth and Wifi have stopped working similar to what other people were seeing. I first rooted and unlocked bootloader to allow me to go back to JellyBean. The Wifi and Bluetooth were still not functional. I dug a little more through google and found the fix for copying over the /persist and /etc/firmware/wlan/prima folders. I tried this solution with both JellyBean and KitKat firmware and set the permissions and ownership in multiple combinations and rebooted, reflashed and no matter what I do I cannot get my wifi to work. I am currently running KitKat and prefer to run this firmware. Here are the current contents and permissions of my folders.
/persist:
-rw-rw---- bluetooth bluetooth 9 2012-10-01 08:23 .bt_nv.bin
-rw-rw---- wifi wifi 28456 2014-07-07 12:13 WCNSS_qcom_wlan_nv.bin
lrwxrwxrwx root root 2014-05-19 11:26 WCNSS_qcom_wlan_nv_calibr
ation_persist.bin -> /system/etc/firmware/wlan/prima/cal_files/WCNSS_qcom_wlan_n
v_calibration.bin
lrwxrwxrwx root root 2014-05-19 11:26 WCNSS_qcom_wlan_nv_regula
tory_persist.bin -> /system/etc/firmware/wlan/prima/cal_files/WCNSS_qcom_wlan_nv
_regulatory.bin
drwx------ system system 2012-11-14 03:49 drm
drwx------ system system 2012-11-14 03:49 prov
/../prima:
-rw-r--r-- root root 10330 2014-05-02 02:43 WCNSS_cfg.dat
-rw-r--r-- root root 8469 2014-05-02 02:43 WCNSS_qcom_cfg.ini
lrw-r--r-- root root 2014-05-02 02:52 WCNSS_qcom_wlan_nv.bin ->
/persist/WCNSS_qcom_wlan_nv.bin
lrw-r--r-- root root 2014-05-02 02:52 WCNSS_qcom_wlan_nv_calibr
ation.bin -> /persist/WCNSS_qcom_wlan_nv_calibration_persist.bin
lrw-r--r-- root root 2014-05-02 02:52 WCNSS_qcom_wlan_nv_regula
tory.bin -> /persist/WCNSS_qcom_wlan_nv_regulatory_persist.bin
drwxr-xr-x root root 2014-05-02 02:43 cal_files
/../prima/cal_files:
-rw-r--r-- root root 24768 2014-05-02 02:43 WCNSS_qcom_wlan_nv_calibr
ation.bin
-rw-r--r-- root root 5084 2014-05-02 02:43 WCNSS_qcom_wlan_nv_regula
tory.bin
Please let me know what the correct setup should be or if I need different files for KitKat. Any help would be greatly appreciated. Thank you!
Click to expand...
Click to collapse
From what I read, RSD and our backups don't do anything for the /persist folder\partition.
Have you tried this?
Its a modifired /persist that does not include the /prima which I assume you got from here and it worked for me. Hope it helps.
is the problem solved..?
please reply
I have the same problem at the OP. And I've downloaded the Prima and Persist folders, but I can't seem to load them onto the device properly. When I use ADB, the /etc folder doesn't show /etc/firmware/wlan/prima as a path.
I also don't know how to flash to Persist partition or move the files to the right folder.
Very frustrated.

7.0 APK List - DIY Debloat / Disable

So I want to put together a master list of all APKs (including system) along with a description of the APK and purpose, if it can be uninstalled or if it can be disabled / frozen or deleted (root) without repercussions.
I will search Tab S2 / Galaxy S8 / S7 forums for assistance but anyone who wants to contribute please do so in this thread and I will create / update the list from here.
I will collate and list something like below:
Package Name0 - Description - Uninstall​
Package Name1 - Description - Disable/Freeze - Side effects​
Package Name2 - Description - Delete [Root] - Side effects​
If anyone has a method to extract a full list from the device please contribute.
Thanks.
https://forum.xda-developers.com/galaxy-s7/themes/mod-extreme-debloater-s7-root-req-t3335703
you can follow this thread at your own risk ,i did not flash the files but pretty much removed most of the app folders mentioned there [in system/app].
[Thanks to @NisseGurra]
Here's a list, screenshot, and .xml file with my disabled packages. Note that I had to enable the Samsung Gallery to get text extraction working in Smart Select. I have not noticed any weird behavior so far.
BeaconManager - com.samsung.android.beaconmanager
Briefing - flipboard.boxer.app
Calculator - com.sec.android.app.popupcalculator
Calendar - com.samsung.android.calendar
CarmodeStub - com.samsung.android.drivelink.stub
Clock - com.sec.android.app.clockpackage
CloudGateway - com.samsung.android.slinkcloud
Contacts - com.samsung.android.contacts
Email - com.samsung.android.email.provider
Excel - com.microsoft.office.excel
Finder - com.samsung.android.app.galaxyfinder
Galaxy Essentials Widget - com.sec.android.widgetapp.samsungapps
Gallery - com.sec.android.gallery3d
Game Launcher - com.samsung.android.game.gamehome
My Files - com.sec.android.app.myfiles
Nearby devices - com.samsung.android.nearby.mediaserver
Nearby Service - com.samsung.android.allshare.service.mediashare
OneDrive - com.microsoft.skydrive
PEN.UP - com.sec.penup
PowerPoint - com.microsoft.office.powerpoint
Quick connect - com.samsung.android.oneconnect
Recolor - com.sumoing.recolor
Samsung Billing - com.sec.android.app.billing
Samsung Flow - com.samsung.android.galaxycontinuity
Samsung text-to-speech engine - com.samsung.SMT
Samsung+ - com.samsung.oh
Skype - com.skype.raider
Smart Switch - com.sec.android.easyMover.Agent
Texture - com.nim.discovery
Weather - com.sec.android.daemonapp
Weather forecast - com.samsung.android.weather
withTV - com.samsung.android.app.withtv
Word - com.microsoft.office.word
sp4r3h said:
So I want to put together a master list of all APKs (including system) along with a description of the APK and purpose, if it can be uninstalled or if it can be disabled / frozen or deleted (root) without repercussions.
I will search Tab S2 / Galaxy S8 / S7 forums for assistance but anyone who wants to contribute please do so in this thread and I will create / update the list from here.
I will collate and list something like below:
Package Name0 - Description - Uninstall​
Package Name1 - Description - Disable/Freeze - Side effects​
Package Name2 - Description - Delete [Root] - Side effects​
If anyone has a method to extract a full list from the device please contribute.
Thanks.
Click to expand...
Click to collapse
All working great (i think) after disabling these... 1 week using and no issues
com.monotype.android.font.rosemary
com.sec.android.widgetapp.samsungapps
com.samsung.android.app.galaxyfinder
com.sec.android.app.chromecustomizations
com.samsung.android.calendar
com.android.wallpapercropper
com.samsung.android.app.withtv
org.simalliance.openmobileapi.service
com.sec.factory
com.sec.android.easyMover.Agent
com.samsung.knox.rcp.components
com.monotype.android.font.foundation
com.samsung.android.email.provider
com.microsoft.office.excel
com.sec.android.app.billing
com.samsung.android.game.gamehome
com.sec.android.daemonapp
com.samsung.android.slinkcloud
com.dsi.ant.service.socket
com.sec.android.AutoPreconfig
com.microsoft.skydrive
com.samsung.android.securitylogagent
com.samsung.SMT
com.samsung.android.drivelink.stub
com.samsung.hs20provider
com.dsi.ant.sample.acquirechannels
com.sec.android.app.SecSetupWizard
com.microsoft.office.onenote
com.sec.bcservice
com.sec.android.uibcvirtualsoftkey
com.samsung.android.sdk.professionalaudio.utility.jammonitor
com.sec.android.gallery3d (if you want to access pictures inside camera enable it)
com.android.sharedstoragebackup
com.samsung.android.app.colorblind
com.android.printspooler
com.android.dreams.basic
com.sec.android.app.dictionary
com.samsung.android.app.talkback
com.sec.smartcard.manager
com.sec.enterprise.mdm.vpn
com.samsung.android.weather
com.dsi.ant.plugins.antplus
com.microsoft.office.word
com.microsoft.office.powerpoint
com.sec.spp.push
com.dsi.ant.server
com.sec.android.mimage.photoretouching
flipboard.boxer.app
com.sec.android.providers.tasks
com.monotype.android.font.chococooky
com.android.dreams.phototable
com.samsung.safetyinformation
com.samsung.app.highlightplayer
com.android.providers.partnerbookmarks
com.samsung.android.keyguardwallpaperupdator
com.android.wallpaper.livepicker
com.samsung.android.beaconmanager
com.sec.enterprise.mdm.services.simpin
com.samsung.android.fmm
com.samsung.android.mdm
com.sec.penup
com.sec.knox.knoxsetupwizardclient
com.samsung.android.bbc.bbcagent
com.sec.android.splitsound
com.policydm
com.sec.enterprise.knox.cloudmdm.smdms
com.monotype.android.font.cooljazz
com.samsung.aasaservice
com.samsung.android.allshare.service.mediashare
com.sec.knox.switcher
com.sec.android.widgetapp.webmanual
Got rid of all the Samsuck crap that some grey hair presumes we all need lol
My tab feels 10 pounds lighter :silly:
Sent from my OnePlus5 using XDA Labs
Hi! Here my violent list.
adb shell
& su
then I paste this:
Code:
pm disable com.android.bookmarkprovider
pm disable com.android.chrome
pm disable com.android.providers.contacts
pm disable com.android.providers.downloads
pm disable com.android.providers.downloads.ui
pm disable com.android.providers.partnerbookmarks
pm disable com.android.vending
pm disable com.dsi.ant.plugins.antplus
pm disable com.dsi.ant.sample.acquirechannels
pm disable com.dsi.ant.server
pm disable com.dsi.ant.service.socket
pm disable com.enhance.gameservice
pm disable com.google.android.apps.docs
pm disable com.google.android.apps.maps
pm disable com.google.android.apps.photos
pm disable com.google.android.backuptransport
pm disable com.google.android.feedback
pm disable com.google.android.gm
pm disable com.google.android.gms
pm disable com.google.android.googlequicksearchbox
pm disable com.google.android.gsf
pm disable com.google.android.gsf.login
pm disable com.google.android.music
pm disable com.google.android.partnersetup
pm disable com.google.android.printservice.recommendation
pm disable com.google.android.syncadapters.calendar
pm disable com.google.android.syncadapters.contacts
pm disable com.google.android.talk
pm disable com.google.android.tts
pm disable com.google.android.videos
pm disable com.google.android.youtube
pm disable com.microsoft.office.excel
pm disable com.microsoft.office.onenote
pm disable com.microsoft.office.powerpoint
pm disable com.microsoft.office.word
pm disable com.microsoft.skydrive
pm disable com.monotype.android.font.chococooky
pm disable com.monotype.android.font.cooljazz
pm disable com.monotype.android.font.foundation
pm disable com.monotype.android.font.rosemary
pm disable com.samsung.android.allshare.service.fileshare
pm disable com.samsung.android.allshare.service.mediashare
pm disable com.samsung.android.bbc.bbcagent
pm disable com.samsung.android.beaconmanager
pm disable com.samsung.android.contacts
pm disable com.samsung.android.dlp.service
pm disable com.samsung.android.email.provider
pm disable com.samsung.android.fmm
pm disable com.samsung.android.galaxycontinuity
pm disable com.samsung.android.game.gamehome
pm disable com.samsung.android.game.gametools
pm disable com.samsung.android.keyguardwallpaperupdator
pm disable com.samsung.android.nearby.mediaserver
pm disable com.samsung.android.oneconnect
pm disable com.samsung.android.scloud
pm disable com.samsung.android.sdk.professionalaudio.utility.jammonitor
pm disable com.samsung.android.service.airviewdictionary
pm disable com.samsung.android.slinkcloud
pm disable com.samsung.android.weather
pm disable com.samsung.app.highlightplayer
pm disable com.samsung.knox.appsupdateagent
pm disable com.samsung.knox.rcp.components
pm disable com.samsung.knox.securefolder
pm disable com.samsung.knox.securefolder.setuppage
pm disable com.sec.android.app.billing
pm disable com.sec.android.app.dictionary
pm disable com.sec.android.app.samsungapps
pm disable com.sec.android.app.sbrowser
pm disable com.sec.android.daemonapp
pm disable com.sec.android.emergencylauncher
pm disable com.sec.android.providers.tasks
pm disable com.sec.android.soagent
pm disable com.sec.android.widgetapp.samsungapps
pm disable com.sec.enterprise.knox.attestation
pm disable com.sec.enterprise.knox.cloudmdm.smdms
pm disable com.sec.knox.foldercontainer
pm disable com.sec.knox.knoxsetupwizardclient
pm disable com.sec.knox.switcher
pm disable com.sec.musicstudio
pm disable com.sec.penup
pm disable com.sec.spp.push
pm disable com.skype.raider
pm disable com.wssyncmldm
pm disable flipboard.boxer.app
No problem with this.
I've tried to delete some of these apps and I was stuck indefinitely on the boot logo. Sorry I forgot which one. I'm not sure it's very useful to delete system apps. To disable and eventually to hide (pm hide) is probably enough ?
What's the ultimate debloat list for Oreo, or can this be used for that also?
Thx guys!

Avin PX6 Update will not start, can this be started from a terminal prompt?

So I've had this AVIN PX6 Headunit for over 6 months. Their support is absolutely abysmal. I've been trying to get this update to work months, and this is the second version I've tried to update and it simply WILL NOT START and they are of little help. This was released literally 12 hours ago. I followed this step by step below, which did not work, and also tried copying the file to \mnt\sdcard and nothing happens. The little USB icon appears at the top and you can see the USB stick in ES File Explorer but no update launches. Does anyone know how I can update this manually from a terminal prompt?
Here is the instructions from Avin..
Download the software update file from the link below to your computer.
Filename: AVINUSA_PX6_ID7_Software_Update_061219.zip
2. Extract the file AVINUSA_PX6_ID7_Software_Update_061219.zip with password: 190612avinusa.com
3. After you have extracted the zip file you will find a new file named px6.zip
RENAME px6.zip -- to -- px6_format.zip
4. COPY the new px6_format.zip file directly to your USB flash drive. Do not put it in any folder. It should be the only file on your USB flash drive.
5. Plug your USB flash drive into your PX6 BMW monitor and power on the monitor if you have not already done so.
6. Wait about 30 seconds a popup screen will appear asking if you want to install the update.
Click Install
The system will automatically reboot and start the update process. This can take up to 5 minutes to complete so be patient and DO NOT power off your car until the update is complete.
Here's what's included in the update:
12/23/2014 03:44 PM 21,651,456 boot.img
12/23/2014 03:44 PM 698,018 file_contexts.bin
06/19/2019 08:38 AM <DIR> META-INF
12/23/2014 03:44 PM 163,944,581 oem.new.dat.br
12/23/2014 03:44 PM 0 oem.patch.dat
12/23/2014 03:44 PM 2,407 oem.transfer.list
12/23/2014 03:44 PM 276,814 RKLoader.bin
12/23/2014 03:44 PM 635,982,817 system.new.dat.br
12/23/2014 03:44 PM 0 system.patch.dat
12/23/2014 03:44 PM 7,314 system.transfer.list
12/23/2014 03:44 PM 4,194,304 trust.img
12/23/2014 03:44 PM 4,194,304 uboot.img
12/23/2014 03:44 PM 68,275,104 vendor.new.dat.br
12/23/2014 03:44 PM 0 vendor.patch.dat
12/23/2014 03:44 PM 1,214 vendor.transfer.list
hy
would be interessting for me to also have this update file
your thumbdrive need to be FAT32 file format, if it is larger than 32 gb you have to shrink the partition of the drive to be below 32 gb, then you can format it at FAT32.
i always do just name my updates px6.zip , no "_format" or "_recover" added on.
sincerely Chri

Getting all blacklisted, system/user packages back any Fire OS version (Root only)

Hey Fire TV owners if you have an already unlocked Fire TV device whether it's .sh rooted via temp Magisk root or a fully unlockable device, you can input these commands to get all those packages back in working order and I thank @Pro-me3us for these commands from the Fire TV Cube Gen 3 (Gazelle) temp root guide.
Enable ADB debugging in Settings, My Fire TV, Developer Options.
adb connect 192.168.x.x or have it connected via USB adb.
adb devices,
su (grant root)
setenforce 0
echo '<?xml version="1.0" encoding="utf-8" standalone="yes" ?><map><set name="DenyListKeyPackages"></set></map>' > /data/system/PackageManagerDenyList
pm clear com.fireos.arcus.proxy
pm disable-user com.fireos.arcus.proxy
pm disable-user com.amazon.device.software.ota
pm clear com.amazon.device.software.ota
pm disable-user com.amazon.device.software.ota.override
pm clear com.amazon.device.software.ota.override
pm disable-user com.amazon.tv.forcedotaupdater.v2
pm clear com.amazon.tv.forcedotaupdater.v2
pm list packages -d
then reboot

Categories

Resources