[4.JUN.11] [CWM/DAF] DL Desire Series v5.x [kernel freak 1.9v] - test version

Search This thread

freak007

Senior Member
May 7, 2007
192
183
DL Desire Series v 5.x
by dandiest & freak


New features:

  • Totally new init, using full power of aufs, lzma squashfs and ram.
  • new vinit, with automatic configuration for nand, magldr and sd launch
  • re-odexed builds
  • re-engineered packages
  • working with data2sd/data2ext
Versions and Links:

[4 jun ] - dlz test version - go to this post

[30 apr] - (changelog)
  • version 5.21.51.18: DesireZ 1.85.72 base: download [CWM] [DAF]
  • version 5.12.51.18: DesireZ themed 1.85.72 base:download [CWM] [DAF]

[10 apr]
Be careful, actually there is problems with cwm and users with wp7 on nand.

  • version 5.03.50.15: IncredibleS 1.43.415.3 base: download [cwm] [DAF] (battery percentage is wrong)
Kernel:


Tips:


  • Please remove dialer button sound to prevent robotic voice
  • If using SD/haret, do not set pin code under wm65
  • Do not change Desire_DL folder name, our detection method is based on this name
  • Do not use another kernel, none of them works with our new builds
  • for data2ext, please reboot your phone twice in order to have all working fine (2nd boot take a long time)
  • Please use shutdown instead of reboot for your phone
  • you can use 200M or 250M for cwm
  • Make a fresh install is highly recommended
  • sdcard is highly recommended for leo1024 phone.
How to report:

- Using dlreport :


I have created dlreport to have a photography of your system. You can use it with a terminal or with adb. After running it, an archive file /system/dlreport.tar is generated. Please attach this file to your post.

If you don't have adb, use this archive: http://www.multiupload.com/YOZYJGI09N
Code:
adb shell dlreport && adb pull /system/dlreport.tar



- If dlreport not working for you , please usethis naming method:

[DL VERSION] - 5.01.50.19
[LOAD TYPE] - NAND
[LOAD METHOD] - CWM
[DATA TYPE] - EXT4 (2 PARTITIONS 1GB-300Mo)
[DATA LOAD] - From previous build
[CONFIG.TXT] - (if tweaked)
[INIT.LOG/DMESG] - as attachment
 
Last edited:

freak007

Senior Member
May 7, 2007
192
183
Options:

  • no need to put any options at startup, our init detect your phone and launch mode, and apply tweaks accordinly
  • if you want to modify some options, you have all these possibilities, after creating config.txt file inside Desire_DL folder on sdcard:
    • load_mode=
      • 0 // (default) load cache.sqsh file to ram
      • 1 // load cache.sqsh normally
    • data_img=
      • 0 // not using data.img file on sdcard to store data apps
      • 1 // using data.img file on sdard to store data apps
      • 2 // try to increase data.img filesize ( ! experimental !) works with data_size
    • data_size=
      • 512 // (default) size in Mb of data.img/1st ext4 partition
    • sd_boost=
      • 0 // (default) load 1st ext4 partition with default (tweaked) options
      • 1 // load 1st ext4 partition without journal
    • ppp_mode=
      • 0 // rmnet enabled
      • 1 // ppp enabled
    • format_ext4=
      • 0 // (default) no effect
      • 1 // format all ext4 partitions on sdcard with default (tweaked) options
      • 2 // format 1st ext4 partition with ext2 instead of ext4 - all other ext4 partitions formatted normally
      • 8 // simulate format_ext4=9 to show in init.log future partitions size
      • 9 // works only on nand - remove all data from sdcard and partition it to 4 partitions: FAT / EXT4 / EXT4 / SWAP; the 2nd partition size can be defined with data_size= option
    • cache_mode= [for WM65/SD/WP7 users]
      • 0 // (default) copy downloaded apps and tmp files to /data
      • 1 // copy downloaded apps and tmp files to ram
    • sched_mode=
      • bfq // (default) use bfq scheduler
      • cfg // use cfq scheduler
      • noop // use noop scheduler
    • vdd_mode=
      • 0 //
      • possible values are: +50 +25 0 -25 -50 -75 -100 -125 -150
      • Increase/Reduce voltage of phone. For frequencies higher than 576Mhz, vdd is limited to -50 (you can safely use -100 value)
    • mac_virt=
      • use your own wifi mac address
    • gps_zone=
      • defining your region for gps
    • backup_img=
      • 0 // (default) no effect
      • 1 // create backup.tgz on sdcard: store /data contents
    • restore_img=
      • 0 // (default) no effect
      • 1 // restore backup.tgz from sdcard to /data
    • repair_mode=
      • 0 // (default) no effect
      • 1 // delete dalvik-cache and fix permissions
      • 2 // only for magldr/sd: mount system yaffs2 partition to /mnt/rescue and copy zImage / initrd.gz / vinit from sd to nand
      • 9 // only for magldr/sd: mount system yaffs2 partition to /mnt/rescue
 
Last edited:

freak007

Senior Member
May 7, 2007
192
183
Features details:

  • aufs + squashfs. This is the 1st android version that can support the aufs+squashfs, we even worked with the author of aufs to make it usable to android. a lot of innovations within this build from the technical perspective, for users, the benefit of it are:
    • high performance
    • despite of squashfs is used to reduce the size of file system, user still be able to change any file directly with the power of aufs.
    • a lot of frequent accessed files are squashed and loaded into ram to improve the performance.
  • re-odexed. there flood a lot of misleading messages in xda of odexed, same as squashfs. Odex can actually improve system performance, and at the same time, reduce the whole system's size (because the odex is optimized dex), and odex build has less chance of system crash that lead to wipe the davlik-cache. an odex build doest not generate the davlik-cache which is odexed.
  • re-engineered. we re-packaged all the apk, jar in the build after optimized the png file and etc, to reduce the apk&jar size, which will reduce the consuming of ram.

Naming convention:

  • the 1st digit is for the build base, 5.
  • the 2nd field is for the subversion and build model, normally, 5.0x means the first relase which should based on a totally new base, 5.x1 is for dlz, 5.x2 is for dlz themed, and 5.x3 is for incredibleS
  • the 3rd field is for the init version, actually 5.0 ->50
  • the 4th field will be used for the kernel version, actually 1.5c ->15
Thanks! :

  • to all devs at xda and at irc-logs, kernel devs
  • to Jim, as a linux expert, he gave us a lot of good idea and suggestion.
  • to J.R. Okajima, the author of aufs, who helps us solve the last performance of aufs on android.
  • to kajos, manu33xtro, pascalsg2, vlad48, darkony, ..., they are working with us for months to test a lot of builds we released (about 10 builds we released for testing before this version)
Credits:

  • All these builds and init are made by dandiest and me
  • Please respect our work, and don't forget to mention ou names and authors if you used some technologies. Don't forget gpl too.
  • Put a link to this thread if you want to share it.
 
Last edited:

freak007

Senior Member
May 7, 2007
192
183
Changelog:

[30 apr]
- new kernel 1.8: modifying a bit smartass and cpufreq, added more than 50 patches from kernel mainline (2.6.32.28 to 2.6.32.39, 2.6.33 and 2.6.34)
- modified cache/system squashfiles, now cache.sqsh is lzma compressed and system.sqsh is gzip compressed
- re-added htc locations (Laputa) for 5.22 build
- minor things ...
- better reactivity with proximity sensor when calling.
[15 apr]
- new version:
modifying bcm4329 branch to _245
corrected init when only 1 partition on sdcard

- no need of setcpu, managing it in kernel with perflock and smartass
- new wpa-supplicant, then wifi tethering now works fine with new kernel
- working dspmanager
- shared media working
- modifying cached/uncached apps
- adding new script: dlreport, which generate a tar file with all we need to have a "photography" of your system.
- modifying swap size to limit out_of_memory errors when installing lot of apps at once.
- modifying vinit/init to solve (i hope so) cwm / wp7 / sd-haret issues.
- kernel 1.6: totally backported net stack from rafpigna instead of tytung, adding 2 way call recording, new bt stack, tweaked smartass and bfq as default scheduler, activating htc boot perflock.

[10 apr]

Initial 5.x release
- desireZ, themed and incredibleS version
- aufs/lzma by default
- kernel freak 1.5c
 
Last edited:

freak007

Senior Member
May 7, 2007
192
183
MINI HOWTO

No need of config.txt for the first startup.
config.txt is for tweaking your build.

For Nand users:
Download your preferred version, you can choose daf or cwm method.
Magldr 1.13/cwm is already installed on your phone

For daf:
- choose USB Flasher on you phone inside magldr bootloader
- extract archive
- run inside Desire_DL folder: EnterBootloader.exe
(don't forget to run it as administrator).
- After flashing, let our init make everything to setup.

For cwm:
- you can choose cwm 200M or 250M.
- there is lot of threads about how to use cwm.
- Once done, let our init make everything to setup.

For magldr users:
- extract daf version in your sdcard
- Desire_DL folder must be on the root of your sdcard
- DON'T RENAME FOLDER
- Enter inside magldr bootloader, choose your AD/SD dir in services
- Run Boot AD/SD option.
- That's all
 
Last edited:

ddeathmetal

Senior Member
Feb 27, 2010
293
26
Hanoi
waiting 4 changelogs - except "initial release" :D which is Fastest rom in this new series???

I've got Wifi WPA cannot connect in Imilka's Incredible S1.1. Is ur rom working fine?
 
Last edited:

freak007

Senior Member
May 7, 2007
192
183
for 5.01.50.15, i think it's possible. No idea for 5.02 or 5.03. Dandiest past a long time to have a good framework for 5.03, it should be possible too, but not so easy
 

Top Liked Posts

  • There are no posts matching your filters.
  • 37
    DL Desire Series v 5.x
    by dandiest & freak


    New features:

    • Totally new init, using full power of aufs, lzma squashfs and ram.
    • new vinit, with automatic configuration for nand, magldr and sd launch
    • re-odexed builds
    • re-engineered packages
    • working with data2sd/data2ext
    Versions and Links:

    [4 jun ] - dlz test version - go to this post

    [30 apr] - (changelog)
    • version 5.21.51.18: DesireZ 1.85.72 base: download [CWM] [DAF]
    • version 5.12.51.18: DesireZ themed 1.85.72 base:download [CWM] [DAF]

    [10 apr]
    Be careful, actually there is problems with cwm and users with wp7 on nand.

    • version 5.03.50.15: IncredibleS 1.43.415.3 base: download [cwm] [DAF] (battery percentage is wrong)
    Kernel:


    Tips:


    • Please remove dialer button sound to prevent robotic voice
    • If using SD/haret, do not set pin code under wm65
    • Do not change Desire_DL folder name, our detection method is based on this name
    • Do not use another kernel, none of them works with our new builds
    • for data2ext, please reboot your phone twice in order to have all working fine (2nd boot take a long time)
    • Please use shutdown instead of reboot for your phone
    • you can use 200M or 250M for cwm
    • Make a fresh install is highly recommended
    • sdcard is highly recommended for leo1024 phone.
    How to report:

    - Using dlreport :


    I have created dlreport to have a photography of your system. You can use it with a terminal or with adb. After running it, an archive file /system/dlreport.tar is generated. Please attach this file to your post.

    If you don't have adb, use this archive: http://www.multiupload.com/YOZYJGI09N
    Code:
    adb shell dlreport && adb pull /system/dlreport.tar



    - If dlreport not working for you , please usethis naming method:

    [DL VERSION] - 5.01.50.19
    [LOAD TYPE] - NAND
    [LOAD METHOD] - CWM
    [DATA TYPE] - EXT4 (2 PARTITIONS 1GB-300Mo)
    [DATA LOAD] - From previous build
    [CONFIG.TXT] - (if tweaked)
    [INIT.LOG/DMESG] - as attachment
    13
    Options:

    • no need to put any options at startup, our init detect your phone and launch mode, and apply tweaks accordinly
    • if you want to modify some options, you have all these possibilities, after creating config.txt file inside Desire_DL folder on sdcard:
      • load_mode=
        • 0 // (default) load cache.sqsh file to ram
        • 1 // load cache.sqsh normally
      • data_img=
        • 0 // not using data.img file on sdcard to store data apps
        • 1 // using data.img file on sdard to store data apps
        • 2 // try to increase data.img filesize ( ! experimental !) works with data_size
      • data_size=
        • 512 // (default) size in Mb of data.img/1st ext4 partition
      • sd_boost=
        • 0 // (default) load 1st ext4 partition with default (tweaked) options
        • 1 // load 1st ext4 partition without journal
      • ppp_mode=
        • 0 // rmnet enabled
        • 1 // ppp enabled
      • format_ext4=
        • 0 // (default) no effect
        • 1 // format all ext4 partitions on sdcard with default (tweaked) options
        • 2 // format 1st ext4 partition with ext2 instead of ext4 - all other ext4 partitions formatted normally
        • 8 // simulate format_ext4=9 to show in init.log future partitions size
        • 9 // works only on nand - remove all data from sdcard and partition it to 4 partitions: FAT / EXT4 / EXT4 / SWAP; the 2nd partition size can be defined with data_size= option
      • cache_mode= [for WM65/SD/WP7 users]
        • 0 // (default) copy downloaded apps and tmp files to /data
        • 1 // copy downloaded apps and tmp files to ram
      • sched_mode=
        • bfq // (default) use bfq scheduler
        • cfg // use cfq scheduler
        • noop // use noop scheduler
      • vdd_mode=
        • 0 //
        • possible values are: +50 +25 0 -25 -50 -75 -100 -125 -150
        • Increase/Reduce voltage of phone. For frequencies higher than 576Mhz, vdd is limited to -50 (you can safely use -100 value)
      • mac_virt=
        • use your own wifi mac address
      • gps_zone=
        • defining your region for gps
      • backup_img=
        • 0 // (default) no effect
        • 1 // create backup.tgz on sdcard: store /data contents
      • restore_img=
        • 0 // (default) no effect
        • 1 // restore backup.tgz from sdcard to /data
      • repair_mode=
        • 0 // (default) no effect
        • 1 // delete dalvik-cache and fix permissions
        • 2 // only for magldr/sd: mount system yaffs2 partition to /mnt/rescue and copy zImage / initrd.gz / vinit from sd to nand
        • 9 // only for magldr/sd: mount system yaffs2 partition to /mnt/rescue
    10
    New test rom

    Currently uploading new test rom: IT'S A TEST ROM !!!

    - kernel 1.9v:
    Pratically 3 weeks of work on it: integrated sched, mm and a lot more from 2.6.33, 2.6.34 and 2.6.35 kernel.
    Hope battery drain solved
    Updated squashfs too with xattr.
    Using ext4 use ext3/ext2 by default

    Using cfq with iosched enabled by default

    Integrated sched autogroup, but not enabling it (some cpu performance drop actually)

    - minimal cache.sqsh in order to use only ram, not swap.
    Then, we have:
    load_mode=0 (default: no swap, cache.sqsh in ram)
    load_mode=1 (using swap, cache.sqsh in ram)
    load_mode=2 (no swap, cache.sqsh in nand/sd)
    load_mode=3 (using swap, cache.sqsh in nand/sd)

    edit:
    daf link: http://www.multiupload.com/DYZQYEIIW2
    cwm link: http://www.multiupload.com/BUTJY61IES
    8
    Video and screenshots:

    Many thanks to Sklar for this video.
    7
    Changelog:

    [30 apr]
    - new kernel 1.8: modifying a bit smartass and cpufreq, added more than 50 patches from kernel mainline (2.6.32.28 to 2.6.32.39, 2.6.33 and 2.6.34)
    - modified cache/system squashfiles, now cache.sqsh is lzma compressed and system.sqsh is gzip compressed
    - re-added htc locations (Laputa) for 5.22 build
    - minor things ...
    - better reactivity with proximity sensor when calling.
    [15 apr]
    - new version:
    modifying bcm4329 branch to _245
    corrected init when only 1 partition on sdcard

    - no need of setcpu, managing it in kernel with perflock and smartass
    - new wpa-supplicant, then wifi tethering now works fine with new kernel
    - working dspmanager
    - shared media working
    - modifying cached/uncached apps
    - adding new script: dlreport, which generate a tar file with all we need to have a "photography" of your system.
    - modifying swap size to limit out_of_memory errors when installing lot of apps at once.
    - modifying vinit/init to solve (i hope so) cwm / wp7 / sd-haret issues.
    - kernel 1.6: totally backported net stack from rafpigna instead of tytung, adding 2 way call recording, new bt stack, tweaked smartass and bfq as default scheduler, activating htc boot perflock.

    [10 apr]

    Initial 5.x release
    - desireZ, themed and incredibleS version
    - aufs/lzma by default
    - kernel freak 1.5c