Porting on msm7225

by mowgli » Tue, 30 Dec 2008 19:53:13 GMT


Sponsored Links
 i,
We are trying to port android on MSM 7225 hardware. Currently we are
trying to manually bring up the framework. It fails during the init
with the following logs. The service manager seems to die due to
insufficient permissions(Permission denied). The service _manager
binary seems to have execute permission. Any pointers would be much
appreciated.

# df
Filesystem 1k-blocks Used Available Use% Mounted on
tmpfs 34644 4 34640 0% /dev
/dev/mtdblock0 96512 5664 90848 6% /mnt/flash
/dev/mtdblock1 61440 50028 11412 81% /system
#
we have abt 32 MB of RAM free before the framework is started.

# ./init
init: cannot open '/initlogo.rle'
sh: can't access tty; job control turned off
# init: cannot find '/system/bin/playmp3', disabling 'bootsound'
init: untracked pid 911 exited
app_process used greatest stack depth: 4848 bytes left
init: untracked pid 899 exited
init: untracked pid 1002 exited
init: untracked pid 1024 exited
app_process used greatest stack depth: 4812 bytes left
init: untracked pid 1013 exited
init: untracked pid 1036 exited
app_process used greatest stack depth: 4764 bytes left
init: untracked pid 1026 exited
init: critical process 'servicemanager' exited 4 times in 4 minutes;
rebooting i
nto recovery mode
+Restarting system with command 'recovery'.


strace logs for the forked service manager process:

01:04:26 dup(5) = 9
01:04:26 open("/dev/null", O_RDWR|O_LARGEFILE) = 10
01:04:26 dup2(10, 0) = 0
01:04:26 dup2(10, 1) = 1
01:04:27 dup2(10, 2) = 2
01:04:27 close(10) = 0
01:04:27 getpid() = 1023
01:04:27 setpgid(0, 1023) = 0
01:04:27 setuid32(1000) = 0
01:04:27 execve("/system/bin/servicemanager", ["/system/bin/
servicemanager"], [/* 9 vars */]) = -1 EACCES (Permission denied)
01:04:27 exit_group(127) = ?

The service manager binary seems to have the right permissions:
# cd /system/bin
# ls -l
-rwxr-xr-x 1 1000 1000 189 Dec 4 2008 am
-rwxr-xr-x 1 1000 1000 5564 Dec 5 2008 app_process
-rwxr-xr-x 1 1000 1000 5420 Dec 5 2008 dalvikvm
-rwxr-xr-x 1 1000 1000 121728 Dec 5 2008 dbus-daemon
-rwxr-xr-x 1 1000 1000 18024 Dec 5 2008 debuggerd
-rwxr-xr-x 1 1000 1000 9644 Dec 5 2008 dexopt
-rwxr-xr-x 1 1000 1000 40372 Dec 5 2008 dhcpcd
-rwxr-xr-x 1 1000 1000 3266 Dec 4 2008 dumpstate
-rwxr-xr-x 1 1000 1000 9724 Dec 5 2008 dumpsys
-rwxr-xr-x 1 1000 1000 5460 Dec 5 2008 dvz
-rwxr-xr-x 1 1000 1000 9640 Dec 5 2008 flash_image
-rwxr-xr-x 1 1000 1000 18896 Dec 5 2008 hciattach
-rwxr-xr-x 1 1000 1000 178716 Dec 5 2008 hcid
-rw-r--r-- 1 1000 1000 201 Dec 4 2008 input
-rwxr-xr-x 1 1000 1000 14020 Dec 5 2008 installd
-rwxr-xr-x 1 1000 1000 109020 Dec 5 2008 iptables
-rwxr-xr-x 1 1000 1000 71312 Dec 5 2008 linker
-rwxr-xr-x 1 1000 1000 9736 Dec 5 2008 logcat
-rwxr-xr-x 1 1000 1000 9656 Dec 5 2008 logwrapper
-rwxr-xr-x 1 1000 1000 5364 Dec 5 2008 mediaserver
-rwxr-xr-x 1 1000 1000 205 Dec 4 2008 monkey
-rwxr



Porting on msm7225

by Tom_porting_android » Thu, 22 Jan 2009 10:49:00 GMT


 I,
I have exactly the same problem when using yaffs2.
Has anyone a solution?

Thanks

Tom


On Dec 30 2008, 8:53 pm, mowgli <mahadeva...@gmail.com> wrote:
--~--~---------~--~----~------------~-------~--~----~

-~----------~----~----~----~------~----~------~--~---


Sponsored Links


Porting on msm7225

by Mark Wang » Fri, 23 Jan 2009 12:52:48 GMT


 here is you /data? this partition must support mmap functionality.
Meanwhile, check the existence of cache and other directories in /data,
which is created during the 1st time booting and mandatory for booting.


On Thu, Jan 22, 2009 at 6:48 PM, Tom_porting_android <
thomas.bandel...@gmail.com> wrote:


--~--~---------~--~----~------------~-------~--~----~

-~----------~----~----~----~------~----~------~--~---



Porting on msm7225

by AK » Sun, 08 Mar 2009 04:38:40 GMT


 i guys

Have you had any success on porting the Android over to MSM7225 ? I
have HTC Jade, and would love to test ride the build releases if you
have any.

Thanks


On Jan 23, 8:52pm, Mark Wang <wqhl.m...@gmail.com> wrote:
--~--~---------~--~----~------------~-------~--~----~

-~----------~----~----~----~------~----~------~--~---



Porting on msm7225

by Tom_porting_android » Tue, 10 Mar 2009 13:50:25 GMT


 he problem came from the system and root partition: when using
initramfs for root and yaffs2 for system (as it is prebuilt in
android), we have such problems of binary execution. My solution is to
use jffs2 for root and system, and yaffs2 for data (mmap supported
inside...). No more problem with this combination.

Tom


On Jan 23, 1:52 pm, Mark Wang <wqhl.m...@gmail.com> wrote:
--~--~---------~--~----~------------~-------~--~----~

-~----------~----~----~----~------~----~------~--~---



Porting on msm7225

by Thomas Bandelier » Wed, 11 Mar 2009 18:00:44 GMT


 ello,

The problem came from the partitioning: Now I have rootfs and system in
jffs2 ro and application can be launched.

Tom


On Fri, Jan 23, 2009 at 1:52 PM, Mark Wang <wqhl.m...@gmail.com> wrote:


--~--~---------~--~----~------------~-------~--~----~

-~----------~----~----~----~------~----~------~--~---



Porting on msm7225

by Prasad » Sat, 11 Apr 2009 14:02:46 GMT


 i Guys,

Any one succesfully ported android to MSM7225 (T3232) yet? I treid
varous varents and they are detecting the device as Generic MSM7500
and fails.

Thanks

On Mar 8, 9:38am, AK <ashwi...@gmail.com> wrote:
--~--~---------~--~----~------------~-------~--~----~

-~----------~----~----~----~------~----~------~--~---



Other Threads

1. First Run Method

I am trying to have the typical first run message that prompts the
user to accept a contract and then I want it to populate my database
with some initial values.

I was thinking about adding a table to the database, setting a single
value to zero in that table, and then when the user clicks 'ok' set it
to 1, but that's probably a bit much.  How do you all check to see if
it's the first run?

Thanks!
-fREW

--~--~---------~--~----~------------~-------~--~----~

2. Logistics, bike messenger

I am a total n00bian here. So please if I have missed something and I
am oddly wrong. I apologize in advance.

I would like to be involved with the creation of an APP. The app will
need to service the need to become self employed as a bike messenger.
It will need some sort of basic accounting and service levels (regular
or VIP). and send a short message to the bike courier on his web
enabled personal device (the job, a pick up address and a delivery
address). the front end should be a web site that the client (the
business requiring the service of the bike messenger).

The bike messenger should be able to get maps, addresses and any other
relevant information required for the job.

The reason I want to create this app is because most bike messengers
are being ripped off very savagely from their bosses. Bike messengers
also pay off houses too and put kids through school and are normal
humans like you and me. I would like to give them to opportunity to
work for themselves and not be reliant on a company that offers very
little in the way of help..

please feel free to pitch me some questions

--~--~---------~--~----~------------~-------~--~----~

3. Userspace Hardware Abstraction layer

4. g1phone

5. Keeping a service alive?

6. New site offering free android apps

7. problem downloading source