[09/01/09] Android - Polaris Userspace and Testing thread

Search This thread

Mormy

Senior Member
Apr 17, 2008
310
2
*** PLEASE READ CAREFULLY BEFORE INSTALLING OR FLASHING ANY SOFTWARE POSTED IN THIS THREAD ***

The software posted here is for TESTING purposes only, The Polaris Android Linux development team or any of the posters of software or links to software on this thread, take absolutely no responsibility or liability for damage caused by the result of installing or flashing software or links to software found on this thread - correctly or otherwise, you do so on the sole understanding that you do so at your own risk.

Previous thread was closed because too big you can find lot of information into it with the search button : http://xdaforums.com/showthread.php?t=555000


Hello to all of you, Android user.

This thread is the right place to talk about non-kernel related discussions, questions and requests.
Please, remember that the thread is public, so don't use bad word ;)

So...have fun ;)

-------------------------------------------------------------------------------------------------------------------------------

01-09-09 - new link to files for working wifi

http://www.4shared.com/dir/19593527/...a/sharing.html

From Google Code Vogue-Android:

01-09-09 - Initrd - works with unpartitioned cards, otherwise no changes.

01-09-09 - Rootfs - works with unpartitioned cards, otherwise no changes.
 
Last edited:

Averne

Member
Dec 11, 2008
11
0
Warsaw
@Mormy

Could you give us your startup/default haret script? With script whitch you uploaded to 4shared, graphics don't work properly.
 

Kiiv

Senior Member
May 21, 2008
323
6
Paris
Good thing to open a clean thread to speak about testing :)


I'm currently testing the SquashFs version, latest on http://code.google.com/p/vogue-android/downloads/list

With this system.sqsh : http://vogue-android.googlecode.com/files/hero.zip
And this base files : http://vogue-android.googlecode.com/files/squashfsbasefiles.zip

It's very stable. With this build I haven't got anymore the 'reload UI' problem when I go back to home screen.

But it's very slow. It takes more time to launch application, wake up the phone, open settings... But the scrolling is normally fast.

Wifi doesn't work for me with it.

Maybe I'll try this one tonight : system-090109r1.img on http://code.google.com/p/vogue-hero/downloads/list
I didn't understood how works the last one with 'userinit.sh' system, so I think I will not try it :p
 

Mormy

Senior Member
Apr 17, 2008
310
2
@Mormy

Could you give us your startup/default haret script? With script which you uploaded to 4shared, graphics don't work properly.

I've tried Neocore and won't start either with the 4share startup and with mine.
By the way, this the one I usually have:

Code:
set RAMSIZE 0x08000000
set MTYPE 1723
set KERNEL zImage
set initrd initrd.gz
#
# The following kernel parameters are useful
# ppp.username               - The username used to connect to the network when dialing
# ppp.password               - The password used to connect to the network when dialing
# ppp.apn					 - Set apn of your provider
# ppp.nostart				 - Set ppp.nostart=1 to disable starting the ppp connection on boot
# msm_sdcc.msmsdcc_fmax      - The maximum frequency (in Hz) used by the SD controller
# pm.sleep_mode              - The mode used when the phone is off 
#                              0=Power Collapse Suspend, 1=Power Collapse, 2=Apps Sleep, 
#                              3=Slow Clock and Wait for Interrupt 4=Wait for Interrupt
#                              Default is 1, use 1 for best power savings
# board-htcpolaris.panel_type - Panel type used to power the panel off and on
#                              0=Don't power off the panel (Default)
#                              1=Sony 2=Topoly 3=Topoly (probably just the same as 2)
# lcd.density                - Defaults to 160, 128 shows more on screen
#
set cmdline "board-htcpolaris.panel_type=3 ppp.apn=tre.it ppp.username=none ppp.password=none pm.sleep_mode=1 mddi.width=324 mddi.height=432 no_console_suspend board-htcpolaris-battery.battery_capacity=1350 clock-7x00.mddi=0xa51 mddi_client_vogue.vsync=0"
boot
 

bally3

Senior Member
Aug 4, 2008
1,865
8
Tinternet
@Mormy

Could you give us your startup/default haret script? With script whitch you uploaded to 4shared, graphics don't work properly.

if you mean neocore then yes that is broken in this kernel.

if you are having display issues, then try changing the panel type or try to be more specific on what you mean by "graphics dont work properly".
 

Averne

Member
Dec 11, 2008
11
0
Warsaw
Ok, this is my default.txt file:

Code:
set RAMSIZE 0x08000000
set MTYPE 1723
set KERNEL zImage
set initrd initrd.gz
set cmdline "board-htcpolaris.panel_type=0 ppp.apn=orange ppp.username=orange ppp.password=orange pm.sleep_mode=1 mddi.width=336 mddi.height=448 lcd.density=160 no_console_suspend board-htcpolaris-battery.battery_capacity=1350 mddi_client_vogue.vsync=0"
boot

With this settings display works fine, but you must disconnect usb cable before press [Run] button in haret.
 

mikfaina

Member
Jul 14, 2009
40
0
Hi ,
with the last files taken from bally site I have wifi working but data connection li ke previous release taken from vogue-android sometime starts sometimes no.
And with this files I can't start calling it creashes.
No Gps..

Why start up logo is changed? and button mapping?
 

bally3

Senior Member
Aug 4, 2008
1,865
8
Tinternet
Ok, this is my default.txt file:

Code:
set RAMSIZE 0x08000000
set MTYPE 1723
set KERNEL zImage
set initrd initrd.gz
set cmdline "board-htcpolaris.panel_type=0 ppp.apn=orange ppp.username=orange ppp.password=orange pm.sleep_mode=1 mddi.width=336 mddi.height=448 lcd.density=160 no_console_suspend board-htcpolaris-battery.battery_capacity=1350 mddi_client_vogue.vsync=0"
boot

With this settings display works fine, but you must disconnect usb cable before press [Run] button in haret.

why have you got lcd density set at 160 and width and height at 336x448?

this is not my startup file. you should try that first.
 

Kiiv

Senior Member
May 21, 2008
323
6
Paris
Does somebody know what are the benefits of using 'squash FS' system instead of old standard system.img?
 

iseeka

Senior Member
Jul 5, 2006
504
7
Does somebody know what are the benefits of using 'squash FS' system instead of old standard system.img?

if you are really interested: (from http://groups.google.com/group/andr...ad/e4ce4f06f982d51b/30fa2b5deb6533b2?lnk=raot)

I think it would be a good idea to compress /system/bin and /system/
lib at least with squashfs, I have done this on a couple ubuntu and
gentoo systems and it actually increased performance and space
significantly!
Reasons (short version): decompressing data is faster than reading it
from the hard drive, in most current computers, especially when you
have multiple programs reading from the disk, causing thrashing, and/
or when the data on the disk is fragmented. You can read more details
about what was done and the results on http://forums.gentoo.org/viewtopic-p-4732709.html#4732709
Squashfs is intended for general read-only file system use and in
constrained block device/memory system, it can also be combined with a
union mount system like unionfs and aufs for read/write access.
We will be able to improve android boot time, app launch time, and
increase space, what more could we ask for? Maybe a little bit more
ram? Whats up with compcache too?
So now we just need to compile squashfs-tools for android and
experiment, im pretty damn excited to try this!
Also ubifs has lzo compression, not sure how that would work either,
it seems ubifs is favored over jffs2 and yaffs2
Well right now it looks squashfs+lzma wont be in the kernel until
2.6.30 found this via:
http://www.squashfs-lzma.org/
So I think we are left with UbiFS with lza compression but I have no
idea on how to add it to the kernel, and test this out, im really
interested in seeing some results and doing some benchmarks, if
someone more knowledgeable than me can help out that would be awesome
defcon
found a nice pdf comparing the filesystems:
http://free-electrons.com/doc/flash-filesystems.pdf
Benchmarks Of Yaffs2, JFFS2, SquashFS, & UBIFS:
http://free-electrons.com/pub/conferences/2008/elce/flash-filesystems...
Seems like people are already using ubifs on android:
http://groups.google.com/group/android-porting/browse_thread/thread/a...
Reference:
http://forums.gentoo.org/viewtopic-p-4732709.html#4732709
http://jt0.org/news/squashing_usr_and_the_2629_kernel
 
Last edited:

Kiiv

Senior Member
May 21, 2008
323
6
Paris
Hum, thank you for the link :)

So I don't understand why it's slower with squash FS on my phone... I will try to find other discussions on the subject.