[ROM][WIP] United ICS

Search This thread

tvall

Senior Member
Oct 10, 2010
2,230
792
29
Springfield
Hi guys,

kudos for making cm9 work! However, can someone please post a video to provide other a look at the performance of the rom? If you could include it in the OP that would be perfekt :)

Regards

That was asked already. I would gladly do that, but my main phone is running ics. The only bug left for it is the video camera. I have a nice video camera, but I don't have a charger for it.

Edit: 17 minutes till video is up on YouTube. My channel is tvallproductions. Enjoy
 
Last edited:

Infinimint

Senior Member
Oct 8, 2010
653
269
28
Fredericksburg, VA
twitter.com

tvall

Senior Member
Oct 10, 2010
2,230
792
29
Springfield
I commented on the vid :)

Sent from my HTC PH39100 using Tapatalk 2

Just saw. I'm going to say some stuff here that I commented there so people don't have to read YouTube comments for the info

I tried fixing the audio. No luck. Gonna logcat it later.
In the video I didn't have any performance settings changed. If you tune those right, it could run smoother, I'm just lazy
 
J

jianC

Guest
Just flashed onto 32B mt3g. It runs decently only after adding this zram script:

Code:
#!/system/bin/sh
# script adapted from EZTerry 

zsize=24
swappiness=30

#prepare vm subsystem
echo 1 > /proc/sys/vm/drop_caches
echo $swappiness > /proc/sys/vm/swappiness
echo 1 > /proc/sys/vm/page-cluster
echo 120 > /proc/sys/vm/vfs_cache_pressure

#setup compcache
echo 1 > /sys/block/zram0/reset
echo $(($zsize * 1024 * 1024)) > /sys/block/zram0/disksize
mkswap /dev/block/zram0
swapon /dev/block/zram0

exit 0

disabled all animations, force GPU rendering, turn off surface dithering, and enable 16bit transperancy.. It still needs further tweaking because the launcher keeps closing (set it to 0 in ramdisk).. But otherwise, it is pretty good for alpha build :)

For audio, as a dirty/cheap fix, I would try to take an audio hw file from a working hero ICS build and then replace it for now as a flashable addon..
 

tvall

Senior Member
Oct 10, 2010
2,230
792
29
Springfield
Just flashed onto 32B mt3g. It runs decently only after adding this zram script:

Code:
#!/system/bin/sh
# script adapted from EZTerry 

zsize=24
swappiness=30

#prepare vm subsystem
echo 1 > /proc/sys/vm/drop_caches
echo $swappiness > /proc/sys/vm/swappiness
echo 1 > /proc/sys/vm/page-cluster
echo 120 > /proc/sys/vm/vfs_cache_pressure

#setup compcache
echo 1 > /sys/block/zram0/reset
echo $(($zsize * 1024 * 1024)) > /sys/block/zram0/disksize
mkswap /dev/block/zram0
swapon /dev/block/zram0

exit 0

disabled all animations, force GPU rendering, turn off surface dithering, and enable 16bit transperancy.. It still needs further tweaking because the launcher keeps closing (set it to 0 in ramdisk).. But otherwise, it is pretty good for alpha build :)

For audio, as a dirty/cheap fix, I would try to take an audio hw file from a working hero ICS build and then replace it for now as a flashable addon..

Thanks. Have you tried the zram setting in performance settings?
I'll work on the audio tomorrow (hopefully.. my girlfriend recently learned how to make cm7 themes. I have 3 computers, but only one monitor)
 
J

jianC

Guest
Oh i overlooked those settings lol. I think running at default 18% should be good
 

tvall

Senior Member
Oct 10, 2010
2,230
792
29
Springfield
Oh i overlooked those settings lol. I think running at default 18% should be good

I never messed with zram so I set it to 18% and it seemed to help. I still havent tested the rom with gapps installed. that'll likely hurt a lot.

Since you seem more awake than me, and you have the rom currently installed, could you do me a favor and push the audio libs from a hero port and see if it works? And could you test an install with gapps?
 
J

jianC

Guest
I never messed with zram so I set it to 18% and it seemed to help. I still havent tested the rom with gapps installed. that'll likely hurt a lot.

Since you seem more awake than me, and you have the rom currently installed, could you do me a favor and push the audio libs from a hero port and see if it works? And could you test an install with gapps?

Yeah, sure :)

EDIT: Btw, home button *might* work after you flash gapps.. when I compiled AOSP froyo builds for HD2/Dream, I had the same problem with the home button until I installed gapps. Just something I noticed..

and also, do you mind if I made a repack of the rom ?
 
Last edited:

tvall

Senior Member
Oct 10, 2010
2,230
792
29
Springfield
Yeah, sure :)

EDIT: Btw, home button *might* work after you flash gapps.. when I compiled AOSP froyo builds for HD2/Dream, I had the same problem with the home button until I installed gapps. Just something I noticed..

and also, do you mind if I made a repack of the rom ?

I don't mind of you repack it, if you fix stuff I'd actually really like that. Less work for me. :)
 

brainiac.cm

Senior Member
Apr 5, 2012
71
8
Belgrade
This device is ARM 11, so you will have to look to githubs of developers with the same architecture. That's how ErwinP solved problem with HTC Wildfire. You can replace Trebuchet's apk with any other alternative launcher, and it will be flawless. You did great job for our phones.

Sent from my Wildfire using XDA
 

Shano56

Senior Member
Oct 21, 2011
1,439
557
I'm impressed. I may try this tonight ;)

Sent from my HTC Incredible using Tapatalk 2


edit: doesnt work. installation aborted. how do i get error to save to sd card? D:
 
Last edited:

mahroze

Senior Member
Aug 22, 2010
292
14
Lahore
i flashed just like you said but it says installation failed
E: Missing file:
system/media/video/Disco.480p.mp4​
E:Verification failed

Installation aborted
 

Attachments

  • device-2012-05-19-233938.png
    device-2012-05-19-233938.png
    13.7 KB · Views: 135

tvall

Senior Member
Oct 10, 2010
2,230
792
29
Springfield
i flashed just like you said but it says installation failed
E: Missing file:
system/media/video/Disco.480p.mp4​
E:Verification failed

Installation aborted

The zips are not signed. Sign yourself or flash with clockworkmod. I'll release an update soon with some small bugs fixed. (Adding autokernel, fixed keyboard, signed zip)
 
Last edited:
  • Like
Reactions: wiath

Top Liked Posts

  • There are no posts matching your filters.
  • 22
    This is ice cream sandwich for the Dream/Sapphire. Yes, you read that right. Android 4.0, Ice Cream Sandwich. We currently have cm9 and AOKP mostly working. AOSP is next

    What works:
    It boots
    Touchscreen
    Wifi
    Mobile data
    Audio
    sdcard
    Bluetooth (maybe. It turns on. I don't have devices to test with)

    What doesn't:
    Camera
    Hardware acceleration
    probably everything else, tell us


    info:
    Android 4.0.4
    latest cm9 source as of 09 Aug 2013
    Latest aokp code as of 6 of June 2012


    Downloads:


    Cm9:

    Alpha3 - https://dl.dropboxusercontent.com/u/19978192/cm-9-20130802-UNOFFICIAL-dream_sapphire.zip
    Alpha2.2 - http://dl.dropbox.com/u/19978192/android/update-cm-9.0.0-RC0-dream_sapphire-alpha2.2.zip
    Alpha2 - http://db.tt/ejZqOHDX
    alpha1.1 - http://uniteddev.com/wordpress/file...0-RC0-dream_sapphire-UNOFFICIAL- alpha1.1.zip
    alpha1 - http://uniteddev.com/wordpress/file....0.0-RC0-dream_sapphire-UNOFFICIAL-alpha1.zip
    alpha0 - http://uniteddev.com/wordpress/files/update-cm-9.0.0-RC0-dream_sapphire-UNOFFICIAL-signed.zip


    Aokp:
    Alpha2 - http://db.tt/p2lQtue2
    Alpha1 - skipped
    Alpha0 - http://db.tt/jErGK56g


    kernel -
    ezterry's kernel + ics patches and some performance tweaks (enabled 710mhz overclock and other things) http://www.mediafire.com/?py8asp6ab109dyl
    ezterry's ezgb 1.5.2 http://sandbox.devnull.name/android/ezgb-kernel/ezgb-2636-v1.5.2_S.zip

    cmtd files
    http://www.mediafire.com/?amh4qn763gi339r
    http://www.mediafire.com/?vw51n1ctl8j1p4t
    http://uniteddev.com/wordpress/files/roms/cm9/mtdpartmap.txt

    Note: the rom zips are not signed. Flash with clockworkmod, or sign yourself. Once this becomes more usable, I will start signing them.


    very slim gapps http://www.mediafire.com/?o94hh30vh0q1oy7 (there are here for testing purposes. contains copyrighted google code that I am not really allowed to distribute. use at your own risk!)

    possible fix for camera:
    http://www.mediafire.com/?smfhlv2xon1e45z

    flashing instructions:
    you need to use custom mtd. I used 140 for /system and 20 for /cache (rom currently requires a /cache partitoin. will be fixed in a later update)
    1. download all needed files and place them on your sdcard. mtdpartmap.txt needs to be at the root of it
    2. flash recovery patch.
    3. wipe system, data, and cache
    4. reboot into recovery.
    5. flash rom and kernel
    6. Flash gapps if desired
    7. flash boot patch
    8. reboot into rom
    9. wait.
    10. enjoy the awesome

    To use data, you need to put in your apn settings. Google to find these.

    Thanks to:
    Google - android
    CyanogenMod team - the awesome rom
    Aokp team - aokp
    Ezterry and AndDiSa - kernel for ics
    Infinimint and the united dev team - hosting and support
    My girlfriend - for loving me even though I worked almost all day on this.
    8
    Pictures (screenshots later)
    ad11f7f7-8e52-3172.jpg

    ad11f7f7-8e8a-5eea.jpg
    ad11f7f7-8e99-82a3.jpg

    Sorry for the blurry pics. Used my other phone running cm9 with a partially working cam

    Roadmap:
    Slim down (in progress)
    Mess with hw acceleration and camera (maybe never) - this will be alpha3/beta1 if it happens
    Port AOSP

    Changelog:
    Alpha2.2: update to latest code. good cm9 release.
    Alpha2.1: not released
    Alpha2: fixed audio
    Alpha1.1: small fixes (keyboard, other stuff) cm9 only bugfix release
    Alpha1: fixed wifi, sdcard, and home button (skiped in aokp)
    Alpha0: initial public release.

    If you want to build yourself (please do, we need more people fixing stuff), the repo init command will look like this:
    Code:
    $ repo init -u https://github.com/UnitedDev/android.git -b ics

    Note: rules on using this rom for other projects
    Most of android is under the apache2 license. just don't violate that and we're good.

    more specific rules: source is on my github, do whatever you want within the terms of the licences. make your own rom, use it to port other devices, release a rom that is exactly the same with a new name and a shiny theme, I don't care as long as you are building from source.
    If you use prebuilt anything from releases of this rom, please be nice and send me a pm asking for permission. this is supposed to be an open community, but i hate seeing 20+ cm7 roms with nothing different except name and bundled apps. If you don't ask, and you havent made something different enough from this rom to be worth having its own thread, it may or may not get reported.
    5
    i now have a g1! soon I will update some of my roms. need to find some time to set up a build box again..
    5
    Source link in second post updated from my repo to the uniteddev one. New build coming as soon as I test it

    Sent from my Evo V 4G using Tapatalk 2
    4
    Interesting.
    Seems to me from reading a bunch of comments in this thread, that there is a severe limitation on this system image as a result of limited internal storage space.

    I took a quick peek at the image, and the first thing that strikes me very clearly is that this image is NOT ODEX'ed.

    There is a lot of confusion regarding the use of ODEX files in a system image. There is, in fact, no downside to their use, EXCEPT that it will prevent you from modification of contents of /system/framework/, which virtually nobody does anyway, so it is irrelevant.

    Basically, when you have a system image that has NOT been ODEX'ed, you end up effectively with multiple copies of 'classes.dex' for each application.

    In a non-ODEX'ed system image, all of the archives in /system/app/ and /system/framework/ contain a file 'classes.dex', which is basically the java code for those archives. Upon first boot, the classes.dex file is extracted, optimized, and stored in /data/dalvik-cache, so you effectively have TWO COPIES. One in the application archive, one in /data/dalvik-cache/.

    When you ODEX a system image, you perform this optimization IN ADVANCE, and store the ODEX file right beside the application archive. NOT ONLY THAT, but you also DELETE the classes.dex file from the archive, since it is then redundant.

    So the effect of ODEX'ing a system image, is that the system partition will be marginally bigger, the data partition will be DRASTICALLY smaller, and firstboot will be FAR FAR faster (since it won't be running dexopt to generate dalvik-cache).