Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
opdecirkel
Old
#11  
Junior Member
Thanks Meter 1
Posts: 5
Join Date: Feb 2012
I am quoting the following post (i don't have privilege to post there): forum.xda-developers.com/showpost.php?p=23902281&postcount=64

Quote:
Originally Posted by daswahnsinn View Post
I unrooted and then updated, now I can't root. I updated the SDK and made sure I have the proper drivers needed. So I take back my easy comment. I'll keep trying I might just manually push the files back.

How did it fail? At which stage and what error did you get?
 
daswahnsinn
Old
(Last edited by daswahnsinn; 22nd March 2012 at 05:00 AM.) Reason: ROOT
#12  
Senior Member
Thanks Meter 71
Posts: 419
Join Date: May 2010
Okay, I'll try and flash the oldest update zip, and it fails as it should, then I wipe the cache part, reboot, and I hit enter when I gets to the unlock screen then the CMD window closes.

EDIT: I spent a good hour or so combing through my PC and these forums and tried both methods a lot, and this one finally worked. It wouldn't let me get to the /cache/recovery/pwn/su part of the script. Thank you all for your support.
 
jmtopu
Old
#13  
Junior Member
Thanks Meter 0
Posts: 1
Join Date: Mar 2012
Thumbs up I have problems... :(

Hi all,

Apologizes for my english, too bad to discuss this kind of issues. Sorry in advance.

I had the "fantastic" idea to update the firmware some weeks ago, when I was SU. After this, I've lost most of capabilities!

I tried to follow the procedure, but I cannot reach 'root' in any case. I have version WE089. Downloaded US060, but there's only 065 for Western Europe. I got both, just in case..

Unfortunately, in the first step it failed I'm not able to update anything. The process crashes when is loading old firmware, either US060 or WE065.

I've realised that during the process I loose the USB link connection (when I reboot), and the system tries to install again and again the driver. If the TPT is running in recovery mode, it seems that is not connected via USB... If I have the tablet in "normal use", I see it through the Windows Desktop.

Other question: should I disconnect the Internet connection?

I guess other requirements are right (ADBD, debugging mode,...). It's really annoying, it took me a lot of hours and I haven't found any solution.

Can anybody help me? What I'm doing wrong?
Cheers!
jm

W7 64bits - TPT WE089
 
jlove
Old
(Last edited by jlove; 7th April 2012 at 09:35 PM.)
#14  
jlove's Avatar
Member
Thanks Meter 19
Posts: 96
Join Date: Jul 2008
@jm

goto device manager. right click on Android device. reinstall device driver.

This worked for me in recovery when the device was not recognized.

Edit: look here: http://forum.xda-developers.com/show...1471106&page=2
 
-Neos-
Old
#15  
Junior Member
Thanks Meter 2
Posts: 24
Join Date: Jul 2011
Location: Nbg, BAY
What do you mean with loosing the connection? Is the adb driver installed correctly? Where did you get it from? Is it an genuine lenovo driver? If so, than you shouldn't worry!
Perhabs it's the MTP driver, that is missing when you boot into recovery? If it's the adb driver, than you should try jlove's method.


In addition I wanted to inform you, that the new method worked for me, too! Even with some complications... by this way, thanks again to opdecirkel!
Because the run.bat script did't worked correctly, I had to do it manually. So I put the "yareftpt" on C:\\, started cmd.exe, booted the TPT into recovery and changed the directory in cmd.exe with "cd.." to "cd yareftpt" ...followed the instructions with the update...
echo 4. Reboot in RECOVERY: (shutdown the tablet, then start it and press volume + few times until it starts in recovery)
echo 5. Go to apply update, select the update from the sdcard and try to apply it. It will fail, but that is OK.
echo 5. Then, go to 'WIPE CACHE PARTITION' and select it (navigate with volume buttons and select it with power button),
echo 6. When wipe cache complete, press (here) ^<ENTER^>.

and after that I copied the first line of the script into cmd and executed. I did it line after line, just to the next step. (dark green= copy line after line, paste and execute)
adb shell "/system/bin/mkdir /data/local/pwn"
adb shell "/system/bin/mkdir /data/local/pwn-bak"
adb shell "/system/bin/cat /system/etc/install-recovery.sh > /data/local/pwn-bak/install-recovery.sh.orig"

adb shell "/system/bin/mkdir /cache/recovery/pwn"
adb push su /cache/recovery/pwn

adb shell "/system/bin/rm /cache/recovery/log"
adb shell "/system/bin/ln -s /system/etc/install-recovery.sh /cache/recovery/log"
adb shell "echo \"/system/bin/chmod 777 /cache\" >> /tmp/recovery.log"
adb shell "echo \"/system/bin/mount -t ext4 /dev/block/mmcblk0p4 /cache\" >> /tmp/recovery.log"
adb shell "echo \"/system/bin/chmod 777 /cache\" >> /tmp/recovery.log"
adb shell "echo \"/system/bin/mount -oremount,rw -t ext4 /dev/block/mmcblk0p4 /cache\" >> /tmp/recovery.log"
adb shell "echo \"/system/bin/chmod 777 /cache\" >> /tmp/recovery.log"
adb shell "echo \"/system/bin/chmod 777 /cache/recovery\" >> /tmp/recovery.log"
adb shell "echo \"/system/bin/chown root /cache/recovery/pwn/su\" >> /tmp/recovery.log"
adb shell "echo \"/system/bin/chmod 4777 /cache/recovery/pwn/su\" >> /tmp/recovery.log"

echo 7. On the device, go to 'DISABLE BATTERY DISCHARGE' and select it. When complete press (here) ^<ENTER^>
pause

some of commands might cause failures, but don't worry and just go on
adb shell "/system/bin/rm /cache/recovery/log"
echo 8. On the device, select REBOOT. When startup COMPLETE press (here) ^<ENTER^>
pause

adb push Superuser.apk /data/local/pwn/Superuser.apk
adb push busybox /data/local/pwn/busybox
adb push su /data/local/pwn/su
adb push pwn-in.sh /data/local/pwn/pwn-in.sh
adb shell "/system/bin/chmod 777 /data/local/pwn/pwn-in.sh"


echo Your PC command prompt appears next. Do the following things:
echo 1. adb shell
echo when '$' (adb shell) appear, do:
echo 2. /cache/recovery/pwn/su
echo when '#' appears. You are root. run the following:
echo 3. /data/local/pwn/pwn-in.sh


now you should try if you have su, even if you don't see in your app list..
download root checker, install, open and try it!
You should have root right now.
In my case, i had root, but no CWM!
So I had to install in manually, but with root it should't be a problem. you only have to download the correct cwm version:
http://forum.xda-developers.com/show...5&postcount=71

then I installed it with the Android Terminal Emulator app, because the cmd.exe method did't worked for me. You should just follow the instructions:
or you can copy img file on /data/local/ folder of your tablet (with a file manager with root permissions)
launch "Android Terminal Emulator" application
and tape the instructions
su
mount -o rw,remount /system
echo "#!/system/bin/sh" > /system/etc/install-recovery.sh
dd if=/data/local/NameOfCWMFile.img of=/dev/block/mmcblk0p1

http://www.thinkpadtabletforums.com/...overy-for-tpt/

After a shutdown and reboot into recovery I had cwm! So I am able to do nandroid backups...

In this way, I would particularly like to thank to all devs that made the TPT root possible! Now i like my TPT 1000% more than before...e.g. no status-bar in lecture notes -> sooo great!!
The Following User Says Thank You to -Neos- For This Useful Post: [ Click to Expand ]
 
jlove
Old
#16  
jlove's Avatar
Member
Thanks Meter 19
Posts: 96
Join Date: Jul 2008
I do get the following error maybe someone can help me out

[*][*][*]
/system/bin/mkdir: not found
/system/bin/mkdir: not found
cannot create /data/local/pwn-bak/install-recovery.sh.orig: directory nonexisten
t
/system/bin/mkdir: not found
699 KB/s (22364 bytes in 0.031s)
/system/bin/rm: not found
/system/bin/ln: not found
7. On the device, go to 'DISABLE BATTERY DISCHARGE' and select it. When complete
press (here) <ENTER>
Drücken Sie eine beliebige Taste . . .



it cant find the mkdir command very strange
 
rangercaptain
Old
(Last edited by rangercaptain; 8th April 2012 at 03:46 PM.)
#17  
rangercaptain's Avatar
Senior Member
Thanks Meter 1398
Posts: 3,730
Join Date: Oct 2010
Location: West Coast of California
I'm a little rusty, but are the / and \ facing the correct way? And are you in the correct directory? Not found usually means path is incorrect.
 
jlove
Old
#18  
jlove's Avatar
Member
Thanks Meter 19
Posts: 96
Join Date: Jul 2008
@rangercaptain

thats the commands from the root script. I didnt change them.

the commands are send over from adb shell and the tablet is in root directory i think.

When i go into shell and type in ls i get access denied error.
 
-Neos-
Old
#19  
Junior Member
Thanks Meter 2
Posts: 24
Join Date: Jul 2011
Location: Nbg, BAY
and you load the update zip and wiped cache before typing the commands, right? You have to do this every time you try to root...

Try to do it with another method. Don't do it directly trough adb shell...just type the shell commands in the cmd.exe
You just have to chance the directory in cmd, before executing the commands.
Then try not to input 'adb shell' before the shortened command, but the whole command as one line like:
adb shell "/system/bin/mkdir /data/local/pwn"
Perhabs it will work..?!?
 
jlove
Old
#20  
jlove's Avatar
Member
Thanks Meter 19
Posts: 96
Join Date: Jul 2008
@neos

yes i do the same procedure.
I also tried over cmd with adb shell "command" and also in shell.
Always the same error.

I looked into the system/bin directory and mkdir does have filesize of 0kb...

 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

report this ad
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...