View Single Post
  #1754 (permalink)  
Old 03-15-2011, 08:44 AM
Lmiller1708's Avatar
Lmiller1708
Flashaholic!
Offline
Location: La Crosse, WI
 
Join Date: Aug 2008
Posts: 873
Reputation: 2160
Lmiller1708 is a VIPLmiller1708 is a VIPLmiller1708 is a VIPLmiller1708 is a VIPLmiller1708 is a VIPLmiller1708 is a VIPLmiller1708 is a VIPLmiller1708 is a VIPLmiller1708 is a VIPLmiller1708 is a VIPLmiller1708 is a VIP
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: NAND Boot Testing - 03-11: FRX05 on NAND (data working again!)

Quote:
Originally Posted by coolsilver View Post
I have installed SU binary via ADB to /system/xbin. Installed SuperUser App

I can't update BusyBox via Titanium Backup or the BusyBox installer.

Busybox installer app complains about not being able to remount rw for /system even if it is rw via adb.

Titanium just fails never calls up Superuser app, Same with Busybox.

I have a feeling it is looking for the /etc/fstab for mount and unmount as well as some back end permission issues with busybox.

Mainly the "Must be suid on order to work properly" message.

I am thinking whatever user android is running as needs to belong to the correct root group.

Whoami under phone shows unknown id 10049. I am tracking down to see how to set it correctly.


Also looks as if /system/xbin has everything as user root and userid as 2000 except busybox which is root

Android UIDs and GIDs - Android Wiki

This shows userid is adb/shell user id. Copying su over sets permissions for root root.
Ok. I was able to get Titanium backup working correctly with the superuser app.
Steps:
1. Go Here and get the newest Zip for Froyo.
2. Extract to you sdcard.
2.1. Install the included supersuer apk.
3. Mount system as rw: mount -o remount,rw /system
4. Remove the su in system/bin and system/xbin.
5. Copy the su included in the zip above to your system/bin folder.
6. chmod 4755 /system/bin/su
7. ln -s /system/bin/su /system/xbin/su
8. run TitaniumBackup and click on "Problem?" button to install BusyBox from App (Thanks m4f1050)

Run Titanium Backup and you should be prompted by the Superuser app to allow access for Titanium backup. You will also have to update the busybox.

This will work for now until we get full root access.

Quote:
Originally Posted by [ACL] View Post
Yeah we can live without it on the init.rc. We have a full busybox on system/bin so we shouldnt lose any functionality. We need tests now.

just remove "/bin" from the path in sysinit.rc and you should be golden. rootfs has a hack to run su from outside busybox.
Don't forget when you remove the /bin/su app it will be back there once you reboot your device.

Also I think we should still leave the /bin path in the sysinit.rc, because that's what the xdandroid uses and we do not want to go too far from them...

I'm still looking at not having to use superuser app... But I know the Vogue still uses it... I have not been able to find a su that works without it. I have tried the ones included in the rootfs and system/xbin with no luck.
__________________

Last edited by Lmiller1708; 03-15-2011 at 06:12 PM. Reason: Added step 2.1, m4f1050--> added step 8.
Reply With Quote