Android Tablets Forum banner
1 - 20 of 953 Posts

·
Registered
Joined
·
1,352 Posts
Boy, do I feel dumb. Apparently the "standard" Google builds (grabbable from the android SDK) will boot successfully on the PDN. Key hack works as well, but that's about it at the moment. Big news, however. FROYO BOOTS. Wow.

Now for the bad news. A lot still doesn't work. Wifi and g-sensor for starters, and there's some graphical oddities as well. Renderscript libraries and live wallpapers are included in case someone wants to do more toying w/ graphics.

Notes on specific builds:

ECLAIR (2.1)

Wifi doesn't work
Accelerometer doesn't work
Touchscreen works
Display works
Whoooooooooa working notifications bar

NOTE: Lock screen behavior is weird. Lock screen may not display at all, or not respond to touchscreen. Try clicking menu button or power button and it should come back. Screen timeout is set really short for some reason.

Stuff I've tried-I've pushed over the /system/lib/egl directory from 7/24. System still boots but graphics have some corruption.
-Tried pushing over Samdroid GL from the moment. No luck, even though it is supposed to be from 2.1. Must be other customizations made to their version of 2.1.
-Wifi doesn't load (surprise), but the modules do.
-I loaded some Live Wallpapers. All the fancy stock ones fail (probably due to running on subpar graphics), but Polar Clock works. Neat!

FROYO

Wifi doesn't work
Sound doesn't work (see same notes under Eclair)
Accelerometer doesn't work
Touchscreen works
Display works
Whoooooooooa working notifications bar

NOTE: Froyo will hit some kind of timeout, which causes the system to reboot after a minute or two. It's a shame because otherwise it seems to be functioning ok. It will kick back to the Android loading screen, eventually the Home screen will come back, you'll get to use it for a minute or two, reboot back to loading screen, repeat, repeat
It's a shame because it actually seems a bit less glitchy other than that.

So....where to? Well, my suggestions:

1. Try to figure out what is killing Froyo and fix it.
2. Try to fix Wifi/Sound (would probably carry across both platforms if we're lucky)
3. Try to fix graphics (which may not carry across, and we may need more source for)

REQUIRED READING:Android Platform Developer's Guide | Android Open Source

1. Wifi (under connectivity) - It looks like PD did their own custom driver, though it seems their driver uses wpa_supplicant in some manner, which is what Android asks for as well. It may not be too bad a journey to port this.
2. Display - Our best luck here may be looking into the source code for the Moment. 3D acceleration is still not sourced (not sure if Samdroid has source?), but at least we can get to the same performance level as the PDN currently is at.
3. Input devices - Buttons work. Touchscreen seems to work fine. Doh, I forget to check rotation.
4. Audio - Under Multimedia. Hopefully just a matter of turning on "real" audio. I'll see if I can do a build and if it fixes it.
5. Accelerometer - (part of sensors) - looks like mostly is doing the work of defining the sensor.Anyone feel like divvying up work? (or at least talk about what you're looking into so we don't have every single person working on the same thing)


Also - noobs are welcome, so long as no one posts "Is it done yet?", "When will this be done?", "I tried this and nothing works. Someone help me!" The title is just to scare them off


RELEASES

ALPHA 2:

This uses my DropinFirmwareMod format.
Open with 7Zip, and drag in a system.img.
THIS ONE HAS ONLY BEEN TESTED WITH ECLAIR 2.1.

Changes

-Added in video drivers from PD, appears to be working at least as well as the PDN.
-Key hack pre-installed.
-Added Live Wallpapers just for kicks. The only one working there is PolarClock, the rest rely on libRS which is installed but isn't working. Feel free to try to debug the issue!
-sound is working
-SD cards are working

DownloadsDownloads - pdn-slatedroid - Project Hosting on Google Code

4/8/11 Mod Editing in progress: Fixing formatting. Please report any broken links or other errors. Thanks --MrsB
 

·
Premium Member
Joined
·
1,425 Posts
Wow! Good job.
Obviously a lack of drivers is killing this. Did you have to connect the Novel to pull info from it while compiling this? I know with the Droid you pulled information from it to help with the build while building from source. I think this is where it pulled the drivers and other items that were specific to the Droid. I'm hoping it will do the same for the Novel.
 

·
Registered
Joined
·
1,352 Posts
Nah, there's no source on the PDN. If anything, you can just dump the PDN's system.img (or, if you don't want to, yeah, you could pull the whole thing from PDN).
The google docs for porting actually appear pretty good. Not enough so that I would say "Awesome, I can finish this tonight!", but enough that we know the steps to be taken and aren't starting from nothing.
 

·
Registered
Joined
·
1,352 Posts
I'm sure some of the stuff from the PDN could potentially be useful. Wifi kernel scripts and modules, alsa library. I guess we'll see how much (if any) we can re-use and what the consequences would be.

EDIT: It seems likely that I may be able to get audio working with a rebuild with flags set to use ALSA, and dropping in the PDN's libaudio.so. Guess I'll see!
 

·
Registered
Joined
·
284 Posts
I was dreaming of Froyo on this thing but now WOW. SO the first thing for me is to get the wifi working.

I copied the libraries from 2.0 to my computer installed froyo then copied the files back.
When i tried to load them i get:

<4>[ 572.157589] rt3070sta: Unknown symbol RtmpOSFileRead
<4>[ 572.162430] rt3070sta: Unknown symbol RtmpOSFileClose
<4>[ 572.166914] rt3070sta: Unknown symbol RTMP_QueryPacketInfo
<4>[ 572.172300] rt3070sta: Unknown symbol RtmpOSFileWrite
<4>[ 572.177321] rt3070sta: Unknown symbol RtmpOSFileSeek
<4>[ 599.838035] rt3070sta: Unknown symbol rausb_buffer_free
<4>[ 599.840415] rt3070sta: Unknown symbol RtmpOSTaskNotifyToExit
<4>[ 599.845094] rt3070sta: Unknown symbol RtmpOSTaskInit
<4>[ 599.851024] rt3070sta: Unknown symbol rausb_buffer_alloc
<4>[ 599.855320] rt3070sta: Unknown symbol RTMPFreeNdisPacket
<4>[ 599.860636] rt3070sta: Unknown symbol AdapterBlockAllocateMemory
<4>[ 599.866658] rt3070sta: Unknown symbol RTMP_IndicateMediaState
<4>[ 599.872881] rt3070sta: Unknown symbol RTMP_SetPeriodicTimer
<4>[ 599.877902] rt3070sta: Unknown symbol duplicate_pkt
<4>[ 599.882698] rt3070sta: Unknown symbol RtmpOSWrielessEventSend
<4>[ 599.888546] rt3070sta: Unknown symbol os_alloc_mem
<4>[ 599.893344] rt3070sta: Unknown symbol ClonePacket
<4>[ 599.898047] rt3070sta: Unknown symbol RTDebugLevel
<4>[ 599.902633] rt3070sta: Unknown symbol RtmpOSTaskAttach
<4>[ 599.908029] rt3070sta: Unknown symbol announce_802_3_packet
<4>[ 599.913285] rt3070sta: Unknown symbol Sniff2BytesFromNdisBuffer
<4>[ 599.919585] rt3070sta: Unknown symbol RTMP_OS_Add_Timer
<4>[ 599.924416] rt3070sta: Unknown symbol rausb_submit_urb
<4>[ 599.929594] rt3070sta: Unknown symbol RTMP_AllocateFragPacketBuffer
<4>[ 599.935754] rt3070sta: Unknown symbol rausb_alloc_urb
<4>[ 599.940974] rt3070sta: Unknown symbol RTMP_OS_Mod_Timer
<4>[ 599.945966] rt3070sta: Unknown symbol os_free_mem
<4>[ 599.951088] rt3070sta: Unknown symbol rausb_control_msg
<4>[ 599.955874] rt3070sta: Unknown symbol duplicate_pkt_with_TKIP_MIC
<4>[ 599.962731] rt3070sta: Unknown symbol RtmpOSTaskCustomize
<4>[ 599.967864] rt3070sta: Unknown symbol RTMP_OS_Del_Timer
<4>[ 599.972554] rt3070sta: Unknown symbol rausb_free_urb
<4>[ 599.978405] rt3070sta: Unknown symbol get_netdev_from_bssid
<4>[ 599.982996] rt3070sta: Unknown symbol hex_dump
<4>[ 599.990374] rt3070sta: Unknown symbol RtmpOSFileOpen
<4>[ 599.992889] rt3070sta: Unknown symbol RTMPFreeAdapter
<4>[ 599.997508] rt3070sta: Unknown symbol RtmpOSFSInfoChange
<4>[ 600.002734] rt3070sta: Unknown symbol wlan_802_11_to_802_3_packet
<4>[ 600.008799] rt3070sta: Unknown symbol send_monitor_packets
<4>[ 600.015415] rt3070sta: Unknown symbol RTMP_GetCurrentSystemTime
<4>[ 600.020087] rt3070sta: Unknown symbol RTMPAllocateNdisPacket
<4>[ 600.026374] rt3070sta: Unknown symbol RTMPSendWirelessEvent
<4>[ 600.031283] rt3070sta: Unknown symbol rausb_kill_urb
<4>[ 600.036576] rt3070sta: Unknown symbol RTMP_OS_Init_Timer
<4>[ 600.041464] rt3070sta: Unknown symbol RTMPusecDelay
<4>[ 600.046358] rt3070sta: Unknown symbol update_os_packet_info
<4>[ 600.052290] rt3070sta: Unknown symbol RtmpOSTaskKill
<4>[ 600.057589] rt3070sta: Unknown symbol RtmpOSFileRead
<4>[ 600.062416] rt3070sta: Unknown symbol RtmpOSFileClose
<4>[ 600.066887] rt3070sta: Unknown symbol RTMP_QueryPacketInfo
<4>[ 600.072283] rt3070sta: Unknown symbol RtmpOSFileWrite
<4>[ 600.077305] rt3070sta: Unknown symbol RtmpOSFileSeek
<4>[ 648.967573] usb1 init
<4>[ 648.967609] rtusb init --->
<6>[ 648.969750] usbcore:

registered new interface driver rt2870So obviously the rt3070sta driver needs to be recompiled for froyo. I did find this[android-porting] Porting Wifi driver on AndroidAnyone good at compiling drivers?
 

·
Registered
Joined
·
1,352 Posts
Wow, this looks like a potentially AWESOME resource About Google Android: S3C6410
I'll definitely try the ALSA setup from there, and there's also a nice looking kernel diff for our current version of linux.

It looks like the kernel patch has the framebuffer code in there as well so that's not bad. So far it looks like we have decent "help" with everything so far except the accelerometer.
 

·
Registered
Joined
·
284 Posts
Did froyo reboot on you? I would boot up fine. Doing something or not...It would just reboot. logcat looked like it was trying to free up memory. Could the novel have too little ram for froyo? I was wanting flash in the browser sooo bad.
 

·
Registered
Joined
·
284 Posts
Here is what I get before froyo reboots.

E/ActivityManager( 2769): usb_mass_storag: 0% = 0% user + 0% kernel
E/ActivityManager( 2769): -bootanimation: 0% = 0% user + 0% kernel
E/ActivityManager( 2769): TOTAL: 33% = 27% user + 5% kernel + 0% irq
D/dalvikvm( 2769): GC_FOR_MALLOC freed 3041 objects / 382832 bytes in 169ms
I/ActivityManager( 2769): Start proc android.process.media for broadcast com.android.providers.downloads/.DownloadReceiver: pid=2869 uid=10002 gids={1006, 1015, 2001, 3003}
I/ActivityThread( 2869): Publishing provider drm: com.android.providers.drm.DrmProvider
I/ActivityThread( 2869): Publishing provider media: com.android.providers.media.MediaProvider
V/MediaProvider( 2869): Attached volume: internal
I/ActivityThread( 2869): Publishing provider downloads: com.android.providers.downloads.DownloadProvider
I/ActivityManager( 2769): Start proc com.android.alarmclock for broadcast com.android.alarmclock/.AlarmInitReceiver: pid=2876 uid=10009 gids={}
I/ActivityThread( 2876): Publishing provider com.android.alarmclock: com.android.alarmclock.AlarmProvider
I/ActivityManager( 2769): Start proc com.android.mms for broadcast com.android.mms/.transaction.MmsSystemEventReceiver: pid=2885 uid=10015 gids={3003, 1015}
D/MediaScannerService( 2869): start scanning volume internal
D/dalvikvm( 2764): GC_EXPLICIT freed 268 objects / 10136 bytes in 185ms
D/dalvikvm( 2764): GC_EXPLICIT freed 40 objects / 1768 bytes in 166ms
I/ActivityThread( 2885): Publishing provider com.android.mms.SuggestionsProvider: com.android.mms.SuggestionsProvider
D/dalvikvm( 2764): GC_EXPLICIT freed 2 objects / 48 bytes in 102ms
D/dalvikvm( 2831): GC_FOR_MALLOC freed 3451 objects / 215536 bytes in 114ms
I/ActivityManager( 2769): Start proc com.android.email for broadcast com.android.email/com.android.exchange.BootReceiver: pid=2902 uid=10030 gids={3003, 1015}
I/ActivityThread( 2902): Publishing provider com.android.email.provider: com.android.email.provider.EmailProvider
I/ActivityThread( 2902): Publishing provider com.android.exchange.provider: com.android.exchange.provider.ExchangeProvider
I/ActivityThread( 2902): Publishing provider com.android.email.attachmentprovider: com.android.email.provider.AttachmentProvider
D/Exchange( 2902): BootReceiver onReceive
D/EAS SyncManager( 2902): !!! EAS SyncManager, onCreate
D/EAS SyncManager( 2902): !!! EAS SyncManager, onStartCommand
D/EAS SyncManager( 2902): !!! EAS SyncManager, stopping self
D/Eas Debug( 2902): Logging:
D/EAS SyncManager( 2902): !!! EAS SyncManager, onDestroy
D/MediaScanner( 2869): prescan time: 1117ms
D/MediaScanner( 2869): scan time: 19ms
D/MediaScanner( 2869): postscan time: 0ms
D/MediaScanner( 2869): total time: 1136ms
D/MediaScannerService( 2869): done scanning volume internal
W/ActivityManager( 2769): Timeout of broadcast BroadcastRecord{43fa6290 android.intent.action.TIME_TICK} - receiver=android.app.Activity[email protected]
W/ActivityManager( 2769): Receiver during timeout: BroadcastFilter{43e5f500 ReceiverList{43e65cf8 2769 system/1000 local:43ed7770}}
I/Process ( 2769): Sending signal. PID: 2769 SIG: 3
I/dalvikvm( 2769): threadid=3: reacting to signal 3
I/dalvikvm( 2769): Wrote stack traces to '/data/anr/traces.txt'
I/power ( 2769): *** set_screen_state 0
D/SurfaceFlinger( 2769): About to give-up screen, flinger = 0x121398
E/SurfaceFlinger( 2769): ioctl(21, VT_RELDISP, 1) failed 22 (Invalid argument)
I/Process ( 2769): Sending signal. PID: 2769 SIG: 3
I/dalvikvm( 2769): threadid=3: reacting to signal 3
I/dalvikvm( 2769): Wrote stack traces to '/data/anr/traces.txt'
I/Process ( 2769): Sending signal. PID: 2831 SIG: 3
I/dalvikvm( 2831): threadid=3: reacting to signal 3
I/dalvikvm( 2831): Wrote stack traces to '/data/anr/traces.txt'
I/Watchdog_N( 2769): dumpKernelStacks
E/Watchdog_N( 2769): Unable to open stack of tid 2769 : 2 (No such file or directory)
E/Watchdog_N( 2769): Unable to open stack of tid 2770 : 2 (No such file or directory)
E/Watchdog_N( 2769): Unable to open stack of tid 2771 : 2 (No such file or directory)
E/Watchdog_N( 2769): Unable to open stack of tid 2772 : 2 (No such file or directory)
E/Watchdog_N( 2769): Unable to open stack of tid 2773 : 2 (No such file or directory)
E/Watchdog_N( 2769): Unable to open stack of tid 2774 : 2 (No such file or directory)
E/Watchdog_N( 2769): Unable to open stack of tid 2775 : 2 (No such file or directory)
E/Watchdog_N( 2769): Unable to open stack of tid 2776 : 2 (No such file or directory)
E/Watchdog_N( 2769): Unable to open stack of tid 2783 : 2 (No such file or directory)
E/Watchdog_N( 2769): Unable to open stack of tid 2784 : 2 (No such file or directory)
E/Watchdog_N( 2769): Unable to open stack of tid 2786 : 2 (No such file or directory)
E/Watchdog_N( 2769): Unable to open stack of tid 2789 : 2 (No such file or directory)
E/Watchdog_N( 2769): Unable to open stack of tid 2790 : 2 (No such file or directory)
E/Watchdog_N( 2769): Unable to open stack of tid 2791 : 2 (No such file or directory)
E/Watchdog_N( 2769): Unable to open stack of tid 2792 : 2 (No such file or directory)
E/Watchdog_N( 2769): Unable to open stack of tid 2794 : 2 (No such file or directory)
E/Watchdog_N( 2769): Unable to open stack of tid 2795 : 2 (No such file or directory)
E/Watchdog_N( 2769): Unable to open stack of tid 2796 : 2 (No such file or directory)
E/Watchdog_N( 2769): Unable to open stack of tid 2797 : 2 (No such file or directory)
E/Watchdog_N( 2769): Unable to open stack of tid 2798 : 2 (No such file or directory)
E/Watchdog_N( 2769): Unable to open stack of tid 2799 : 2 (No such file or directory)
E/Watchdog_N( 2769): Unable to open stack of tid 2800 : 2 (No such file or directory)
E/Watchdog_N( 2769): Unable to open stack of tid 2801 : 2 (No such file or directory)
E/Watchdog_N( 2769): Unable to open stack of tid 2802 : 2 (No such file or directory)
E/Watchdog_N( 2769): Unable to open stack of tid 2803 : 2 (No such file or directory)
E/Watchdog_N( 2769): Unable to open stack of tid 2804 : 2 (No such file or directory)
E/Watchdog_N( 2769): Unable to open stack of tid 2805 : 2 (No such file or directory)
E/Watchdog_N( 2769): Unable to open stack of tid 2806 : 2 (No such file or directory)
E/Watchdog_N( 2769): Unable to open stack of tid 2807 : 2 (No such file or directory)
E/Watchdog_N( 2769): Unable to open stack of tid 2809 : 2 (No such file or directory)
E/Watchdog_N( 2769): Unable to open stack of tid 2811 : 2 (No such file or directory)
E/Watchdog_N( 2769): Unable to open stack of tid 2812 : 2 (No such file or directory)
E/Watchdog_N( 2769): Unable to open stack of tid 2813 : 2 (No such file or directory)
E/Watchdog_N( 2769): Unable to open stack of tid 2821 : 2 (No such file or directory)
E/Watchdog_N( 2769): Unable to open stack of tid 2822 : 2 (No such file or directory)
E/Watchdog_N( 2769): Unable to open stack of tid 2824 : 2 (No such file or directory)
E/Watchdog_N( 2769): Unable to open stack of tid 2825 : 2 (No such file or directory)
E/Watchdog_N( 2769): Unable to open stack of tid 2832 : 2 (No such file or directory)
W/Watchdog( 2769): *** WATCHDOG KILLING SYSTEM PROCESS: null
I/Process ( 2769): Sending signal. PID: 2769 SIG: 9
I/Zygote ( 2764): Exit zygote because system server
(2769) has terminated
 

·
Registered
Joined
·
1,352 Posts
ok, I think I have at least the PDN graphics working on 2.1. I pushed over all of lib/egl, lib/hw (not sure if this is needed, I can try it on some other run), and got an error message that s3crender wasn't found. Pushed libs3c2drender.so from lib and then it was working.

I was really hoping to get Live Wallpapers working, but apparently live wallpapers hates the video driver (something about OpenGL lite).
 

·
Registered
Joined
·
139 Posts
How are you modifying the zip file. I tried using various utilities like zip in linux, 7-zip on Windows XP, nothing seems to work.

The recovery log shows------------------
:update_package:SDCARD:Finding update package...
I:Update location: SDCARD:
I:temp:NX7E_ENG_6410POP-mod.zipOpening update package...
I:Update file path: /sdcard/
I:1 key(s) loaded from /res/keysVerifying update package...
minzip: mmap(32768, R, FILE|SHARED, 15, 0) failed: No such device
minzip: Map of '/sdcard/' failed
E:Can't open /sdcard/(bad)Installation aborted.

after error icon show
===============promt_and_wait========================

Fixing execute permissions for /cacheTo narrow down the issue,

all I did was took the zip file and removedbootloader.img, ramdisk.img, recovery.img.
All that is left is system.img,logo, userdata.img, fuse.
Deleted updater2-script and the updater-scriptcontains

ui_print("1. extract fuse");
package_extract_file("fuse", "/tmp/fuse");
set_perm(0, 0, 0755, "/tmp/fuse");
ui_print("7. fuse system.img");
package_extract_file("system.img", "/tmp/system.img");
run_program("/tmp/fuse", "system", "/tmp/system.img");
delete("/tmp/system.img");
ui_print("8. fuse userdata.img");
package_extract_file("userdata.img", "/tmp/userdata.img");
run_program("/tmp/fuse", "userdata", "/tmp/userdata.img");
delete("/tmp/userdata.img");
delete("/tmp/fuse");

Still no luck.

Any tips would be greatly appreciated.
 

·
Registered
Joined
·
139 Posts
clockworx said:
That looks more like an SD card issue than your zip:
"minzip: Map of '/sdcard/' failed
E:Can't open /sdcard/"

Try to reformat the card and flash again.
Thanks for the tips. Reformatting did not help. The issue was that I had changed the filename a little and I suspect most likely because i added a"-mod" to the name. Now, I can flash a froyo system.img.

Thanks.
 

·
Premium Member
Joined
·
1,425 Posts
Would have liked to get this information to you, clockworx, earlier but work interfered. Anyway, I was talking about pulling information from the Droid to help build the ROM. This might be strictly related to Cyanogenmod but I'm not sure.

sounds like you didn't run the extract-files.sh script. plug in the phone while running a froyo stock rom, with usb debug turned on. cd to device/htc/passion, chmod +x if necessary and run ./extract-files.

shit'll grab proprietary files off the phone (e.g. radio interface files) that can't be distributed in CM source. then make clobber, clear any ccache (you'd know if you had this), and make -j5 otapackage again.
I realize that the Novel doesn't have phone radios but perhaps it works for other things like WiFi and such.

I'm hoping this will help.


PS: The quote is obviously a reply to someone but it doesn't necessarily pertain to us.
 

·
Registered
Joined
·
1,352 Posts
It's not bad in terms of giving us examples of what other people are pulling. Basically, it looks like a script people write to grab hardware-specific stuff, back it up, and reinstall it. For example, that guys has libaudio.so, which is the compiled audio driver. I've gotten the audio driver to load by doing the same, but now it's unhappy about something else (I think the locations of ringtones or something).

So - status updateGraphics on Eclair up to PDN standardsSound loading on Eclair using PDN compiled driver, will probably need additional tweaks

If anyone can figure out how we can access/read the ramdisk, that would be really helpful, since at some point we'll either need to build a new one or tweak PD's.
 
1 - 20 of 953 Posts
This is an older thread, you may not receive a response, and could be reviving an old thread. Please consider creating a new thread.
Top