Hey, I'm sorry if I ask noob questions here, but I have to get startet somewhere
I myself own a HTC Desire and my brother bought a SGS2 and wants to root it, but nothing else (he is not that crazy about custom firmware as I am) and wants to keep his personal settings while doing this. So I got a few questions:
1. will this cf root work with DBT (German) KE2 firmware or just XEU?
2. in case anything goes wrong, is there something like RUUs for htc phones, a default Rom that can be flashed over?
First I want to thank you, Chainfire for all the dev! I remember you since I had the HTC Kaiser back in 2007...
Now some feedback:
Coming from Desire it's a bit frustrating for me to understand the functional part. It would be great if you could describe how the whole thing is working.
Is the recovery hard coded or not? If I do a system wipe or flash another ROM, will I lose the recovery?
When I had the Desire, first we were not able to overwrite the original recovery with a moded one and the custom recoveries were executed from SD... I can't understand how it's working on the SGS2, but I guess it's somehow similar because we don't have all functions.. for example I couldn't get ADB to work in recovery... tried waiting more than 1 minute or plugging in and out.. the same.
Also that thing with rootsh instead of su makes me think that all the tools outside like AndroidCommander won't work.
So again my question is - will we get a proper recovery in future or is this what we need?
HTC TyTN II > HTC Touch Diamond2 > HTC Hero > HTC Desire > Samsung Galaxy S II > Galaxy Nexus > Nexus 4
I made a factory reset (what a noob i am...) and the phone reboot all the time...i can go in clockworkmod, and i hope i can make a nandroid restore. I have on my computer a back up, but i don't know how restore this one. I can mount the sd-card, put the back up on it but i can't restore it :/ its a file named "2011-05-31.18.50.02" with cache.img, data.img, system.img and nandroid.md5
I hope you can save me :"(
Quote:
Originally Posted by Chainfire
Make sure the folder is in clockworkmod/backup, i.e.:
I'm newbie. How can i mount/move backup path from my external_sd to /sdcard/clockworkmod/backup if i only have access to clockworkmod recovery screen ??
I have a similar problem.
When installing an apk using adb install "some application.apk"
it installs fine, but when it gets to removing the apk from /data/local/tmp, it fails with an error.
rm: can't remove '/data/local/tmp/some' : No such file or directory
rm: can't remove 'application.apk' : No such file or directory
It's a problem with the busybox rm in /sbin.
if you do /sbin/rm "a b c" you get
rm: can't remove 'a' : No such file or directory
rm: can't remove 'b' : No such file or directory
rm: can't remove 'c' : No such file or directory
while /system/bin/rm "a b c" gives you
rm: can't remove 'a b c' : No such file or directory
which is the correct behavior.
If anyone is interested in a temporary fix, just rename /sbin/rm to something else like /sbin/rm2
so that /system/rm gets used instead.
The busybox rm doesn't have this problem on my Nexus S. Not sure why it's happening here.
My fault, will fix this in an update (but not before next week).
Quote:
Originally Posted by d3sm0nd
First I want to thank you, Chainfire for all the dev! I remember you since I had the HTC Kaiser back in 2007...
Now some feedback:
Coming from Desire it's a bit frustrating for me to understand the functional part. It would be great if you could describe how the whole thing is working.
Is the recovery hard coded or not? If I do a system wipe or flash another ROM, will I lose the recovery?
When I had the Desire, first we were not able to overwrite the original recovery with a moded one and the custom recoveries were executed from SD... I can't understand how it's working on the SGS2, but I guess it's somehow similar because we don't have all functions.. for example I couldn't get ADB to work in recovery... tried waiting more than 1 minute or plugging in and out.. the same.
Also that thing with rootsh instead of su makes me think that all the tools outside like AndroidCommander won't work.
So again my question is - will we get a proper recovery in future or is this what we need?
This is a proper recovery ...
HTC's and Samsungs work different re: recovery. The recovery is inside the kernel, so it won't stay if you flash a different kernel. As far ADB not working, you're doing something wrong, because it works fine. Try an adb kill-server, that may help. rootsh is only for recovery, not for a booted android, there you use su like usual. This will be fixed some time in the future.
I AM ON VACATION
I know, I still had lots of PMs and emails to answer, problems to debug, features to implement, updates to release, people to help, etc, but it'll just have to wait. But do not despair, I will return soon to procrastinate some more.
I downloaded CF-Root-SGS2_XW_XEU_KE7-v3.5-CWM3.zip but when i extracted it, I didn't fine any .tar file... please help asap. Sorry but I'm new to this procedure.
Got rootacces in less then 30 sec. (Not bad as i'm a android noob).
Works very well on de SGS2 KE2 kernel and I used a jig to reset the counter
The phone still works like it's a stock issued one.
Thank god for this guide, the difference in the processes between the HTC handsets I had come from was rather daunting but had my phone rooted in under 2 mins (only due to being extra careful). Thanks!
Ever since the introduction of multi-window with things like Cornerstone and … more
XDA Developers was founded by developers, for developers. It is now a valuable resource for people who want to make the most of their mobile devices, from customizing the look and feel to adding new functionality. Are you a developer?