[ROM] RZ Baseline [FRG83D]

Discussion in 'Raidzero' started by raidzero, Oct 20, 2010.

  1. raidzero
    Offline

    raidzero n00b. Theme Developer Premium Member Developer

    Joined:
    Apr 15, 2010
    Messages:
    1,054
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    Denver, CO
    Ratings:
    +3
    This is the ROM thread.
    Kernel Thread
    Recovery Thread

    RZ Baseline v.0.3 ROM


    FEATURES
    ---
    -=NOT FROM SOURCE=-
    -=rom.tgz format (requires SPRecovery or RZrecovery)=-
    -=FRG83D=-
    -=Barebones=-
    -=NOT FROM SOURCE=-
    -=fully deodexed=-
    -=fully zipaligned=-
    -=rooted, busybox=-
    -=automatic theming during installation=-
    -=reboot/recovery options=-
    -=NOT FROM SOURCE=-
    -=volume button music controls=-
    -=2 kernel selection=-
    -=RZ kernel automatic overclock=-
    -=Stock & Blue Theme=-
    -=NOT FROM SOURCE=-
    -=Long press back to kill foreground application=-
    -=Restart Android GUI on reboot menu=-
    -=3 shell choices=-
    -=5 system/transition animation schemes=-
    -=emergency hotkeys=-
    ---
    ---
    1/21/11 - Updated v 0.3
    UPDATED v 0.3
    ---------------------------------
    -=Updated Core to FRG83D=-
    -=Added hot reboot (restart android GUI but not the
    whole phone) option on reboot menu=-
    -=Fixed silent mode strings & images in power menu=-
    -=Added support for initscripts in ramdisk (run any
    scripts in /system/etc/init.d on boot)=-
    -=Changed kernel selection to Low Voltage(1.1GHz @ 1.525V) and
    Standard Voltage(1.1GHz @ 1.6V). Wifi and all modules included
    in both. 10 runs of quadrant average score: 1634.9=-
    -=Changed install routine to not automatically extract system (useful
    for changing shells, theme, animations)=-
    -=RZ_system.tar installs from SD (slows down the initial
    install but reduces the risk of filling the filesystem)=-
    -=Removed Spare Parts & DroidForums app=-
    -=Added script to set system animation speed to arbitrary value
    (animset)=-
    -=Made proper toolbox & busybox symlinks (using busybox everywhere
    possible)=-
    -=Fixed a bug where theming would create an impossible ..apk file
    in /system/app, also REALLY speeds up theming process since this
    impossible file is not created, not to mention less in the output
    filesystem so there should be a theoretical filesystem performance
    increase=-
    -=Updated Voice Search=-
    -=Updated Facebook=-
    -=Updated Youtube=-
    -=Updated Launcher Pro=-
    -=Updated Market=-
    -=Optimized zipalign routine (only zipaligns what is themed at the
    very end instead of after each step)=-
    -=Removed comment & blank lines from all files - left shebangs in
    scripts - in system & ramdisk (saves marginal space & conceivably puts
    less stress on the file parser)=-
    -=added option to choose between shells (bash, stock, busybox)=-
    -=added RZrecovery* & autodetects installed recovery and prompts to flash RZrecovery
    if applicable=-
    -=removed boot animation=-
    -=updated busybox to v18.0=-
    -=removed extra language text to speech files, left only US english=-
    -=Added automatic installation mode: installs ROM with no choices,
    much like an update.zip does. Manual mode also available.=-
    -=Added emergency reboot hotkey (vol down + power)=-
    -=Added emergency reboot recovery hotkey (vol up + power)=-
    -=Removed all the themes. It's just too much work to keep up with
    them. I now offer a basic blue theme that does not interfere with market apps.=-
    -=LZMA compressed kernel and ramdisk. Still supports gzipped/bzipped ramdisks=-
    -=Added option to install custom animations (thanks MagnusRagnarok of XDA!)=-
    ---------------------------------

    ---------------------------------
    *Kernel
    ---------------------------------
    Kernel Voltage & Speed Slots:
    LV:
    250 MHz hex 21 dec 33 1012.5 mV
    350 Mhz hex 24 dec 36 1050 mV
    550 MHz hex 33 dec 51 1237.5 mV
    800 MHz hex 38 dec 56 1300 mV
    900 MHz hex 3e dec 62 1375 mV
    1.0 GHz hex 45 dec 69 1462.5 mV
    1.1 GHz hex 4a dec 74 1525 mV

    SV:
    250 MHz hex 22 dec 34 1025 mV
    350 MHz hex 24 dec 36 1050 mV
    550 MHz hex 34 dec 52 1250 mV
    800 MHz hex 3b dec 59 1337.5 mV
    900 MHz hex 3f dec 63 1387.5 mV
    1.0 GHz hex 4d dec 77 1562.5 mV
    1.1 GHz hex 50 dec 80 1600 mV
    ---------------------------------


    ---------------------------------
    *RZrecovery:
    ---------------------------------
    -=Linux kernel 2.6.29, could not get charging to work on newer kernels=-
    -=Overclocked to 1.1ghz, LV kernel w/ interactive governor=-
    -=Arbitrary update.zip selection (don't have to rename files to update.zip).=-
    -=rom.tgz support (of course)=-
    -=Unsigned update.zip support=-
    -=Ability to wipe any partition on the device (system, data, boot, cache, misc)=-
    -=No automatic backup when installing a rom.tgz=-
    -=Pretty colors ;)=-
    -=Arbitrary kernel/recovery image install from /sdcard/recovery & /sdcard/kernels=-
    -=Wipe battery statistics=-
    -=Help menu=-
    -=Battery Charging=-
    ---------------------------------



    11/5/10 - UPDATED v 0.2

    -=Added wipe rom.tgz for those without enough space to install ROM=-
    -=Made proper strings for shutdown/reboot menu=-
    -=Changed long press back timeout to 3 seconds, made proper string=-
    -=Added toast popup activation reminder to welcome wizard=-
    -=Customized Welcome Wizard welcome string & color=-
    -=Themed Gallery3d wallpaper cropping square=-
    -=Optipng'ed all PNG's in ROM=-
    -=Removed accessibility features=-
    -=Removed LatinImeTutorial=-
    -=Incuded light side & dark side versions of themes (white on black fw
    inversion or black on white fw inversion)=-
    -=Included stock theme=-
    -=Changed boot animation (stock - gets colored during install)=-
    -=Themed volume level/popup images=-
    -=New theming routine to fit 19 themes into the package=-
    -=DARK: changed orange "sound is on" string to white on lockscreen=-
    -=LIGHT: moved lock screen carrier text to right side of screen=-
    -=LIGHT: Root Explorer (if installed) patch to fix colors (white on white)
    -=LIGHT: SetCPU (if installed) patch to fix colors (white on white)
    -=Updated Facebook to latest version=-
    -=Fixed Facebook dark theme empty layout (no more white background while
    loading a page)=-

    How to run patch scripts:
    open terminal (adb or on device)
    $su <enter>
    #SC_fix <enter>
    reboot




    BACKGROUND

    It looks like poor old rom.tgz got forgotten long ago. I intend to bring it back, to show people that rom.tgz is the most powerful & versatile ROM distribution format. I also want to demonstrate that ROMs based on the OTA do not suck.

    If you were ever into the Windows Mobile ROM scene (particularly Touch Pro/Touch Pro 2) you might recognize the Baseline name. I decided to continue the name because I like it, and I consider my ROM to be pretty much as baseline as it gets while still maintaining usefulness. Plus I think it's a clever double-entendre that you will hopefully discover. My philosophy is minimalism in the pursuit of stability, speed and battery life.

    I made a ROM for the Droid because I cannot run AOSP-based ROM's due to some Exchange server problems. (NOTE, I can run gingerbread, so you might see some gingerbread AOSP stuff from me eventually). I took the OTA and rolled it into what I think is the ideal package. I ripped off the features I missed from AOSP-based ROMs like Sapphire and CyanogenMod and added them to the OTA ROM. I also wrote a theming routine that runs during install so it's easy to switch colors. This does the same thing as MetaMorph, but in recovery so as to not disturb any of your settings (Not to mention it takes about 30 seconds to apply each color - MM took at least 5 -7 minutes if I recall correctly). Remember having to reset widgets and log into your accounts over and over when applying framework MetaMorphs? You won't have to worry about this here. You will not find any fluff in this ROM.

    The kernel is 2.0MB and I think it is a speed demon. I set it to 1100MHZ at 1.525v, that was the lowest stable voltage *MY* Droid could run. I also supply a 1.6v one called SV which you can select at install. You can also choose to leave whatever kernel you had prior to install.

    You can "reinstall" the ROM over and over to swap between colors/animations/shells, just do not tell it to wipe anything if you value your data.

    Emergency hotkeys: reboot / reboot to recovery. Only use if the entire system locks up. it will issue a direct reboot to the kernel without performting any other operations like unmount, network stop, etc. These should only be used in emergency situations when you don't want to pull the battery. Not that you will need them :p

    SCREENSHOTS:
    dancedroid
    [​IMG][​IMG][​IMG]
    dancedroid
    [​IMG][​IMG][​IMG]
    dancedroid
    [​IMG][​IMG][​IMG]

    (This is the Blue theme. It is simple and does not interfere with market apps. Stock theme is also included.)

    CREDITS


    Thanks to xeudoxus, slayher, cvpcs, pandroid, peteralfonso, Tim-o-tato, sniffle13, xfireguru, koush, JesusFreke, bgill55, liquid0624, trevorj, thebowers, rotordroid, MagnusRagnarok you, and the rest of Droidforums!
    (If I left anyone out I will add upon request)

    Donate
    Help me get better web hosting!
    https://www.paypal.com/cgi-bin/websc...ton_id=7397475

    DISCLAIMER

    I do not take any responsibility for anything negative that happens to your droid or life ;)

    INSTRUCTIONS

    Install SPRecovery or RZrecovery if necessary. Then put the rom.tgz in the root of your SD card and boot into recovery. Select Install>Choose ROM from SD card. A backup will be created automatically (if on SPR, if on RZR you are responsible for your own backups) and then the pre-installation script begins:

    Your first choice will be what kind of installation you want. Select automatic to get an update.zip style install, which will wipe system, data & cahce, install the stock theme with stock animations and stock shell. If you choose manual you get the cool stuff... Whether or not you would like to wipe system/data/cache: say yes in most cases unless you are just changing themes/shells/animations. Choose a kernel and choose a shell. Next the system will install itself and the post-install script will begin:

    You will be prompted to select your animations & theme. If you do not wish to change the animations or theme (if just changing kernels for example) select the first option. During theming the colors will be applied and every themed APK zipaligned. You will be asked to choose a kernel or leave what you've already got installed. This should be self-explanatory. Use your current one if you want. Once you do this symlinks will be created. Launcher Pro will be installed next. They will be installed to /data so that they can be updated :) You may have to activate your phone if coming from any other ROM. I added a toast to the welcome wizard to remind you ;) After this you can do whatever you want, but I encourage you to set the animation speeds to 0.3 seconds via the animset script. This will be done automatically once I figure out how. :) Enjoy!


    KNOWN ISSUES

    If in the middle of extracting the ROM in SPRecovery you are returned to the main menu, it means you do not have enough space on your device to hold the files until they are moved to their final resting places. I wrote a little rom.tgz to wipe the entire phone except for the recovery. Your phone will be less than useless until you install a ROM after running this script.

    http://www.rzroms.com/droid/roms/RZ.Baseline.Wipe.rom.tgz


    wipes the following areas clean:

    boot (kernel)
    system (rom)
    data (user data & apps)
    cache (dalvik cache)

    ROM DOWNLOAD

    http://rzroms.com/droid/roms/RZ.Baseline.v.0.3.rom.tgz

    RZRecovery:

    http://www.droidforums.net/forum/raidzero/107195-recovery-rzr-spr-based-update-zips-battery-charging-more.html

    INSTALLATION ROUTINE SCREENSHOTS:

    RZ Baseline ROM install
    (these are probably no longer current)


    Did I mention this ROM is NOT FROM SOURCE? Any of the features that are typically only in AOSP-based ROMs have been done in dalvik bytecode via JesusFreke's smali/baksmali suite. It is built off of the FRG83D OTA, the same thing Bugless Beast is made from. I made it for fun, and to learn the rom.tgz ways. I hope you find it useful.
     
    Last edited: Feb 13, 2011
  2. bgill55
    Offline

    bgill55 Silver Member Theme Developer

    Joined:
    Feb 8, 2010
    Messages:
    2,344
    Likes Received:
    8
    Trophy Points:
    103
    Ratings:
    +8
    Very Nice Might have to fire up the D1 and check it out!!!
     
  3. pandroid
    Offline

    pandroid Theme Developer Theme Developer

    Joined:
    Dec 16, 2009
    Messages:
    850
    Likes Received:
    0
    Trophy Points:
    16
    Ratings:
    +0
    best non aosp rom around
     
  4. droidbionic
    Offline

    droidbionic Member

    Joined:
    Jul 9, 2010
    Messages:
    245
    Likes Received:
    0
    Trophy Points:
    16
    Ratings:
    +0
    looks cool
     
  5. droidbionic
    Offline

    droidbionic Member

    Joined:
    Jul 9, 2010
    Messages:
    245
    Likes Received:
    0
    Trophy Points:
    16
    Ratings:
    +0
    are scripts useful? like blockads and soundoff
     
  6. raidzero
    Offline

    raidzero n00b. Theme Developer Premium Member Developer

    Joined:
    Apr 15, 2010
    Messages:
    1,054
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    Denver, CO
    Ratings:
    +3
    ads are blocked automatically, what do you mean by sound off?
     
  7. raidzero
    Offline

    raidzero n00b. Theme Developer Premium Member Developer

    Joined:
    Apr 15, 2010
    Messages:
    1,054
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    Denver, CO
    Ratings:
    +3
    and thanks! :)
     
  8. kook
    Offline

    kook Premium Member Theme Developer Premium Member

    Joined:
    Dec 29, 2009
    Messages:
    2,041
    Likes Received:
    0
    Trophy Points:
    101
    Ratings:
    +0
    Think they mean Camera sounds.
     
  9. sneaky_zekey
    Offline

    sneaky_zekey Member

    Joined:
    Dec 12, 2009
    Messages:
    842
    Likes Received:
    0
    Trophy Points:
    16
    Ratings:
    +0
    havent seen the rom.tgz formate in a long time. it was the best way IMO,cause you had choices. now its even you get everything in the rom or nothing at all. unless you change the update.zip package but not evevery users knows how to do that
     
  10. droidbionic
    Offline

    droidbionic Member

    Joined:
    Jul 9, 2010
    Messages:
    245
    Likes Received:
    0
    Trophy Points:
    16
    Ratings:
    +0
    soundoff is a script in the rom Liquid Frozen Yogurt v1.7 that turns off shutter sounds from the camera
     
  11. raidzero
    Offline

    raidzero n00b. Theme Developer Premium Member Developer

    Joined:
    Apr 15, 2010
    Messages:
    1,054
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    Denver, CO
    Ratings:
    +3
    camera sounds I imagine you could just make an ogg sound file that was empty and replace /system/media/notifications/ui/camera_click.ogg...

    sure I'll make some scripts for popular features.

    Working on long press back to kill the foreground app at the moment.
     
  12. Robbie72
    Offline

    Robbie72 Member

    Joined:
    Sep 9, 2010
    Messages:
    130
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Pennsylvania
    Ratings:
    +0
    No applications will download from the market and my nandroid bootloops. What can I do?
     
  13. raidzero
    Offline

    raidzero n00b. Theme Developer Premium Member Developer

    Joined:
    Apr 15, 2010
    Messages:
    1,054
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    Denver, CO
    Ratings:
    +3

    did you activate the phone when you first flashed?
     
  14. Robbie72
    Offline

    Robbie72 Member

    Joined:
    Sep 9, 2010
    Messages:
    130
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Pennsylvania
    Ratings:
    +0

    yes I did. I am going back to rooted stock then try it again.
     
  15. raidzero
    Offline

    raidzero n00b. Theme Developer Premium Member Developer

    Joined:
    Apr 15, 2010
    Messages:
    1,054
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    Denver, CO
    Ratings:
    +3
    OK, the install wasn't interrupted or anything was it?

    and you wiped everything?
     
    Last edited: Oct 21, 2010