[Q] Stop stock recovery - Samsung Galaxy Nexus

I've just flashed 4.2 on my i9250 and I can't find the files that I used to change name to stop stock recovery from coming back.
Is there any new reversible way to do this?
I'm rooted and I boot TWRP without flashing every time I want to access a costume recovery.
Many thanks

Check out this guide under "Obtaining Root Access and Custom Recovery":
http://forum.xda-developers.com/showthread.php?t=1529058

CheesieOnion said:
Check out this guide under "Obtaining Root Access and Custom Recovery":
http://forum.xda-developers.com/showthread.php?t=1529058
Click to expand...
Click to collapse
Thanks for the help. But my question unfortunately remains...
Because I can’t find the /system/etc/install-recovery.sh to rename to /system/etc/install-recovery.bak.
Does anyone have the same problem??
Thanks

hard reset I try to

argonick said:
Thanks for the help. But my question unfortunately remains...
Because I can’t find the /system/etc/install-recovery.sh to rename to /system/etc/install-recovery.bak.
Does anyone have the same problem??
Thanks
Click to expand...
Click to collapse
Did you mount the system as r/w?

if the file ain't there, no need to erase it; if you flashed factory images, that file doesnt exist, only in OTAs
CheesieOnion said:
Did you mount the system as r/w?
Click to expand...
Click to collapse
huh... what does that has got to do with anything for reading purposes. RO (read only) allows to read the files and directories.

bk201doesntexist said:
if the file ain't there, no need to erase it; if you flashed factory images, that file doesnt exist, only in OTAs
huh... what does that has got to do with anything for reading purposes. RO (read only) allows to read the files and directories.
Click to expand...
Click to collapse
Thanks for the clarification. In fact I flashed the stock 4.2 image because OTA update wasn't working (not stock kernel).

Related

Recovery-from-boot.p

Hello, i flash stock 4.0.2 on my nexus through fastboot.
Today booted cwm (fastboot boot ....) to create nandroid backup and then have rooted.
I have installed root browser lite but if i go in /system i don't find recovery-from-boot.p
It's normal?
Stock 4.0.2 have downloaded by Google's site.
Thanks in advance.
anyone tell me something?
pasc5 said:
Hello, i flash stock 4.0.2 on my nexus through fastboot.
Today booted cwm (fastboot boot ....) to create nandroid backup and then have rooted.
I have installed root browser lite but if i go in /system i don't find recovery-from-boot.p
It's normal?
Stock 4.0.2 have downloaded by Google's site.
Thanks in advance.
Click to expand...
Click to collapse
It's normal. If you flashed the stock image, it won't be there. If you flash an earlier stock image and upgraded via OTA, it will be there. No need to worry about it.
doubt
efrant said:
It's normal. If you flashed the stock image, it won't be there. If you flash an earlier stock image and upgraded via OTA, it will be there. No need to worry about it.
Click to expand...
Click to collapse
How important is this file ?? ("recovery-from-boot.p")
i have update.zip from manufacturer. Inside zip file, there is folder "recovery" containing "recovery-from-boot.p" and folder "etc" containing "install-recovery.sh"
If i delete recovery folder & sign the file again & update it, will it work?
What difference does it make?
is recovery anyway related to rooting the mobile?
(I am an amateur & i am trying to learn Android ROM modding, & development, please help me out)
lxkarthi said:
How important is this file ?? ("recovery-from-boot.p")
i have update.zip from manufacturer. Inside zip file, there is folder "recovery" containing "recovery-from-boot.p" and folder "etc" containing "install-recovery.sh"
If i delete recovery folder & sign the file again & update it, will it work?
What difference does it make?
is recovery anyway related to rooting the mobile?
(I am an amateur & i am trying to learn Android ROM modding, & development, please help me out)
Click to expand...
Click to collapse
Those two files do nothing except yo reflash the stock recovery every time you boot android. They don't exist on stock roms, but rather are put there by ota update files. They are safe to delete.
P.s. no need to resign the zip if you are using CWM.
Sent from my Galaxy Nexus using Tapatalk 2
efrant said:
Those two files do nothing except yo reflash the stock recovery every time you boot android. They don't exist on stock roms, but rather are put there by ota update files. They are safe to delete.
P.s. no need to resign the zip if you are using CWM.
Sent from my Galaxy Nexus using Tapatalk 2
Click to expand...
Click to collapse
Thanks for Replying soon.
The mobile that i am trying to root is Karbonn A9. CWM does not support that mobile yet.
I need to learn about rooting and other stuffs. Can you help me.
What are all the files related to rooting?
To unroot, what are the files i should restore?
lxkarthi said:
Thanks for Replying soon.
The mobile that i am trying to root is Karbonn A9. CWM does not support that mobile yet.
I need to learn about rooting and other stuffs. Can you help me.
What are all the files related to rooting?
To unroot, what are the files i should restore?
Click to expand...
Click to collapse
Not sure what that device is, but:
Root is just two files place on your system:
/system/bin/su
/system/app/Superuser.apk
You will need to find a way to place them there, either by using an exploit to give you write access to /system, or by booting an insecure boot image if you can. Don't think I can help you any more than that without knowing the device.
Sent from my Galaxy Nexus using Tapatalk 2
efrant said:
Not sure what that device is, but:
Root is just two files place on your system:
/system/bin/su
/system/app/Superuser.apk
You will need to find a way to place them there, either by using an exploit to give you write access to /system, or by booting an insecure boot image if you can. Don't think I can help you any more than that without knowing the device.
Sent from my Galaxy Nexus using Tapatalk 2
Click to expand...
Click to collapse
The device trying to root is Karbonn A9. We have rooted the phone by replacing it with another recovery.img. To unroot, we used update.zip given by Service centre. Inside that, there is ""recovery-from-boot.p"" inside recovery folder. After updating using the update.zip, we are unable to root again. If delete recovery folder in update.zip, & update the phone again, will it delete the "recovery-from-boot.p" & will it possible allow us to root again?
Other doubts:
Does replacing recovery.img via fastboot change IMEI number? One of our developer got his phone bricked. he took his phone to service center. They said, they don't have their IMEI number in their database.
lxkarthi said:
The device trying to root is Karbonn A9. We have rooted the phone by replacing it with another recovery.img. To unroot, we used update.zip given by Service centre. Inside that, there is ""recovery-from-boot.p"" inside recovery folder. After updating using the update.zip, we are unable to root again. If delete recovery folder in update.zip, & update the phone again, will it delete the "recovery-from-boot.p" & will it possible allow us to root again?
Other doubts:
Does replacing recovery.img via fastboot change IMEI number? One of our developer got his phone bricked. he took his phone to service center. They said, they don't have their IMEI number in their database.
Click to expand...
Click to collapse
As I had mentioned earlier, those files do nothing else aside from re-flashing the stock recovery on every boot. If you delete the folder and re-apply the update, chances are the update will not work -- not because you deleted the folder, but because you already applied the update.
If you want to root again, you have to follow the procedure you used the first time you rooted.
No, the recovery does not contain the IMEI, so flashing a new recovery will not affect the IMEI.

[Q] How manually Flash Update without CWM?

Hi all, How are you?
please, Does somebody know how to manually flash an update on Galaxy Nexus "maguro"/GSM device without installing CWM recovery?
Is there any procedure like "update.zip" for Nexus One?
(described here: http://www.androidcentral.com/how-manually-update-your-nexus-one )
I appreciate any help you can give me,
Roger
RogerSilva said:
Hi all, How are you?
please, Does somebody know how to manually flash an update on Galaxy Nexus "maguro"/GSM device without installing CWM recovery?
Is there any procedure like "update.zip" for Nexus One?
(described here: http://www.androidcentral.com/how-manually-update-your-nexus-one )
I appreciate any help you can give me,
Roger
Click to expand...
Click to collapse
I have just find out that on recovery mode, there is an options to "apply update from /cache".
This link show how to do it without CWM:http://blog.talawah.net/2012/07/how-to-manually-ota-update-your-galaxy.html
However, It seems that I need to root my phone to move the update file into /cache folder.
Please, Does someone know how to write the "update.zip" on /cache folder on the phone without rooting it?
thanks in advance
There is of course a method: You can flash factory images via Fastboot mode.
Resix said:
There is of course a method: You can flash factory images via Fastboot mode.
Click to expand...
Click to collapse
There are no factory images for Jelly Bean so far =/
https://developers.google.com/android/nexus/images
Is it possible to write on "/cache" folder without root?How?
thanks in advance
RogerSilva said:
There are no factory images for Jelly Bean so far =/
https://developers.google.com/android/nexus/images
Is it possible to write on "/cache" folder without root?How?
thanks in advance
Click to expand...
Click to collapse
Anyone?Please?Any clue?
RogerSilva said:
Anyone?Please?Any clue?
Click to expand...
Click to collapse
Maybe push the file using ABD tools?Is it possible?
thanks in advance

[Q] Update boot.img

Has anyone got, or able to flash for me, the boot.img from stock N2506EX_23_150108?
Many gratitude points if you could upload for me ?
Thanks.
2nd
babelmonk said:
Has anyone got, or able to flash for me, the boot.img from stock N2506EX_23_150108?
Many gratitude points if you could upload for me
Thanks.
Click to expand...
Click to collapse
Hey I am also looking for this....on a side note are you looking for this because of wifi issues? has anyone found a fix?...pretty bummed wifi is not working on this thing
Could you install the dumps in http://forum.xda-developers.com/oppo-n3/help/looking-dump-boot-img-t2998030 Post #5, then unroot and run the OTAs to get you back up to current?
...
Lum_UK said:
Could you install the dumps in http://forum.xda-developers.com/oppo-n3/help/looking-dump-boot-img-t2998030 Post #5, then unroot and run the OTAs to get you back up to current?
Click to expand...
Click to collapse
I doubt that any stock rom will flash with twrp recovery....in the past with oppo phones (n1, 7a) its always needed stock recovery to flash stock roms...I guess we just play the waiting game until someone can upload the boot image from the updated rom. I'm pretty sure flashing that alone will get wifi back up and running. 07 Or if someone has the stock recovery they could upload....I am unsure if you can just rip it directly out of the rom and flash it....Also on oppo forums they have posted the rom for 5207 I am also unsure if you can flash that to the 5206.
The zip in that thread is images to flash in fastboot?
...
I would think you would have to flash each image individually.... system, boot, recovery ....unless if we start by flashing only the unmodified boot.img to see if it will fix wifi....but i doubt it because i suspect the wrong boot image is what screwed up wifi in the first place...someone please correct me if im wrong
c0dysm1th said:
I would think you would have to flash each image individually.... system, boot, recovery ....unless if we start by flashing only the unmodified boot.img to see if it will fix wifi....but i doubt it because i suspect the wrong boot image is what screwed up wifi in the first place...someone please correct me if im wrong
Click to expand...
Click to collapse
Yes, you're right; the boot image is not compatible with the upgrade; so downgrade to get root. I'm working on trying to upgrade again with the OTA upgrade and then getting the new boot.img and rooting that. More soon I hope!
FYI I tried your images, Lum_UK and found that I couldn't flash boot.img with fastboot, BUT I could dd them from within recovery, so I got myself up and running again.
Yes you'd have to flash all the images by hand one after the other.
edit: Replied before seeing babelmonk's response, please ignore this post.
steps?
babelmonk said:
Yes, you're right; the boot image is not compatible with the upgrade; so downgrade to get root. I'm working on trying to upgrade again with the OTA upgrade and then getting the new boot.img and rooting that. More soon I hope!
FYI I tried your images, Lum_UK and found that I couldn't flash boot.img with fastboot, BUT I could dd them from within recovery, so I got myself up and running again.
Click to expand...
Click to collapse
Can u please list the steps u took I'd like to get back up and running but don't want to screw this phone up any more ....(dd from recovery ) I'm not familiar with this if it is a command
babelmonk said:
Yes, you're right; the boot image is not compatible with the upgrade; so downgrade to get root. I'm working on trying to upgrade again with the OTA upgrade and then getting the new boot.img and rooting that. More soon I hope!
FYI I tried your images, Lum_UK and found that I couldn't flash boot.img with fastboot, BUT I could dd them from within recovery, so I got myself up and running again.
Click to expand...
Click to collapse
I can't get the OTA to work even after downgrading, but I do have a working system running 141228 with that hacked kernel, root and non-broken wireless.
Anyone want a nandroid of it? It's a slight upgrade at least
please
Lum_UK said:
I can't get the OTA to work even after downgrading, but I do have a working system running 141228 with that hacked kernel, root and non-broken wireless.
Anyone want a nandroid of it? It's a slight upgrade at least
Click to expand...
Click to collapse
please hook it up with that nandroid that i can flash in twrp
c0dysm1th said:
please hook it up with that nandroid that i can flash in twrp
Click to expand...
Click to collapse
Here you go, sorry it's taken so long
http://lum.uk/n3/files/N5206EX_23_141228_root_nocd.7z
Extract it into the TWRP backups folder and then restore like any other nandroid.
THANK YOU
Lum_UK said:
Here you go, sorry it's taken so long
http://lum.uk/n3/files/N5206EX_23_141228_root_nocd.7z
Extract it into the TWRP backups folder and then restore like any other nandroid.
Click to expand...
Click to collapse
Thank you how can i buy you a beer paypal?
c0dysm1th said:
Thank you how can i buy you a beer paypal?
Click to expand...
Click to collapse
Don't worry about it
Seems there's only about 4 or 5 people actively working on this phone here, so I'm sure we'll all end up helping each other at some point.
Lum_UK said:
Here you go, sorry it's taken so long
http://lum.uk/n3/files/N5206EX_23_141228_root_nocd.7z
Extract it into the TWRP backups folder and then restore like any other nandroid.
Click to expand...
Click to collapse
Thanks for that, though I haven't tried it yet. Can I ask what it changes? Is it worth the upgrade? My original firmware +root seems to work pretty well already so I may well leave it alone until L or CM comes out.
babelmonk said:
Thanks for that, though I haven't tried it yet. Can I ask what it changes? Is it worth the upgrade? My original firmware +root seems to work pretty well already so I may well leave it alone until L or CM comes out.
Click to expand...
Click to collapse
I have no idea what it changes as it's the firmware my International N5706 was shipped with when it was released last week. It may be different to the US model (though I believe the only difference between the two is the baseband) and is definitely different to the N5707 for Chinese users.
Dude, thanks!!! You saved my life!
I got wifi back AND root!
sivxo said:
I got wifi back AND root!
Click to expand...
Click to collapse
Hi ! when the zip file is downloaded, what is steps to install it please ?
thanks
marakud said:
Hi ! when the zip file is downloaded, what is steps to install it please ?
thanks
Click to expand...
Click to collapse
Sorry. Missed this. Did you manage?
Oppo neo 7 a33f custom recovery plzzz send me

How to roll back to official build after flashing community build?

From what I've read it seems that you have to unlock bootloader to do this. Which is something I am finding hard to digest.
Do I really need to unlock bootloader to flash official build? Or is there some official way which I can't seem to find?
Piyush Rawal said:
From what I've read it seems that you have to unlock bootloader to do this. Which is something I am finding hard to digest.
Do I really need to unlock bootloader to flash official build? Or is there some official way which I can't seem to find?
Click to expand...
Click to collapse
Didn't find a way without data wipe.. but my bootloader is locked and never rooted on this OP3, as long as your OP3 is encrypted I don't think there is a way without loosing data.
I have completely wiped the system using stock recovery and now I can't flash anything. When I try to sideload it says can't read the zip file.
I've tried with both community and official zip.
Any idea what's going on?
Piyush Rawal said:
I have completely wiped the system using stock recovery and now I can't flash anything. When I try to sideload it says can't read the zip file.
I've tried with both community and official zip.
Any idea what's going on?
Click to expand...
Click to collapse
Seems like adb drivers issue (on Windows?) many are facing. What worked for me is to cut/paste zip to desktop and then immediately cut/paste back to adb folder (without closing command prompt) and typing adb sideload zip again..
See if it helps..
Piyush Rawal said:
I have completely wiped the system using stock recovery and now I can't flash anything. When I try to sideload it says can't read the zip file.
I've tried with both community and official zip.
Any idea what's going on?
Click to expand...
Click to collapse
Had that issue recently. Just rebooted my PC, and that fixed it.

Flash TWRP on RUU'ed Stock ROM without PC?

Hey,
Quick question, I'm away on holiday and had to use an RUU to reset my phone completely back to stock. I don't have my PC with me but was wondering if there might be any other way to get TRWP installed so I can get back to custom ROM's before the end of my trip?
Regards,
Ravi
rav101 said:
Hey,
Quick question, I'm away on holiday and had to use an RUU to reset my phone completely back to stock. I don't have my PC with me but was wondering if there might be any other way to get TRWP installed so I can get back to custom ROM's before the end of my trip?
Regards,
Ravi
Click to expand...
Click to collapse
I've described how to do this for CM-based ROMS with Samsung devices. Unfortunately, I know of no way to do this for the HTC 10. The issue is getting it rooted. My understanding is that the Sunshine app can root some 10s, but not all. You could try that. When you run the app it will do a series of tests on your device. If it cannot be rooted by the app it will give the message, "Root is required first." Otherwise, the app can root your device and proceed from there. Once rooted you could then use Flashify to install TWRP.
2PS6IMG.zip
rav101 said:
Hey,
Quick question, I'm away on holiday and had to use an RUU to reset my phone completely back to stock. I don't have my PC with me but was wondering if there might be any other way to get TRWP installed so I can get back to custom ROM's before the end of my trip?
Regards,
Ravi
Click to expand...
Click to collapse
Like post 3 said. Just get the no wipe firmware that comes with twrp and change the name then reboot to download and flash it
Haldi4803 said:
2PS6IMG.zip
Click to expand...
Click to collapse
twinnfamous said:
Like post 3 said. Just get the no wipe firmware that comes with twrp and change the name then reboot to download and flash it
Click to expand...
Click to collapse
Thanks guys!!
I'm trying to figure out, if I want to flash just the recovery with the no wipe zip, can I delete all the other .img files within the zip or do I have to edit the Android-info.txt for the corresponding lines?
No issue in flashing the no wipe file as it is, just curious for future reference if I wanted to create easy 2PS6IMG.zip's in the future.
Sent from my HTC 10 using XDA Labs
I simply take the firmware.zip from OTA, delete all .img files, rename twrp.IMG to recovery.IMG and repack it to 2PS6IMG.zip
You don't need to change the android-info.txt as partitions without images won't get wiped, even if it says so.
You can flash Boot, Recovery and..... And.... Which was the third one? Without S-Off or signed firmware package.

Categories

Resources