no CWM after reboot - Nexus S General

hi
Ive rooted my nexus s & unlocked the boot-loader
installed superuser
Ive tried installing CWM a couple of times
it installs
but after reboot no recovery or CWM
checked the following posts but no luck
it says install aborted
http://forum.xda-developers.com/showthread.php?t=1317524
http://forum.xda-developers.com/showthread.php?t=1098168

Read : http://forum.xda-developers.com/showthread.php?t=895545
as far as i remember, CWM will be removed each time you restart your phone,unles you have a custom kernel/rom.
but its been long time ago when i did that x3

If stock there is a file that needs to be removed or renamed,
Sent from my Nexus S using XDA Premium App

Try to flash again.... Works for me...

ghost010 said:
Read : http://forum.xda-developers.com/showthread.php?t=895545
as far as i remember, CWM will be removed each time you restart your phone,unles you have a custom kernel/rom.
but its been long time ago when i did that x3
Click to expand...
Click to collapse
No. You merely need to rename / remove the install-recovery.sh script in /etc to prevent the stock recovery from writing at boot.
Sent from my Nexus S using xda premium

krohnjw said:
No. You merely need to rename / remove the install-recovery.sh script in /etc to prevent the stock recovery from writing at boot.
Sent from my Nexus S using xda premium
Click to expand...
Click to collapse
Thanks I to was having the same issue. I assume that to revert you just rename the aformentioned file back to original?
Sent from my A500 using xda premium

spaz2k7 said:
Thanks I to was having the same issue. I assume that to revert you just rename the aformentioned file back to original?
Sent from my A500 using xda premium
Click to expand...
Click to collapse
Yeah, restoring the file will then cause the stock recovery to be written upon reboot (if you want to go back to the stock recovery for some reason).

same but i solved it
clockworkmodrecovery rom manager find and install
open it and touch flash clockworkmod recovery(first item)
select reboot into recovery manual
mount and storage select
mount USB storage
unmount
++++ go back +++++
install from zip sdcard
find
'' super user.zip'' flash
reboot
es file explorer select setting mark root explorer and mount file system after
select phone in file explorer find etc folder select and find ''install-recovery.sh'' file and rename file for example ''install-recovery.sheski'' and
open rom manager again touch flash clockworkmod recovery(first item)
check it...

Related

Help: How to rename file in System folder

Hello everybody,
Unfortunately, I get by in a change that I have blocked the start of my Galaxy S.
I wanted to remove the animation in the initial activation of Vodafone and I discovered that the file "indicted" was playlogos1 (I think) so I renamed the file with Root Explorer as playlogos1.bak.
I rebooted the phone and while booting it shows me your phone model, as it always has, and then black screen occasionally emitting vibrations ...
I think the problem can be solved by putting the name of the file as it was originally: playlogos1
Do you know how to do it if you can do to access the folder /System/ bin in which there is rename the file to your phone via pc being in this situation?
Thank you all!!
NOTE: Sorry for my english but.... I'm italian!
Try root explorer - its a paid app, but i feel its worth it.
Obviously your phone has to be rooted to use it
Sent from my GT-I9000 using Tapatalk
chrisjcks said:
Try root explorer - its a paid app, but i feel its worth it.
Obviously your phone has to be rooted to use it
Sent from my GT-I9000 using Tapatalk
Click to expand...
Click to collapse
Sounds like he has root explorer and has renamed a file and is now stuck in a boot loop?
Is that right?
If so boot into recovery and do a factory reset and that should fix the problem.
But you will lose all of your apps etc.
zolah said:
Sounds like he has root explorer and has renamed a file and is now stuck in a boot loop?
Is that right?
If so boot into recovery and do a factory reset and that should fix the problem.
But you will lose all of your apps etc.
Click to expand...
Click to collapse
Lol yeah, think there was an edit.
If recovery wipe doesnt.fix it, id just flash a new rom.
Sent from my GT-I9000 using Tapatalk
chrisjcks said:
Lol yeah, think there was an edit.
If recovery wipe doesnt.fix it, id just flash a new rom.
Sent from my GT-I9000 using Tapatalk
Click to expand...
Click to collapse
Thanks to everybody.
In effect the phone was rooted and I have used Root Explorer to rename the file but noe I'm looking for a method to access via ADB to the phone as "su" to rename the file playlogos1.
Who know how to copy update.zip on /sdcard without touch the phone (because is blocked)?
ADB can see your phone in recovery mode. However the things you can do are limited... I think you might be able to rename the file that way.
Tyxerakias said:
ADB can see your phone in recovery mode. However the things you can do are limited... I think you might be able to rename the file that way.
Click to expand...
Click to collapse
In recovery mode I'm not able to connect via ADB...only if I start the phone normaly.
Other big problem is to have r/w permission to rename the file

Can't Delete nandroid backup

Ok, never seen this before and suspect SD card corruption.
I did a nandroid backup today before I flashed a custom kernel. Everything went well. Now I am getting low space alerts (got the 8GB model). I want to delete the backup which comes in at 1.8GB. Problem is, the permissions are wacky - the folder perms are rwsrwsr-t (775 with set uid, set gid and sticky).
I can't delete or change permissions with either root explorer or from the shell as root!
Has anyone seen this before, or have a solution ?
timekillerj said:
Ok, never seen this before and suspect SD card corruption.
I did a nandroid backup today before I flashed a custom kernel. Everything went well. Now I am getting low space alerts (got the 8GB model). I want to delete the backup which comes in at 1.8GB. Problem is, the permissions are wacky - the folder perms are rwsrwsr-t (775 with set uid, set gid and sticky).
I can't delete or change permissions with either root explorer or from the shell as root!
Has anyone seen this before, or have a solution ?
Click to expand...
Click to collapse
Same here. No clue how to get rid of it.
This is what I did when I switched from CWM to TWRP
1. Get Root Explorer
2. Navigate to /data/media/clockworkmod/backup
3. Delete whatever backups
4. ?????
5. PROFIT!
Sent from my i777 using xda app-developers app
Its a common issue with some versions of CWM, but Koush has released a (radically) new version
fix is as Wiithepeng said
wiithepeng said:
This is what I did when I switched from CWM to TWRP
1. Get Root Explorer
2. Navigate to /data/media/clockworkmod/backup
3. Delete whatever backups
4. ?????
5. PROFIT!
Sent from my i777 using xda app-developers app
Click to expand...
Click to collapse
"I can't delete or change permissions with either root explorer or from the shell as root!"
If I delete with root explorer I get "delete failed". If I adb shell in and `busybox rm -fR` I get "Operation not permitted"
With those steps?
Sent from my i777 using xda app-developers app
When I tried deleting from /mnt/sdcard or /sdcard or /storage/sdcard0 it would not work until I tried /data/media
Sent from my i777 using xda app-developers app
Phonic posted a script in the "[RECOVERY] r3 (6.0.0.4) - Interim ClockworkMod recovery for Nexus 7" thread in the Android Dev forum,
when executed thru CWM will delete undeleteable backups
didnt use it myself, I used Solid Explorer to delete /data/media/clockworkmod/backup/......
Ok, I rebooted into recovery and was able to delete the files with adb shell.
wiithepeng: Sorry, didn't see the /data/media path at first glance, I was going straight to /sdcard - so it might have worked your way.
Thanks for the help.
No problem. Glad you delete those backups
Sent from my i777 using xda app-developers app
Try THIS. Common problem and fixed in the newest version of the Recovery from that thread AND apparently the newest CWM directly from Koush.
wiithepeng said:
This is what I did when I switched from CWM to TWRP
1. Get Root Explorer
2. Navigate to /data/media/clockworkmod/backup
3. Delete whatever backups
4. ?????
5. PROFIT!
Sent from my i777 using xda app-developers app
Click to expand...
Click to collapse
Thank Bro, this was bugging the crap out of me. I had no idea to navigate through data/media etc. Good fix!
wiithepeng said:
This is what I did when I switched from CWM to TWRP
1. Get Root Explorer
2. Navigate to /data/media/clockworkmod/backup
3. Delete whatever backups
4. ?????
5. PROFIT!
Sent from my i777 using xda app-developers app
Click to expand...
Click to collapse
Thanks! I was about to tear my hair out! I used ES File Explorer though.
wiithepeng said:
This is what I did when I switched from CWM to TWRP
1. Get Root Explorer
2. Navigate to /data/media/clockworkmod/backup
3. Delete whatever backups
4. ?????
5. PROFIT!
Sent from my i777 using xda app-developers app
Click to expand...
Click to collapse
Thanks bro... Root Explorer is premium so even ES File Explorer works as long as you are rooted and grant it SU access, which would be anyway as you have CWM.
Sent from my Nexus 7 using Tapatalk 2
wiithepeng said:
When I tried deleting from /mnt/sdcard or /sdcard or /storage/sdcard0 it would not work until I tried /data/media
Sent from my i777 using xda app-developers app
Click to expand...
Click to collapse
This worked for me :good:
Wahay, Fix ed
I was going to make a zip and flash as i thought all was lost but then I just fixed this via adb using the following commands, I didn't get any errors and it was successful, here is what I did,
# cd /data/media/clockworkmod/
# chmod 777 backup
# cd backup
# rm -rf <backupfilename>
Hope this helps others,

[Q] Why can I not delete my /sdcard/clockworkmod folder?

So I've installed a custom ClockworkMod recovery and ROM on my Nexus 7 tablet. Life was good. Recently, I was running out of space and decided to delete my CWM backup (after saving it to my computer). And then, I realized I couldn't.
I went into ES File Explorer to try. I couldn't do it there.
I went into the ADB shell as root to try to remove it. No luck again, just the message when I finally DID try to remove one file:
Code:
# rm boot.img
rm failed for boot.img, Operation not permitted
What am I doing wrong?
Edit: This looks like it's ClockWorkMod (5.8.??)'s fault, but besides reading that another backup won't make the current one much larger, I don't actually know how to delete the current one.
Try "rm -rf ddd" (where "ddd" is the directory name) on the directory containing the files.
Sent from my Nexus 7
BillGoss said:
Try "rm -rf ddd" (where "ddd" is the directory name) on the directory containing the files.
Sent from my Nexus 7
Click to expand...
Click to collapse
in the development section there is a cwm flashable.zip that will delete them.. Then upgrade to latest cwm or TWRP.. its a bug from older version of cwm.. its talked about in the dev cwm thread..
good luck..
I did this in a way not mentioned here that still deserves mentioning... First I updated to the latest version of CWM available (via the Nexus 7 Toolkit) and then booted into recovery, opened the backup option, deleted the backup that was there, then cleaned the nandroids.
I could not find the aforementioned flashable zip, and because of the new CWM I had, I wanted to attempt a proper method of removal before running another rm command via the terminal. Therefore I could not verify the other methods mentioned here, my apologies.
erica_renee said:
in the development section there is a cwm flashable.zip that will delete them.. Then upgrade to latest cwm or TWRP.. its a bug from older version of cwm.. its talked about in the dev cwm thread..
good luck..
Click to expand...
Click to collapse
primetechv2 said:
I could not find the aforementioned flashable zip, and because of the new CWM I had, I wanted to attempt a proper method of removal before running another rm command via the terminal. Therefore I could not verify the other methods mentioned here, my apologies.
Click to expand...
Click to collapse
Sorry for re-opening an old thread, but I am having a problem where I have files that I cannot delete from the clockworkmods/blobs folder on my external sd card. So far, I have tried deleting them from a file explorer, deleting them as root from a file explorer, root and non-root deletes from terminal emulator, deleting through windows, adb shell deletes (with system booted).
I also wanted to try adb shell while booted into cwm, but I could not get the adb connection to work from recovery.
I also tried to find the zip file in the developer section and that's the real reason why I revived this thread...Does anyone know where the thread is with the zip file to remove these files?
I think the only way to delete them is through cwm.Boot to recovery and use the menu to delete them.
Sent from my SGH-I927 using xda app-developers app
Kodiack99 said:
I think the only way to delete them is through cwm.Boot to recovery and use the menu to delete them.
Sent from my SGH-I927 using xda app-developers app
Click to expand...
Click to collapse
When I booted to recovery, I am able to delete each of the backups that I created. These all deleted correctly. I then went to Free unused backup files (to delete the files/folders in the blobs folder) and ran that and most of the files are gone. When I boot back into the phone, there are still some files/folders there and they seem to be taking up about 4-5 GB on the card. When I try to delete them through the file manager apps (either as root or not) they will not delete and the manager reports an error (before clicking delete, the manager displays a statistics report that says that the size of the files are over 2TB so obviously something is very messed up about them). I have also tried to delete them through the terminal (again as root and regular user) and they will not delete there either and they totally mess up the terminal window with unprintable characters (the only way to recover is to exit out of the current window and start a new one).
I finally fixed this problem last night by backing up all of my stuff (except the clockworkmod folder) to my computer. I then rebooted into recovery (latest version of CWM non-touch) and formatting the ext SD Card. When I rebooted there were still some folders there (including the clockworkmod folder). I did a format from within the OS and that cleared everything out. I copied all of my stuff back from my computer and I'm now good to go. Not sure how it got messed up to begin with, but the problem is fixed now. I think I'm going to stick with TWRP from now on.

install twrp recovery from device .is it possible? i dont have a windows pc.

can anyone advise? i want to install a custom rom and root my tf300t
i have unlocked it but now i need to install the mod twrp but apparently i need a pc. is there another way? via .apk file or something...
i then need to put my rom and gapps file on sd card, reboot to recovery and install the zip files right? and i am done????
wakkaday said:
can anyone advise? i want to install a custom rom and root my tf300t
i have unlocked it but now i need to install the mod twrp but apparently i need a pc. is there another way? via .apk file or something...
i then need to put my rom and gapps file on sd card, reboot to recovery and install the zip files right? and i am done????
Click to expand...
Click to collapse
Yes you can do that, all you need is a "terminal emulator" app, there are plenty available just search for them. Depending on the custom ROM some already provide updated gapps so be sure to use the right one and not just the one given in tools like goomanager.
I would recommend the following.
1. Backup your apps + data using Titanium Backup
2. Boot into recovery and create a backup of your system
3. Wipe cache/davlik/data + system
4. be aware of the right "flashing order" FIRST the ROM file, then add more zips and choose gapps
5. enjoy your custom ROM
frankgreimes said:
Yes you can do that, all you need is a "terminal emulator" app, there are plenty available just search for them. Depending on the custom ROM some already provide updated gapps so be sure to use the right one and not just the one given in tools like goomanager.
I would recommend the following.
1. Backup your apps + data using Titanium Backup
2. Boot into recovery and create a backup of your system
3. Wipe cache/davlik/data + system
4. be aware of the right "flashing order" FIRST the ROM file, then add more zips and choose gapps
5. enjoy your custom ROM
Click to expand...
Click to collapse
Something tells me he hasnt rooted yet. If im not mistaken, he can't use a terminal app with the dd command if he isnt rooted. I know you can root using adb though with debugging enabled but im not sure he can root without a pc.
Here is a good place for him to start :
http://forum.xda-developers.com/showthread.php?t=2228613
Sent from my SGH-T889 using xda app-developers app
pyraxiate said:
Something tells me he hasnt rooted yet. If im not mistaken, he can't use a terminal app with the dd command if he isnt rooted. I know you can root using adb though with debugging enabled but im not sure he can root without a pc.
Here is a good place for him to start :
http://forum.xda-developers.com/showthread.php?t=2228613
Sent from my SGH-T889 using xda app-developers app
Click to expand...
Click to collapse
Thanks for the correction, assumed he's already rooted sorry.

[FIX] Cant turn WIFI on? You are missing this file

So after lots of flashing of different roms on my Moto G 2nd gen (XT1068) I ended up unable to turn WIFI on in any rom, including stock!
Thing is, after days of breaking my head with this, I figured out I was missing the WCNSS_qcom_wlan_factory_nv.bin file from the /Persist folder.
How did that file go missing and why it was not restored when restoring to stock or flashing roms? Dam good question, I don't have an answer to that yet, BUT, I have a fix.
Simply download the attached .rar, unzip it, and manually put the WCNSS_qcom_wlan_factory_nv.bin file in your /Persist folder using any root explorer / file manager on your device and reboot!
Such a simple little thing gave me so much trouble, hope this will help future users who might face the same problem, as I already saw around that other people are also having the same issue.
This should work for any Moto G version, even the 2013 model, XT1063, XT1064, XT1068, XT1069, all share the same WIFI file.
Happy surfing on your now working WIFI!
Nice Work!
I have that file in /persists but still no WiFi.
Obagleyfreer said:
I have that file in /persists but still no WiFi.
Click to expand...
Click to collapse
Most likely its the perms issue. If you have 'adb' and can connect to the phone using adb, do this:
adb logcat -d -v time | grep "avc: denied"
right after a fresh start. If the file shows up in that grep, it means that you are running into permissions issue. And it can be fixed if you have root.
Where cn i find persist folder... ??? I m using CM12
Sent from my Moto G 2014 using XDA Premium 4 mobile app
immy8796 said:
Where cn i find persist folder... ??? I m using CM12
Sent from my Moto G 2014 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Root of your device,
/persist
Exelios said:
Root of your device,
/persist
Click to expand...
Click to collapse
Found it... Thanx.. bt which permission i hv to give that .bin file.. ???
Sent from my Moto G 2014 using XDA Premium 4 mobile app
immy8796 said:
Found it... Thanx.. bt which permission i hv to give that .bin file.. ???
Sent from my Moto G 2014 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Mine is 777, read write execute to everyone, probably not the right cmod, but it works
after try like 5 kernels and almost start to crying i found this post
AND WORKS!!!!
Thanks you so much!!
ZenKeep said:
after try like 5 kernels and almost start to crying i found this post
AND WORKS!!!!
Thanks you so much!!
Click to expand...
Click to collapse
O yeah I know the feeling, went trough the same, glad I helped!
Also pressing the tnx button on my post would help me!
I already have persist folder and file in root directory and overwrite it with rw-r-r permission but still not working plz help.
HELP!
I have restored to stock firmware, and my wifi just turns off when i turn it on. I think i am missing this file but as im on stock I dont have root access. How can i install this file if i dont have root access.
A quick reply would be amazing!
Thanks
mrangryoven said:
I have restored to stock firmware, and my wifi just turns off when i turn it on. I think i am missing this file but as im on stock I dont have root access. How can i install this file if i dont have root access.
A quick reply would be amazing!
Thanks
Click to expand...
Click to collapse
You could just root again. Using super su you can unroot using the super su app after you finish the fix.
Sent from my XT1064 using Tapatalk
still have the same issue. stock rom and stellar kernel
Thank you man, this really worked!!! You saved my ass!
PS: I have another problem similar to this one. I can' t acces to my mobile network, I have them turned on, but when I press on Network operators, a message pops up saying "Error while searching for networks ". Have you ever encountered this problem? Because I can' t find an answer
sumit227 said:
I already have persist folder and file in root directory and overwrite it with rw-r-r permission but still not working plz help.
Click to expand...
Click to collapse
I also tried to reload the stock boot.iso but that did not help me in this case. In the end what fixed this issue for me was to wipe the phone and load cyanogen mod 12.1.
I downloaded the following files to my phones SDCARD before starting the process below.
cm-12.1-20150816-NIGHTLY-titan-recovery.img
cm-12.1-20150816-NIGHTLY-titan.zip
gapps-5.1-arm-2015-07-17-13-29.zip
0) reboot into fastboot
1) fastboot flash recovery cm-12.1-20150816-NIGHTLY-titan-recovery.img (this was done from the command line on my Mac, and that file was on my Mac at the time)
2) reboot into recovery
3) choose "Wipe data / Factory Reset"
4) choose "Apply Update" -> "Choose From SDCARD1 -> "cm-12.1-20150816-NIGHTLY-titan.zip"
at this point I rebooted but could have probably installed GAPPS right away. The wifi was working again at this point!
5) choose "Apply Update" -> "Choose From SDCARD1 -> "gapps-5.1-arm-2015-07-17-13-29.zip"
I think I will stick with CM for now. I've used it in the past and it was fine.
jreeve0805 said:
I also tried to reload the stock boot.iso but that did not help me in this case. In the end what fixed this issue for me was to wipe the phone and load cyanogen mod 12.1.
I downloaded the following files to my phones SDCARD before starting the process below.
cm-12.1-20150816-NIGHTLY-titan-recovery.img
cm-12.1-20150816-NIGHTLY-titan.zip
gapps-5.1-arm-2015-07-17-13-29.zip
0) reboot into fastboot
1) fastboot flash recovery cm-12.1-20150816-NIGHTLY-titan-recovery.img (this was done from the command line on my Mac, and that file was on my Mac at the time)
2) reboot into recovery
3) choose "Wipe data / Factory Reset"
4) choose "Apply Update" -> "Choose From SDCARD1 -> "cm-12.1-20150816-NIGHTLY-titan.zip"
at this point I rebooted but could have probably installed GAPPS right away. The wifi was working again at this point!
5) choose "Apply Update" -> "Choose From SDCARD1 -> "gapps-5.1-arm-2015-07-17-13-29.zip"
I think I will stick with CM for now. I've used it in the past and it was fine.
Click to expand...
Click to collapse
This also worked for me, loaded the latest CM nightly and Wifi came back. Previous steps outlined in this thread did not work.
Had issues with Moto G2 wifi after rooting.. wotks fine after Blisspop
Tom flash
Sent from my SM-T231 using XDA Free mobile app
pls help
persist folder gets removed every time i put it there using root explorer... when i click add new folder into the / (persist is not there) and type in persist it creates a folder with the files already there then i quit the explorer and come back only to find out the the folder is not shown there anymore but if i created again is gets in there and has all the files but again when i quit it disappears...
---------- Post added at 08:48 PM ---------- Previous post was at 08:25 PM ----------
Tel864 said:
You could just root again. Using super su you can unroot using the super su app after you finish the fix.
Sent from my XT1064 using Tapatalk
Click to expand...
Click to collapse
pls help me i have the folder but its not shown in the explorer it only shows when i add new folder and name it persist but then it disappears again
WiFi turns off instantly I try to turn it on
I have the same issue like you guys, and i've already try to copy the file to the /persist folder, with all the permissions... and nothing but error message pop ups (I can't modify the files in the folder, but accidently I erase one of the WCNSS files. It doesn't make any sense)
I've also tried to install the stock firmware to my XT1068, several ROMs with LP 5.0.2, 5.1, etc (everytime doing wipe cache and data); and the issue is still going.
What can I do? Downgrade to KK can restore all the missing files?
Maybe I can copy a /persist folder entirely with all the files... I don't know.
I'm running out of ideas! And I don't want to live with the idea of 'no-wifi' in such an excellent phone! :crying:
Thanks for your time, guys!

Categories

Resources