Sorry where I can find the sources .
I can't see  android.git.kernel.org  .
Best regartds
Novello G.


Da: android-porting@googlegroups.com [mailto:android-porting@googlegroups.com]
Inviato: giovedì 22 settembre 2011 16.35
A: Digest Recipients
Oggetto: [android-porting] Digest for android-porting@googlegroups.com - 8 
Messages in 7 Topics

  Today's Topic Summary

Group: http://groups.google.com/group/android-porting/topics

 *   android alarm driver [1 Update]
 *   Porting to 2.6.39 [2 Updates]
 *   android GUI saying "Unable to scan for networks" [1 Update]
 *   Poring sim300 to android. [1 Update]
 *   Android2.1 Framework Remove StatusBar Clock and Battery [1 Update]
 *   Device is unable to boot up and Sysrq message on my device [1 Update]
 *   Problem on flash custom kernel [1 Update]
 Topic: android alarm 
driver<http://groups.google.com/group/android-porting/t/14c65bb285e4b9aa>
extrapedestrian <extra.pedestr...@gmail.com> Sep 22 06:46AM -0700 ^

I found that I was missing some rtc related kernel configs:
CONFIG_RTC_HCTOSYS=y
CONFIG_RTC_HCTOSYS_DEVICE="rtc"
CONFIG_RTC_INTF_SYSFS=y
CONFIG_RTC_INTF_PROC=y
CONFIG_RTC_INTF_DEV=y
after adding these, I got both rtc and alarm devices.

I have another problem now... I can't find where network time is being
set?
I found that SntpClient "requestTime" is called only from
ThrottleService and GpsLocationProvider. These two modules get the
current time from Internet. "SystemClock.setCurrentTimeMillis" is only
called from GsmServiceStateTracker and AlarmManagerService but I can't
find how these functions get called after getting time from the net.


On Sep 14, 10:31 am, extrapedestrian <extra.pedestr...@gmail.com>
wrote:


 Topic: Porting to 
2.6.39<http://groups.google.com/group/android-porting/t/b972560fd5556f82>
Nandi <anandbora...@gmail.com> Sep 22 01:25AM -0700 ^

Hi,

I am porting Android to 2.6.39 kernel. I have been able to resolve
system level issues and am able to boot the kernel. But I am not able
to boot android. Android boots and exits with the 'console' being the
first process to exit. Other child processes exit subsequently. What
can be the problem?


mano...@gmail.com Sep 22 01:25PM ^

Hi Nandi, can u please post log. That will give some what more visibility to 
help. Thanks.
------Original Message------
From: Nandi
Sender: android-porting@googlegroups.com
To: android-porting
ReplyTo: anandbora...@gmail.com
Subject: [android-porting] Porting to 2.6.39
Sent: Sep 22, 2011 4:25 AM

Hi,

I am porting Android to 2.6.39 kernel. I have been able to resolve
system level issues and am able to boot the kernel. But I am not able
to boot android. Android boots and exits with the 'console' being the
first process to exit. Other child processes exit subsequently. What
can be the problem?

--
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-porting


Sent on the Sprint® Now Network from my BlackBerry®


 Topic: android GUI saying "Unable to scan for 
networks"<http://groups.google.com/group/android-porting/t/daa5924965bff980>
Sudha Daram <sudha....@gmail.com> Sep 22 06:02AM -0700 ^

Hi, I have ported my wlan driver to android.
When wifi is on, am able to load the driver and scan for networks.
But GUI is saying "Unable to scan for networks" and it makes reloading
of driver continuously.

But my driver able to scan APs and list down to wpa_supplicant.

where could be the problem? why the supplicant is not displaying the
info?
Please let me know if am missing on some permissions...


 Topic: Poring sim300 to 
android.<http://groups.google.com/group/android-porting/t/a32faceb0af5422b>
WuPublic <wu.publicm...@gmail.com> Sep 22 10:33AM +0800 ^

I port sim300 modem to android reference freerunner source .
But afer set cmux, which did return 'OK',in the logcat it display that
channel not open.
does anyone can give some help?



D/gsm_mux ( 2000): nevents=0,use_poll=0
D/gsm_mux ( 2000): channel (null) not open
D/gsm_mux ( 2000): 0710 packet out: chan 0, type 0x3F, len 0
D/gsm_mux ( 2000): 0710 packet sended,ret:5
D/gsm_mux ( 2000): channel /dev/pts/0 not open
D/gsm_mux ( 2000): 0710 packet out: chan 1, type 0x3F, len 0
D/gsm_mux ( 2000): 0710 packet sended,ret:5
D/gsm_mux ( 2000): channel /dev/pts/1 not open
D/gsm_mux ( 2000): 0710 packet out: chan 2, type 0x3F, len 0
D/gsm_mux ( 2000): 0710 packet sended,ret:5
D/gsm_mux ( 2000): channels not all in activity


 Topic: Android2.1 Framework Remove StatusBar Clock and 
Battery<http://groups.google.com/group/android-porting/t/4cf6b8876a3a177d>
"tommy.hong" <hongjiuj...@gmail.com> Sep 22 10:20AM +0800 ^

/*

*Android2.1 Framework Remove StatusBar Clock and Battery

*Industrial Board dont need StatusBar Clock and Time,So We disable them in
framework by Safe way and reason of maintainablity
*Android2.1 use setIconVisibility to achieve StatusBar Icons to display or
not,and use Op to manage Icons according to Android ACTION events.

*in StatusBarService.java,makeStatusBarView exceute
setAreThereNotifications for inital view visibility.

*/

Code:android_ecliar/frameworks/base/services/java/com/android/server/status/StatusBarPolicy.java

Code:android_ecliar/frameworks/base/services/java/com/android/server/status/StatusBarService.java


414,415d413
< /*Jiujin.hong 2011/0922*/
< service.setIconVisibility(mClockIcon, false);/*Jiujin.hong*/
422,423d419
< /*Jiujin.hong 2011/0922*/
< service.setIconVisibility(mBatteryIcon, false);/*Jiujin.hong*/
--- StatusBarPolicy.java 2011-09-22 09:51:27.616665586 +0800
+++ StatusBarPolicy.java.bk 2011-09-21 16:58:21.816810220 +0800
@@ -411,16 +411,12 @@
mCalendar = Calendar.getInstance(TimeZone.getDefault());
mClockData = IconData.makeText("clock", "");
mClockIcon = service.addIcon(mClockData, null);
- /*Jiujin.hong 2011/0922*/
- service.setIconVisibility(mClockIcon, false);/*Jiujin.hong*/
updateClock();

// battery
mBatteryData = IconData.makeIcon("battery",
null,
com.android.internal.R.drawable.stat_sys_battery_unknown, 0, 0);
mBatteryIcon = service.addIcon(mBatteryData, null);
- /*Jiujin.hong 2011/0922*/
- service.setIconVisibility(mBatteryIcon, false);/*Jiujin.hong*/

// phone_signal
mPhone =
(TelephonyManager)context.getSystemService(Context.TELEPHONY_SERVICE);


Tommy

--
Chinese Name:Hong jiu jin
Android,Internet of Things,Embedded System Design and Develop
English Name:Tommy
Tel: +86 1367514 8249
Skype ID:hongjiujing
Gtalk ID:: hongjiuj...@gmail.com <talk%3ahongjiuj...@gmail.com>
Blog: http://internetofthings.blogbus.com/
Country:China
There are three types of people in this world: those who make things happen,
those who watch things happen and those who wonder what happened.


 Topic: Device is unable to boot up and Sysrq message on my 
device<http://groups.google.com/group/android-porting/t/236d17dfa2fb135d>
WoW <jykl1...@gmail.com> Sep 22 04:54AM -0700 ^

Hi,

I have seen following message during boot up. Do you know how SysRq
came out? Same image on another device will no trigger this message.


SysRq : HELP : loglevel(0-9) reBoot Crash terminate-all-tasks(E)
memory-full-oom-kill(F) kill-all-tasks(I) thaw-filesystems(J) saK show-
backtrace-all-active-cpus(L) show-memory-usage(M) nice-all-RT-tasks(N)
powerOff show-registers(P) show-all-timers(Q) unRaw Sync show-task-
states(T) Unmount force-fb(V) show-blocked-tasks(W) dump-ftrace-
buffer(Z)


Thanks!


 Topic: Problem on flash custom 
kernel<http://groups.google.com/group/android-porting/t/f37d2432d1294760>
jiaoyang <jiaoyan...@gmail.com> Sep 21 08:05AM -0700 ^

I am trying to enable the SystemTap on Nexus S Samsung phone, however,
no matter what I did, I just
can not upload the files into the "/data" folder.

The following are what I did:
1. Root the phone by following video on link:
http://theunlockr.com/2010/12/17/how-to-root-the-samsung-nexus-s/
2. Download the Nexus S kernel code by:
git clone http://github.com/CyanogenMod/android_kernel_samsung_c1.git
kernel
3. Add debug flags and modify ptrace.h as mentioned in:
http://omappedia.org/wiki/Systemtap#Kernel%20Code
4. Reboot the phone with new kernel:
fastboot boot zImage

The following are the problems I met:
1. I can not get the Root right of the phone by just using "./adb
shell". Instead, I need to run "su" inside the shell.
2. The "fastboot boot zImage" does not work out, it makes my phone
stays on the screen with big "Google" for ever. So I guess the
customer kernel is not flashed on the phone.
3. When I try to push any file, it either tells me the file does not
exit, or permission denied. For example:
sudo ./adb push /data/systemtap-1.5-macharm/bin/staprun /data/
staprun
failed to copy '/data/systemtap-1.5-macharm/bin/staprun' to '/
data/staprun': Permission denied
or
./adb push /data/systemtap-1.5-macharm/ /data/systemtap-1.5-
macharm/
push: /data/systemtap-1.5-macharm/libexec/systemtap/stap-env -
> /data/systemtap-1.5-macharm/libexec/systemtap/stap-env
failed to copy '/data/systemtap-1.5-macharm/libexec/systemtap/
stap-env' to '/data/systemtap-1.5-macharm/libexec/systemtap/stap-env':
No such file or directory

I first guess that is the problem of the "ro" of file systems, so I
remount them to be:
rootfs / rootfs rw,relatime 0 0
tmpfs /dev tmpfs rw,relatime,mode=755 0 0
devpts /dev/pts devpts rw,relatime,mode=600 0 0
proc /proc proc rw,relatime 0 0
sysfs /sys sysfs rw,relatime 0 0
none /acct cgroup rw,relatime,cpuacct 0 0
tmpfs /mnt/asec tmpfs rw,relatime,mode=755,gid=1000 0 0
tmpfs /mnt/obb tmpfs rw,relatime,mode=755,gid=1000 0 0
none /dev/cpuctl cgroup rw,relatime,cpu 0 0
/dev/block/mtdblock4 /cache yaffs2 rw,nosuid,nodev,relatime 0 0
/dev/block/mtdblock6 /efs yaffs2 rw,nosuid,nodev,relatime 0 0
/dev/block/platform/s3c-sdhci.0/by-name/system /system ext4
rw,relatime,barrier=1,data=ordered 0 0
/dev/block/platform/s3c-sdhci.0/by-name/userdata /data ext4
rw,nosuid,nodev,noatime,barrier=1,data=ordered 0 0
/sys/kernel/debug /sys/kernel/debug debugfs rw,relatime 0 0
/dev/block/vold/179:3 /mnt/sdcard vfat
rw,dirsync,nosuid,nodev,noexec,relatime,uid=1000,gid=1015,fmask=0702,dmask=0702,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-
ro 0 0
/dev/block/vold/179:3 /mnt/secure/asec vfat
rw,dirsync,nosuid,nodev,noexec,relatime,uid=1000,gid=1015,fmask=0702,dmask=0702,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-
ro 0 0
tmpfs /mnt/sdcard/.android_secure tmpfs
ro,relatime,size=0k,mode=000 0 0

However, the problem is still there.

Is this the problem of my method of Root the phone? Why I just can not
push the SystemTap tools into the "/data" folder?

Any hint would be warmly welcomed.

Yours
Sincerely


--
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-porting

-- 
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-porting

Reply via email to