5,597,762 Members 36,259 Now Online
XDA Developers Android and Mobile Development Forum

[Q] (Linux[xubuntu]) Trying to root, error: mount: permission denied (are you root?)

Tip us?
 
Isaac.Eiland-Hall
Old
(Last edited by Isaac.Eiland-Hall; 31st December 2013 at 08:05 AM.) Reason: add info re: adb_usb.ini
#1  
Junior Member - OP
Thanks Meter 0
Posts: 3
Join Date: Dec 2013
Prompt [Q] (Linux[xubuntu]) Trying to root, error: mount: permission denied (are you root?)

I'm trying to root my Kindle Fire - my end goal is to get Jellybean running on it. I'm running Xubuntu on my desktop. Here's the process for rooting:

Quote:
---------------------------------------------------------------
Easy rooting toolkit (v2.0)
created by DooMLoRD
Modified for Kindle Fire for Linux/Mac by Max Lee at RootKindleFire.com
using exploit zergRush (Revolutionary Team)
Credits go to all those involved in making this possible!
---------------------------------------------------------------[*] This script will:
(1) root ur device using latest zergRush exploit (10 Nov)
(2) install Busybox (1.18.4)
(3) install SU files (binary: 3.0.3 and apk: 3.0.6) [*] Before u begin:
(1) enable USB DEBUGGING
from (Menu\Settings\Applications\Development)
(2) enable UNKNOWN SOURCES
from (Menu\Settings\Applications)
(3) [OPTIONAL] increase screen timeout to 10 minutes
(4) connect USB cable to PHONE and then connect 2 computer
---------------------------------------------------------------
--- STARTING ----
--- WAITING FOR DEVICE
--- cleaning
rm failed for *, No such file or directory
--- pushing zergRush
563 KB/s (23056 bytes in 0.039s)
--- correcting permissions
--- executing zergRush

[**] Zerg rush - Android 2.2/2.3 local root
[**] (C) 2011 Revolutionary. All rights reserved.

[**] Parts of code from Gingerbreak, (C) 2010-2011 The Android Exploid Crew.

[+] Found a GingerBread ! 0x00015118[*] Scooting ...[*] Sending 149 zerglings ...[*] Sending 189 zerglings ...
[-] Hellions with BLUE flames !
--- WAITING FOR DEVICE TO RECONNECT
if it gets stuck over here for a long time then try:
disconnect usb cable and reconnect it
toggle USB DEBUGGING (first disable it then enable it)
--- DEVICE FOUND
--- pushing busybox
4395 KB/s (1075144 bytes in 0.238s)
--- correcting permissions
--- remounting /system
mount: permission denied (are you root?)
--- copying busybox to /system/xbin/
/system/xbin/busybox: cannot open for write: Read-only file system
--- correcting ownership
Unable to chmod /system/xbin/busybox: No such file or directory
--- correcting permissions
Unable to chmod /system/xbin/busybox: No such file or directory
--- installing busybox
/system/xbin/busybox: not found
--- pushing SU binary
failed to copy 'su' to '/system/bin/su': Read-only file system
--- correcting ownership
Unable to chmod /system/bin/su: No such file or directory
--- correcting permissions
Unable to chmod /system/bin/su: No such file or directory
--- correcting symlinks
rm failed for /system/xbin/su, Read-only file system
link failed Read-only file system
--- pushing Superuser app
failed to copy 'Superuser.apk' to '/system/app/./Superuser.apk': Read-only file system
--- cleaning
--- rebooting
--- WAITING FOR DEVICE
5139 KB/s (3104805 bytes in 0.589s)
Error: Could not access the Package Manager. Is the system running?
All Done, Kindle Fire ROOTED!!!
Check out RootKindleFire.com for more cool hacks!
I'm running the command with sudo. The device is recognized as follows:

Quote:
* daemon not running. starting it now *
* daemon started successfully *
List of devices attached
5AA6002600000001 device
I've tried googling to solve, and either I'm coming up with the wrong terms, or... dunno. Found a ton of pages, but most of it is from a Windows perspective. Found a link to Kindle Fire Utility port for Linux, but link was dead.

I've tried running the above both with the Fire in USB mode and not (i.e. "disconnect").

Any ideas and insight would be quite welcome. I certainly don't mind relevant links to other places, either - I may well have missed relevant resources in my searching.

edit: Also, my adb_usb.ini file did initially contain 0x1949; per some threads I found I added 0x0006, which got my farther along, at least.

subedit: sorry for the delay in this edit, 5min wait time to edit my post. d'oh.
 
SwoRNLeaDejZ
Old
#2  
Senior Member
Thanks Meter 27
Posts: 110
Join Date: Aug 2013
Location: Taunton
After the device fails like that, have you tried running the root process again immediately?

Sent from my Nexus 7 using Tapatalk
 
Isaac.Eiland-Hall
Old
#3  
Junior Member - OP
Thanks Meter 0
Posts: 3
Join Date: Dec 2013
Quote:
Originally Posted by SwoRNLeaDejZ View Post
After the device fails like that, have you tried running the root process again immediately?
Alas, yes. Have run the attempt around 15-20 times now, several times back to back.
 
SwoRNLeaDejZ
Old
#4  
Senior Member
Thanks Meter 27
Posts: 110
Join Date: Aug 2013
Location: Taunton
Hmm.. Seems like an error in the script somewhere, are you using a bash file? Do you have access to a windows PC? This is exactly why I dualboot

Sent from my Nexus 7 using Tapatalk
 
Isaac.Eiland-Hall
Old
#5  
Junior Member - OP
Thanks Meter 0
Posts: 3
Join Date: Dec 2013
Quote:
Originally Posted by SwoRNLeaDejZ View Post
Hmm.. Seems like an error in the script somewhere, are you using a bash file? Do you have access to a windows PC? This is exactly why I dualboot

Sent from my Nexus 7 using Tapatalk
I'm using whatever Xubuntu set up, plus a few aliases that definitely wouldn't interfere...

I've actually just set up a Windows VM in Virtualbox, so my next step will be to try from there. Maybe that'll give me some different errors, if nothing else. hehe
 
SwoRNLeaDejZ
Old
#6  
Senior Member
Thanks Meter 27
Posts: 110
Join Date: Aug 2013
Location: Taunton
I know that people have been successful using the KFU inside of a VM so you may be good to go

Sent from my Nexus 7 using Tapatalk
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


XDA PORTAL POSTS

Polish Your Custom Themes with Theme Debugger

Creating a custom Android theme from scratch can be quite the laborious task. In addition to … more

Clean Up Your Logcat Code with Lib Cleaner

Some of you may think that writing code is the hardest part of development. It’s not, as the … more

Tweak Your Xperia Device’s Camera App Yourself

We’ve come to expect nearly perfect cameraperformancein our modern day … more