[Q]HTC desire HD--- camera black and white after rooting? please help !? - Android Q&A, Help & Troubleshooting

last week i tried to root my HTC and all sudden the camera turned black and white.
i tried to look for sitting, but i couldn't find anything help.
so i reset the phone to the defult and i still have the same problem.
and an application called " superuser " haven't been deleted.
also the software version is 2.2, and i tried to update but i couldn't!
anyone can help please ! i want the camera to work so badly !

Well it sounds like something messed up during root,
You can't remove SuperUser it's used for ROOT to grant root access to apps that require it.
Step by step for troubleshooting.
1)Download "Camera Fix 2.2.zip" (Attached File)
2)Extract contents (Two APK files) to the root of your SD card.
3)Mount SD to phone.
4)Use a application installer or file browser and find "Camera.apk, and Gallery3D.apk"
5)Install both programs
6)Reboot phone.
----------------------------
If this method doesn't work continue on with this.(DO NOT DO THIS UNLESS THE ABOVE FAILED)
1)Search Market for "ROM Toolbox"
2)Install this program
3)Open this program, A Dialog box will pop-up asking for ROOT.
4)Accept ROM Toolbox for ROOT.
5)Open "App Manager"
Here you will see a list of apps, along with category tabs. Swipe to the right till you are in the All Apps category, scroll down till you see "Camera"
6)Long Press/Click the Camera bar/app until a menu pops-up
7)You will see "Launch, Backup, Uninstall, Manage, etc...
Scroll down to "Zipalign", click it/press it. You will see a few things pop-up just saying it's zipaligning the app.
8)Now repeat step #6.
9)From this menu again, scroll down till you see "Fix Permissions" Click it/Press it.
10)Reboot phone, and hopefully that works!

redbaron2005 said:
Well it sounds like something messed up during root,
You can't remove SuperUser it's used for ROOT to grant root access to apps that require it.
Step by step for troubleshooting.
1)Download "Camera Fix 2.2.zip" (Attached File)
2)Extract contents (Two APK files) to the root of your SD card.
3)Mount SD to phone.
4)Use a application installer or file browser and find "Camera.apk, and Gallery3D.apk"
5)Install both programs
6)Reboot phone.
----------------------------
If this method doesn't work continue on with this.(DO NOT DO THIS UNLESS THE ABOVE FAILED)
1)Search Market for "ROM Toolbox"
2)Install this program
3)Open this program, A Dialog box will pop-up asking for ROOT.
4)Accept ROM Toolbox for ROOT.
5)Open "App Manager"
Here you will see a list of apps, along with category tabs. Swipe to the right till you are in the All Apps category, scroll down till you see "Camera"
6)Long Press/Click the Camera bar/app until a menu pops-up
7)You will see "Launch, Backup, Uninstall, Manage, etc...
Scroll down to "Zipalign", click it/press it. You will see a few things pop-up just saying it's zipaligning the app.
8)Now repeat step #6.
9)From this menu again, scroll down till you see "Fix Permissions" Click it/Press it.
10)Reboot phone, and hopefully that works!
Click to expand...
Click to collapse
really thanks for helping me, for the first method i tried to install the camera.apk and the gallery3d.apk but each time a message shows before the installations says " application not installed " .
and for the second method didn't work.
please can you tell me how to install the camera.apk and the gallery3d.apk?

EMZiq said:
really thanks for helping me, for the first method i tried to install the camera.apk and the gallery3d.apk but each time a message shows before the installations says " application not installed " .
and for the second method didn't work.
please can you tell me how to install the camera.apk and the gallery3d.apk?
Click to expand...
Click to collapse
Okay, lets download Android Commander this is the easiest way to use ADB. ADB is going to be what we use to fix your phone.
After its downloaded...
and Installed...
Lets do a test and see if your phone will show up...
1)Install Android Commander
2)Plug your phone in with the USB to your computer
3)Go to Settings > Development > USB Debugging we want this ON
4)Did your computer realize your phone is connected?
If not, I need to know what phone you have so I can further help you.
If it doesn't show up you need ADB Drivers for your phone...
If it does work....
5)Open Android Commander
6)You will see a pop-up
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Hopefully you will also see something under "Select Device"
click OK, Android Commander will start.
7)In the right hand menu you will see your phone's system files among other things.
8)Look for the system folder, open it.
9)look for the "app" folder, open it.
10)Drag and drop the apk file I gave you into this folder (system/app)
11)Click the power button on Android commander and reboot phone. Or just reboot your phone.
I really hope that this is helping and I can help you out.
Let me know if Android Commander finds your phone or not.
HTC Desire right?
http://www.mediafire.com/?mhzhki52ntbmmiz
Download the drivers if you don't have them.
Extract them to the desktop or anywhere you like,
then Go into your Control panel... Start > Control Pannel > Device Manager
Then look under Android Phone, or Other Decises, right click your phone if you find it. Click Update Driver Software, Browse file from Computer, then point it to where ever you put the drivers

i really appreciate your work and time that you spending helping me
but it didn't work
the debugging worked fine and i followed each step, but it's still black and white !
is there any way i can reset it to the original ? i remember doing backup before in a MyBackup pro. but it's only restore the data and pictures and stuff and it wouldn't restore the camera to the default
please help

Related

[SOLVED] App to generate list of cabs installed to device?

I've got 'CabBatchInstall' on my device, which is useful, as it allows you to install a batch of cabs one by one to your device, after updating the ROM or doing a hard reset. You generate a list by pointing at the directory where you've stored them, and can then edit the text file down to only include the cabs you want to install, rather than the entire contents of the directory you've pointed at. See the application thread at http://forum.xda-developers.com/showthread.php?t=407885.
This got me thinking: Is there an app for 'interrogating' your phone to see what you have installed on it at a particular point in time? After all, what you have installed is listed at Settings > Application > Remove Programs > And if there is, or if not, but someone would produce this sort of thing, could it be made to 'talk to' or be an addition to 'CabBatchInstall', so that the list of installed apps is the one 'CabBatchInstall' uses to do the batch install after hard reset or new ROM?
Just so you're aware, I've made similar post to this on the application thread I've linked above.
you could try listing the folders in Windows\AppMgr to a text file - MortScript which should be capable of this
Thanks p107r0, but I'm a complete novice when it comes to programming, mortscript and everything like that.
Oh well, I suppose it was a nice idea...
thats an excellent idea for an app. Sometimes I'll finally have my device set up exactly the way i like but it usually takes me going through and doing alot of installing/uninstalling to figure out what i want to get to that point. Or i'll flash a nee rom and really only want the apps that i had previously. This would prove quite helpful. Before I always had to resort to going to the "remove programs" screen and from there i would just keep scrolling down the list of apps and take screenshots so atleast i would know what they were.
Yorkshire Yellow said:
Thanks p107r0, but I'm a complete novice when it comes to programming, mortscript and everything like that.
Oh well, I suppose it was a nice idea...
Click to expand...
Click to collapse
I was bored and curious if I can do it, so here comes short script which lists all the folders in Windows\AppMgr to a text file on storage card,
of course you'll need MosrtScript to run it
Wow, what a usefull script!!
I make an installation (cab file) of it.
After you have installed - you find it in Startmenue-> Tools-> AppList...
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
There you find two Icons:
-One Icon to Make (create) the List.
-And one Icon to Open (show) the List.
Enjoy it...
Thanks to both p107r0 & BOBO_01.
BOBO_01 - how might I change the save location of the AppList? I'd like to save it to my Cabs folder on my storage card? (i.e. \Storage Card\Cab files)
Yes a helpfull little app. I use also mort for my things, but i have never thought about these app. Thank you...
BOBO_01 said:
I make an installation (cab file) of it.
Click to expand...
Click to collapse
nice work, thanks
Yorkshire Yellow said:
how might I change the save location of the AppList
Click to expand...
Click to collapse
find the script file "AppList.mscr" and change the vDestFile in first line to your preferred path
PS
below update of the script, which should - hopefully - produce sorted output file
p107r0 said:
nice work, thanks
find the script file "AppList.mscr" and change the vDestFile in first line to your preferred path
PS
below update of the script, which should - hopefully - produce sorted output file
Click to expand...
Click to collapse
Thanks to all - have been looking fo a App like this. A little scary when you see the list - in my case 120 apps and still hoping for more. Every day something else appears to be "loaded up". Great work to everyone
Why dont you try sk tools? It does exactly what you want.
A question
p107r0 said:
nice work, thanks
find the script file "AppList.mscr" and change the vDestFile in first line to your preferred path
PS
below update of the script, which should - hopefully - produce sorted output file
Click to expand...
Click to collapse
Thanks. As a newbie to MortScript, where do I install the script to, and how do I change 'vDestFile'? would that be by using the MortScript App, which I installed to my deviceas per your post of 10 December?
Yorkshire Yellow said:
where do I install the script to
Click to expand...
Click to collapse
the script file itself can be run from anywhere on your device via File Explorer
if you installed the cab prepared by BOBO_01, copy the script to \Program Files\AppList folder - hope it should work from there
Yorkshire Yellow said:
how do I change 'vDestFile'
Click to expand...
Click to collapse
the easiest way is to open the .mscr file in any notepad application on your PC
I use SK Tools, very easy.
leunam12 said:
I use SK Tools, very easy.
Click to expand...
Click to collapse
SK Tools is for sure a very powerful set of utilities,
however in terms of price nothing beats the free stuff.
As for keeping track of installed apps, I prefer to just keep on my Storage Card an orderly folder with cabs (moreless similar to the structure used in XDA_UC), this way I always know what is installed and where, also whether it needs installing at all.

[Q] Why doesn't this app run? (CommBank Kaching)

Firstly: I'm new here, but I'm sure this is a fresh thread. I doubt anyone else will have asked this yet.
So basically, CommBank Kachinghttps://play.google.com/store/apps/details?id=au.com.commbank.kaching is an online banking app, but the developers have decided that it can't be downloaded to or run from a rooted device. I think.
Basically, is there a filter that will allow Play to disallow rooted device from downloading, or is it the Device Status flag that does this? Also, if downloaded to a stock device which is later rooted, the app will fail to run, with a message saying "This device cannot be supported." I suppose this is the nice way of letting us down.
Is there anyway for me to check whether a particular "status" is preventing this from running?
There are a limited number of devices that are currently supported, but the I9300 is one of them. It requires 2.3 (GB) or above, which I'm running, technically. The app actually worked during the root process, right up until the device rebooted to complete the root process - I'm guessing that that's when the "Device Status" is updated? Would this be it?
tl;dr
Is there anyway to find out what is 'triggering' this app? (And how would I do this?)
If it is the Device Status = 'Modified', is there a way to change this?
Is there anyway to find out what is 'triggering' this app? (And how would I do this?)
Some apps refuse to run due to security risk of root . Fix font know but i would look in APPS section .
If it is the Device Status = 'Modified', is there a way to change this?
Unroot and flash a stock rom is all so far .
jje
hxxps://dl.dropbox.com/u/32917310/modded.commbank.kaching-p1xel8ted.rar (if you cant be bothered do the steps below.)
First off, you need to get "framework-res.apk" off your Rom, it can be found in /system/framework. Put it somewhere safe for now.
1. Get APKMultiTool from hxxp://apkmultitool.c0m/, when your run it for the first time, before selecting any options, copy your "framework-res.apk" into {apkmultifolder}/platform-tools.
After its copied, select option 2, then option 1. It may exit afterwards, if it does, re-run "setup.bat", found in the apkmulti install folder, and select option 3.
After that, run Apk Multi-Tool from the desktop.
2. On your phone, using a file explorer (Romtoolbox, esfile explorer etc) make a backup of CommBank and Kaching
3. Copy those backups as APKs to your computer
4. Place the apks in the "place-apk-here-for-modding" folder within the APKMultitool directory.
5. Run apkmultitool
6. Use option 23 (set project) and select commbank
7. Use option 9 (decompile)
8. Repeat step 6 and 7 for kaching
9. Open {apkmultifolder}\projects\au.com.commbank.kaching.apk\smali\au\com\vivant\util\deviceutils.smali
10. At line 32, replace and save
const-string v1, "test-keys"
with
const-string v1, "test-keysss"
11. at line 61, replace and save
const-string v2, "/system/app/Superuser.apk"
with
const-string v2, "/system/app/Superuser11.apk"
** Repeat steps 10 and 11, but with {apkmultifolder}\projects\CommBank_2.2.2.apk\smali\au\com\vivant\util\deviceutils.smali
12. Back into apkmultitool, again using option 23 (set project) select commbank
13. Use option 11 (compile), answer No to system app, and answer No to use other files
14. Use 12 (sign).
15. Repeat steps 12 to 14 but selecting kaching instead.
16. Go back into "place-apk-here-for-modding" and there will be two new files with "signed" in front of the names, copy those to your phone and install.
What we've done is basically "cracked" the check for your phone being rooted or custom rom'd/modified.
Why dont you just get an app that hides root? i did that and it works great!
although the app does suck. its a shoddy iClone
I am also rooted and use siyah kernal, which has the 'remove root' function. I leave the option 'restore root on reboot' ticked and once I've finished I just reboot the phone.
Edit: Just found a quicker way which doesn't require a reboot, as per Milz123's recommendations. And it wasn't that hard or messy.
I downloaded 'hide my root' from the play store. Then I selected 'hide su binary' then 'hide su app'. Logged on Kaching and worked perfect.
Logged out then restored su binary then su app and tested some apps which require root. They worked prefect. Then tried logging into Kaching again but couldn't.
Fyi, I use supersu, not superuser. When I selected to hide the su app it said it didn't exist, but in reality it still hid then restored the correct app. So worked 100% and took seconds.
Edit 2: Tested with just 'hide su app' and it worked. Phone is still rooted and app works.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Sent from my GT-I9300 using xda premium

[Q] backup and restore.apk!

hi guys
i want have backup and restore.apk on another ROMs!!!
i extracted it from system/app/backup and restore.apk from orginal rom
then i copied it ro system/app of another rom like Semc Debrand Engine and set primisons :
R W -
R - -
R - -
and then reboot
but its not working!!!!
so what in wrong here?
sorry if i'm posting spam!
Backup and restore.apk works only on 2.1 (and less) androids. If you want to use it on higher android, it wont work.
penthaler said:
Backup and restore.apk works only on 2.1 (and less) androids. If you want to use it on higher android, it wont work.
Click to expand...
Click to collapse
no way??? :crying:
for example extract that from another xperia orginal rom like XPERA MINI??
Sorry, no way. There is no possibility to run this app on higher android - as I wrote before. It is not supported.
YOU CAN EXTRACT IT, maybe installation could work too, but you cant run it and restore your old backup...
Maybe when you use some Costum ROM based on official ROM with android 2.1
EDIT: Official infos from SE -> Not supported on 2.3+
penthaler said:
Sorry, no way. There is no possibility to run this app on higher android - as I wrote before. It is not supported.
YOU CAN EXTRACT IT, maybe installation could work too, but you cant run it and restore your old backup...
Maybe when you use some Costum ROM based on official ROM with android 2.1
EDIT: Official infos from SE -> Not supported on 2.3+
Click to expand...
Click to collapse
I could be wrong since i have X10 (Not mini).. but Backup & restore works on X10S v9.0 Rom (2.3.4) ...
Isn't it possible to use astro file manager? They have a app backup and restore function
Sent from my HTC Incredible S using xda premium
Backup and restore of userdata
I agree in the need for a newbie-friendly backup/restore of userdata.
The official SEMC-apk sadly won't work.
This could be a newbie-friendly simple solution:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Root and backup
Download and install SuperOneClick http://shortfuse.org/
Connect the X10MP to the PC with the USB cable. Celect Charge phone.
Start SuperOneClick and click on Root. Follow instructions. If asked about your Android version is above 2.x, click Yes. Also click Yes to install Busybox.
When finished, turn off the X10MP, and then turn it on again.
Tap Market and search for "My Backup", select My Backup Root and install the app.
Start the app and allow the superuser request, and agree to some license etc.
Tap BACKUP > Data > Local.
Check the data you want to backup and tap OK. Remember the contactlist if you are an off-line person that do not sync to a Google account (now is the time to reconsider to sync it to Google).
Give the backup a name and tap OK, sit back and wait.
Did you use the Notes app, and do wish to keep those notes?
Start Market and search for GTasks and install the app.
When installed, start Notes app. Tap on a note you wish to keep. Longtap on the note (put your finger on the screen and hold it), select Copy all in the popup menu.
Exit Notes and start GTasks. Tap on the plus to add a new task. Longtap in the text field and select Paste in the popup menu, and then tap on Done.
Exit GTasks and repeat for all your notes. When finished, tap Syncronize in GTasks.
All your kopied notes are now available in Google Tasks, and are accessible from any app that accesses the Google Tasks.
If you are an offline-person who don't want to sync online, I can recoment Just Notepad for Android to save all your Notes as simple txt-files. Just follow the copy-paste-instruction from above. Tap the small SD-card icon to save each note as a normal txt-file on the SD-card.
Here you install your new custom ROM
Restore data
If you have your contacts synced to a Google account, tap Settings > Accounts & sync > Add account > Google > Next > Sign in. Wait for your account to sync the contactlist and calandar.
If you are an off-line person, and backed up your contacts etc. using My Backup Root or backed up call log, SMS and MMS, tap Market (and log into your Google acount) and search for "My Backup", select My Backup Root and install the app.
Start the app and allow the superuser request, and agree to some license etc. Tap RESTORE > Data > Local.
Select the data file, and check the data to restore. Sit back and wait.
!!! Do not restore contacts if you also restored from your Google Account !!!
!!! Do not restore contacts if you also restored from your Google Account !!!
!!! Do not restore contacts if you also restored from your Google Account !!!
Good Tutorial

[Q] Clarification on changing the boot screen please

I'm new here so couldn't reply to the post from http://forum.xda-developers.com/newreply.php?do=newreply&p=56767184
which I have quoted:
mtyler7807 said:
Here Is a Custom splash logo Consumercelluar and the other branded phones
Directions:
1. use es explorer and go to Cust/????/us/logo/oemlogo.mbn in the root (device) directory.
2. Rename the file in the Cust/????/us/logo folder to oemlogo.mbn1
3.Copy the supplied logo and paste it in your Cust/????/us/logo or get your own logo, just make sure that it 720x1280.
4. Then use Terminal explorer and type Su
5 then type load_oemlogo
6 restart and logo has changed.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
oemlogo.mbn
https://drive.google.com/file/d/0BwnSk8BOQp3wb0RQOUphbjJMNFU/view?usp=sharing
Click to expand...
Click to collapse
HUAWEI Ascend Mate 2 MT2-L03 rooted.
I have changed the carrier logo to the one down loaded and tried to follow the instruction. "Terminal Explorer" search on play store brings up several "Terminal Emulator" apps but not "terminal explorer" . I tried a emulator but "Su" doesn't work. "su" changes the prompt to root. It wasn't clear whether enter was supposed to be used between Su and load or not. My boot screen hasn't changed after rebooting. Any suggestions?
Terminal Emulator for Android has a need for busybox
you has -busybox?
Coss83 said:
Terminal Emulator for Android has a need for busybox
you has -busybox?
Click to expand...
Click to collapse
yes, busy box installed
solved "Clarification on changing the boot screen please"
bhcv said:
I'm new here so couldn't reply to the post from http://forum.xda-developers.com/newreply.php?do=newreply&p=56767184
which I have quoted:
HUAWEI Ascend Mate 2 MT2-L03 rooted.
I have changed the carrier logo to the one down loaded and tried to follow the instruction. "Terminal Explorer" search on play store brings up several "Terminal Emulator" apps but not "terminal explorer" . I tried a emulator but "Su" doesn't work. "su" changes the prompt to root. It wasn't clear whether enter was supposed to be used between Su and load or not. My boot screen hasn't changed after rebooting. Any suggestions?
Click to expand...
Click to collapse
How to change boot logo
Quote:
Originally Posted by mtyler7807 (forum.xda-developers dot com/ascend-mate2/general/consumer-wireless-variant-t2888615/page7)
Post the steps. Thats all I need to complete the change. From Consumer Cellular.
Here is instruction to change boot logo for Consumer Cellular version:
1. root the phone, install ES File Explorer or Root Browser, and ConnectBot or any terminal app, and grant super user right to these apps
2. backup original boot logo at /cust/us/consumercellular/logo/oemlogo.mbn if you really like that ugly image
3. make a 720x1280 image then flip it vertically (if you forget to do this, you will find out soon...)
4. save the image as 24bit bitmap file (BMP format), any program should be fine as long as it can save file in this format without any additional tag, header, profile etc
5. use this "BMP header remover" (Windows only, but it should not be hard to write your own for Linux) to remove the 54 byet header from the BMP file:
http://karpolan.com/software/bmp-header-remover/
6. copy the modified BMP file to your phone as /cust/consumercellular/us/logo/oemlogo.mbn
7. make a backup copy of this file : /data/custom.bin
8. use ES File Explorer or Root Browser or terminal app to modify the text file /data/custom.bin, just add a few characters to the end of line, for example, anything will do, just change it, and save. Please don't ask me why, a few Chinese posters figured this out on their Chinese version, I have no idea why this works.
Code:
consumercellular/us
to
Code:
consumercellular/us-xyz
9. go to a terminal (eg ConnectBot) on your phone, type:
Code:
$ su
# load_oemlogo
you should see a line says something and it should take a second or two to execute. if you see nothing and it finishes in no time, then you did not do step 8 correctly
10. put the text file /data/custom.bin back to its original form, hope you did back it up!
Code:
consumercellular/us
11. reboot, and you should have your new boot logo.
Shutdown logo
The instructions worked for everything except the shutdown logo...its still that ugly consumer cellular logo...ideas?
That's a separate file. Just delete it. Or rename it something other than shutdownanimatiin.zip

How To Guide How to give any app WRITE_SECURE_SETTINGS without a computer or root

DISCLAIMER: This guide works on any phone with Android 11 or newer. Previous versions do not have wireless debugging so this is not possible.
Hey all! In this short guide, I will be showing you how to give any app the permission "WRITE_SECURE_SETTINGS" without needing to connect to a computer.
For this guide, I will be using System UI Tuner by Zachary Wander as my example app.
First, download and install Shizuku. This is a wonderful app that allows system API access directly without needing to root your phone.
Once you've installed Shizuku, follow the steps to start it through the wireless debugging method. You will only need to pair once as long as you don't reinstall the app.
DISCLAIMER: Shizuku will need to be restarted if you restart your phone but it's just a matter of re-enabling wireless debugging and then clicking "Start" in the Shizuku app.
Next, we're going to install Termux by Fredrik Fornwall. Simply open the app once, wait for it to finish installing, then leave the app.
Now, re-enter Shizuku, and click the button that says "Use Shizuku in terminal apps".
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Then click "Export files".
Afterwards, make a new folder, and call it "Shizuku".
Finally, click "Use this folder".
Almost there!
Head over to Termux, and type:
Code:
pkg install nano
This installs a text editor that we will use to edit our Shizuku config file.
While it's installing, go to Termux's app info, and change the permissions to allow it access to all files. This will allow it to see the folder we made earlier.
Go back to Termux, and after nano is done installing, type the following:
Code:
cd /sdcard/Shizuku
nano shizuku
Once inside the text editor, press the CTRL key on Termux's key bar, and press the "\" key on your keyboard.
Now, type "PKG", press Enter, then in the next field, type "com.termux".
Now, tap "a", tap Ctrl+X, tap "y", and you're done!
Whenever you want to authorize an app with "WRITE_SECURE_SETTINGS" simply open Termux, cd to "/sdcard/Shizuku", and type:
Code:
sh shizuku pm grant <package name here> android.permission.WRITE_SECURE_SETTINGS
You will only have to do this once per app as long as you do not uninstall it.
Have fun!
So this broke my brain just a bit (it's been one of those days) however if I am reading it correctly this will give some apps a pseudo root.
alarmdude9 said:
So this broke my brain just a bit (it's been one of those days) however if I am reading it correctly this will give some apps a pseudo root.
Click to expand...
Click to collapse
Sort of, it's the highest permission you can give an app without rooting your phone.
Does it allow you to say debloat the phone or things like that?
alarmdude9 said:
Does it allow you to say debloat the phone or things like that?
Click to expand...
Click to collapse
I'm not sure I haven't tested it that far but you can access all app data folders with it so maybe?
alarmdude9 said:
Does it allow you to say debloat the phone or things like that?
Click to expand...
Click to collapse
I'm not sure I haven't tested it that far but you can access all app data folders
Hmmm have to get some time to try this. Adulting sucks.
Hello, so I'm stuck on the /sdcard/
I dont have one is just on internal storage Shizuku folder... How do im supposed to type it
Does Shizuku still work with the N200 after the November update?
I was able to get everything setup to the last step where I grant packages write permissions, but every package I name returns 'pm: no such file or directory'.
If I use Termux to try to navigate to /SD card/Android/data i get 'cannot open directory: permission denied'. I'm wondering if Termux can even access the apps to give them elevated permissions?
Finnzz said:
Does Shizuku still work with the N200 after the November update?
I was able to get everything setup to the last step where I grant packages write permissions, but every package I name returns 'pm: no such file or directory'.
If I use Termux to try to navigate to /SD card/Android/data i get 'cannot open directory: permission denied'. I'm wondering if Termux can even access the apps to give them elevated permissions?
Click to expand...
Click to collapse
I have same error

Categories

Resources