We have 209 guests and 1 member online

Fanatics Login

Content Feeds

  • Team Blog RSS Feed Team Blog RSS Feed AndroidFanatic - Team Blog RSS Feed
  • Android App Reviews Android App Reviews Applications, unofficial repository, discussion and news from the world of the Android Mobile OS. Join the chat and have your say, ask questions, and buy phones and accessories.
Got root? Need more? Install Busybox! (1 viewing) (1) Guest
Go to bottom Post Reply Favoured: 0
TOPIC: Got root? Need more? Install Busybox!
#2222
mikedmeyer (Moderator)
Moderator
Posts: 55
graphgraph
User Offline Click here to see the profile of this user
Re:Got root? Need more? Install Busybox! 1 Year, 5 Months ago Karma: 2  
craig2600 wrote:
QUOTE:
I had some issues setting the path in /system/init.rc but I found out why it didn't work for me. I initially indented the line because the other lines were indented. After removing the indent it worked but then I had the problem where su didn't work. So I called /system/bin/su which worked and then went through the process again and made sure /system/bin was in front of /data/busybox in the path. After setting this both the busy box commands and system commands work (su, reboot, etc). My final path that I added to /system/init.rc on my ADP1 is below:

export PATH /system/bin:/data/busybox:$PATH

This works, but there's one issue. When you do ls from an adb shell on the PC, the color info isn't displayed and instead there's some extra characters displayed which make the text quite hard to read.

MM



 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#2261
KuraKai (User)
Fresh Boarder
Posts: 12
graphgraph
User Offline Click here to see the profile of this user
Re:Got root? Need more? Install Busybox! 1 Year, 5 Months ago Karma: 0  


Alright I am trying set up init.rc and such not, however I can't write to /init.rc and I don't see one in /system/, can anyone help me figure this out?



 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#2262
mikedmeyer (Moderator)
Moderator
Posts: 55
graphgraph
User Offline Click here to see the profile of this user
Re:Got root? Need more? Install Busybox! 1 Year, 5 Months ago Karma: 2  
Strange that you don't have one in /system, what firmware are you on? And you're correct that you can't write to /init.rc.



 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#2264
KuraKai (User)
Fresh Boarder
Posts: 12
graphgraph
User Offline Click here to see the profile of this user
Re:Got root? Need more? Install Busybox! 1 Year, 5 Months ago Karma: 0  
I am using ADP 1.1



 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#2265
mikedmeyer (Moderator)
Moderator
Posts: 55
graphgraph
User Offline Click here to see the profile of this user
Re:Got root? Need more? Install Busybox! 1 Year, 5 Months ago Karma: 2  
KuraKai wrote:
QUOTE:
I am using ADP 1.1

Interesting. I was using JF1.43 ADP1.1h for a while, but switched to RC33 (for now at least) due to the ADP marketplace issues, so I can't check for sure, but I would swear there was a /system/init.rc. My /system/init.rc is below:

on system
export PATH /system/bin:/data/busybox:$PATH
mount cramfs loop@/system/modules/modules.cramfs /system/modules ro
mount cramfs loop@/system/xbin/xbin.cramfs /system/xbin ro

The export PATH... line is the added line (per craig2600), the rest came stock. Note that there's a line that wrapped in the above text. The structure is:

on system
export PATH...
mount... .../system/modules ro
mount... .../system/xbin ro

Just the 4 lines. edit: It looks like the forum is auto-formatting the indents away. The two 'mount' lines are indented 4 spaces, while the other two are hard left.

MM



 
Report to moderator   Logged Logged  
 
Last Edit: 2009/03/14 02:36 By mikedmeyer.
  The administrator has disabled public write access.
#2266
KuraKai (User)
Fresh Boarder
Posts: 12
graphgraph
User Offline Click here to see the profile of this user
Re:Got root? Need more? Install Busybox! 1 Year, 5 Months ago Karma: 0  
Well I am using the official signed version, it might be different...



 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
Go to top Post Reply
get the latest posts directly to your desktop