PPCGeeks Forums HTC Arrive HTC HD2 HTC Thunderbolt HTC Touch Pro 2 HTC Evo 4G HTC Evo 3D Samsung Galaxy S II Motorola Droid X Apple iPhone Blackberry
Go Back   PPCGeeks > Windows Mobile > WM HTC Devices > HTC Touch Pro 2 > Android On TP2 > Android On TP2 Development
Register Community Search

Notices


 
 
LinkBack Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #10 (permalink)  
Old 03-15-2011, 10:18 PM
[ACL]'s Avatar
VIP Member
Offline
Pocket PC: tp2
Carrier: Sprint
Location: NY
 
Join Date: Feb 2010
Posts: 1,534
Reputation: 6350
[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community
Mentioned: 2 Post(s)
Tagged: 0 Thread(s)
Re: NAND Boot Testing - 03-11: FRX05 on NAND (data working again!)

Quote:
Originally Posted by m4f1050 View Post
There is an app on market, called Autostart. We can do an autostart.sh that remounts / rw and deletes the /bin/su for now I guess?

From reading previous posts this will be removed or will be addressed in the future?
Ive been having some difficulty figuring out the best approach to fix this. There are so many ways but picking the best isnt easy. Ive been bouncing ideas with Lmiller and right now i want to completely remove /bin from the path in sysinit.rc. I checked cyanogen, sense and my own galaxy s. None have /bin so i'm very confident it's just for the initrd (which we need). Since we need it for install and other stuff, only thing i recommend is to try this fix out.

The process is easy.

adb pull /system/sysinit.rc
modify the line export PATH /bin:/sbin:/system/sbin:/system/bin:/system/xbin:/system/xbin/bb:/data/local/bin

and remove /bin from the list. then adb push the file on the same location (make sure system is rw or this) and reboot.

in the mean time i got some work to do..

Edit: ok looks like we have our decision.. nate is onboard with modding the rc. we need sbin however for now since we run adb from there. but there shouldnt be an su inside.

Last edited by [ACL]; 03-15-2011 at 10:38 PM.
Reply With Quote
 

  PPCGeeks > Windows Mobile > WM HTC Devices > HTC Touch Pro 2 > Android On TP2 > Android On TP2 Development


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
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT -4. The time now is 02:13 PM.


Powered by vBulletin® ©2000 - 2025, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.6.0
©2012 - PPCGeeks.com