PPCGeeks

PPCGeeks (http://forum.ppcgeeks.com/index.php)
-   Android On TP2 Development (http://forum.ppcgeeks.com/forumdisplay.php?f=319)
-   -   NAND Testing - 05-25 Update: New LK, Recovery.img, Kernel Updates through Recovery (http://forum.ppcgeeks.com/showthread.php?t=134598)

Lmiller1708 03-15-2011 06:11 PM

Re: NAND Boot Testing - 03-11: FRX05 on NAND (data working again!)
 
Quote:

Originally Posted by m4f1050 (Post 2069049)
Lmiller your instructions worked, but you need to do 2 things, 1 before the instructions (which is mount / as rw and remove /bin/su) and one after the instructions (do the BusyBox update from TitaniumBackup.)

Here is what I did:

1. adb shell
2. mount -o remount,rw /
3. rm /bin/su
4. (your instructions)
5. run TitaniumBackup and click on "Problem?" button to install BusyBox from App

Thanks!

Thanks! But the /bin/su will be there after a reboot. So it does not matter. But I will update my post with the last step.

m4f1050 03-15-2011 09:37 PM

Re: NAND Boot Testing - 03-11: FRX05 on NAND (data working again!)
 
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?

natemcnutty 03-15-2011 10:12 PM

Re: NAND Boot Testing - 03-11: FRX05 on NAND (data working again!)
 
Quote:

Originally Posted by m4f1050 (Post 2069124)
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?

We just need remove /bin and /sbin from the path in sysinit.rc and rebuild initrd. No biggie. We'll get it fixed shortly ;)

[ACL] 03-15-2011 10:18 PM

Re: NAND Boot Testing - 03-11: FRX05 on NAND (data working again!)
 
Quote:

Originally Posted by m4f1050 (Post 2069124)
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.

coolsilver 03-15-2011 11:47 PM

Re: NAND Boot Testing - 03-11: FRX05 on NAND (data working again!)
 
Yea after the sysinit.rc edit and a reboot, I updated su with superuser app. updated busybox installer and it is asking for permissions correctly and has root.

JAMBergie 03-16-2011 12:03 AM

Re: NAND Boot Testing - 03-11: FRX05 on NAND (data working again!)
 
So has anyone else still been having problems with the dead battery restart loop? I've been using the NAND build for a few days with good success, but this morning my phone was dead and is now stuck in the restart loop. I've tried taking the battery out and putting it back in before and after plugging my phone in, but it keeps trying to start on its own without getting enough of a charge to make it through the startup sequence. Thanks for everyone's help.

m4f1050 03-16-2011 12:34 AM

Re: NAND Boot Testing - 03-11: FRX05 on NAND (data working again!)
 
I can confirm working SU. I didn't adb pull / adb push, what I did was remounted /system rw and edited the file the init.rc links to with vi and then saved changes, rebooted, worked like a charm! :)

EDIT: Pandora or XIIA Live wont stream :(

vistazifta 03-16-2011 12:53 AM

Re: NAND Boot Testing - 03-11: FRX05 on NAND (data working again!)
 
Quote:

Originally Posted by JAMBergie (Post 2069188)
So has anyone else still been having problems with the dead battery restart loop? I've been using the NAND build for a few days with good success, but this morning my phone was dead and is now stuck in the restart loop. I've tried taking the battery out and putting it back in before and after plugging my phone in, but it keeps trying to start on its own without getting enough of a charge to make it through the startup sequence. Thanks for everyone's help.

i kepp on having the same issues but thank god i have a friend that has a tp2 and an evo so hes got a whole bunch of batteries but like u right now im stuck in the effing boot loop

[ACL] 03-16-2011 12:55 AM

Re: NAND Boot Testing - 03-11: FRX05 on NAND (data working again!)
 
Quote:

Originally Posted by m4f1050 (Post 2069195)
I can confirm working SU. I didn't adb pull / adb push, what I did was remounted /system rw and edited the file the init.rc links to with vi and then saved changes, rebooted, worked like a charm! :)

EDIT: Pandora or XIIA Live wont stream :(

thanks for testing buddy.. im uploading the revised version shortly.

Also what did i say before bro?.. need some more info about why things wont work. get a logcat about pandora and see whats up.

anish88 03-16-2011 01:06 AM

Re: NAND Boot Testing - 03-11: FRX05 on NAND (data working again!)
 
Quote:

Originally Posted by vistazifta (Post 2069201)
i kepp on having the same issues but thank god i have a friend that has a tp2 and an evo so hes got a whole bunch of batteries but like u right now im stuck in the effing boot loop


I dont use android on NAND, but I was wondering if maybe going into boot loader and charging the battery would work? I have no idea but just putting it out there.


All times are GMT -4. The time now is 06:39 PM.

Powered by vBulletin® ©2000 - 2025, Jelsoft Enterprises Ltd.
©2012 - PPCGeeks.com


Content Relevant URLs by vBSEO 3.6.0