Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
letama
Old
#21  
Recognized Contributor - OP
Thanks Meter 1299
Posts: 1,360
Join Date: Feb 2008

 
DONATE TO ME
Quote:
Originally Posted by TJ5000 View Post
it says that it cannot stat 'zImage':no such file or directory
It seems that you didn't unzip all the files properly, zImage should be with enable_sde.bat and the others in the adb directory.
Sony Xperia S (Boot Manager, JB AOSP 4.2.2)
Archos A70IT2 Honeycomb model (SDE and rooted firmware)
Archos A101 G9 (SDE enabling, SDE root firmware , G9 ICS Alpha 0 )
Want to buy me a beer? Here is my donation link.

"I herd you like updates so we put an update in yo update so you can update while u update" g.revaillot (Archos)
The Following User Says Thank You to letama For This Useful Post: [ Click to Expand ]
 
TJ5000
Old
#22  
Junior Member
Thanks Meter 0
Posts: 10
Join Date: Apr 2012
Location: Brussels
I already fixed my problem and found the files.. Still no root tho... when the command prompt asks me if I see root or 0, I dont see neither of them.
 
letama
Old
#23  
Recognized Contributor - OP
Thanks Meter 1299
Posts: 1,360
Join Date: Feb 2008

 
DONATE TO ME
Strange... Can you post the whole session ?
Sony Xperia S (Boot Manager, JB AOSP 4.2.2)
Archos A70IT2 Honeycomb model (SDE and rooted firmware)
Archos A101 G9 (SDE enabling, SDE root firmware , G9 ICS Alpha 0 )
Want to buy me a beer? Here is my donation link.

"I herd you like updates so we put an update in yo update so you can update while u update" g.revaillot (Archos)
 
TJ5000
Old
#24  
Junior Member
Thanks Meter 0
Posts: 10
Join Date: Apr 2012
Location: Brussels
So my device is a A70 IT2 and was already at 3.2.81 before I attempted to root it.
What I did: I extracted both the 3.2.80 and 3.2.81 .rar files in one folder (overwriting some files of 3.2.80.rar with the ones from 3.2.81). And followed your instructions. (clicked on enable_sde.bat and followed command prompt instructions).
After doing the rooting process, my device freezes when it goes to sleep and I'm forced to do a full reinitialization of my device to fix it.


C:\Program Files\Android\android-sdk\platform-tools>adb push 1 /data/local/tmp
541 KB/s (6660 bytes in 0.012s)

C:\Program Files\Android\android-sdk\platform-tools>adb shell chmod 755 /data/lo
cal/tmp/1

C:\Program Files\Android\android-sdk\platform-tools>adb shell /data/local/tmp/1

Archos 80 G9 secure shell utility by Paul O'Brien - @paulobrien - http://Android
.MoDaCo.com

Step 1 started

Step 1 complete - now restart your device and complete Step 2


C:\Program Files\Android\android-sdk\platform-tools>adb shell sync

C:\Program Files\Android\android-sdk\platform-tools>adb reboot

C:\Program Files\Android\android-sdk\platform-tools>echo "wait for tablet to fin
ish first reboot then press enter"
"wait for tablet to finish first reboot then press enter"

C:\Program Files\Android\android-sdk\platform-tools>pause
Press any key to continue . . .

C:\Program Files\Android\android-sdk\platform-tools>adb push 2 /data/local/tmp
944 KB/s (6772 bytes in 0.007s)

C:\Program Files\Android\android-sdk\platform-tools>adb shell chmod 755 /data/lo
cal/tmp/2

C:\Program Files\Android\android-sdk\platform-tools>adb shell /data/local/tmp/2

Archos 80 G9 secure shell utility by Paul O'Brien - @paulobrien - http://Android
.MoDaCo.com

Step 2 started

Step 2 complete - now restart your device for secure shell access


C:\Program Files\Android\android-sdk\platform-tools>adb shell sync

C:\Program Files\Android\android-sdk\platform-tools>adb reboot

C:\Program Files\Android\android-sdk\platform-tools>echo "wait for tablet to fin
ish second reboot then press enter"
"wait for tablet to finish second reboot then press enter"

C:\Program Files\Android\android-sdk\platform-tools>pause
Press any key to continue . . .

C:\Program Files\Android\android-sdk\platform-tools>echo "let's verify root"
"let's verify root"

C:\Program Files\Android\android-sdk\platform-tools>adb shell whoami
root

C:\Program Files\Android\android-sdk\platform-tools>echo "Seeing root or 0 ? con
grats, temp root worked! press enter to continue or ctrl+C to stop if root faile
d"
"Seeing root or 0 ? congrats, temp root worked! press enter to continue or ctrl+
C to stop if root failed"

C:\Program Files\Android\android-sdk\platform-tools>pause
Press any key to continue . . .

Once again I do not see root or 0 on my tablet, nor is superuser in my app list.
I have tried to go into recovery with my tablet and see if I could enable the rooted build there, but so far Ive not been able to go into recovery mode via pressing the volume up button during booting.

Please help and thank you for your time

Ps. Im a complete noob at this.
 
letama
Old
#25  
Recognized Contributor - OP
Thanks Meter 1299
Posts: 1,360
Join Date: Feb 2008

 
DONATE TO ME
Quote:
Originally Posted by TJ5000 View Post
C:\Program Files\Android\android-sdk\platform-tools>echo "let's verify root"
"let's verify root"

C:\Program Files\Android\android-sdk\platform-tools>adb shell whoami
root

C:\Program Files\Android\android-sdk\platform-tools>echo "Seeing root or 0 ? con
grats, temp root worked! press enter to continue or ctrl+C to stop if root faile
d"
"Seeing root or 0 ? congrats, temp root worked! press enter to continue or ctrl+
C to stop if root failed"

C:\Program Files\Android\android-sdk\platform-tools>pause
Press any key to continue . . .
It's ok, you see the root in bold, that's what I meant with the question. I should have added @echo off in batch, it looks a bit messy with windows. Anyway, it's ok. I presume you closed the window after that ?

You should continue the process, or show me remaining part, everything looks fine up to this. It's not finished at this point...

Quote:
I have tried to go into recovery with my tablet and see if I could enable the rooted build there, but so far Ive not been able to go into recovery mode via pressing the volume up button during booting.
a70it2 volume buttons are somehow messy. Here is the easiest way to get it working:

- Power down tablet, power led should be off.
- Press volume down button and maintain it. It can be vol up or vol down, but volume down is easier to maintain down, at least on mine.
- While maintaining volume down, press power for 2 or 3 seconds, you should see power led goes on. As soon as power led is lighted, let go power button but keep pressing volume down. You should go to recovery in few seconds.

Good luck!
Sony Xperia S (Boot Manager, JB AOSP 4.2.2)
Archos A70IT2 Honeycomb model (SDE and rooted firmware)
Archos A101 G9 (SDE enabling, SDE root firmware , G9 ICS Alpha 0 )
Want to buy me a beer? Here is my donation link.

"I herd you like updates so we put an update in yo update so you can update while u update" g.revaillot (Archos)
 
TJ5000
Old
#26  
Junior Member
Thanks Meter 0
Posts: 10
Join Date: Apr 2012
Location: Brussels
oh yes, sorry forgot to post the part after that:

C:\Program Files\Android\android-sdk\platform-tools>adb push zImage /data/local/
tmp
2085 KB/s (3704856 bytes in 1.735s)

C:\Program Files\Android\android-sdk\platform-tools>adb push initramfs.cpio.lzo
/data/local/tmp
2070 KB/s (1223159 bytes in 0.577s)

C:\Program Files\Android\android-sdk\platform-tools>adb shell /usr/bin/kd_flashe
r -k /data/local/tmp/zImage -i /data/local/tmp/initramfs.cpio.lzo
Generating KD...
Updating KD (4928271 bytes)...
0
100

C:\Program Files\Android\android-sdk\platform-tools>adb shell sync

C:\Program Files\Android\android-sdk\platform-tools>adb shell sync

C:\Program Files\Android\android-sdk\platform-tools>adb shell rm /data/local.pro
p

C:\Program Files\Android\android-sdk\platform-tools>echo "Installing build to in
ternal storage"
"Installing build to internal storage"

C:\Program Files\Android\android-sdk\platform-tools>adb push android_32.ext4.upd
ate /data/media/


What should happen after this? Should my device reboot again?
And thanks for helping me get my device into recovery mode
 
letama
Old
#27  
Recognized Contributor - OP
Thanks Meter 1299
Posts: 1,360
Join Date: Feb 2008

 
DONATE TO ME
Logs look good, build should be installed.

If you reboot with vol down or vol up, do you see the dual boot menu ?

If you do, just select "Boot developer edition" (or something like that, can't remember exact words), it should start the rooted firmware and you should see superuser app in the list of application.
Sony Xperia S (Boot Manager, JB AOSP 4.2.2)
Archos A70IT2 Honeycomb model (SDE and rooted firmware)
Archos A101 G9 (SDE enabling, SDE root firmware , G9 ICS Alpha 0 )
Want to buy me a beer? Here is my donation link.

"I herd you like updates so we put an update in yo update so you can update while u update" g.revaillot (Archos)
 
TJ5000
Old
#28  
Junior Member
Thanks Meter 0
Posts: 10
Join Date: Apr 2012
Location: Brussels
Ive tried it and it worked. It did take a while tho, before the tablet did the final reboot. Thank you!
 
bytebandit
Old
#29  
Junior Member
Thanks Meter 1
Posts: 5
Join Date: Mar 2007
I'm getting an odd error, my bat file appears to be nothing like anybody elses:

Code:
C:\temp>enable_sde.bat

C:\temp>adb push 1 /data/local/tmp
cannot stat '1': No such file or directory

C:\temp>adb shell chmod 755 /data/local/tmp/1
chmod: /data/local/tmp/1: No such file or directory

C:\temp>adb shell /data/local/tmp/1
/bin/sh: /data/local/tmp/1: not found

C:\temp>adb shell sync

C:\temp>adb reboot

C:\temp>echo "wait for tablet to finish first reboot then press enter"
"wait for tablet to finish first reboot then press enter"
I can't see a file called '1' nor does anybody else who has posted have any reference to a file called '1'....

---------- Post added at 08:47 PM ---------- Previous post was at 08:30 PM ----------

Never mind, it wasn't obvious that both zips had to be downloaded!

---------- Post added at 09:38 PM ---------- Previous post was at 08:47 PM ----------

I get the menu, choose developer edition but there is no superuser app. If I go into a terminal and do 'su' it says no such command. If I try 'whoami' it says 'unknown uid 10072'. 'adb shell whoami' says 'unknown uid 2000'.

There are no errors during the script.
 
surdu_petru
Old
#30  
surdu_petru's Avatar
Recognized Contributor
Thanks Meter 3070
Posts: 2,129
Join Date: Feb 2010
Location: Paris
Quote:
Originally Posted by bytebandit View Post
I'm getting an odd error, my bat file appears to be nothing like anybody elses:

Code:
C:\temp>enable_sde.bat

C:\temp>adb push 1 /data/local/tmp
cannot stat '1': No such file or directory

C:\temp>adb shell chmod 755 /data/local/tmp/1
chmod: /data/local/tmp/1: No such file or directory

C:\temp>adb shell /data/local/tmp/1
/bin/sh: /data/local/tmp/1: not found

C:\temp>adb shell sync

C:\temp>adb reboot

C:\temp>echo "wait for tablet to finish first reboot then press enter"
"wait for tablet to finish first reboot then press enter"
I can't see a file called '1' nor does anybody else who has posted have any reference to a file called '1'....

---------- Post added at 08:47 PM ---------- Previous post was at 08:30 PM ----------

Never mind, it wasn't obvious that both zips had to be downloaded!

---------- Post added at 09:38 PM ---------- Previous post was at 08:47 PM ----------

I get the menu, choose developer edition but there is no superuser app. If I go into a terminal and do 'su' it says no such command. If I try 'whoami' it says 'unknown uid 10072'. 'adb shell whoami' says 'unknown uid 2000'.

There are no errors during the script.
Hi !

I think you are missing file "1"
Quote:
C:\temp>adb push 1 /data/local/tmp
cannot stat '1': No such file or directory
or you have not this file "1" in the same directory where is adb command !
( if you have adb in path , than go into directory where is file "1" located and run > adb push 1 /data/local/tmp/
But if you do not have files "1" & "2" , than you can downloaded from here => http://www.modaco.com/topic/347305-a...-root-phase-1/
RC Surdu_Petru
*****
Asus Transformer TF300T | Quad Core 1.3GHz | 32GB | 1GB RAM ( AOKP 4.2.2 )
*****
Motorola RAZR XT910 | Dual Core 1.2GHz | 16GB | 1GB RAM ( AOKP 4.2.2 )
*****
Sony Xperia Z | Quad Core Qualcomm® Snapdragon™ S4 Pro 1.5GHz | 16GB | 2GB RAM ( stock 4.1.2 )

If you find my work useful, feel free to hit the THANKS button below !

 
Post Reply+
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...