Rooting with unlocked bootloader and no USB - Samsung Galaxy Nexus

My USB connector is broken, so I need to send the phone in for service. There have been several threads on this issue, and I know that it's possible to relock the bootloader without having fastboot access as long as you have root. Problem is, I lost root on the device and am currently on the most recent 4.1.1 stock OTA. I have access to the stock recovery. Since the bootloader is unlocked, I should be able to flash unsigned code -- how can I restore root without having access to USB, so that I can then relock the bootloader? The stock recovery doesn't recognize any of the zips or imgs that I throw on the root of the sdcard. Thanks.

vadimg said:
My USB connector is broken, so I need to send the phone in for service. There have been several threads on this issue, and I know that it's possible to relock the bootloader without having fastboot access as long as you have root. Problem is, I lost root on the device and am currently on the most recent 4.1.1 stock OTA. I have access to the stock recovery. Since the bootloader is unlocked, I should be able to flash unsigned code -- how can I restore root without having access to USB, so that I can then relock the bootloader? The stock recovery doesn't recognize any of the zips or imgs that I throw on the root of the sdcard. Thanks.
Click to expand...
Click to collapse
AKAIK stock recovery will only flash a signed update.zip on the cache partition.

vadimg said:
My USB connector is broken, so I need to send the phone in for service. There have been several threads on this issue, and I know that it's possible to relock the bootloader without having fastboot access as long as you have root. Problem is, I lost root on the device and am currently on the most recent 4.1.1 stock OTA. I have access to the stock recovery. Since the bootloader is unlocked, I should be able to flash unsigned code -- how can I restore root without having access to USB, so that I can then relock the bootloader? The stock recovery doesn't recognize any of the zips or imgs that I throw on the root of the sdcard. Thanks.
Click to expand...
Click to collapse
Unfortunately if you don't have root AND you don't have a custom recovery AND you don't have a working USB port, you cannot get root nor can you get a custom recovery... Out of luck.

same here
I am exactly in the same situation with my nexus S.
no root, no USB but unlocked bootloader so I can't send it back to samsung.
anyone can help please?

dieu2mars said:
I am exactly in the same situation with my nexus S.
no root, no USB but unlocked bootloader so I can't send it back to samsung.
anyone can help please?
Click to expand...
Click to collapse
So I actually sent my phone into Samsung with the unlocked bootloader, and it looks like they repaired it. So they weren't dicks about something that's clearly a hardware issue. Once I get the phone back, I'll root it and relock the bootloader just in case anything like this happens again and I get less lucky.

Related

Unlock -> root -> recovery -> Rom -> Lock, still root?

Hi, Is i possible to First unlock bootloaders then root it then flash recovery then flash rom then relock the phone and still be able to install roms and still got custom recovery?
Then maybe install new roms and stuff? And then install normal rom and remove root and the install normal recovery without a pc? Is it possible?
Thanks in advance
http://rootzwiki.com/topic/23167-oem-lock-while-running-custom-rom/
That post says it will run your custom ROM just fine, but you cannot flash some areas after its locked.
Unlocking it again will wipe your phone as usual.
so I can't reflash stock without unlocked bootloaders?
julllleee said:
so I can't reflash stock without unlocked bootloaders?
Click to expand...
Click to collapse
Correct, the next question is why would you want to lock your bootloader after flashing a custom recovery and rom?
Well actually you can ODIN without unlocked bootloader...so there's that.
Leave your bootloader unlocked unless you're planning to return your phone for a warranty claim.
julllleee said:
so I can't reflash stock without unlocked bootloaders?
Click to expand...
Click to collapse
You can (if you have root, or a custom recovery), but why?? There is no need to have a locked bootloader.
Sent from my Galaxy Nexus using Tapatalk 2
Hi
Well the micro sd port on the phone is glapping (maybe not spelled like that but if I move the phone it disconnect) and if that gets worse like the port stops working. Then I want to be able to send it back.
Sent from my Galaxy Nexus using xda premium
julllleee said:
Hi
Well the micro sd port on the phone is glapping (maybe not spelled like that but if I move the phone it disconnect) and if that gets worse like the port stops working. Then I want to be able to send it back.
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
Alright, so first there is no microsd port on our phones, think you're actually talking about the usb port. If there is a hardware failure on your phone though (the port not working right) then locking the bootloader but leaving on a custom rom is a bad idea (they'll figure out what you did). You'll want to return to a stock, unmodified ICS experience and send in the phone for warranty repair or replacement.
Your option for returning to stock is to use ODIN (which is probably the easiest way, there are more than a few threads detailing how to use ODIN to return to stock).

[Q] Lost root from efrants root without wiping (4.1.2) to Android 4.2 update (solved)

Hello all,
I already searched the forum but I did not found any good answer.
1. In the past I've succesfully applied root access without unlocking the bootloader while still beeing on Android 4.1.x from this guide:
http://forum.xda-developers.com/showthread.php?t=1894717
2. Now I've got a 4.2 OTA update. Before applying it I used Voodoo OTA rootkeeper to keep a backup of su.
3. Restored su with Voodoo OTA rootkeeper
The result is that I have again root access from shell but when I want to use Apps which require root I always get failures and even no confirmation dialog.
How do I get superuser working (fully root) like before?
Thanks,
therealmarv
http://download.chainfire.eu/282/SuperSU/
Jubakuba said:
http://download.chainfire.eu/282/SuperSU/
Click to expand...
Click to collapse
How should I flash that without having CWM? I think I need a manual repair :/
Is your bootloader locked?
If not...use my guide (in sig or stickied) to back up data before unlocking...
If so... "fastboot boot recovery.img" and flash the file.
The recovery is only being booted into...not written to the phone; so you'd still be stock rooted.
How in the world you not have a unlocked bootloader when you rooted before..
That aside, do remember to keep the bootloader unlocked next time..
Mach3.2 said:
How in the world you not have a unlocked bootloader when you rooted before..
That aside, do remember to keep the bootloader unlocked next time..
Click to expand...
Click to collapse
The same sort of exploit that was used in ICS was eventually found for 4.1.1 that allowed root without unlocking.
Jubakuba said:
The same sort of exploit that was used in ICS was eventually found for 4.1.1 that allowed root without unlocking.
Click to expand...
Click to collapse
What i mean is how can they not unlock the bootloader after rooting..
I did not unlocked bootloader because I thought it is not necessary (and I also thought it will affect OTA updates). So just to get it right: I can make a backup of my phone, root it, unlock bootloader and recover the backup afterwards so that no data is lost?
Ok I solved my issue (having su access via adb and locked bootloader) with this thread:
http://forum.xda-developers.com/showpost.php?p=27085483&postcount=141
1. I unlocked the bootloader with the link above
2. flashed CWM with fastboot
3. flashed SuperSU CWM ZIP for getting root again
So I now have fully root, unlocked bootloader and cwm great.

[Q] Install Stock Recovery

Hi Experts,
i had rooted my phone a while back and installed custom recovery , and was on stock ROM.
Due to issues on official emails, i had to unroot my phone and relock it.
All is fine, however i did miss 1 step, that is, i still have a diff recovery on it, and i want to install my stock recovery back so that i can install OTA.
I do have the stock recovery (i think).
So is theree a quick way to do that without unlocking the bootloader again or without losing any data?
Let me know PLEASE!
Regards
Manas
niftycalls said:
Hi Experts,
i had rooted my phone a while back and installed custom recovery , and was on stock ROM.
Due to issues on official emails, i had to unroot my phone and relock it.
All is fine, however i did miss 1 step, that is, i still have a diff recovery on it, and i want to install my stock recovery back so that i can install OTA.
I do have the stock recovery (i think).
So is theree a quick way to do that without unlocking the bootloader again or without losing any data?
Let me know PLEASE!
Regards
Manas
Click to expand...
Click to collapse
post result from command fastboot getvar version-main and we will find you the stock recovery
@Thant, the issue is not really finding the stock recovery, i assume i have it, question is -
"All is fine, however i did miss 1 step, that is, i still have a diff recovery on it, and i want to install my stock recovery back so that i can install OTA."
"So is theree a quick way to do that without unlocking the bootloader again or without losing any data?"
niftycalls said:
@Thant, the issue is not really finding the stock recovery, i assume i have it, question is -
"All is fine, however i did miss 1 step, that is, i still have a diff recovery on it, and i want to install my stock recovery back so that i can install OTA."
"So is theree a quick way to do that without unlocking the bootloader again or without losing any data?"
Click to expand...
Click to collapse
as i can remember even if your bootloader is unlocked as long as you have stock recovery you can update.. just make sure you have a backup of all your data.
Phew.. So my booloader is RE LOCKED now, and i just want to install the stock recovery... without losing data or unlocking the bootloader........possible???
niftycalls said:
Phew.. So my booloader is RE LOCKED now, and i just want to install the stock recovery... without losing data or unlocking the bootloader........possible???
Click to expand...
Click to collapse
No.
To flash recovery, your bootloader must be unlocked. Do you still have unlock.bin file?
[email protected]|-|oR said:
No.
To flash recovery, your bootloader must be unlocked. Do you still have unlock.bin file?
Click to expand...
Click to collapse
yess.. i have the unlock.bin, but then i lose all the data no?
niftycalls said:
yess.. i have the unlock.bin, but then i lose all the data no?
Click to expand...
Click to collapse
As far as I remember you will lose data. Make a backup (Titanium, or similar app) of important data, unlock the bootloader, flash stock recovery, reboot, restore data.
And keep the bootloader unlocked!
damn!! if i keep my bootloader unlocked, i keep getting an error from an anitvirus kinda tool tht i had to install so that i receive my office emails. thanks for your help, will do this when i have a lot of time..

How to RE-lock bootloader of oneplus3???

Any one knows how to re-lock the bootloader of one plus 3???
And
How to remove that screen on boot up after unlocking one plus three??? :/
If you read the screen properly ull see the instructions on the screen itself do everything the same way you unlock the bootloader just instead of oem bootloader unlock type oem bootloader lock ...but make sure you're on stock rom and recovery
zubinvig said:
If you read the screen properly ull see the instructions on the screen itself do everything the same way you unlock the bootloader just instead of oem bootloader unlock type oem bootloader lock ...but make sure you're on stock rom and recovery
Click to expand...
Click to collapse
But then My root access will be wiped??
I want root access and dont want than annoying screen
two questions different answer but I would bet if there is a way to remove nag screen a google search would find it. Keep searching threads
there is no reason to re-lock bootloader, its still under warranty through Oneplus even with unlocked bootloader. but if u really want to
1. fastboot flash stock recovery (fastboot flash recovery recovery.img) (make sure u download the file, its somewhere here on the forums
2. reboot and then reboot to fastboot (fastboot oem lock) (i have never re locked a bootloader so i am not sure if it will rewipe ur device again like unlocking it does)
3. boot to OS and get developer options again and uncheck OEM Unlock (do this last)
i would not recommend re locking since it wont void warranty and seemed like a lot people screwed up their devices relocking it, but they also unchecked the oem unlock before flashing stock recovery, also i am not sure if step 2 is needed, i would just make sure u flash stock recovery 1st before doing anything
HELP
I try to relock the bootloader but in this momento my oneplus 3 is blocked...I cant update with the stock rom...please some help!!! :crying:
zubinvig said:
If you read the screen properly ull see the instructions on the screen itself do everything the same way you unlock the bootloader just instead of oem bootloader unlock type oem bootloader lock ...but make sure you're on stock rom and recovery
Click to expand...
Click to collapse
What happens if i follow same steps with installed FREEDOM OS on my oneplus 3. You said make sure you are in stock OS.
Once i have unlocked the phn my device doesn't get recognised by the pc when i use command" fastboot devices".. Now, i'm unable to flash twrp, plz solve my issue.!!!
Arun Ammineni said:
What happens if i follow same steps with installed FREEDOM OS on my oneplus 3. You said make sure you are in stock OS.
Click to expand...
Click to collapse
ecarchi said:
I try to relock the bootloader but in this momento my oneplus 3 is blocked...I cant update with the stock rom...please some help!!! :crying:
Click to expand...
Click to collapse
What part of be on stock OS is so hard to understand?
If you're not absolutely stock when relocking, you will brick your device.
Then good luck trying to enable OEM Unlocking when not being able to boot.
As someone who messes with their phone, relocking your bootloader is one of the worst possible things you can do.
If not done correctly, it WILL brick your device.
If you want to go back to stock, then surely do, there is absolutely no need to relock your boot loader unless you're selling your device to someone or if you're looking to pass SafetyNet for Android Pay or something.
Also, you cannot have the cake as well as eat it. You need to have an unlocked boot loader for root, exposed, etc. There is no way around this.
Phones previously had to be reverse engineered and exploited to gain root access, now OEMs freely allow unlocking.
kgs1992 said:
What part of be on stock OS is so hard to understand?
If you're not absolutely stock when relocking, you will brick your device.
Then good luck trying to enable OEM Unlocking when not being able to boot.
As someone who messes with their phone, relocking your bootloader is one of the worst possible things you can do.
If not done correctly, it WILL brick your device.
If you want to go back to stock, then surely do, there is absolutely no need to relock your boot loader unless you're selling your device to someone or if you're looking to pass SafetyNet for Android Pay or something.
Also, you cannot have the cake as well as eat it. You need to have an unlocked boot loader for root, exposed, etc. There is no way around this.
Phones previously had to be reverse engineered and exploited to gain root access, now OEMs freely allow unlocking.
Click to expand...
Click to collapse
I hope you can read this. I'm not a noob and I am looking to relock my bootloader because I am going to sell it. The person wants it fully stock so I need to relock the bootloader in order to regain access to official Ota updates.
I need to be on complete stock (stock recovery and rom) right? Would you please kindly point me to where I need to go to download the stock Rom and recovery. There's some TWRP flashable OTA zips on Oneplus forums that restore stock Rom and recovery but I want to be sure that that is enough and that I don't end up bricking my device for something as stupid as this. Any help would greatly be appreciated!
Arthurvben said:
I hope you can read this. I'm not a noob and I am looking to relock my bootloader because I am going to sell it. The person wants it fully stock so I need to relock the bootloader in order to regain access to official Ota updates.
I need to be on complete stock (stock recovery and rom) right? Would you please kindly point me to where I need to go to download the stock Rom and recovery. There's some TWRP flashable OTA zips on Oneplus forums that restore stock Rom and recovery but I want to be sure that that is enough and that I don't end up bricking my device for something as stupid as this. Any help would greatly be appreciated!
Click to expand...
Click to collapse
Fash 3.2.4 FW from here.
Follow all instructions from here (except I would suggest sideloading the StockROM before relocking).
Arthurvben said:
I hope you can read this. I'm not a noob and I am looking to relock my bootloader because I am going to sell it. The person wants it fully stock so I need to relock the bootloader in order to regain access to official Ota updates.
I need to be on complete stock (stock recovery and rom) right? Would you please kindly point me to where I need to go to download the stock Rom and recovery. There's some TWRP flashable OTA zips on Oneplus forums that restore stock Rom and recovery but I want to be sure that that is enough and that I don't end up bricking my device for something as stupid as this. Any help would greatly be appreciated!
Click to expand...
Click to collapse
I followed the same guide posted on OnePlus Forum to re-lock my bootloader. Just follow them, it works.
Here is that link from OnePlus forum.
1. I restored my stock rom backup from TWRP
2. Flashed Stock recovery
3. fastboot oem lock
4. Sideload stock ROM
Done.
I unlocked because stock ROM I felt was much stabler and hassle free. Have rooted and played with custom ROMs enough in my Nexus 5 days. Just too much stress and can end up with non-working features. Might root again in future if I find something compelling in custom ROM.
batmobile_bang said:
I followed the same guide posted on OnePlus Forum to re-lock my bootloader. Just follow them, it works.
Here is that link from OnePlus forum.
1. I restored my stock rom backup from TWRP
2. Flashed Stock recovery
3. fastboot oem lock
4. Sideload stock ROM
Done.
I unlocked because stock ROM I felt was much stabler and hassle free. Have rooted and played with custom ROMs enough in my Nexus 5 days. Just too much stress and can end up with non-working features. Might root again in future if I find something compelling in custom ROM.
Click to expand...
Click to collapse
If you unlock bootloader and root device. Do you still get OTA updates if you stay on stock ROM?
borijess said:
If you unlock bootloader and root device. Do you still get OTA updates if you stay on stock ROM?
Click to expand...
Click to collapse
If you unlock device, you will still be able to apply OTA. If you rooted by modifying the /system partition, OTA will fail, but if thou rooted using systemless method, you can apply OTA.
Iam on stock OOS 4.0.3 and i was plagued by the same error
--adb sideload the complete rom (with locked bootloader)-- method worked for me.
Previously i had unlocked bootloader and was on freedom OOS 2.3 with TWRP and then i realized that stock updates are better.
So i installed stock recovery and and tried to flash Stock Firmware 4.0.3 through sideload command and it failed.
then i installed TWRP and then installed stock OOS 4.0.3 and it installed fine but with some error.
Then i installed stock recovery
So i rebooted it and after long time it was installed but then i started getting dm_verity error and also i was frustated with unlocked bootloader message.
So i locked my boot loader first from fastboot oem lock and then sideloaded the stock 4.0.3 again and it really worked.
So now i am on stock rom and stock recovery and no more dm_verity error or unlocked bootloader msg to wait for 5 secs...
Now iam really loving my Oneplus 3..

[RECOVERY]Honor 7x stuck in bootloop

Hello everybody, my Honor 7x BND-L21 entered in a bootloop (i haven't flashed custom rom or anything else).
I'd like to solve this problem without loosing my data.
Is there any way to unbrick the phone without loosing data?
Or is it possible to flash a custom recovery (TWRP), make a full back-up, and after that unbrick the phone?
My phone isn't rooted and the bootloader isn't unlocked.
Thanks
Oloccin said:
Hello everybody, my Honor 7x BND-L21 entered in a bootloop (i haven't flashed custom rom or anything else).
I'd like to solve this problem without loosing my data.
Is there any way to unbrick the phone without loosing data?
Or is it possible to flash a custom recovery (TWRP), make a full back-up, and after that unbrick the phone?
My phone isn't rooted and the bootloader isn't unlocked.
Thanks
Click to expand...
Click to collapse
To touch on the custom recovery idea... To install a custom recovery, you would need an unlocked BL. Even if your device was still able to do the BL unlock command (they locked that down a long time ago, but some have been able to downgrade to a version that allows it still), it wipes the device on BL unlock. Since you are looped, you can't get into ADB to use pull commands for example. I think you are out of luck regarding not loosing data.
sliding_billy said:
To touch on the custom recovery idea... To install a custom recovery, you would need an unlocked BL. Even if your device was still able to do the BL unlock command (they locked that down a long time ago, but some have been able to downgrade to a version that allows it still), it wipes the device on BL unlock. Since you are looped, you can't get into ADB to use pull commands for example. I think you are out of luck regarding not loosing data.
Click to expand...
Click to collapse
OK thanks for your answer. And what about flashing the stock rom of the device through the standard procedure (I saw that I should copy the rom in a folder named dload, press simultaneously volume + and -, and it will flash the rom, am I right?). Is this going to erase all data too?
Moreover, I was trying to connect the phone to the laptot through ADB but I can't see the device when I send the command <adb devices>. Can I solve this or this was what you were talking about here: "you can't get into ADB to use pull commands for example" ?
Thank you
Oloccin said:
OK thanks for your answer. And what about flashing the stock rom of the device through the standard procedure (I saw that I should copy the rom in a folder named dload, press simultaneously volume + and -, and it will flash the rom, am I right?). Is this going to erase all data too?
Moreover, I was trying to connect the phone to the laptot through ADB but I can't see the device when I send the command <adb devices>. Can I solve this or this was what you were talking about here: "you can't get into ADB to use pull commands for example" ?
Thank you
Click to expand...
Click to collapse
ADB only works with a booted ROM, so yeah that was what I was talking about. I'm not sure about that method of flashing stock. I've only seen the update procedure through system and not manually.
sliding_billy said:
ADB only works with a booted ROM, so yeah that was what I was talking about. I'm not sure about that method of flashing stock. I've only seen the update procedure through system and not manually.
Click to expand...
Click to collapse
Ok i understand. Is there any method to install again the original firmware/rom without unlocking the bootloader? Because mine is locked and I would like to keep it
Oloccin said:
Ok i understand. Is there any method to install again the original firmware/rom without unlocking the bootloader? Because mine is locked and I would like to keep it
Click to expand...
Click to collapse
Can you get into stock recovery for a factory reset?

Categories

Resources