[Q] Block files access in custom recovery - is it possible? - Nexus 4 Q&A, Help & Troubleshooting

is it possible to block adb access to phone while it is in recovery?
I mean, we've got PIN/password to protect phone, but if a hypothetical high-tech thief access recovery, he can have all files via adb, right?
Any way to block that while in a custom recovery?

Just encrypt your phone, use a different key for encryption and lockscreen and your data is safe
Gesendet von meinem Nexus 4 mit Tapatalk 2

bronko15344 said:
Just encrypt your phone, use a different key for encryption and lockscreen and your data is safe
Gesendet von meinem Nexus 4 mit Tapatalk 2
Click to expand...
Click to collapse
thanks, but is that the only way to be safe while under custom roms and recoveries?

respider said:
thanks, but is that the only way to be safe while under custom roms and recoveries?
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?p=42349397
Sent from my Nexus 4

spaceman860 said:
http://forum.xda-developers.com/showthread.php?p=42349397
Sent from my Nexus 4
Click to expand...
Click to collapse
I've read it and thanked you for that post.
I'm asking if it's possible while using custom recovery.
thanks again
Sent from my Nexus 4 using Tapatalk 4 Beta

respider said:
I've read it and thanked you for that post.
I'm asking if it's possible while using custom recovery.
thanks again
Sent from my Nexus 4 using Tapatalk 4 Beta
Click to expand...
Click to collapse
No. Custom recovery have root access. Either flash stock or encrypt the phone
Sent from my Nexus 4

spaceman860 said:
No. Custom recovery have root access. Either flash stock or encrypt the phone
Sent from my Nexus 4
Click to expand...
Click to collapse
just bought Joeykrim's app and works great. Thanks for the hint.
Already keeping recovery.img and twrp.img in /sdcard so when needed I just flash twrp's.
I believe this is easier than having to encrypt all phone :good:

Related

Stock Recovery Flashable?

Hello,
Apologies if I didnt find it after searching but:
I was looking to get stock recovery back onto the S4. I know I can Odin back to stock but being that my phone is already set up it would be nice to just flash stock back and be happy
Thanks!
http://forum.xda-developers.com/showthread.php?t=2318844
Please search next time, the key is the use the perfect keywords
Sent from my SAMSUNG-SGH-I337 using xda premium
House M.D. said:
http://forum.xda-developers.com/showthread.php?t=2318844
Please search next time, the key is the use the perfect keywords
Sent from my SAMSUNG-SGH-I337 using xda premium
Click to expand...
Click to collapse
That means, flash the Odin? I have a such rooted ROM and I still have twrp.
Sent from my SAMSUNG-SGH-I337 using Tapatalk 4 Beta
I'd you're wanting to remain rooted, then you will need a custom recovery.
Sent from my SAMSUNG-SGH-I337 using Tapatalk 4 Beta
tdevaughn said:
I'd you're wanting to remain rooted, then you will need a custom recovery.
Sent from my SAMSUNG-SGH-I337 using Tapatalk 4 Beta
Click to expand...
Click to collapse
I used to be on stock recovery rooted and was able to update ota while keeping root with ota rootkeeper... And stock recovery
Sent from my SAMSUNG-SGH-I337 using Tapatalk 4 Beta
Every rot method I've seen requires installing a custom recovery. Either twrp or cwm.
Sent from my SAMSUNG-SGH-I337 using Tapatalk 4 Beta
tdevaughn said:
Every rot method I've seen requires installing a custom recovery. Either twrp or cwm.
Sent from my SAMSUNG-SGH-I337 using Tapatalk 4 Beta
Click to expand...
Click to collapse
Moto root chopper
Sent from my SAMSUNG-SGH-I337 using Tapatalk 4 Beta
So, you want a recovery that has no abilities? No backups. .. no restores. ... reinstall motochopper then.
Sent from my SAMSUNG-SGH-I337 using Tapatalk 4 Beta
Dear God is everyone this difficult here?
Sent from my SAMSUNG-SGH-I337 using Tapatalk 4 Beta
You have an answer. Good luck.. when you try to move backward there are more questions and things that can go wrong. .. trying to save you more grief in the future
Sent from my SAMSUNG-SGH-I337 using Tapatalk 4 Beta
I don't care to flash Roms anymore. Just s personal choice
Sent from my SAMSUNG-SGH-I337 using Tapatalk 4 Beta
robstunner said:
Hello,
Apologies if I didnt find it after searching but:
I was looking to get stock recovery back onto the S4. I know I can Odin back to stock but being that my phone is already set up it would be nice to just flash stock back and be happy
Thanks!
Click to expand...
Click to collapse
It's possible to extract the stock recovery from the Odin image and flash it independently. Check it out in this post. Be warned that it's only for AT&T S4's and it's possible to brick your device pretty badly if you flash the recovery to the wrong place.
Aou said:
It's possible to extract the stock recovery from the Odin image and flash it independently. Check it out in this post. Be warned that it's only for AT&T S4's and it's possible to brick your device pretty badly if you flash the recovery to the wrong place.
Click to expand...
Click to collapse
Thanks!!!!
Sent from my SAMSUNG-SGH-I337 using Tapatalk 4 Beta
robstunner said:
That means, flash the Odin? I have a such rooted ROM and I still have twrp.
Sent from my SAMSUNG-SGH-I337 using Tapatalk 4 Beta
Click to expand...
Click to collapse
yes, you will have to use the odin, and then root again. unless you're running a custom rom, then you will have to full wipe your device.

Flash stock recovery?

Hello! I have TWRP installed on my device without root or custom rom/kernel. Is there a way I can just flash the stock recovery to get future OTA updates? I prefer using a method that doesnt require admin rights on my pc, because I am not using my own pc for the moment.
You can get the factory image, extract ALL the zips and when you find the recovery image do "fastboot flash recovery recovery.img".
Sent from my Nexus 4 using Tapatalk 4
andyabc said:
You can get the factory image, extract ALL the zips and when you find the recovery image do "fastboot flash recovery recovery.img"
Sent from my Nexus 4 using Tapatalk 4
Click to expand...
Click to collapse
That's the problem. Efrant says you have to use 7zip and not any other thing to extract the image, but I cant install it because I dont have admin rights on this pc.
You can use Flashify from Play Store to flash recovery images without PC.
Sent from my Nexus⁴ using Tapatalk 4 Beta
Thibaultvw said:
That's the problem. Efrant says you have to use 7zip and not any other thing to extract the image, but I cant install it because I dont have admin rights on this pc.
Click to expand...
Click to collapse
So can't you right click and try to extract it?
Sent from my Nexus 4 using Tapatalk 4
andyabc said:
So can't you right click and try to extract it?
Sent from my Nexus 4 using Tapatalk 4
Click to expand...
Click to collapse
I can do that but you need 7zip efrant said.
Thibaultvw said:
I can do that but you need 7zip efrant said.
Click to expand...
Click to collapse
I know you need to use 7Zip I use it myself but it is worth a try, at the moment I am going to pull out the recovery for you.
Sent from my Nexus 4 using Tapatalk 4
TToivanen said:
You can use Flashify from Play Store to flash recovery images without PC.
Sent from my Nexus⁴ using Tapatalk 4 Beta
Click to expand...
Click to collapse
Did you use that before?
Hang on, just going to get lunch and then give you the image.
Sent from my Nexus 4 using Tapatalk 4
andyabc said:
Hang on, just going to get lunch and then give you the image.
Sent from my Nexus 4 using Tapatalk 4
Click to expand...
Click to collapse
I downloaded the factory image myself, but you can give it to me as well so I know I did it correctly. Why actually do you have to use 7zip?
Edit: nope I cant extract it myself
Thibaultvw said:
Did you use that before?
Click to expand...
Click to collapse
No but I'm about to try it in a moment. Downloading factory image as we speak...
Sent from my Nexus⁴ using Tapatalk 4 Beta
---------- Post added at 03:42 PM ---------- Previous post was at 03:21 PM ----------
TToivanen said:
No but I'm about to try it in a moment. Downloading factory image as we speak...
Sent from my Nexus⁴ using Tapatalk 4 Beta
Click to expand...
Click to collapse
Yeah, it totally worked. Also locked bootloader using BootUnlocker app.
Got some piece of mind and I also hope this will ease up my ORD a bit
I may easily restore my backed up custom recovery using flashify if I ever need to update ROM or whatever...
Sent from my Nexus⁴ using Tapatalk 4 Beta
Thibaultvw said:
I downloaded the factory image myself, but you can give it to me as well so I know I did it correctly. Why actually do you have to use 7zip?
Edit: nope I cant extract it myself
Click to expand...
Click to collapse
Here you are, just flash it using fastboot using this command:
fastboot flash recovery recovery.img
andyabc said:
Here you are, just flash it using fastboot using this command:
fastboot flash recovery recovery.img
Click to expand...
Click to collapse
Thanks! It's the one for 4.3 right?
And if I want to install a custom rom, and make a twrp backup. Can I then go back to restore the backup and then just flash this recovery in fastboot to get the OTA?
Thibaultvw said:
Thanks! It's the one for 4.3 right?
And if I want to install a custom rom, and make a twrp backup. Can I then go back to restore the backup and then just flash this recovery in fastboot to get the OTA?
Click to expand...
Click to collapse
Yes, yes and yes.
You can use Flashify to make a backup, restore and flash.
Remember you can only flash 3 times a day unless you pay for the full version.
Sent from my Nexus 4 using Tapatalk 4
andyabc said:
Yes, yes and yes.
You can use Flashify to make a backup, restore and flash.
Remember you can only flash 3 times a day unless you pay for the full version.
Sent from my Nexus 4 using Tapatalk 4
Click to expand...
Click to collapse
No I mean making a backup in twrp, install a custom rom. New version of android comes out: (let's say 5.0 because updating CM for example from 4.3. to 4.3.1 isnt that hard I think), just restore the backup and flash this recovery in fastboot. (without flashify)
Then I will get the OTA?
Thibaultvw said:
No I mean making a backup in twrp, install a custom rom. New version of android comes out: (let's say 5.0 because updating CM for example from 4.3. to 4.3.1 isnt that hard I think), just restore the backup and flash this recovery in fastboot. (without flashify)
Then I will get the OTA?
Click to expand...
Click to collapse
Exactly what I was thinking and it would remain yes, try flashing it.
Sent from my Nexus 4 using Tapatalk 4
andyabc said:
Exactly what I was thinking and it would remain yes, try flashing it.
Sent from my Nexus 4 using Tapatalk 4
Click to expand...
Click to collapse
Ok thanks (I ran out of thanks for today)
I think I am going to stay with this TWRP for a while (actually I want CM official nightlies back) and will try this method when KLP comes out. I think I will have my pc back then and will be able to pull the recovery of the image then and I will post if it worked or not!
thank you for your effort mate!
Thibaultvw said:
Ok thanks (I ran out of thanks for today)
I think I am going to stay with this TWRP for a while (actually I want CM official nightlies back) and will try this method when KLP comes out. I think I will have my pc back then and will be able to pull the recovery of the image then and I will post if it worked or not!
thank you for your effort mate!
Click to expand...
Click to collapse
No problem.
Sent from my Nexus 4 using Tapatalk 4
I decided to flash the stock recovery anyway. So now I am fully stock and will get future OTA updates? I actually like the stock rom, but will maybe fllash CM10.2 if nemesis comes with some cool stuff.
Thanks for pulling it for me!

[Help) update broke root

Hey guys, just did 4.3 update through my settings and now my SU binary isn't installed... Can I reroot on my phone or does it require a PC this time? Thanks.
Sent from my Nexus 4 using Tapatalk 2
Lukemolina said:
Hey guys, just did 4.3 update through my settings and now my SU binary isn't installed... Can I reroot on my phone or does it require a PC this time? Thanks.
Sent from my Nexus 4 using Tapatalk 2
Click to expand...
Click to collapse
Do a backup and reroot
Have to reroot using PC though? Or is there a way to do it on my phone since it was previously rooted and I have TWRP. Etc.
Sent from my Nexus 4 using Tapatalk 2
Lukemolina said:
Have to reroot using PC though? Or is there a way to do it on my phone since it was previously rooted and I have TWRP. Etc.
Sent from my Nexus 4 using Tapatalk 2
Click to expand...
Click to collapse
Download the supersu zip and flash it using twrp. No PC needed.
Sent using xda-developers app
Chromium_ said:
Download the supersu zip and flash it using twrp. No PC needed.
Sent using xda-developers app
Click to expand...
Click to collapse
+1
Chromium_ said:
Download the supersu zip and flash it using twrp. No PC needed.
Sent using xda-developers app
Click to expand...
Click to collapse
Thanks! You legend
EDIT: tried to shut down and start up twrp. Got a little android with a red error sign popping out of its chest.
Sent from my Nexus 4 using Tapatalk 2
First after the update you need to install TWRP (with a pc) use the nexus toolkit and download SuperSU v1.51update to you phone and flash it with TWRP
emi_fer said:
First after the update you need to install TWRP (with a pc) use the nexus toolkit and download SuperSU v1.51update to you phone and flash it with TWRP
Click to expand...
Click to collapse
OK, thank you for input. I will do this tonight after work
Sent from my Nexus 4 using Tapatalk 2
Lukemolina said:
OK, thank you for input. I will do this tonight after work
Sent from my Nexus 4 using Tapatalk 2
Click to expand...
Click to collapse
Yeah you see when you update via OTA it will flash the newer version of the recovery.
You can unlock its screen via volume up and power.
As suggested try using a Toolkit to do it but if that fails then go to the bootloader and flash it manually.
Sent from my Nexus 4 using Tapatalk 4

[Q] Hide Root Problem

Hi. I have tried many ways of hiding root so I can use my Barclays Bank app with no success.
Has anyone got a way that can work? I have unrooted my phone for now until this can be done, any ideas or anything would be greatful. Thanks.
Sent from my GT-I9505 using Tapatalk
skrapi said:
Hi. I have tried many ways of hiding root so I can use my Barclays Bank app with no success.
Has anyone got a way that can work? I have unrooted my phone for now until this can be done, any ideas or anything would be greatful. Thanks.
Sent from my GT-I9505 using Tapatalk
Click to expand...
Click to collapse
1. Make a backup of ur Internal Memory
2. Do a factory reset
3. Flash through ODIN the stock rom u have installed again
4. Enjoy
Joku1981 said:
1. Make a backup of ur Internal Memory
2. Do a factory reset
3. Flash through ODIN the stock rom u have installed again
4. Enjoy
Click to expand...
Click to collapse
Maybe it's me not reading it properly but what? Lol. Sorry don't understand what you mean. I want to root my phone at the same time as using barclays App.
Sent from my GT-I9505 using Tapatalk
skrapi said:
Maybe it's me not reading it properly but what? Lol. Sorry don't understand what you mean. I want to root my phone at the same time as using barclays App.
Sent from my GT-I9505 using Tapatalk
Click to expand...
Click to collapse
I missunderstood u, sorry. Take a look: HERE
skrapi said:
Maybe it's me not reading it properly but what? Lol. Sorry don't understand what you mean. I want to root my phone at the same time as using barclays App.
Sent from my GT-I9505 using Tapatalk
Click to expand...
Click to collapse
did you try to Temporary un-root with this app?
Xposed Framework +RootCloak Module
Gesendet von meinem SM-P600 mit Tapatalk
Thank you. I will try these out after I finish a website fit a customer.
Sent from my GT-I9505 using Tapatalk
None of those worked for me :/
Sent from my GT-I9505 using Tapatalk

Help Wanted, Please!! Nexus 6p freezed and keeps popping up NFC has stopped!

I unlocked the phone using the Nexus root toolkit. I used the flash zip function in the toolkit to flash the zip file of Xposed (xposed-v79-sdk23-arm64.zip) into the phone, but now I got a message saying the unfortunately NFC service has stopped. This message keeps popping up no matter I choose Report or OK, so now I can't do anything with the phone. Anyone can help with this issue? Very much appreciated.
carrygo said:
I unlocked the phone using the Nexus root toolkit. I used the flash zip function in the toolkit to flash the zip file of Xposed (xposed-v79-sdk23-arm64.zip) into the phone, but now I got a message saying the unfortunately NFC service has stopped. This message keeps popping up no matter I choose Report or OK, so now I can't do anything with the phone. Anyone can help with this issue? Very much appreciated.
Click to expand...
Click to collapse
Did you install the xposed installer apk first.?
Sent from my Nexus 6P using Tapatalk
No, I didn't... What should I do right now?
chubby65 said:
Did you install the xposed installer apk first.?
Sent from my Nexus 6P using Tapatalk
Click to expand...
Click to collapse
carrygo said:
No, I didn't... What should I do right now?
Click to expand...
Click to collapse
You have to install the xposed installer apk first then flash the framework through twrp recovery mate
Sent from my Nexus 6P using Tapatalk
chubby65 said:
You have to install the xposed installer apk first then flash the framework through twrp recovery mate
Sent from my Nexus 6P using Tapatalk
Click to expand...
Click to collapse
I realized my mistake now, but do you have any suggestion about what I should do now to recover the phone?
You might have to use the uninstaller zip
Or if you made a nandroid restore that
Sent from my Nexus 6P using Tapatalk
chubby65 said:
You might have to use the uninstaller zip
Or if you made a nandroid restore that
Sent from my Nexus 6P using Tapatalk
Click to expand...
Click to collapse
Could you please elaborate a bit more on this? I googled it but I didn't get a clue. When I reboot the phone, it shows the phone is corrupted. After the phone is completely rebooted, the screen shows unfortunately NFC has stopped. The message remains there no matter what I do. So how can I uninstall a zip in this case? Thank you very much.
carrygo said:
Could you please elaborate a bit more on this? I googled it but I didn't get a clue. When I reboot the phone, it shows the phone is corrupted. After the phone is completely rebooted, the screen shows unfortunately NFC has stopped. The message remains there no matter what I do. So how can I uninstall a zip in this case? Thank you very much.
Click to expand...
Click to collapse
Download the uninstaller zip and put it on your pc then connect your phone place the zip in your phone boot into twrp and flash the zip
Sent from my Nexus 6P using Tapatalk
chubby65 said:
You might have to use the uninstaller zip
Or if you made a nandroid restore that
Sent from my Nexus 6P using Tapatalk
Click to expand...
Click to collapse
I did a backup with the Nexus root toolkit, but I suppose it's just about the apps right? Is it the nandroid that you are referring to?
carrygo said:
I did a backup with the Nexus root toolkit, but I suppose it's just about the apps right? Is it the nandroid that you are referring to?
Click to expand...
Click to collapse
Once you install twrp recovery did you make a backup through recovery?
Sent from my Nexus 6P using Tapatalk
chubby65 said:
Once you install twrp recovery did you make a backup through recovery?
Sent from my Nexus 6P using Tapatalk
Click to expand...
Click to collapse
I didn't install twrp recovery. I just used the flashed zip function in the Nexus root toolkit, which I believe (I might be wrong) says it would use twrp temporarily to flash zip files. What I did is backup the apps before unlocking the phone. I unlocked the phone and flashed the zip file of xposed.
carrygo said:
I didn't install twrp recovery. I just used the flashed zip function in the Nexus root toolkit, which I believe (I might be wrong) says it would use twrp temporarily to flash zip files. What I did is backup the apps before unlocking the phone. I unlocked the phone and flashed the zip file of xposed.
Click to expand...
Click to collapse
Re flash stock through nexus root toolkit and restore your apps would be easier for you
Then install the xposed installer apk
Then install xposed framework
Sent from my Nexus 6P using Tapatalk
chubby65 said:
Re flash stock through nexus root toolkit and restore your apps would be easier for you
Then install the xposed installer apk
Then install xposed framework
Sent from my Nexus 6P using Tapatalk
Click to expand...
Click to collapse
I know my questions are very stupid, but how do I reflash stock using the Nexus root toolkit? What stock should I use? Could you please give me a step by step guidance if it doesn't bother you too much or could you please give me a reference for this? I appreciate your help very much.
carrygo said:
I know my questions are very stupid, but how do I reflash stock using the Nexus root toolkit? What stock should I use? Could you please give me a step by step guidance if it doesn't bother you too much or could you please give me a reference for this? I appreciate your help very much.
Click to expand...
Click to collapse
Start the nexus root toolkit and connect your phone click on return to stock button it'll tell you what to do from there
Sent from my Nexus 6P using Tapatalk
chubby65 said:
Start the nexus root toolkit and connect your phone click on return to stock button it'll tell you what to do from there
Sent from my Nexus 6P using Tapatalk
Click to expand...
Click to collapse
Thank you very much for your help!
carrygo said:
Thank you very much for your help!
Click to expand...
Click to collapse
Did you manage to get it sorted mate?
Sent from my Nexus 6P using Tapatalk
chubby65 said:
Did you manage to get it sorted mate?
Sent from my Nexus 6P using Tapatalk
Click to expand...
Click to collapse
Yes, thanks a lot!!
carrygo said:
Yes, thanks a lot!!
Click to expand...
Click to collapse
Great
Don't forget to make regular back ups mate it'll make it easier for you
Sent from my Nexus 6P using Tapatalk

Categories

Resources