FORUMS

[ROM][WIP] CM11 Badadroid v4.4

366 posts
Thanks Meter: 2,293
 
By volk204, Inactive Recognized Developer on 13th January 2014, 10:10 PM
Post Reply Email Thread
CM11 for WAVE and WAVE 2
Android Kitkat 4.4.2


Hi All,

So once again it’s time to upgrade our project to Android 4.4.2
Previous versions:
CM10: http://forum.xda-developers.com/show....php?t=1851818
CM10.1: http://forum.xda-developers.com/show....php?t=2400126
CM10.2: http://forum.xda-developers.com/show....php?t=2550138

Let’s emphasize that-- THIS IS AN ALPHA, RELEASED FOR YOU TO PLAY WITH AND GET A SENSE OF WHAT’S TO COME. AND SOME THINGS DOESN’T WORK. REALLY. IF YOU ARE EXPECTING ANYTHING CLOSE TO PERFECTION, WALK AWAY FROM YOUR COMPUTER, LOWER YOUR EXPECTATIONS FOR AN HOUR OR SO, THEN COME BACK. MORE EXCITING DISCLAIMERS/WARNINGS IN ALL CAPITAL LETTERS CAN BE FOUND BELOW. READ THEM.

FEATURES
Android 4.4.2
CM sources of 13.01.2014
Updated to linux kernel version 3.0.101
270 MB RAM

KNOWN BUGS (what doesn't work):
- Network registration don't work with some SIM cards
- Conference Calls
- Some problems with audio codec settings, but generally it should
- Impossible to shut down phone in android, only restart
- Don't leave phone charging without supervising - if it gets enormously hot, disconnect it - this can literally blow up battery as there is no overheating protection yet. Do not leave it connected on 100% - it'll discharge by 1% all the time, and then recharge, what's very unhealthy for battery.
Maybe something else, what i forgot

SUPPORT
You get none. Zero. Zip. We obligate ourselves to providing nothing further. You are on your own and will have to help each other via this thread. This is provided “as-is”, and if you don’t like it, use Bada or other releases.
We basically lack time to give full dedication to this rom, and we’re looking for skilled devs who know the Android, and/or other things that might be relevant.

Please join us on IRC: some people are on #badadroid (freenode).

BUG REPORTS
This is the format for a bug report: “XXXXX isn’t working. Here is how to fix it: [INCLUDE SOLUTION]” Don’t have source? Too bad.
You’ll have to wait then.
If you report bugs, please don’t be disappointed if we can’t fix them immediately (or even never). It’s not because we don’t care, but because we don’t have time or don’t know how to fix it.
Please attach logcat and dmesg dump in your bug report. Dmesg should contain messages from both - bootup and issue occuring (you can't dump it 1 hour after bootup, rather 2 minutes after)
How to dump logs - Google for "android logcat dmesg" Or... whatever, here's one of 3204109 methods available.
Quote:

In the Terminal Emulator enter:
"su"
Accept request for SuperUser access.
"dmesg > /storage/sdcard1/dmesg.txt"
"logcat -b system -b radio -b events -b main -d -f /storage/sdcard1/logcat.txt *:V"
"logcat -b radio -d -f /storage/sdcard1/radiolog.txt *:V"
Download them from phone, archive and upload them.
Privacy warning: Your logcat might contain sensitive information like your IMEI, IMSI, cell stations you were nearby, numbers you called and got calls from and SMS sent and received. If you don't want to publish this info - send them privately to one of developers.

If the Badadroid is restarting before you're able to catch any log:
Quote:

Download http://goo.im/devs/Rebellos/wave/bterm.exe
Try to start kernel normally, when you see Badadroid logo start holding the middle key pressed. Keep the middle key pressed until phone restarts and shows the text: FOTA DOWNLOAD MODE & bTerm
Connect phone to PC.
Start bterm.exe
Type 4 commands:
Code:

open
dumpram 0x4FF00000 0x100000
close
exit

There should appear file called dump_ram_0x4FF00000.0x00100000.bin - pack it and attach it to your bug report.

Bug reports without logs are completely useless.

NOTE: DEVELOPERS WANTED. Please contact us if you are a developer with something to contribute.
I do heavily encourage to work together on the better, common project instead of making kang releases and demanding money for somebody else's work.
Read as: If you think you can make something better than this by doing less and muchazo Ctrl+C Ctrl+V - you suck, go figure the rest.

HOW TO BUILD
I do recommend perfect tutorial by fattire: https://docs.google.com/document/d/1.../edit?hl=en_US
Of course you have to init with -b cm-11.0 and modify some steps.
local manifest to use: https://raw.github.com/Badadroid/and...l_manifest.xml
I do it like this:
Code:
cd ~
mkdir wave
cd wave
repo init -u git://github.com/CyanogenMod/android.git -b cm-11.0
cd .repo
wget https://raw.github.com/Badadroid/android_wave_local_manifest/cm-11.0/local_manifest.xml
cd ..
repo sync -j8
cd vendor/cm/
./get-prebuilts
cd ../../
. build/envsetup.sh
brunch wave
device name is wave so the build invocation can be brunch wave

FIRST INSTALLATION
Bada 2.0 is required
  1. Enter Bada Settings->General->Memory and make sure you have at least:
    370MB of free "System" memory
    160MB of free "User" memory
    400MB of free "Applications" memory
  2. Download BOOTFILES, armlinux_boot for your device:
    for 8500:
    http://yadi.sk/d/W4RjnjQRC6TfP
    http://yadi.sk/d/Yz7_dfpkC6TkC
    for 8530
    http://yadi.sk/d/kxJ0CZ20C7AKF
    http://yadi.sk/d/zqzWZ9LmC7AJA
    (please pay attention if it's S8500 or S8530 BOOTFILES and FOTA you're choosing!):
  3. Download ROM from CHANGELOG section
  4. Start Bada.
  5. Extract zImage from zip and copy it to the Bada's User partition (the one about 390MB big).
  6. Copy whole .zip to the Bada's User partition or SD Card.
  7. Flash BOOTFILES and FOTA using Multiloader.
  8. Reboot the phone holding Power and Call key.
  9. FOTA set of red messages should appear, after about 15seconds Badadroid logo shows up.
  10. Be patient, first bootup will keep unresponsible on Badadroid logo for up to 5 minutes.
  11. CWM Recovery starts, pick:
    - "install zip"
    - "choose zip from from storage/sdcard1"
    (Bada's User partition) or "choose zip from storage/sdcard0"(SD Card)
    - cm-11-wave-<release id>.zip
    - Yes - install
  12. Reboot holding the Power key
You can remove installation .zip from the User partition from Android level by connecting through USB in MTP mode.
Do not remove zImage file.
Normal bootup is available using Power+Call keys
CWM Recovery mode is available using Power+Volume Up keys
CWM Flashing does overwrite zImage. So every next update you can just flash .zip through CWM.

For activation Performance and Developer Options categories in Settings you need Settings->About Phone and tap 7 times on Build number

GAPPS
GAPPS make our ROM slowler, because also slim GAPPS take about 15-20 MB RAM permanently
SLIM GAPPS: http://devhost.xda-developers.com/users/ZordanKV/?fld_id=28623#files

HOW TO UNINSTALL
Follow the steps there: http://forum.xda-developers.com/show...&postcount=393

THANKS TO

Special thanks to Rebellos for his CM10 ROM, for his good sources and many time, what he spent for my learning
Another Badadroid devs: Oleg_k, mijoma, nbates66, anghelyi, mikegapinski, hunktb, autra, Tigrouzen and many others.
CyanogenMod team for base ROM
Pawitp, kasper_h and all other aries developers
Paulk and Replicant project for good base for bada-modem RIL
and many other who help us.

CHANGELOG:
v4.4 http://www.multiupload.nl/SX2RTH51BC
- CM sources 2.06.2014
- Patches from SGS

v4.3 http://www.multiupload.nl/QS4A17BXXW
- CM sources 30.03.2014
- Many changes from CM core team
- Kernel with new optimization (Last Mackay Kernel from Nameless ROM)(new Zram algorithm, GPU fixes and etc. )
- Included fix for Wave2 from chemosun. This patch reduce Wave 2 screen wake up bug, i don't know about battery drain. He sent me it several months ago, but i forgot to include it to previous release
- Screen Frame rate path. Thanks to Alberto96
- Disabled 720p recording/playback. Big thanks to Alberto96 for idea and sources. It gave us more RAM.(total available in ROM 283MB) It is correctly disabled in ROM. so Photo camera is fully working, video camera is only 480p. For 720p playback you can use third-party apps like MXPlayer and etc.

If you go from previous releases, you need to clean data for Gallery and Camera application


v4.2 http://www.multiupload.nl/ZGB2Z5YOWD
- CM sources 21.02.2014
- Many changes from CM core team
-Added Basic GPS

v4.1.1 http://www.multiupload.nl/B7M535UJXH
- CM Sources 01.02.2014
- Zram 120Mb by default
- Some improvements for bootanimation
- Fixed some mistake in init, which can be the reason of some wi-fi problems

v4.1 http://www.multiupload.nl/5L9CCWZ4XA
- CM sources 28.01.2014
- Many changes from CM core team: Call delay workaround by pawitp was merged to CM sources, so no need to flash it
- Added test Battery thread to RIL https://github.com/Badadroid/android...0c108773cf9ffd
- Added overlay for hardware camera key

v4 Initial CM11 release: http://www.multiupload.nl/YHC2P74SJZ
- CM Sources 13.01.2014
- Big patch set from mackay kernel http://forum.xda-developers.com/show....php?t=2532813 :
updated CPU governors, I/O schedulers, and many other performance patches
- 80Mb zRAM

MORE LINKS
Overall project thread - http://forum.xda-developers.com/show....php?t=1459391
The Following 95 Users Say Thank You to volk204 For This Useful Post: [ View ] Gift volk204 Ad-Free
14th January 2014, 01:17 AM |#2  
black0000's Avatar
Senior Member
Flag mumbai
Thanks Meter: 87
 
More
question
thanks for update
this cm11 is running dalvik or art?
14th January 2014, 04:48 AM |#3  
OP Inactive Recognized Developer
Flag Moscow region
Thanks Meter: 2,293
 
Donate to Me
More
Quote:
Originally Posted by black0000

thanks for update
this cm11 is running dalvik or art?

Dalvik is default Android Runtime for all kitkat ROMs.

Art is experimental feature from Google and still is WIP:
You can read more here:
http://source.android.com/devices/tech/dalvik/art.html

CM officially don't support Art, though it is possible to switch to Art in developer options
The Following 10 Users Say Thank You to volk204 For This Useful Post: [ View ] Gift volk204 Ad-Free
14th January 2014, 05:33 AM |#4  
black0000's Avatar
Senior Member
Flag mumbai
Thanks Meter: 87
 
More
Quote:
Originally Posted by volk204

Dalvik is default Android Runtime for all kitkat ROMs.

Art is experimental feature from Google and still is WIP:
You can read more here:
http://source.android.com/devices/tech/dalvik/art.html

CM officially don't support Art, though it is possible to switch to Art in developer options

according to you which one is better dalvik or art gor our wave
The Following User Says Thank You to black0000 For This Useful Post: [ View ] Gift black0000 Ad-Free
14th January 2014, 05:42 AM |#5  
OP Inactive Recognized Developer
Flag Moscow region
Thanks Meter: 2,293
 
Donate to Me
More
Quote:
Originally Posted by black0000

according to you which one is better dalvik or art gor our wave

I didn't try Art, i can say that after last optimization changes performance is good enough even with dalvik.

@hero355, what you can say about performance of this ROM after playing Asphalt 7 on it?
The Following 7 Users Say Thank You to volk204 For This Useful Post: [ View ] Gift volk204 Ad-Free
14th January 2014, 06:28 AM |#6  
Senior Member
Flag Baku
Thanks Meter: 1,897
 
Donate to Me
More
Thumbs up
Quote:
Originally Posted by volk204

I didn't try Art, i can say that after last optimization changes performance is good enough even with dalvik.

@hero355, what you can say about performance of this ROM after playing Asphalt 7 on it?

Firstly I want to say big that's to volk204 for his great work

This time really it's a big step in badadroid development.

I've tested several kernel and I can say The phone is simply flying,The performance and optimization is perfect and we got now almost stable for 4 years old Samsung Wave phones

Secondly I've tested game performance and my tests was on Asphalt 7, (I haven't time for test other games- I'm not a gamer )
As you know there are some kernels with bigmem and zram .
I've tested all kernels with asphalt 7 and while all my tests I used 100~1000 MHz with interactive governor and game was running perfect
The best game performance was zram 120 with 1000mhz, I don't even imagine that with bigmem zram120 + 1400mhz it'll fly

So I can say now time to revert android to default

Thanks again volk204 and all badadroid developers
The Following 13 Users Say Thank You to hero355 For This Useful Post: [ View ] Gift hero355 Ad-Free
14th January 2014, 07:19 AM |#7  
Senior Member
Thanks Meter: 327
 
More
Question: does the bigmem kernel allow photo taking? I can live without video but not without camera/flashlight...
14th January 2014, 08:08 AM |#8  
OP Inactive Recognized Developer
Flag Moscow region
Thanks Meter: 2,293
 
Donate to Me
More
Quote:
Originally Posted by Stevethegreat

Question: does the bigmem kernel allow photo taking? I can live without video but not without camera/flashlight...

AFAIK camera is not working at all and photo also on Bigmem, added to OP, but i really don't see anysense to use bigmem, because in normal mode all is OK))
The Following 8 Users Say Thank You to volk204 For This Useful Post: [ View ] Gift volk204 Ad-Free
14th January 2014, 08:10 AM |#9  
Guest
Thanks Meter: 637
 
More
Quote:
Originally Posted by volk204

AFAIK camera is not working at all and photo also on Bigmem, added to OP, but i really don't see anysense to use bigmem, because in normal mode all is OK))

Hey, nice work as always! But any chance of NAND version for this ROM?
Or can we use without bada n Tigrouzens Fota?
14th January 2014, 08:28 AM |#10  
Sandeep Srikantam's Avatar
Senior Member
Flag New Delhi
Thanks Meter: 30
 
More
Quote:
Originally Posted by Stevethegreat

Question: does the bigmem kernel allow photo taking? I can live without video but not without camera/flashlight...

No, camera app will not work, so no photos and video capturing.
14th January 2014, 08:44 AM |#11  
OP Inactive Recognized Developer
Flag Moscow region
Thanks Meter: 2,293
 
Donate to Me
More
Quote:
Originally Posted by sadiq23

Hey, nice work as always! But any chance of NAND version for this ROM?
Or can we use without bada n Tigrouzens Fota?

No correct charger - No NAND version
The Following 3 Users Say Thank You to volk204 For This Useful Post: [ View ] Gift volk204 Ad-Free
Post Reply Subscribe to Thread

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

Advanced Search
Display Modes