Trying to Root Nexu s I9020A on 2.3.6 - Nexus S General

Hello XDA,
So I was following a youtube guide that shows how to root nexus s. (http://www.youtube.com/watch?v=GSD92Qjt5Og). This is one click verison. So after unlocking the bootloader, when its time to select flash CWM, the CMD window would just close. I guess the file i was using were bad. So then i switched over to another youtube video (http://www.youtube.com/watch?v=EA6DlAqYUeo). In this video, (using the files in video's description), I mananged to flash CWM (but i used the latest verison of CWM 5023-cyan.img). Then pretty much followed the video and got superuser installed on my nexus. Now when i tried to boot into recovery, it will not boot into CWM. it shows the android with exclamation mark and there when i press volume up and power, i am taken to the stock recovery i guess.. So now I am confused if my phone is rooted. I do have superuser installed on my phone right now (version that was included in the 2nd youtube video) but I don't have CWM. I am interested in flashing other ROMS. How and what should i do? Sorry for the long explanation. Thanks for your help

Use root explorer or similar program to rename the file "/system/etc/install-recovery.sh" to anything you like (e.g. install-recovery.sh.bak), as this script is run on boot and replaces a custom bootloader if it is installed. After this just flash CWM again and you can be free
You'll have to do this anytime you install a Google Stock ROM.

Harbb said:
Use root explorer or similar program to rename the file "/system/etc/install-recovery.sh" to anything you like (e.g. install-recovery.sh.bak), as this script is run on boot and replaces a custom bootloader if it is installed. After this just flash CWM again and you can be free
You'll have to do this anytime you install a Google Stock ROM.
Click to expand...
Click to collapse
I installed ES File Explorer and I cannot locate any folder called system.. the only 3 folders I see are "android", "clockworkmod", "Lost.DIR". root explorer is paid app. do you know any other free app. I don't know if this ES File explorer allows me to see system files. Its only showing whats on SD card...

NVM... i managed to get another app.. that allowed me to change the file name as you suggested.. then i installed ROM manager.. Flashed CWM from there.. and rebooted into recovery.. and GUESS WHAT.. I GOT CWM.. .. thanks buddy..

No worries mate. BTW, for ES, you need to go to options and tick the two options all the way at the bottom (enable root, mount /system).

Related

[Q] Accessing Clockworkmod in /sdcard

Greetings.
I am trying to install Cyanogenmod 7.0.2 on my HTC Tattoo (still has 1.6). This is the first time I've done this.
I am following the Cyanogenmod wiki page that shows you the whole process of rooting+flashing a new rom (since this is my first post I am unable to post outside links in this thread).
In the "Installing Clockworkmod Recovery" section, I get the following error when trying to flash the image:
flash_image: not found
I listed the files in /sdcard and saw that it was completely empty.
Can anyone tell me what I missed?
I copied the Clockworkmod image file to the root directory by connecting my phone to my PC through USB (USB Debugging was on) and copying the file there.
Please let me know how to solve this.
Thank you.
I was able to solve my problem and proceed with the attempt to flash Clockworkmod. Now I'm getting another error though:
error writing recovery: No space left on device
I have plenty of space in the SD Card (~2GB), but I'm assuming the problem is with the phone's internal memory. I don't know what I can delete.
Any thoughts?
Thank you.
Hi
Ok so i see you have that kind of problems...
I done it this way.
Downloaded Rom Manager->Downloaded Superuser
Then in ROM MANAGER i clicked an option "Flash Clockwork Mod Recovery"..
After that my phone had Clockwork and i completed the procedure to Flash CM7...
Hope this will help you..
CROpipe said:
Hi
Ok so i see you have that kind of problems...
I done it this way.
Downloaded Rom Manager->Downloaded Superuser
Then in ROM MANAGER i clicked an option "Flash Clockwork Mod Recovery"..
After that my phone had Clockwork and i completed the procedure to Flash CM7...
Hope this will help you..
Click to expand...
Click to collapse
Hi,
Thanks for your reply.
I tried to do as you said and installed both Rom Manager and Superuser. But now I have other issues...
1. On Superuser, it says there is a newer version of su and to update. I accept and get the following error:
An error occurred and su was not updated. A zip file (su-2.3.1-bin-signed.zip) has been placed on your sdcard, please reboot into recovery mode and flash it to update your binary.
2. So, I decided to ignore the update of su and just move on to Rom Manager. Here, I get an error like "su was not found in /system/bin". Well, su is in "/data/local/bin", as per the cyanogen wiki to root the phone. After this, any attempt to flash Clockworkmod fails.
3. To try to make it so Rom Manager has everything it needs, I followed the wiki again, but this time I tried to move the su file to /system/bin. I got the following error:
failed on './su' - Cross-device link
Any ideas?
Thanks in advance!
Hmm, i had the same problem when i was trying to Flash CM7...
Your phone is not rooted...
I know its very frustrating but no worries!
1.Download program from this thread ->http://forum.xda-developers.com/showthread.php?t=761507... you'll see the program in attachemnts and dl the first one.
2.Paste it in your's SD card , install it (use ASTRO MANAGER, to find the program)
3.Open the program and root the phone with 1 click
4. Then Superuser will ask you to allow it and click yes, and go to ROM MANAGER.
5.You will have to allow the Superuser here too.. Do it.
6.Flash Clockwork Mod recovery, and reboot into recoverymod.
7.Flash your Rom , flash Gapps(Google applications)
8.Enjoy
Thank you CROpipe!
Your instructions worked! I now have CM7 installed on my HTC Tattoo!
Here are the issues I found though:
1. When I was trying to download the ROM using ROM Manager, the list of ROMs was empty. Maybe it's because I was not using the Premium version...? I ended up downloading the ROM from the forum, copying it to the SD card and installing it that way.
2. I tried also to install GApps through Rom Manager. I was afterwards able to set up my google account, but I still had to manually download GMail, Google Maps, ... I'm not sure if this is actually how it's supposed to go... :-/
Anyway, thanks again for the help.
Yap that is quite allright Congrats on your new ROM ))

How to flash CWM 6.0.1.9 without PC

So I have a Nexus 7 32GB wifi and I unlocked the bootloader and rooted it last night and had CWM touch installed. The problem is, when I boot the tablet back into recovery, it doesn't load CWM, it just displays the stock recovery screen with a weird android logo.
What I'd like to accomplish at this point is to install the latest version of CWM Touch 6.0.1.9, which I already downloaded from the official site, it seems to be an img file, and after all that is done, I'd like to install the latest version of CleanROM.
I have no access to a computer at this time, so would this still be possible?
Can anybody please walk me through it?
so I acutally managed to download cwm from the market, and it installed, its not the touch version, but it works. I also used es file explorer and went into the system folder, and renamed the recover-from-boot.p file.
Now, what I'd like to do is install cwm touch, but I only have an img file of it downloaded, any ideas on how i can install it without a pc?
have you tried the Rom Manager app, is that how you installed CWM from the market? Rom Manager might have the touch version, but i haven't looked myself.
otherwise, you could probably install the .img file using Terminal Emulator on the phone. sorry i can't give you the exact command, but it would be a dd command and you would need to know the name of the recovery partition to write the image file to.
yogi2010 said:
have you tried the Rom Manager app, is that how you installed CWM from the market? Rom Manager might have the touch version, but i haven't looked myself.
otherwise, you could probably install the .img file using Terminal Emulator on the phone. sorry i can't give you the exact command, but it would be a dd command and you would need to know the name of the recovery partition to write the image file to.
Click to expand...
Click to collapse
So yea...I got rom manager from the market, and installed cwm that way, its not the touch version, but it was enough for me to install CleanRom 3.0
Now, regarding Rom manager, it has an option to flash the latest recovery mod, and I used es file explorer and found the following directory:
/sdcard/clockworkmod/download/download2.clockworkmod.com/recoveries/
inside was the following file:
recovery-clockwork-6.01.9-grouper.img
Now, I wonder if I can simply replace that img file with the following:
recovery-clockwork-touch-6.0.1.9-grouper.img
would I need to rename it and remove the touch part of the file name?
I was thinking of just replacing and flashing via rom manager, you think it'll work?
just tried my above theory, and rom manager is actually smart, it downloads a new copy when you want to flash cwm
I've done something like this (though I forget exactly what) using Android Root Toolkit app.
AcuraKidd said:
just tried my above theory, and rom manager is actually smart, it downloads a new copy when you want to flash cwm
Click to expand...
Click to collapse
Yeah, I'm sure it checks hashes before flashing anything, and since they didn't match, it downloaded a new copy.
I thought you could buy the pro version of rom manager and it would then flash the touch versions for you?
When I go into Rom Manager and choose flash CWM it gives me the option to flash the touch version or the normal version. Maybe you need to flash the normal version with Rom Manager first then it'll give you the option for touch?
if you have the .IMG file for w/e recovery you want to install, download Terminal Emulator app from gPlay and fire off the following commands:
Code:
su
dd if=/sdcard/shineynewrecovery.img of=/dev/block/mmcblk0p1 bs=4096
Alter the /sdcard/shineynewrecovery.img to wherever you saved the .IMG of the recovery.
I just created a zip. Testing now to make sure its all good and then I'll post the link
*edit*
Here's the link
http://db.tt/xEIWqXFe
I know that when I did this for 6.0.1.0 people had trouble flashing this from TWRP but if you have CWM non-touch already installed flash this and you're god to go. Feel free to mirror
Sent from my Galaxy Nexus using xda app-developers app
HellcatDroid said:
if you have the .IMG file for w/e recovery you want to install, download Terminal Emulator app from gPlay and fire off the following commands:
Code:
su
dd if=/sdcard/shineynewrecovery.img of=/dev/block/mmcblk0p1 bs=4096
Alter the /sdcard/shineynewrecovery.img to wherever you saved the .IMG of the recovery.
Click to expand...
Click to collapse
Thanks, this method worked perfectly.
mrich137 said:
I just created a zip. Testing now to make sure its all good and then I'll post the link
*edit*
Here's the link
http://db.tt/xEIWqXFe
I know that when I did this for 6.0.1.0 people had trouble flashing this from TWRP but if you have CWM non-touch already installed flash this and you're god to go. Feel free to mirror
Sent from my Galaxy Nexus using xda app-developers app
Click to expand...
Click to collapse
Thanks, I'll hold onto the zip for the future.

[Q] Cannot delete or rename recovery-from-boot.p

Hi, I'm pretty inexperienced when it comes to Acer devices, although I've successfully installed roms on my Samsung Galaxy Player. I've been reading around and everyone's saying that you have to delete or rename the recovery-from-boot.p from my Acer a500 before flashing a recovery, but it never gives me permission to write in the /system folder. I have root and I'm using ES file explorer (although i tried basically every other root explorer). I can read / write in every other folder but just not the /system folder. What can i do? Thanks~
ryukiri said:
Hi, I'm pretty inexperienced when it comes to Acer devices, although I've successfully installed roms on my Samsung Galaxy Player. I've been reading around and everyone's saying that you have to delete or rename the recovery-from-boot.p from my Acer a500 before flashing a recovery, but it never gives me permission to write in the /system folder. I have root and I'm using ES file explorer (although i tried basically every other root explorer). I can read / write in every other folder but just not the /system folder. What can i do? Thanks~
Click to expand...
Click to collapse
If you have root (which you can download a root verify app from the market), then in ES Explorer, you must set the /system to R/W.
If you can't change to R/W, then you only have half root, and need to fastboot a modified boot.img (kernel) that has the security removed. This of course depends on if you have the v8 bootloader installed.
Basically, to get the full luxury of everything, you need to have the V8 unlocked bootloader, install CWM, Without booting to the OS, boot into recovery and install one of the custom roms. Some of them are stock with the bloat removed (also the recovery.p and install.recovery.sh removed).
Check the sticky threads and you'll find several methods for doing this. But remember, get and write down your UID number before installing anything.
MD
Moscow Desire said:
If you have root (which you can download a root verify app from the market), then in ES Explorer, you must set the /system to R/W.
If you can't change to R/W, then you only have half root, and need to fastboot a modified boot.img (kernel) that has the security removed. This of course depends on if you have the v8 bootloader installed.
Basically, to get the full luxury of everything, you need to have the V8 unlocked bootloader, install CWM, Without booting to the OS, boot into recovery and install one of the custom roms. Some of them are stock with the bloat removed (also the recovery.p and install.recovery.sh removed).
Check the sticky threads and you'll find several methods for doing this. But remember, get and write down your UID number before installing anything.
MD
Click to expand...
Click to collapse
In order to get full root, is it okay if i re-root the device again? I can't seem to install the v8 bootloader to work..

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.

Viper4Android S-ON/OFF Workaround

I have successfully created my own bypass to get viper4android to work. Always create a full backup before attempting =)
1. Download viper4android APK
2. Download Root Explorer from the playstore
3. Install Both Apps
4. Launch Root Explorer
5. In root explorer go to /system/lib/soundfx and copy the folder to /data/ (make a soundfx folder)
6. Also copy /system/etc/audio_effects.conf to the /data/soundfx/ folder
7. Using root explorers menu you can create a shortcut (symbolic link) make a shortcut of the /data/soundfx/ folder and a shortcut of the /data/soundfx/audio_effects.conf
8. Boot into TWRP
9.Mount the system partition
10. Rename /system/lib/soundfx to /system/lib/soundfx2
11. Copy soundfx shortcut create earlier to /system/lib/ it will look like a "file" to TWRP
12.Rename the /system/etc/audio_effects.conf to /system/etc/audio_effects.conf1
13. Copy the audio_effects shortcut into /system/etc/ (be sure its name matches the old exactly)
15. Reboot
16. Launch Viper and install driver
I haven't dealt with LPA yet (hasn't had an issue) nor have I done any other modifications at this time which are avail on the viper4android thread.
I was just thinking about symbolic links to get around this S-OFF/ON issue and it appears they work and technically as a workaround we could symbolically link everything in system to another location and access it all. This could easily be put into ROM builds now at least as well!
Build.Prop may be useful to move out via sym link as well
It's not a matter of being s-on or s-off.. It's a matter of having write protection removed then you can do all of that. S-off just allows you to flash any partition on the device.. (radio, hboot etc..) plus you can flash any ruu you want as long as you change to supercid
There is a kernel module in dev and it's working great on my device.
On M7 it seems to me that the S-OFF also disables write protection system on stock rom
Envoyé de mon HTC Butterfly s en utilisant Tapatalk
migascalp said:
On M7 it seems to me that the S-OFF also disables write protection system on stock rom
Envoyé de mon HTC Butterfly s en utilisant Tapatalk
Click to expand...
Click to collapse
But you don't need s-off to disable write protection. You just need a kernel with it disabled or the kernel module which flair posted in the development section. I'm using it and am able to write to the system fine and I'm s-on. The title of the thread should be something like "with write protection on" not s-on.
I just wanted to clarify that with S-OFF this module is useless
migascalp said:
I just wanted to clarify that with S-OFF this module is useless
Click to expand...
Click to collapse
You don't need to clarify that to me. I'm very well aware of that. My point was that for this topic you don't need s-off for this to work.. You just need write protection off. Whether that be with with s-off or with a module.. This working is not dependant on s-off.. It's dependant on write protection being off. That is my point.
Sent from my HTC One using Tapatalk
For anyone who wants the stock kernel with write protection off just use this JMZM8 Kernel and then just install busybox like regular and boom Viper4Android, literally made my M8 sound so much better (not that it wasn't already awesome)
worked with htc 816 running indian stock, which still has no s-off at the moment,
had to go to twrp recovery terminal command, to make the symbolic links or move directories....
viper4android made a lot of difference in this particular model.
the next thing would be to make viper4a a system app, since it tended to close and thus lower the volume, usually after some time.
helloicanseeu said:
worked with htc 816 running indian stock, which still has no s-off at the moment,
had to go to twrp recovery terminal command, to make the symbolic links or move directories....
viper4android made a lot of difference in this particular model.
the next thing would be to make viper4a a system app, since it tended to close and thus lower the volume, usually after some time.
Click to expand...
Click to collapse
you can try and copy the app or push it in recovery to System/app. if you put it manually in not push via adb be sure to set the right permissions if the recovery doesn't set them automatically ! it should work even without s-off
One-M8-Master said:
you can try and copy the app or push it in recovery to System/app. if you put it manually in not push via adb be sure to set the right permissions if the recovery doesn't set them automatically ! it should work even without s-off
Click to expand...
Click to collapse
will try to make it work .... meanwhile from what i gathered in a htc 816 facebook group, most indian pple buying this particular model seems to have no clue about making the most out of its audio properties ... the 816's true selling points were its larger 5.5 " size, great audio output, and relatively low cost compared with other htc flagship models.
One-M8-Master said:
you can try and copy the app or push it in recovery to System/app. if you put it manually in not push via adb be sure to set the right permissions if the recovery doesn't set them automatically ! it should work even without s-off
Click to expand...
Click to collapse
done ... went to twrp recovery,
moved "com.vipercn.viper4android_v2-1.apk" from ""/data/app" to "/system/priv-app"
moved "com.vipercn.viper4anddroid_v2-1/libV4AJniUtils.so" from to "/data/app-lib" to "/system/lib/"
should be working fine, havent extensively tested it out yet though,
reported as a system app, and viper driver is running.
I Can't Get data/soundfx Shortcut to Transfer to /System/lib
In the opening instructions, #11 says that we have to transfer the data/soundfx shortcut to /system/lib. Everytime I try it with TWRP it just says failed. If I try it with root browser,
it will say successful until the phone is rebooted. Any help would be appreciated. I am a newbie to these things.
BaltColts said:
In the opening instructions, #11 says that we have to transfer the data/soundfx shortcut to /system/lib. Everytime I try it with TWRP it just says failed. If I try it with root browser,
it will say successful until the phone is rebooted. Any help would be appreciated. I am a newbie to these things.
Click to expand...
Click to collapse
u need to install twrp recovery for htc 816.
get it from "TeamWin Projects" website.
after successfully installing twrp, boot into recovery mode, use twrp to move data/soundfx shortcut to /system/lib, etc...
hope u get to install viperfx successfully and make full blast of the great audio output of this big value music machine, makes a near perfect combo with my music angel cube speakers(as far as mine human ears tell me), anyone using this combo too?
later htc models based on mediatek chipsets seem to have horrible audio outputs ... maybe even iphone 6 and samsung note4 cant beat htc 816 where mp3 output is concerned
background: htc 816 doesnt has s-off, so its always s-on, which means if u try to write to the "/system" folder, the phone will trigger a reboot immediately, to prevent any modifications to the folder. root browser will not be able to write to /system folder, even if the phone has root access, due to this s-on protection. The only way to edit /system folder is to boot to twrp (in recovery mode).
blewis540 said:
I have successfully created my own bypass to get viper4android to work. Always create a full backup before attempting =)
1. Download viper4android APK
2. Download Root Explorer from the playstore
3. Install Both Apps
4. Launch Root Explorer
5. In root explorer go to /system/lib/soundfx and copy the folder to /data/ (make a soundfx folder)
6. Also copy /system/etc/audio_effects.conf to the /data/soundfx/ folder
7. Using root explorers menu you can create a shortcut (symbolic link) make a shortcut of the /data/soundfx/ folder and a shortcut of the /data/soundfx/audio_effects.conf
8. Boot into TWRP
9.Mount the system partition
10. Rename /system/lib/soundfx to /system/lib/soundfx2
11. Copy soundfx shortcut create earlier to /system/lib/ it will look like a "file" to TWRP
12.Rename the /system/etc/audio_effects.conf to /system/etc/audio_effects.conf1
13. Copy the audio_effects shortcut into /system/etc/ (be sure its name matches the old exactly)
15. Reboot
16. Launch Viper and install driver
I haven't dealt with LPA yet (hasn't had an issue) nor have I done any other modifications at this time which are avail on the viper4android thread.
I was just thinking about symbolic links to get around this S-OFF/ON issue and it appears they work and technically as a workaround we could symbolically link everything in system to another location and access it all. This could easily be put into ROM builds now at least as well!
Build.Prop may be useful to move out via sym link as well
Click to expand...
Click to collapse
Will this method work without busybox?
There is a very specific reason why I'd not like to use busybox, so this may end up being a very good solution for me.
fade2black101 said:
Will this method work without busybox?
There is a very specific reason why I'd not like to use busybox, so this may end up being a very good solution for me.
Click to expand...
Click to collapse
What's wrong with busybox? its a hidden process only used when an app like V4A calls for it, other then that it has no negative effect. why avoid it?
Besides this thread is disinfo, all this is not required to get V4A working, Go to this thread Here and follow instructions.
hi,
I have completed those steps, but the viper4android keeps asking me to install the driver.
I have tried also the steps from helloicanseeu. But still, not working.
please help me, because installing viper4android is never been this hard on my previous device. thank you.
i got stuck after flashing viper . stuck on htc logo then reboots back to recovery..
oulixeus said:
hi,
I have completed those steps, but the viper4android keeps asking me to install the driver.
I have tried also the steps from helloicanseeu. But still, not working.
please help me, because installing viper4android is never been this hard on my previous device. thank you.
Click to expand...
Click to collapse
Which phone u using? What stock rom? I was using stock indian on htc816.
---------- Post added at 09:12 PM ---------- Previous post was at 09:03 PM ----------
XskipperX said:
i got stuck after flashing viper . stuck on htc logo then reboots back to recovery..
Click to expand...
Click to collapse
U followed the steps by blewis?
Why it is so complicated..???.if s-on, unlock bootloader and flash a custom kernel (elementalx). In install options just choose to set SElinux permissive. Then, install driver for Viper and reboot. That is it. If s-off, start with kernel installation...
People are talking about that s-off gives full access to system partition - true but not correct. Unlocked bootloader gives write access to system folder, while s-off in addition allows to change partitions, bootloader, etc.
Sent from my HTC One M8 using XDA Free mobile app
uvt_novice said:
Why it is so complicated..???.if s-on, unlock bootloader and flash a custom kernel (elementalx). In install options just choose to set SElinux permissive. Then, install driver for Viper and reboot. That is it. If s-off, start with kernel installation...
People are talking about that s-off gives full access to system partition - true but not correct. Unlocked bootloader gives write access to system folder, while s-off in addition allows to change partitions, bootloader, etc.
Sent from my HTC One M8 using XDA Free mobile app
Click to expand...
Click to collapse
Welp, it's so complicated because NONE of the instructions seem to work for a huge number of us. I've tried like 5 "failsafe" methods but they just fail and fail.
ONE time I had it working and was all psyched, and then I restarted the phone at some point and that was the end of that. Never worked since.

Categories

Resources