Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
Saenic
Old
#201  
Senior Member
Thanks Meter 6
Posts: 110
Join Date: Jun 2010
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?
 
d3sm0nd
Old
#202  
d3sm0nd's Avatar
Senior Member
Thanks Meter 9
Posts: 501
Join Date: Dec 2007
Location: Sofia
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
 
gogua
Old
#203  
Member
Thanks Meter 6
Posts: 77
Join Date: Dec 2009
Location: Spain
Quote:
Originally Posted by LyInIa View Post
I have a problem :/

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 View Post
Make sure the folder is in clockworkmod/backup, i.e.:

/sdcard/clockworkmod/backup/2011-05-31.18.50.02/cache.img



Hello !

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 ??

thank you...
 
Chainfire
Old
#204  
Chainfire's Avatar
Senior Moderator / Elite Recognized Developer - OP
Thanks Meter 31451
Posts: 7,983
Join Date: Oct 2007

 
DONATE TO ME
Quote:
Originally Posted by terryhau View Post
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 View Post
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.

BLOG - G+(Chainfire) - G+(Personal) - TWITTER - IRC - DONATE

Android
HTC G1, Hero
Samsung i5800, i9000*2, P1000*2, P7100, i9100*2, N7000, P6800, i9300, N7100, i9505
Sony T LT30p, Z C6603
Nexus Galaxy*2, N7, N10

SuperSU, Mobile ODIN, TriangleAway, DSLR Controller, CF-Root, USB Host Diagnostics, ExynosAbuseAPK, Live dmesg+logcat, NoMoarPowah!, CF-Bench, Chainfire3D, CF.lumen, SGS2 SIM Unlocker, GingerBreakAPK, SuperPower, and more!

Windows Mobile 5/6
E-Mobile EM-ONE
HTC Wizard*2, Kaiser, Touch, Diamond, Pro, HD*2, Diamond 2, Pro 2*2, HD2*2
Samsung i780, i900*2, i8000*2, b7300, b7320, b7330, b7620*2, b6520

WMWifiRouter, KaiserTweak, FPUEnabler, WMLongLife, WMRegOptimizer, CFC+GUI, TF3D+v2 ports, Kaiser+Omnia2+Snapdragon 3D drivers, GfxBoost, and more!

Windows Phone 7
LG GW910

NOTICE: I do not respond to tech support questions through PM.
 
ouija147
Old
#205  
ouija147's Avatar
Senior Member
Thanks Meter 55
Posts: 207
Join Date: Dec 2010
Default thank you!

Donation made...

Have another beer on me.

CF-Root rocks.

Ouija147
 
kryptoner
Old
#206  
Senior Member
Thanks Meter 367
Posts: 1,716
Join Date: Apr 2011
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.
 
sorg
Old
(Last edited by sorg; 3rd June 2011 at 07:23 AM.)
#207  
Senior Member
Thanks Meter 126
Posts: 359
Join Date: Sep 2006
Location: 台灣
Factory reset doesn't work.
Phone goes to indefinite cycles or reboot (Starting samsung animation, pause, animation and again).

KE7 ROM/Kernel
No SD card inserted
No SIM card inserted
Samsung Galaxy S II GT-i9100
Samsung Galaxy S III GT-i9300
Samsung Galaxy S III LTE SHV-E210K
 
Platypus
Old
#208  
Platypus's Avatar
Junior Member
Thanks Meter 0
Posts: 9
Join Date: Feb 2005
Location: The Hague
Smile Like a charm!

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.

Thnx Chainfire !!
Greetz2Ya,
Platypus
 
dh2311
Old
#209  
dh2311's Avatar
Senior Member
Thanks Meter 261
Posts: 486
Join Date: Oct 2010
Location: Liverpool

 
DONATE TO ME
Can you make this kernel insecure. It doesnt allow SU permissions through ADB.
Galaxy S II Wipe Custom Binary Counter

Did I help? If so please click the Thanks button
 
roakes
Old
#210  
roakes's Avatar
Senior Member
Thanks Meter 4
Posts: 208
Join Date: Aug 2009
Location: Birmingham
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!

 
Post Reply+
Tags
cf-root cwm chainfire, cwm, cwm manager, cwm root, habra cf-root 2.3.6-xwkk5, rooted stock kernel, rooting, samsung galaxy s2 root sii root, tanks.
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...