FORUMS
Remove All Ads from XDA

[NAND] Warbyte Donut for Kaiser - RLS04 Oct 21 - compcache and market! / General help

411 posts
Thanks Meter: 47
 
By WarByte, Senior Member on 30th September 2010, 10:42 PM
Post Reply Email Thread

Sad news right before we end this year. Today (12-28-2010) I accidentally stepped on my Kaiser and though it endured like a champ it was too much to ask from the screen and it cracked. No more Kaiser for me so this project is coming to an abrupt end. If I find a Kaiser and it is flashable then I'll gladly continue and move on, hopefully on Froyo but until then I wanna thank all of those wonderful people who took part in this thread either by providing feedback, asking, helping or even just reading. It was a great experience. Happy new year to everybody!


What this is:

This is my personal attempt at a flexible, responsive, complete, and stable Donut release. My first release was based on Dzo's Odexed version and from there things have been evolving.

This thread has also been gathering some really interesting info so it might as well serve for helping anyone out there so feel free to look for any info you need or ask but please search before you do because the answer might have been given here or in another thread already. Feel free to contribute with any info or apps but please respect XDA's rules and respect other members. No keygens, serials, cracked apps, any request about it or any contribution containing them is allowed. If I miss any rule being broken (most likely due to my time constraints) then a moderator will catch you and ugly things will happen. You've been warned.


Thanks!

To thoughtlesskyle for his answers to many questions and help in the thread, Millence for his info about compache running as a service in VaniljEclair, elander, marcelotorres, albertorodast2007, and snake664 for his patience, interest, extensive testing, and much appreciated feedback. Thanks to anyone else involved and supporting this thread. If for any reason I forgot your name here I apologize, pm me and I shall make the necessary changes.


Why another Donut?

Edit: Even shorter version - One day things went very wrong for me when I flashed a stock ROM by accident that contained an original SPL 3.34. The process stopped halfways and rendered me unable to flash anything else on my phone. The last thing I was able to flash was an Eclair kernel that I edited to fit Donut.

I found out about Dzo's Odexed release and though it was great to say the list I soon realized that having an odexed version wasn't very helpful if you needed to change things. I went ahead and got all deodexed, changed, themed, updated, mixed, messed up, fixed again, zipaligned and all that good stuff.


Some work I would like to respect by encouraging you to visit, try, and support:


Last notes about the packages:

As of RLS04 there is an AE version (APKtor Edition) which does not contain preinstalled apps besides Helix Launcher and APKtor. It is configured to point to a repository I am currently hosting and that aims to contain this thread's favorite apps list.

The stock launcher is not included as I have never used it, you can however install it and use one of the custom and awesome looking updates from Incubus26jc's addons for Warm Donut.

There is no file manager included. That way everyone can use Market and install Astro or whatever suits their needs.

The included kernel was modified to fit a Kaiser, at 320x428, version is set to Donut, Panel Type 1, Key Map is normal, and Battery set to 1350. If you need something different please use Atools to edit it and match your needs.

There is no battery patch in sysinit.rc as I think it is unreliable based on the fact that several people get really different results. I prefer to go with editing the value in kernel set to the actual capacity of the battery.

The build is set to 143 DPI based on Zenity's research about 320x428 resolution.

Please be aware that there is some /data partition corruption depending on the kernel you use. I moved my /data to an EXT3 (EXT2 in the installer options) to help minimize this. Doing this might freeze your Kaiser when you slide the keyboard out depending on how fast your SD access is.

I generally don't have too much free time. I will try to be as helpful as time permits though I would like to rely on other people's knowledge to help each other as well.


Disclaimer:

I am not responsible for any damage to your phone you know very well we're all here to experiment and learn. If you need help with flashing ROM's, radios, and / or security unlocking please use the search feature of the forum. There is plenty of documentation that can guide you through the process.


Might be done / In progress / Included in release:

To do:
  • Resize images in some packages to fit a 120 DPI, QVGA resolution.
  • Change resources in apk's to match Froyo's look.
  • Experiment with a different wlan.ko hoping to fix wifi problems (reported by 1 user only).

Included in RLS04:
  • Compcache!
  • Custom script for loading compcache, values based on testing.
  • Custom services for persistent compcache, enable and disable.
  • Custom service for persistent 2G only networks.
  • Zipaligning diagnose script. Mainly for me as I am a zipaligning freak.

Included in RLS02 and RLS03:
  • More stability in Android core apps. Avoid force closes.
  • Fix Android Terminal Emulator force closing (Package does support a soft keyboard).
  • Include SMS Popup, enhances default Messaging app. Fix force closes.
  • Include HTC Keyboard (Mod by an XDA member). Fix force closes.
  • Switching between 2G and 3G. Can set "use only 2G networks".
  • Cell based location. Tested with OsmAnd, GPS off.
  • Working SIM lock.


Addons - Fat free blue Donut theme

Thoughtlesskyle gave us this amazing present: a ported theme from his Fat Free Froyo release. It brings a very refreshing (and black status bar) look. Tested on RLS04 and working great! Thank you!

Downloads:

Fat free blue Donut theme


Addons - Bugless Beast Sound Recorder

A recent discussion that started over at the Warm Donut thread. The stock Sound Recorder app does not have a GUI and it is just a group of functions that other programs can use. Bugless Beast's author modified the original app giving it a nice GUI. Get it here as an update for your build!

Downloads:

Sound Recorder Update


Release 04 - The Redeemer on Steroids

I consider RLS03 to be a very solid build so I am trying to get all those final touches we all wish for sometimes. This release addresses two issues: compcache and default 2G networks. Everything else is RLS03.

Compcache:

After some serious testing with my own device I came up with three different settings. There is a disk size of 16 MB, 24 MB, and 32 MB which to me are what work better in our Kaisers. RLS04 has compcache enabled with a size of 24 MB as a default setting. This is a balanced compromise between compressed caching and available RAM for everything else. After each restart the compcache settings will kick in automatically (if not disabled manually) after exactly 4 minutes, it will reserve the specified disk size or as much as it can if the total amount is not available. If you need to change some settings I included a modified script, by executing this you will be changing the persistent service settings, very simple and straightforward. If you need to change something, bring up the terminal, give yourself super user permissions (type su and press enter) and do any of the following. Please note that a what is after the # character on the same line is just a comment.

Code:
# Stop compcache immediately, toggles to enabled on reboot

compcache.sh stop
Code:
# Disable compcache, it will not load on subsequent restarts

compcache.sh disable
Code:
# Enable compcache with 16 MB disk, changes reflected after restart

compcache.sh enable16
Code:
# Enable compcache with 24 MB disk, changes reflected after restart

compcache.sh enable24
Code:
# Enable compcache with 32 MB disk, changes reflected after restart

compcache.sh enable32
Because compcache does promote data corruption I must emphasize: Create a /data backup. You'll be happier if corruption happens and you need to reinstall.

Default 2G Networks:

RLS04 sets 2G networks only as a default settings after restarts which is what works best for me and several people. After a restart you can change the setting in Wireless controls -> Mobile networks as always but 2G will persist on reboot. If you need to change this setting to have 3G as a default setting after a restart then bring up terminal emulator, give yourself super user permissions (type su and press enter) and do any of the following. Please note that a what is after the # character on the same line is just a comment.

Code:
# 3G networks as default

set2g.sh disable
Code:
# 2G networks only as default

set2g.sh enable
Warnings:
  • As with previous releases, be careful if you use QVGA, haven't tested it on that resolution, some important things might not fit well, like the numbers for unlocking your SIM

Known Issues / Notes:
  • None so far.

Additional apps included in the package:

Normal Edition:
  • Weather Wiget (Provides digital HTC like clock)
  • HelixLauncher 1.2 (Replaced ADW Launcher because current version drains battery faster)
  • HTC Keyboard (With working calibration. Long press on a text field to select as default or check "Locale & text" settings)
  • SMS Popup 1.0.9
  • Rogue Tools 1.1
  • Keep Screen 1.7
  • Android Terminal Emulator 1.0.17
  • Market Enabler 3.0.8
  • XScope GL Lite 5.34

APKtor Edition:
  • HelixLauncher 1.2
  • APKtor 1.0.8.7

Downloads:

Donut Deodexed RLS04
Donut Deodexed RLS04 APKtor Edition


Release 03 - The Redeemer

This release is what RLS02 should have been. More stability, working gps, wifi, bluetooth, camera, cell based location, and SIM lock. I ran it on NAND, works great, still with it I had some normal and expected /data corruption which reset my wallpaper. I've been running it with /data on EXT3, there is not a performance hit that I notice and I would advise the same as this helps with the partition corruption. Just in case keep a /data backup handy.

Warnings:
  • As with RLS02, be careful if you use QVGA, haven't tested it on that resolution, some important things might not fit well, like the numbers for unlocking your SIM

Known Issues / Notes:
  • Setting "Use only 2G networks" works now but it does not survive a reboot. It enables 3G as default. To solve this if you need to reboot your phone and you prefer to be in 2G you need to check the setting again.

Additional apps included in the package:
  • Weather Wiget (Provides digital HTC like clock)
  • HelixLauncher 1.2 (Replaced ADW Launcher because current version drains battery faster)
  • HTC Keyboard (With working calibration. Long press on a text field to select as default or check "Locale & text" settings)
  • SMS Popup 1.0.9
  • Rogue Tools 1.1
  • Keep Screen 1.7
  • Android Terminal Emulator 1.0.17
  • Market Enabler 3.0.8
  • XScope GL Lite 5.34

Downloads:

Donut Deodexed RLS03


Release 02

Known Issues / Notes:
  • Obsolete. I am no longer working on this particular package.

Additional apps included in the package:
  • HelixLauncher 1.2 (Replaced ADW Launcher because current version drains battery faster)
  • HTC Keyboard (With working calibration. Long press on a text field to select as default or check "Locale & text" settings)
  • SMS Popup 1.0.9
  • Rogue Tools 1.1
  • Keep Screen 1.7
  • Android Terminal Emulator 1.0.17
  • Market Enabler 3.0.8
  • XScope GL Lite 5.34

Downloads:

Donut Deodexed RLS02


Release 01

Known Issues:
  • Obsolete. I am no longer working on this particular package.

Additional apps included in the package:
  • ADW Launcher 1.1.5
  • Rogue Tools 1.1
  • Keep Screen 1.7
  • Android Terminal Emulator 1.0.17
  • Market Enabler 3.0.8
  • XScope GL Lite 5.34

Downloads:

Donut Deodexed RLS01


Release screen captures:






Thoughtlesskyle fat free blue Donut theme screen captures on RLS04:


The Following 2 Users Say Thank You to WarByte For This Useful Post: [ View ] Gift WarByte Ad-Free
 
 
30th September 2010, 11:35 PM |#2  
Senior Member
Thanks Meter: 38
 
More
wow, first time I get to post first post, what an honor, jejeje, anyways this is looking good I'll download and try it, the timing couldn't be better as I am using myn's warm donut and after messing around with njtr2 battery mods somebody told me that I'll have troubles because of the sysinit.rc had some codelines to set it at 2000mah so I had to change that, anyways since I messed both system and data so much I was going to reinstall everything, but now I'll try yours first. thanks
30th September 2010, 11:41 PM |#3  
WarByte's Avatar
OP Senior Member
Atlantis
Thanks Meter: 47
 
Donate to Me
More
Quote:
Originally Posted by elander

wow, first time I get to post first post, what an honor, jejeje, anyways this is looking good I'll download and try it, the timing couldn't be better as I am using myn's warm donut and after messing around with njtr2 battery mods somebody told me that I'll have troubles because of the sysinit.rc had some codelines to set it at 2000mah so I had to change that, anyways since I messed both system and data so much I was going to reinstall everything, but now I'll try yours first. thanks

I am glad you feel honored, you must also know this is the first thread that I create and so I am even a little nervous about the reception. Oh I know what ya mean, I've been messing around with that famous sysinit.rc and trust me, it was a headache. Tried both a new battery that I got and my old messed up one, which drops to almost nothing in 5 mins. In both cases, the battery seems to indicate an accurate current charge and recharge. Good luck with everything, and please let me know what you think
30th September 2010, 11:44 PM |#4  
Senior Member
Thanks Meter: 38
 
More
weird, I'm trying to download this from the link (mediafire) but after I click on the "click to start download" it stays on your download is about to start....
30th September 2010, 11:47 PM |#5  
WarByte's Avatar
OP Senior Member
Atlantis
Thanks Meter: 47
 
Donate to Me
More
Quote:
Originally Posted by elander

weird, I'm trying to download this from the link (mediafire) but after I click on the "click to start download" it stays on your download is about to start....

Hmmm weird, just tried the link here. Works okay and starts. I had a couple issues some weeks ago when downloading from media fire. The server would not be found, it was okay later. Could I ask you to wait a little and try again? if it doesn't work for you I will try to have a mirror link as well.
1st October 2010, 12:01 AM |#6  
Senior Member
Thanks Meter: 38
 
More
thanks for such a fast reply, I told you what happened so you know, but I was going to wait anyways, (as some say patience is the key, lol) on a side note (and a little off topic as well) could you please tell me how did you manage to get rid of the battery settings on sysinit.rc, cuz I'd love to try the new battery kernel in my current installation (as it is pretty much broken anyways) as I wait for mediafire to "like me". thanks!
1st October 2010, 12:14 AM |#7  
WarByte's Avatar
OP Senior Member
Atlantis
Thanks Meter: 47
 
Donate to Me
More
Quote:
Originally Posted by elander

thanks for such a fast reply, I told you what happened so you know, but I was going to wait anyways, (as some say patience is the key, lol) on a side note (and a little off topic as well) could you please tell me how did you manage to get rid of the battery settings on sysinit.rc, cuz I'd love to try the new battery kernel in my current installation (as it is pretty much broken anyways) as I wait for mediafire to "like me". thanks!

Sure thing. well, I guess this is gonna be a feared answer but the method is by hand. Grab an editor that does not mess up your ends of line. I use pspad for this kind of thing. the .tar file is just a compressed file you can open with winrar or 7zip for a free alternative. Open your sysinit.rc, look for the lines sys/module/board_kaiser_battery/parameters/battery_capacity, that is where the value is set. The most common builds I have seen have a #battery patch comment so you can just delete that section. Save your file, dump it back in your .tar file and install.

I have also used androidupdate.tar if you wanna make it an update instead of a reinstall, just make sure it is in the correct path. Should be the same path you see in androidinstall.tar.

One thing I gotta warn you, I have always been tempted to realign tabs and delete unnecessary whitespace. The last time I did that it resulted in weird wifi and bluetooth behavior, so be careful and only change what you need. Save a copy of your original file so you can always "update" it with the old one in case you mess something up accidentally. Patience, that works. Take a deep breath, watch some tv, then try again
1st October 2010, 01:39 AM |#8  
Senior Member
Flag Nottingham, NH
Thanks Meter: 9
 
More
Thumbs up Nice....
I must say it is refreshing to see someone doing something new with the Kaiser!!! I just may give this a whirl tomorrow!!! I'll chime in if I do......
1st October 2010, 01:03 PM |#9  
fahkin's Avatar
Junior Member
Flag jakarta
Thanks Meter: 0
 
More
i wanna try it....
let me download it first
1st October 2010, 03:31 PM |#10  
WarByte's Avatar
OP Senior Member
Atlantis
Thanks Meter: 47
 
Donate to Me
More
@cnigro1279 There aren't too many new things with this, just trying to save people some time and work I have great love for the Kaiser, it's like a good old faithful friend. It just goes through several battery packs. Please give us some feedback if you decide to try it.

@fahkin Appreciate the interest
1st October 2010, 07:07 PM |#11  
Senior Member
Thanks Meter: 38
 
More
I´ve been messing with this build for a couple of hours and I must say It is great so far, the only issues I have are: the terminal emulator force closes, but it is not a big deal I just uninstalled it and downloaded it again from the market, and the second one is not really an issue but raher a matter of taste, I installed this with the recommended resolution 320*428 with a 144 dpi setting, thinking that maybe this time I´d get it to look less blurry than last time I tried such resolution, but it´s still the same, so I´m gonna try this with 240*320 and a dpi value of 117 (as I recall being able to fit almost everything onscreen last time I did it) so, I feel tempted to ask, What are the chances of getting a fix for 240*320 resolution? (myn´s warm donut has it I think) anyways great work, oh by the way I love the look on this one, it makes me forget about froyo (although if I could them the widgets to look like the froyo´s it´d be a dream come true,lol), overall very fast and stable (so far) build, with great looks and the fact that it is deodexed leaves rom for theming it the way you like it. thanks.
Post Reply Subscribe to Thread

Tags
android, build, donut, kaiser, nand

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes