yashsingh1/xdaforums huggingface dataset:
[Nexus One Android Development] tom781:
Excuse me as I'm a newbie to android.

i got a new htc wildfire lastweek with android 2.1.

Will this method work on Wildfire? did anybody try it on wildfire?

Is it safe to try?

I know i have the path /dev/block/mtdblock3/ (and mtdblock0-4 as well) but i don't know if that means my system partition is there. also i don't know if my file system is yaffs2). the build number is 1.14.405.2

I only need super user rights in order to install Hebrew fonts to my system for Hebrew support (and maybe for having the option to install applications to the SD card).

thanks a lot
[Nexus One Android Development] t0ph0id:
I did it through DOS in windows, like I did the rest of the root.
[Nexus One Android Development] maddoguk:
I would not try this on a Wildfire. Try this section - http://xdaforums.com/forumdisplay.php?f=678
[Nexus One Android Development] dolomiti7:
I don't know the wildfire and I also dont know if there are any rooting possibilities available for the wildfire. You should check that first.

Generally I think there is no risk in trying this method. You should check one thing before you try it:

Using the SDK/tools:

adb shell
mount

There you will see a list of mounted partitions.

If you find an entry like this, it is safe to try the method:

/dev/block/mtdblock3 on /system type yaffs2 (ro,relatime)

The freenexus program will try to create a rootshell in the system/bin folder. Either it works or it doesn't. But there is not really a risk. Of course you need another recovery image for your device if you intend to flash that. I guess you will find it in the Wildfire forum.

Please give a feedback if it worked or not.
[Nexus One Android Development] dolomiti7:
If the files are already missing, you will of course get an error when executing the "rm" commands. But that is alright, you can safely proceed.
[Nexus One Android Development] dolomiti7:
The mount instruction is not missing. It is not there intentionally. If you read carefully I suggest to use the /data/local/tmp path. This path is always mounted in R/W mode, so no need to use the system partition. The /system/bin path was only suggested immediately after rooting, without a reboot. The freenexus program remounts the system partition as R/W, so there is no need to mount it again. THe only point where you would need the mount command is when you absolutely want - for any reason - to put flash_image to system/bin AND have already rebooted.

Thanks, I will revise some parts within the next days.
[Nexus One Android Development] dolomiti7:
It depends on what you mean with adb root access. You can execute anything with root rights via adb shell and su. But as the bootloader is still locked - which is by design :-) - you cannot flash a recovery image using fastboot, as adb is still considering the device locked.
[Nexus One Android Development] daemondemise:
anyone having issues with 3G?

After I rooted my phone using this method, I started having problems with my 3G signal. I've checked with T-mobile and they said that there are no outages where I am at. Anyone having the same issue?
[Nexus One Android Development] ilostchild:
sorry man... but thats just a faulty thing for N1 its a real big known issue, this did not mess up your 3G
[Nexus One Android Development] cmstlist:
Did you root and then change ROM? Or just plain root?
[Nexus One Android Development] fosormic:
Yeah, like they said, just rooting would have absolutely no effect whatsoever on your signal, reception, etc. Unless you did/installed something else.

I wish my N1 would not fail as much as it does on TMobile :(
[Nexus One Android Development] daemondemise:
Just straight root from fr91. Thanks for all the replies.
[Nexus One Android Development] antikryst:
2 questions:

1)

just realized that the superuser.apk has a newer version. is it worth upgrading to the latest version? are there drawbacks from sticking to the one bundled with this root method (as this is what i have, this is how i rooted my nexus)?

if an update would help... how do i go about doing the update? can i just rename the superuser signed zip to update.zip and do the update like the manual method of getting the froyo update?

heres the superuser thread

http://xdaforums.com/showthread.php?t=682828

2)

is it possible to UN-root when root was gained using this method? would be possible to just flash the froyo OTA update.zip and go back to full stock? just wondering.
[Nexus One Android Development] ilostchild:
Lol there is thread something bout unrooting when on Stock FRF91 w/root, but far as i know flashing the OTA will break root, goes with any OTA udpate for a phone,

and i also would like to know bout this new Superuser.apk

also if already rooted but still on stock, how would one about putting this on with out a custom recovery
[Nexus One Android Development] antikryst:
yeah. i just want to update superuser as well without messing with custom recovery images or custom roms. im perfectly happy with stock.
[Nexus One Android Development] tom781:
thanx dolomiti7, maddoguk for your answers

i did look in the wildfire forum, i saw that MartinEve tried doing it with no success so far,

HTC Buzz: Wildfire-->Wildfire Android Development--->Wildfire root access?

on page 6

guess I'll just have to wait.

i also saw that Paul is due to publish a root for the wildfire

i understand that 2.2 froyo has a built in support for Hebrew, i dont know when its out and if i can have this update when it comes out.
[Nexus One Android Development] ilostchild:
i went and asked on the thread, if we got root access we can do adb push into the phone, so i dont see why it will not work, i just dont know where the "su" file goes to push so guess ill start looking :p
[Nexus One Android Development] WaPeR32:
so, what i need to do?
[Nexus One Android Development] ilostchild:
To Op. You should give instructions installing busybox to phone. I realized today I can't do cp cmd due its not installed! ;p can still do copy but instead of traditional cp we have to do nusynox cp then directory just giving heads up to others as well!

for those that want to fully install Busybox.. you can follow this link

http://zedomax.com/blog/2010/07/07/android-hack-how-to-install-busybox-on-your-android/

simple and ez..
[Nexus One Android Development] WaPeR32:
I have a "problem", I made the two parts of the tutorial (root + recovery).

Yesterday I were going to flash a ROM and I had no recovery!!!!!! I have the stock recovery!!

I'm confused.

Is this normal? I know that I can repeat the tutorial buy I want to know what happen

Thanks! ;)
[Nexus One Android Development] dolomiti7:
No it is not normal, but fortunately I have finally figured out where the problem is. It happens in some configurations when you followed the recovery instructions in my first post AND made a reboot between rooting and installing recovery.

I assume you still have root (if not root again). You can easily solve this as proposed by some others here in the thread by installing the recovery again with adding the command

mount -o rw,remount /dev/block/mtdblock3 /system

to the recovery flash process. I added that to the tutorial. Then your rm commands shouldn't fail anymore. I first thought that they fail because the files were already deleted, but obviously your problem was that you couldn't delete them because the system partition was still read-only. And if the two files remain on your Nexus, the custom recovery will be replaced by the stock recovery again as it happened to you.
[Nexus One Android Development] WaPeR32:
Thanks a lot! :)

I'll try this evening because I'm at work and here I can't install the androidsdk
[Nexus One Android Development] fkcoder:
I trying to unlock my CLIQ XT.

But..

What can this mean?
[Nexus One Android Development] cmstlist:
The Cliq XT is a very different piece of hardware - completely unrelated to the Nexus One. You will have to use instructions specifically written for the Cliq XT.
[Nexus One Android Development] slicedtoad:
So, would this work for this tut?

xdaforums.com/showthread.php?t=613812

I really only need to tether. Anyone know an easier way? I'm decent with computers but new to phone hacking.
[Nexus One Android Development] cmstlist:
You don't need to root or hack at all to tether a Nexus One. Just update it to the latest Froyo and it comes with USB or Wireless tether as part of the OS. :)

Also the link you posted is to a ROM, and an old one at that. It has nothing to do with the actual process of rooting. If you want to try anything that requires root, just follow the steps in this thread and don't bother with a custom ROM unless you specifically want to change that too.
[Nexus One Android Development] slicedtoad:
Awesome, i'd almost decided on an iphone because it comes with tethering supported but i think i'll reconsider.

thx
[Nexus One Android Development] cmstlist:
The built in tethering on Froyo is arguably better because it creates a wifi hotspot so you can tether other devices like iPads, tablets and such. iPhone only has USB & Bluetooth options.

(I only say "arguably" because wifi tethering is more battery intensive than Bluetooth)
[Nexus One Android Development] WaPeR32:
I did that and now my recovery is working perfect!

Thanks!
[Nexus One Android Development] snovvman:
Any success on updating the superuser.apk?

The superuser thread talks about removing the old:

adb remount

adb shell rm /system/app/Superuser.apk

adb shell pm uninstall com.noshufou.android.su

before the update from Market.

Thanks for any help.

Edit:

I updated Superuser as directed. It installed fine from the Market and works fine. At first, it would automatically self-uninstall after a reboot. Since I have apps automatically installed to SD, I moved it back to the phone. Superuser then would survive a reboot. But, it does not "rememeber" all the premissions. I have to re-grant after each reboot. The log is gone too.

I will post at the other thread...
[Nexus One Android Development] GrandMstrBud:
Worked in 10 minutes and just restored my CM 6 from nandroid and my phone is still locked. Sweet and thanks so much
[Nexus One Android Development] ram130:
ANyone know any guide/tutorial for users that used this method on going back to fully unrooted stock?
[Nexus One Android Development] futango:
You will need to flash a stock recovery menu. Once that is done

Download this PASSIMG.zip. This is EPE76. Boot into bootloader and load it.

http://www.megaupload.com/?d=7JQU3MV0

Once you have this completed. You will need an update.zip of FRF85B.

http://www.mediafire.com/?j5zejudgngm

Boot into the stock recovery. when you see triangle and android. hold power button and up volume up. This will take you to the menu. once in the menu. select the apply update.zip. once this is done. FRF91 should be able to download from system update..

This is how i got my rooted locked bootloader to get back to stock.
[Nexus One Android Development] ram130:
Thanks so much, Worked great! This thread just needs to be a sticky and it's good.
[Nexus One Android Development] mburt27:
Thanks for this. I was pulling my hair out trying to figure out how I was going to flash my N1 to stock again. No other way worked but this.
[Nexus One Android Development] ram130:
I'm guessing once you do all of this. Can't you restore your nandroid backup of your stock with all your stuff pre set already?? or will that keep root?
[Nexus One Android Development] cmstlist:
The nandroid backup will necessarily keep root, because you had to root before taking the backup. However if you were determined to do so, you could probably restore the backup, reflash stock recovery and delete Superuser.apk & su.
[Nexus One Android Development] evenstarr:
Hey guys first time Android user and this tutorial is great however I'm having an issue. I have sucessfully rooted the phone and am trying to instal custom recovery. I can get to step 5 but when i put in the command "# chmod 755 flash image" it says

"Unable to chmod flash_image : No such file or directory"

I've checked and flash_image is saved under AndroidSDK/android-sdk-windows/tools

Can someone see what i'm doing wrong?
[Nexus One Android Development] futango:
Pretty much what he said. They way i achieved a nandroid of non-root was to use toeh 1 click root app. I installed it and rooted the phone. This allowed me to use flash_image to flash a custom recovery. once i had done that i used the 1 click root to unroot the phone again. and uninstalled the app. This leaves a STOCK rom with a custom recovery. booted into custom recovery and did a nandroid. once i had a unrooted nanroid i used this method or 1 click root and rerooted the phone. I now have a Unrooted nandroid and a BARE root nandroid. I keep those on my hdd and sdcard. I also keep a copy of the stock recovery.img with them. in case i need to revert to all stock. do a nandroid of the unroot and then flash_image stock recovery and im done.
[Nexus One Android Development] saurabhkhanna:
Wow it worked like a Charm... tnx...
[Nexus One Android Development] ram130:
Great idea really..I'll keep it in mind when 3.0 comes out or when I finally sell this phone..:D thanks
[Nexus One Android Development] twist1234:
I believe, its because you/we are still running stock ROM, basically when you flash recovery then reboot and try to go into recovery you get exclamation, something about Froyo reflashing its stock recovery whereas with say CM6 it doesnt try to do this so the custom recovery just works.

So the answer would apparently be to install a rom then install recovery from rom manager. Can ppl confirm?
[Nexus One Android Development] cmstlist:
Keep in mind also that future SGS firmwares may not be vulnerable anymore to the 1-click root, since it makes use of a Linux exploit that will surely be patched in due course. But in any case, the firmware community will continue to be filled with ingenuity. Be thankful the SGS doesn't have a Motorola-style locked bootloader =)
[Nexus One Android Development] dylyxcore:
Great tutorial thanks for the post; had my nexus rooted in about 10 minutes. I noticed under the "step-by-step" guide there is a typo in the command line you provided... the "skd" threw me off for about 5 minutes until I realized it was SDK. Just wanted to point it out though, I am a dumbass when it comes to this stuff.
[Nexus One Android Development] dolomiti7:
It seems that you didn't push the flash_image file to the device. In adb shell try

cd /data/local/tmp
ls -l

You should see the flash_image file there. If not, repeat the adb push command.
[Nexus One Android Development] MarcP :D:
:-(

Hi all,

For about half an hour now I've been trying with this method. My nexus just isn't coming up under "attached devices" when i use the command "adb devices". The command prompt would just print List of Devices Attached and nothing followed.

Yes I have debugging on and

No USB storage is not on and

Yes USB drivers are installed. I can see them in the list of Installed Packages in the SDK "USB driver package, Revision 3".

What am I doing wrong?

NVM: got it working.

http://xdaforums.com/showthread.php?t=613217

Thanks guy from other thread. :-)
[Nexus One Android Development] psp888:
Will rooting this method stop new auto OTA updates in the future?

When a new firmware comes out will it delete the root? Or doing a factory reset?
[Nexus One Android Development] trock62:
Great Tut Thanks
[Nexus One Android Development] dolomiti7:
If you just root and do not install custom ROM's/custom recovery you will still receive OTA notifications. OTA updates will revert the rooting and it is likely that official updates will prevent you from rooting again with this method in the future. If you want to be sure to keep root, don't install OTA updates, but update manually once a rooted version of the update is available.
[Nexus One Android Development] aiqie:
hi all, i'm nubie for android.

my device is samsung gt i5503.

is there a way to rooting my device with this?

any tut and advice for me?

thanks in advance
[Nexus One Android Development] nxt:
Someone needs to make an app that can flash recovery.

I know how to use the flash_image command but I have to look up the commands and do it and it's very tedius, ROM Manager can do it directly in the app with clockworkmod, someone needs to make one to flash any recovery img.
[Nexus One Android Development] mlbl:
I'm currently using universal androot to do the rooting, which leaves the bootloader intact, can i flash the recovery rom without wiping any data on my phone?
[Nexus One Android Development] sagaofsage:
Just before I decided to take the plunge and root my Nexus one I made the upgrade to FRG83. I do not know if this might be causing my problem, or maybe I am just missing something simple.

I am getting hung up here:

$ ./freenexus

./freenexus

[*] Android local root exploid (C) The Android Exploid Crew

[*] Modified by ak for HTC Nexus One

[+] Using basedir=/data/local/tmp, path=/data/local/tmp/freenexus

[+] opening NETLINK_KOBJECT_UEVENT socket

[+] sending add message ...

[*] Try to invoke hotplug now, clicking at the wireless

[*] settings, plugin USB key etc.

[*] You succeeded if you find /system/bin/rootshell.

[*] GUI might hang/restart meanwhile so be patient.

$ rootshell

rootshell

rootshell: permission denied

Thanks for any assistance you might be able to offer!
[Nexus One Android Development] cmstlist:
The "freenexus" method (exploid) is not going to work anymore on FRGxx builds. You will need to use the "rageagainstthecage" method. I don't know where to find a cohesive set of instructions for this method on the N1 so I started a new thread for the purpose.
[Nexus One Android Development] Ataru6:
I'm a Newbe and i got at the first time with N1 Vodafone 2.2! great! perfect guide, thanks a lot. Just 2 question:

1) is it possible to go back to the original settings if i need?

2) i download from market Trackball alert to change the color of the trackball, but doesn't work. Do i use this program or a need a custom rom to enable it?

Thanks eveybody!
[Nexus One Android Development] pgupta:
Hi I am new to Android rooting stuff, is it still possible to root 2.2.1 with this method?
[Nexus One Android Development] snovvman:
Read the few posts before yours. It will not work.

Edit: Look here:

http://xdaforums.com/showthread.php?t=792016
[Nexus One Android Development] MitchRapp:
dang, i ran this method and now with 2.2.1 i need to run the rageagainstthecage method ... but everytime i get to the busybox and so on lines, it says file exists and it won't work.... I suppose you have to remove the old stuff first, but how?
[Nexus One Android Development] cmstlist:
If any of the files are already there, then maybe you just need to change permissions and you'll have your root again?
[Nexus One Android Development] l0uisz:
hello, quick question once i download the rageagainstthecage-arm5.bin file where do i put it? this is where i'am, stuck ive already got Superuser & busybox su from PREVIOUS 1- Click Root [ which when i updated to 2.2.1 i forgot to UNroot ] so i dont need to install that...
[Nexus One Android Development] pgupta:
you put that file locally on your PC in the tools folder and then follow the steps mentioned
[Nexus One Android Development] l0uisz:
thanks man! =) hey one other question! lol THIS HERE

4. ./freenexus ( i didnt bother toggling wifi ) it will hang and youll have to maunally close that command box and open a new one

5. C:\Users\Administrator>f:

F:\>cd adb

can you further explain this part to me if you know?
[Nexus One Android Development] l0uisz:
iam stuck here

8. run the following commands:

Code:

adb shell

(you should see a "$" prompt now)

cd /data/local/tmp

after i type in " cd/data/local/tmp " it says not found...
[Nexus One Android Development] pgupta:
it is cd /data/local/tmp not cd/data/local/tmp
[Nexus One Android Development] Scylarr:
Is it possible to undo this way of rooting?

I rooted using this method and I want to use Universal Androot, but it's funky because they are probably different methods
[Nexus One Android Development] herrwinkler:
Everything goes ok until I enter (step 18):

./busybox cp busybox /system/bin

chmod 4755 /system/bin/busybox

busybox cp Superuser.apk /system/app

busybox cp su /system/bin

chmod 4755 /system/bin/su

rm /system/bin/rootshell

exit

exit

I'm on a mac, what am I doing wrong?
[Nexus One Android Development] kn78hmc:
Hello I ve a problem with my nexus frf91 locked...

The rooting operation worked fine but I got problem after recovery-ra manual installation...

I ve done this:

mount -o rw,remount /dev/block/mtdblock3 /system

cd /data/local/tmp

chmod 755 flash_image

./flash_image recovery /sdcard/recovery-RA-nexus-v1.7.0.1.img

and ....

rm /system/etc/install-recovery.sh

rm /system/recovery-from-boot.p

this give me a no such file or directory error !!!!

I got black screen after rebooting in recovery mode...need to remove the battery to restart the phone.

I tried adb commands :

c:\android-sdk-windows\tools>fastboot flash recovery recovery-RA-nexus-v1.7.0.1.

img

sending 'recovery' (3948 KB)... OKAY [ 0.548s]

writing 'recovery'... INFOsignature checking...

FAILED (remote: signature verify fail)

finished. total time: 1.157s

or simply this one :

c:\android-sdk-windows\tools>fastboot boot recovery-RA-nexus-v1.7.0.1.img

downloading 'boot.img'... OKAY [ 0.547s]

booting... FAILED (remote: not allowed)

finished. total time: 0.612s

I got a failure everytime....

my HBOOT is 0.35

Im wondering if the phone not needed to be unlocked to flash recovery correctly....

Thx for help Im stuck I cant install my custom rom
[Nexus One Android Development] cmstlist:
You quite likely have an SLCD Nexus One. The 1.7.0.1 RA recovery will not be visible on your screen. You need to install the newer release (1.8.0.1 I think?) or higher to get it working on SLCD. As for fastboot, you won't be allowed to flash those .img files from there unless you plan on unlocking your bootloader (voiding your warranty). Everything has to be done from recovery or from the OS if you rooted without unlocking bootloader.
[Nexus One Android Development] kn78hmc:
Indeed i ve got AR version problem.

I ve tried the 1.9 alpha version just after posting my question and it worked.

Thx for help anyway.

Now I ve another issue while trying to install the cyano Rom 6 rc3...

I think my hboot 35 goes on error with cyano install script...
[Nexus One Android Development] cestbibi:
Have a look here:

h**p://xdaforums.com/showthread.php?t=785581
[Nexus One Android Development] stephanecdg2:
I'm a newbie

I tried to install the recovery amon Ra and I succeed twice ( the 1.701 then the 1.801) but everytime i have the same issue when i reboot i go back to the stock recovery. I've read in that thread that some had the same problem and the commands

rm /system/etc/install-recovery.sh

rm /system/recovery-from-boot.p

are supposed to fix this but unfortunately everytime i get

rm failed /system/etc/install-recovery.sh no file or directory

rm failed /system/recovery-from-boot.p no file or directory

so i've jumped to the command reboot recovery, so the install lasts untill the next reboot

(For the root i followed the process suggested in the thread and i had no problem)

Any help will be appreciated

(sorry if my English is not very good :o )
[Nexus One Android Development] ilostchild:
do cd /system/etc

then do ls

and see if you have the sh in there. if you do the make sure system is mounted and everything is type how it is listed in cmd prmpt
[Nexus One Android Development] stephanecdg2:
I tried again several time but still have the same issue

so I type your command and get this

rm /system/etc/install-recovery.sh

rm failed for /system/etc/install-recovery.sh, No such file or directory

# cd /system/etc

cd /system/etc

# ls

ls

firmware

01_qcomm_omx.cfg

hosts

bluetooth

init.goldfish.sh

audioBTID.csv

ecclist_for_mcc_.conf

uptadecmds

NOTICE.html.gz

vold.fstab

AdieHWCodecSetting.csv

permissions

vpimg

contributors.css

voicemail-conf.xml

ppp

wifi

gps.conf

apns_conf.xml

pvplayer.conf

dhcpcd

event-log-tags

dbus.conf

security

media_profiles.xml

bluez

#

Sorry for the delay i was working so couldn't focus on this