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


Reply
 
LinkBack Thread Tools Display Modes
  #1821 (permalink)  
Old 03-17-2011, 02:26 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 natemcnutty View Post
I know we have this in there already:

Code:
    # Directory for putting things only root should see.
    mkdir /mnt/secure 0700 root root

    # Directory for staging bindmounts
    mkdir /mnt/secure/staging 0700 root root

    # Directory-target for where the secure container
    # imagefile directory will be bind-mounted
    mkdir /mnt/secure/asec  0700 root root

    # Secure container public mount points.
    mkdir /mnt/asec  0700 root system
    mount tmpfs tmpfs /mnt/asec mode=0755,gid=1000
But /mnt doesn't exist in initrd like it did in rootfs, and it isn't mounted to anything elsewhere.
fawk.. so you want to create mnt in the init ? We could always let the rc make it also. But we will need to mod the rc anyways to not RO / and let android do it. sounds risky. what u think ?
__________________
Reply With Quote
  #1822 (permalink)  
Old 03-17-2011, 02:28 PM
m4f1050's Avatar
Halfway to VIP Status
Offline
Pocket PC: Ozone,Diam,Imagio,TPro2,Opt-S,EVO,3VO,E4GT
Carrier: Boost (CDMA)
 
Join Date: Sep 2008
Posts: 692
Reputation: 480
m4f1050 is becoming a PPCGeeks regularm4f1050 is becoming a PPCGeeks regularm4f1050 is becoming a PPCGeeks regularm4f1050 is becoming a PPCGeeks regularm4f1050 is becoming a PPCGeeks regular
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: NAND Boot Testing - 03-11: FRX05 on NAND (data working again!)

I tried mount and didn't work, had to use /bin/mount but it still errored out, same error...
Failure [INSTALL_FAILED_CONTAINER_ERROR]
Reply With Quote
  #1823 (permalink)  
Old 03-17-2011, 02:32 PM
natemcnutty's Avatar
VIP Member
Offline
Pocket PC: VZW Touch Pro 2
Carrier: Verizon Wireless
Threadstarter
 
Join Date: Nov 2009
Posts: 845
Reputation: 3070
natemcnutty is still contributing even after becoming a VIPnatemcnutty is still contributing even after becoming a VIPnatemcnutty is still contributing even after becoming a VIPnatemcnutty is still contributing even after becoming a VIPnatemcnutty is still contributing even after becoming a VIPnatemcnutty is still contributing even after becoming a VIPnatemcnutty is still contributing even after becoming a VIPnatemcnutty is still contributing even after becoming a VIPnatemcnutty is still contributing even after becoming a VIPnatemcnutty is still contributing even after becoming a VIPnatemcnutty is still contributing even after becoming 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 [ACL] View Post
fawk.. so you want to create mnt in the init ? We could always let the rc make it also. But we will need to mod the rc anyways to not RO / and let android do it. sounds risky. what u think ?
After looking through it, it looks like rc is already making mnt. The question I have is where are those mounts being stored? I'm assuming this is going directly to memory rather than having the files stored on NAND. I was thinking we could create /mnt under either system or data. I think it needs to be rw, so data probably makes the most sense (otherwise I'd say put it in /system).
__________________
Reply With Quote
  #1824 (permalink)  
Old 03-17-2011, 02:40 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 natemcnutty View Post
After looking through it, it looks like rc is already making mnt. The question I have is where are those mounts being stored? I'm assuming this is going directly to memory rather than having the files stored on NAND. I was thinking we could create /mnt under either system or data. I think it needs to be rw, so data probably makes the most sense (otherwise I'd say put it in /system).
well the mount points are just empty directories. nothing is stored in there. Once the device is mounted, then you can save stuff. But since this is for SD, it shouldnt save anywhere on the system or data. /mnt has to be in root.

Also right now i think we mount the sdcard to /sdcard instead of the /mnt/blablha/sdcard. then link it back.

Last edited by [ACL]; 03-17-2011 at 02:46 PM.
Reply With Quote
  #1825 (permalink)  
Old 03-17-2011, 02:41 PM
m4f1050's Avatar
Halfway to VIP Status
Offline
Pocket PC: Ozone,Diam,Imagio,TPro2,Opt-S,EVO,3VO,E4GT
Carrier: Boost (CDMA)
 
Join Date: Sep 2008
Posts: 692
Reputation: 480
m4f1050 is becoming a PPCGeeks regularm4f1050 is becoming a PPCGeeks regularm4f1050 is becoming a PPCGeeks regularm4f1050 is becoming a PPCGeeks regularm4f1050 is becoming a PPCGeeks regular
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: NAND Boot Testing - 03-11: FRX05 on NAND (data working again!)

Downloading 3-16 FRX5 and 3-17 files....
Reply With Quote
  #1826 (permalink)  
Old 03-17-2011, 02:51 PM
natemcnutty's Avatar
VIP Member
Offline
Pocket PC: VZW Touch Pro 2
Carrier: Verizon Wireless
Threadstarter
 
Join Date: Nov 2009
Posts: 845
Reputation: 3070
natemcnutty is still contributing even after becoming a VIPnatemcnutty is still contributing even after becoming a VIPnatemcnutty is still contributing even after becoming a VIPnatemcnutty is still contributing even after becoming a VIPnatemcnutty is still contributing even after becoming a VIPnatemcnutty is still contributing even after becoming a VIPnatemcnutty is still contributing even after becoming a VIPnatemcnutty is still contributing even after becoming a VIPnatemcnutty is still contributing even after becoming a VIPnatemcnutty is still contributing even after becoming a VIPnatemcnutty is still contributing even after becoming 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 [ACL] View Post
well the mount points are just empty directories. nothing is stored in there. Once the device is mounted, then you can save stuff. But since this is for SD, it should save anywhere on the system or data. /mnt has to be in root.

Also right now i think we mount the sdcard to /sdcard instead of the /mnt/blablha/sdcard. then link it back.
So all we're really missing is mounting /mnt somewhere. It is created, the links are set up properly with rc, but it is never mounted to the fs somewhere so files can be stored. So, I guess we have to add it to initrd then ln -s it to somewhere else?
Reply With Quote
  #1827 (permalink)  
Old 03-17-2011, 02:52 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 natemcnutty View Post
So all we're really missing is mounting /mnt somewhere. It is created, the links are set up properly with rc, but it is never mounted to the fs somewhere so files can be stored. So, I guess we have to add it to initrd then ln -s it to somewhere else?
nahh, all this should be androided somewhow. Ill check the cyanongen rc tonight since they have it all setup internally.
Reply With Quote
  #1828 (permalink)  
Old 03-17-2011, 03:14 PM
neopeek's Avatar
N00b
Offline
Pocket PC: HTC Touch Diamond
Carrier: T-Mobile Germany
Location: Germany
 
Join Date: Jun 2010
Posts: 31
Reputation: 215
neopeek is keeping up the good workneopeek is keeping up the good workneopeek is keeping up the good work
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: NAND Boot Testing - 03-11: FRX05 on NAND (data working again!)

Using latest 3-17 files (NBH + Rest) I got in a bootloop. Just seeing always "Waiting for Sdcard" for some milliseconds and then it reboots my Rhod300.
__________________
Reply With Quote
  #1829 (permalink)  
Old 03-17-2011, 03:25 PM
m4f1050's Avatar
Halfway to VIP Status
Offline
Pocket PC: Ozone,Diam,Imagio,TPro2,Opt-S,EVO,3VO,E4GT
Carrier: Boost (CDMA)
 
Join Date: Sep 2008
Posts: 692
Reputation: 480
m4f1050 is becoming a PPCGeeks regularm4f1050 is becoming a PPCGeeks regularm4f1050 is becoming a PPCGeeks regularm4f1050 is becoming a PPCGeeks regularm4f1050 is becoming a PPCGeeks regular
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: NAND Boot Testing - 03-11: FRX05 on NAND (data working again!)

Just installed FRX5 (3-16) and /andboot (3-17) all worked.

NOTES:

Iinstead of installing BUSYBOX from TITANIUM BACKUP I created a link from /bin/busybox to /system/bin/busybox and SU started working.
Code:
ln -s /bin/busybox /system/bin/busybox
I then installed BUSYBOX
Code:
mount -o rw,remount x /system
rm -R /system/bin/cat
rm -R /system/bin/df
rm -R /system/bin/ls
busybox --install -s /system/bin
I also installed su.3.6.1.whatever.it.is...apk <== Is this just to "ask" for permission? If not installed it assumes it's ok and grants SU?

Last edited by m4f1050; 03-17-2011 at 03:42 PM.
Reply With Quote
This post has been thanked 1 times.
  #1830 (permalink)  
Old 03-17-2011, 03:29 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
Just installed FRX5 (3-16) and /andboot (3-17) all worked.

NOTES:

Iinstead of installing BUSYBOX from TITANIUM BACKUP I created a link from /bin/busybox to /system/bin/busybox and SU started working.
Code:
ln -s /bin/busybox /system/bin/busybox
I then installed BUSYBOX
Code:
mount -o rw,remount x /system
rm -R /system/bin/cat
rm -R /system/bin/df
rm -R /system/bin/ls
busybox --install -s /system/bin
I also installed su.3.6.1.whatever.it.is...apk
ahh man.. sounds like you can write an android update just with your commands ..lol. good shit..

since ur able to boot. Try to get into the recovery and test the backup and restore.
Reply With Quote
Reply

  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 01:52 PM.


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