[DEV] [Huawei U8160/U8180] CyanogenMod 7.2.0-RC1 U8160 Port (14th August 2012) - Miscellaneous Android Development

CyanogenMod 7.2.0-RC1 "u8160" Port
Latest release: v1.5 [20120814]
Latest Google Apps package: 20110828
Hey folks,
This is a port of Cyanogen 7.2.0-RC1 (based on Android Gingerbread 2.3.7) for the Vodafone Smart VF858 (Huawei U8160) and Huawei X1 (U8180). The current port status is stable - all hardware is working correctly, but see post #2 for any known issues.
Pre-requisites:
ClockworkMod Recovery. The easiest method to flash ClockworkMod Recovery is via the ROM Manager application. See post #2 for more details.
Install the GooManager application from the Play store.
Installation (updating from older CM7 build):
Open the GooManager application.
Select the Check for rom updates option.
Click on the notification for the available update and then click the Download button.
When the download finishes, enter recovery and install the update package followed by the Google Apps package.
Installation (first time/new users):
Open the GooManager application.
Navigate to psyke83 -> roms -> u8160.
Click on the build you wish to install from the list.
If needed, click the Download Gapps button to download the Google Apps package. The most recent (and most suitable) version will always be selected for you automatically.
Click on the Download button to download the rom.
Once the download(s) are complete, reboot into recovery and install the update package, followed by the Google Apps package.
Important: if you are updating from a stock or custom ROM, choose the data wipe option before rebooting.
Releases / Changelog:
1.5 (20120814):
Updated CyanogenMod source
Undo modification to camera's maximum megapixel resolution for U8180 users (due to crashes)
Switch to using newer U8180 proprietaries by default
Add-on packages for USB host mode kernel, wpa_supplicant 5 and 6 (for users to test for any differences with wifi stability; base ROM uses v6 by default), U8160 and U8180 proprietaries (to test for any changes in functionality with wifi, camera and RIL).
1.4 (final) (20120802):
Hotfix 2: kernel: revert aps-12d change due to problems with proximity sensor; update 02setuphardware script to modify camera's maximum megapixel resolution on per-device basis (2mp for U8160, 3mp for U8180).
Hotfix 1: kernel: add early suspend/resume hooks to aps-12d light sensor driver, disable unused adp5587 keypad driver; remove 1600x1200 resolution filter from Camera app; add ro.config.PicMaxSize=2mp property to build.prop, which should limit libcamera's support to 1600x1200 resolution and therefore prevent camera crashes for certain users.
Updated CyanogenMod source
Consolidate all fixes from 1.4RC release + hotfixes.
Remove RomManager from default installation. Why? I no longer distribute ROMs/updates using it, and debug logging from the app suggests that it may have potential memory leaks issues. My phone now reports 45-60MB (60-75MB without Google Sync activated) free on average after removal of this package. If RomManager is still installed after upgrading to this release, it means that you have a local update installed, which you can uninstall just like a regular user app.
Re-introduce Adriano Carrata's patches: fix PIN entry in airplane mode; add workaround for apps which specify an invalid pixel format (i.e. Sygic).
Enable speex encoder support.
Implement additional patch for security issue CVE-2011-3874. Note: this vulnerability is supposed to be patched in the framework already, but the exploit test case still reports the exploit as being available. This patch may only fix the false-positive result of the exploit test. Either way, it's useful.
1.4 RC1 (20120729):
*Note: I'm provisionally marking this as a release candidate, as I've made a lot of changes to the kernel that may have unforeseen effects for certain users. If there aren't major problems, this will be renamed to the final 1.4 release.
Hotfix 5: removed akm8973 driver (not used after all), added mma8452 driver, more kernel optimizations.
Hotfix 4: added akm8973 driver (for real this time), fixed init.rc script to set U8180 model automatically, small kernel configuration optimizations.
Hotfix 3: added fixed wifi driver to solve issues with power saving mode and resume from idle (I had forgot to include this since hotfix 1 - whoops); added akm8973 and s5ksca drivers back into kernel to fix accelerometer and camera sensors for U8180 (and some U8160) users; fixed video camera mode; removed automatic reodexing option from U8160Parts (too hacky); removed U8180 branding option from U8160Parts (ro.product.model is now adjusted for U8180 users automatically on every boot).
Hotfix 2: fix U8160 (synaptics_i2c_rmi_1564) driver
Hotfix 1: re-added missing drivers and kernel config for U8180; fixed issue in which wifi would get held in maximum power saving mode under certain circumstances.
md5: 936cc309fe0a87c01091cbd0ee5edd9c
Updated CyanogenMod source
Kernel: reworked from scratch for stability (there were some errors in my previous CodeAurora merge); fixed some issues with Huawei-specific USB code; disabled Huawei virtual CD-ROM USB driver; fixed compass driver; removed Huawei wakelock/suspend code that was causing "unknown_wakeups" wakelocks to be generated, possibly draining battery; removed many unnecessary drivers & some debug options from default kernel configuration.
Wifi: Updated bcm4329 driver - adapted from clean android-msm.2.6.39 sources, including patches from Nvidia and Huawei to support our device properly; using wpa_supplicant_6 with combo scan enabled, including a fix for resume from idle. Summary: wireless should now work on all channels (>11 had issues before), hidden SSIDs work properly, and resume from idle works properly.
Removed USB host support from default kernel (will package separately)
Disable compcache (ramzswap) by default
Changed ramzswap, CIFS and TUN (vpn) drivers to modules, moved dhd.ko from boot image to /system to reduce memory footprint of kernel.
1.3 (20120625):
md5: aabb0add99abcec1ceebb5588242358f
Updated CyanogenMod source.
Add U8160Parts settings application. New options available via Settings -> Device settings: ROM re-odexing [not recommended for people already using some form of app2sd], attenuation of speaker, headset, FM radio, Kernel Samepage Merging, Swap, Generate bug report. Removed madconfig script.
Testing some patches by ac1953: automatic resume of music after interruption by incoming call; fix FM radio pop, ensure that last used frequency is properly tuned on cold start of FM app (including my change); enable workaround for invalid PixelFormat 8 (fixes Sygic).
libaudio: add FM audio attenuation support, fix minimum in-call volume causing sound to mute completely.
Resolve battery drain cause by kernel configuration in previous release (CONFIG_FB_EARLYSUSPEND has issues with suspend in Gingebread).
Revert to original bcm4329 driver (from Huawei U8180 source drop) with increased dhd_watchdog_ms period; disable combo scanning in supplicant to fix hidden networks; ensure that dhcpcd server is always stopped when wpa_supplicant is stopped. Testing to see if this improves battery usage, and/or resolves the problem with connecting to networks beyond channel 11.
[release candidate] (20120616):
Updated CyanogenMod source.
Kernel: disable framebuffer console (ANDROID text), instead transitioning directly from egg-timer (or bootsplash image, if installed) to CyanogenMod bootanimation - may improve battery
Kernel: enable USB Host mode (support modules are installed to /system/lib/modules/) - needs testing from users with OTG adaptors
Kernel: enable Kernel Samepage Merging, switch from console-based earlysuspend to framebuffer-based earlysuspend - may improve battery
New libaudio from Adriano Carrata with audio attenuation support, improved AudioFilter.csv - completely solves audio distortion
Switch to open source gralloc module (fixed - video decoders now work properly)
Fix issue in which framebuffer earlysuspend could sometimes cause the screen not to wake properly.
v1.2 (20120403):
Updated CyanogenMod source.
New kernel (based on latest CodeAurora froyo_almond branch).
Enable workaround to reduce audio distortion at higher volume levels.
Completely fixed instability/freezes related to USB tethering.
Various patches for memory leaks and minor bugs from gerrit.
v1.1 (20120317):
Hotfix 1: disable CGROUPS, fix wireless suspend stability issue
Updated CyanogenMod source - version 7.2.0-RC1
Cherry-picked various patches from gerrit to fix issues with core binaries/libraries (dalvik, bionic, zlib, etc.)
Kernel: reverted to stable 2.6.32.9 kernel due to issues with battery consumption. Note: CGROUPS is still enabled, but the Application Not Responding issue on first boot seems to be fixed
Kernel: disabled OTG support due to battery consumption issues (will package a separate kernel for interested testers)
Kernel: updated pmem driver, fixed issues with smartassV2 & interactiveX CPU governors
Wifi: stability patch for bcm4329 driver
wpa_supplicant_6: wait for control interface monitor to be brought up before starting. Improves reliability of wireless when reconnecting from idle.
libaudio: fix for minimum in-call volume being incorrectly muted in certain cases (such as on speakerphone)
GPS: use worldwide SUPL server by default
Compcache: back to 18%
ADWLauncher: lock action buttons by default (helps avoid cases in which users accidentally detach the icons for these buttons)
Change scrolling cache setting to further improve scrolling speed
v1.0 (20120227):
Known issue: you may see the message "process system is not responding" after unlock on first boot. This is due to CGROUPS being enabled in the kernel (and also happens with the stock kernel - it's not a problem with my updates). You can safely disregard the message as no harm will be done.
Hotfix 1test1 [8th March]: Changes to kernel to fix battery drain - please test.
Updated CyanogenMod source.
Kernel: now using version 2.6.32.57 (Code Aurora's froyo_almond updates + upstream's longterm 2.6.32.y updates merged)
Kernel: new bcm4329 wifi driver, which should fix reconnect from idle for hidden networks
Kernel config: enabled CGROUPS, tweaks to improve battery usage
Scrolling cache tweak.
v0.9 (20120203):
Hotfix 4test5 [21 Feb]: Revert longterm patches due to random reboot issue.
Hotfix 4test4 [21 Feb]: Kernel: fix screen not turning back on from suspend, other small fixes.
Hotfix 4test3 [20 Feb]: Kernel: rebased to CodeAurora froyo_almond branch & merged longterm 2.6.32.57 changes, updated wifi source driver.
Hotfix 3 [12 Feb]: Kernel: more stable config (enabled ARMv6 K extensions which stops USB errors; fix for U8180 key issues).
Hotfix 2 [10 Feb]: Fix call audio via Bluetooth headset; disabled AHB overclocking due to instability during USB tethering (and possibly also during other activities); wifi module now built from source to improve reliability; updated wpa_supplicant_6 to use combo scanning; re-enabled SCHED_HRTICK in config (it wasn't the cause of instability).
Hotfix 1: Fix audio routing issues that were causing problems with the mic and headset detection during calls. This may or may not affect the Bluetooth headset bug - please let me know.
Updated CyanogenMod source (almost 7.2.0-RC1).
Performance: disable scrolling cache (prevents lag)
Performance/battery: disable ICS rotation animation (it's slow and causes instability; ICS transition animations are still working smoothly)
Performance/battery: updated android staging kernel drivers from 2.6.35 kernel (notably bringing improvements to the lowmemorykiller driver)
Performance/stability: moved to stable copybit version
Stability: rebuilt kernel using 4.4.3 toolchain from CM7 source.
Stability: kernel audio driver patches to prevent rare blackscreen during incoming calls/low memory conditions
Stability: further updates to latest CAF libaudio version with FM routing code added. Bluetooth calling should work again, but needs testing.
Battery: added 2g/3g mobiledata switch option (allows you to use the mobiledata statusbar button to switch between 2g/3g network modes).
Fancy: enable electron beam animation for screen off by default (performance is satisfactory)
Reverted SIM lock change that was causing people to have problems with certain SIM cards.
FM: fixed audio routing (headphones will not longer malfunction if you use the speaker and then exit the FM app); prevent frequencies out of bounds being used; allow looping between the top/bottom of the frequency bands.
Improved mac address generator script to prevent errors for certain devices.
Increased default compcache memory allocation to 26%.
Miscellaneous code cleanups.
Now distributed via ROM Manager with a greatly simplified installation procedure.
v0.8 - 26 January 2012:
Updated CyanogenMod source (still 7.2.0-RC0).
Fix for rare issue where notification area items can get "stuck", causing notifications to malfunction.
Now includes ICS rotation and transition animations (merged officially into CM7.2)
Wifi: disable wpa_supplicant_6's combo scan to fix reconnect/hidden SSID issues
Bluetooth: disable master mode to increase reliability with some peripherals
libaudio: code cleanup (based on rmcc's geeksphone zero); removed dependency on proprietary liba2dp.so
ADWLauncher: allow rotation of home screen by default
Kernel: re-enable multitouch support (oops)
Init: reduce default mmcblk0 readahead from 2MB -> 258KB to avoid potential lag.
The phone is no longer restricted when network locked and using a different SIM card.
Small cleanups.
v0.7 - 22 January 2012:
Updated CyanogenMod source (still 7.2.0-RC0).
Kernel stability fix (disabled SCHED_HRTICK due to instability/random reboot issue).
MAC addresses for Bluetooth and wifi are now accurate.
Improved Bluetooth audio.conf based on this bug report. This should improve Bluetooth stability with audio peripherals.
Reduced default compcache memory usage from 18% -> 10% to reduce potential lag.
Reduce LatinIME landscape keyboard key height (.25in -> .23in)
Use automatic brightness setting by default.
v0.6 - 29 December 2011:
Hotfix 2 [31 December 2011]: Updated "madconfig" script. You can now run adb shell madconfig u8180 to activate U8180 ROM branding that will survive future ROM upgrades (of my own release).
Hotfix 1 [31 December 2011]: Updated kernel (further stability fixes, added interactiveX cpu scheduler, unlocked overclock frequencies up to 768Mhz); updated libaudio to increase buffer size (this improves smoothness of apps using audio - e.g., Gensoid can now play games at full 50/60fps in landscape with no visual stuttering @633Mhz, whereas before it would stutter constantly); renamed tethering device from usb -> rndis (cosmetic fix); tweaked LatinIME keyboard to use .23in key height (down from .26in).
Updated CyanogenMod source (7.2.0-RC0).
Kernel: rebuilt using latest stable linaro gcc release: 4.5-2011.11
Kernel: fixed phone freeze issue when USB tethering is interrupted. This change also seems to reduce general system lag that was being caused by a conflict in the USB drivers.
Kernel: fixed "back" softkey alignment.
Kernel: fixed touchscreen right edge sensitivity issue (portrait).
Renamed wifi device from eth0 -> wlan0 for better consistency.
Re-enabled surface dithering by default; it has been reported that font rendering is improved with this option enabled, and I don't see much performance impact when enabled.
Experimental build.prop tweak to enable 3mp camera support (untested).
v0.5 - 10 November 2011:
Updated CyanogenMod source.
Partial fix for third-party camera apps (e.g. barcode scanners).
v0.4 - 21 October 2011:
Hotfix 2 [23 October 2011]: Updated device permissions. This fixes the sound recorder and camcorder.
Hotfix 1 [21 October 2011]: Reverted to v5 wpa_supplicant. This solves the issue in which wifi refuses to connect to hidden SSIDs.
Updated CyanogenMod source.
Included some patches to bring further improvements to 2D graphics & general system performance.
Patched framework to swap volume controls when the phone is rotated 90 degrees.
Improve USB transfer speed while in UMS (USB Mass Storage) mode.
Fix some graphical corruption on widgets in stock Camera app.
Other small fixes.
v0.3 - 10 October 2011:
Updated CyanogenMod source - final 7.1 release.
Improved 2D rendering speed.
Switched to EU GPS servers.
Fixed headset/media control keys.
Re-enabled automatic brightness.
v0.2 - 3 October 2011:
Hotfix 3 [6 October 2011]: Kernel: reverted to stable compcache (ramzswap) driver. Framework: disabled JNI debugging -this fixes force-close errors in some applications such as TapFish, and increases overall system performance.
Hotfix 2 [4 October 2011]: Kernel: improved multitouch driver to fix touchscreen accuracy (especially soft keys), improved haptic feedback, fix to zram module. Small fixes to libaudio (the distortion is not yet resolved, however).
Hotfix 1 [3 October 2011]: Kernel: added compcache (zram.ko) module, reduced boot delay, unlocked 729Mhz frequency, small bugfixes. Framework: enable compcache by default (18% RAM usage, customizable in CyanogenMod Settings - Performance -> Compcache RAM Usage.)
Updated CyanogenMod source: now based on Gingerbread version 2.3.7.
Kernel now supports under/overclock from 30Mhz - 710Mhz (min/max frequency is set to 30Mhz - 600Mhz by default, so you must manually activate the higher frequencies via Settings -> CyanogenMod Settings -> Performance -> CPU settings). Thanks to estebanSannin. NOTE: My phone is very unstable at 691Mhz, and freezes immediately at 710Mhz. I am providing these higher frequencies just in case your phone has better tolerance for overclocking. I accept no responsibility for any damage caused as a result of overclocking.
FM Radio app: fixed seeking (left/right arrows).
Disabled automatic brightness (it potentially avoids battery drain, and never worked anyway). Thanks to tas0s for the tip.
Enable workaround to prevent corruption issues if you use the Simple2EXT app2sd app.
Reverted Gallery app to 2D version, due to lack of hardware 3D acceleration on our phone.
Added compatibility with sebastian404's ClockworkMod port. You can now install this ROM using his CWM recovery (as well as my own).
Improved FM volume calculation, reduced overall volume & small fixes to audio code.
Various small bugfixes.
v0.1 - 12 September 2011:
Hotfix 1 [18 September 2011]: Boot: removed custom lowmemorykiller tweaks; kernel: various updates (smartassV2, TinyRCU, Simple and V(R) IO schedulers), bugfixes and optimizations, changed default scheduler to Simple IO; libaudio: code cleanup; Framework: enabled hardware-accelerated 2D rendering.
First release. All hardware appears to be working correctly.
Source Code:
Kernel: https://github.com/psyke83/kernel_huawei_u8160
Device: https://github.com/psyke83/android_device_huawei_u8160

Getting started with ROM Manager & ClockworkMod
Skip to Part B if you have already rooted your phone.
a) Rooting your phone
Go to Settings -> Applications -> Development. Enable the option USB debugging, and wait for the debugging drivers to be automatically installed onto your PC.
On your PC, download the latest release of super1click.
Run super1click and click the Root button. Follow all of the prompts given by the application, but make sure that you choose yes to the prompt on whether to install busybox.
Continue to the next part when your phone is successfully rooted.
b) Installing ROM Manager & ClockworkMod
Install ROM Manager from the Google Play store.
Open the ROM Manager application. Choose the option Flash ClockworkMod Recovery, and confirm the phone model as Huawei U8160.
After downloading the recovery image, a Superuser prompt will ask you for permission for the application to have root access. You should Allow this action.
ClockworkMod should now be flashed to your phone.
Known issues
Excessive bass/distortion at >70% volume - workaround in v1.2.
Technical details:
Kernel 2.6.32:
CPU & AHB overclock supported up to 768Mhz, but default frequencies (122-600Mhz) are used by default for safety/stability reasons
Built-in support for CIFS, TUN, compcache (ramzswap)
Multitouch Synaptics touchscreen driver
Added extra CPU schedulers: interactiveX, smartassV2 (default)
Added extra IO schedulers: BFQ, VIO, SIO (default)
Updated Android staging drivers from 2.6.35 kernel
Patches to improve CyanogenMod compatibility (e.g. USB tethering)
Various other stability & performance patches.
Before you ask...
I have no interest or intention to further "mod" the ROM with any kind of hacks or customizations (like custom apps, themes, Swype, etc.). My only aim is to have a 100% stable port of Cyanogen code. Any such requests will be ignored.
Reporting bugs
You must follow these instructions exactly, or I will ignore your requests. Provide the following information:
The version of the ROM you are using (to confirm that you have the latest release)
Report any customizations you have made to the ROM (themes, system apps, etc.)
Describe the problem clearly, including steps on how I can reproduce the issue.
Provide a logcat from your system taken just after the issue has occurred. To take a logcat, you enter this command from your PC: adb shell logcat -d >c:\logcat.txt. Copy and paste this log to pastebin.com, and provide the link.
If I ask you to re-test the issue after a data-wipe, do the following: reboot into ClockworkMod, perform a full backup, then data-wipe, reboot and retest the issue, giving a new log if necessary. You can then reboot into ClockworkMod and restore your data backup.
Alternate download location: I would prefer if everybody used the ROM Manager application to download & install my ROMs. If you need to download from the PC, however, you can use this link.

Troubleshooting Battery:
In order to help me to troubleshoot issues with battery usage, please follow these instructions:
Charge your phone to 100% battery.
Use your phone normally for as long as possible (ideally, 12 hours) without plugging the phone into your PC or main charger for the entire test period.
When the test period has ended, plug in the phone and immediately take a "dumpstate" log:
Code:
adb shell dumpstate >dumpstate-u81x0-yournickname.log
Upload the log file to pastebin.com or multiupload.com
Provide a brief summary of your general usage during the test period, such as: wifi usage and sleep policy, 3g/data usage, approx time spent on calls/games/idle, any information you may think is helpful to troubleshoot battery drains.

I'm trying your rom and is good but i have not found FMRadio..... Sorry i found.

can i test this mod on a U8180? the hardware seems almost identical

For real? My girlfriend has this phone, and she has been jealous of the CyanogenMod on my Optimus One ever since I installed it. This should make her happy!
She currently uses the SmartLucky 2.2 Rom developed at androidworld.it, did you work on that too / reuse some of their mods or is this an independent job?
I'll get it flashed for her tomorrow probably and let you know if there are any problems.
Request for info: since this is a low end phone, how much free memory is there after flashing, and (roughly) how does it perform vs stock? I noticed a big jump from stock froyo to CyamogenMod 7 on my O1, but not as much of an improvement from stock froyo to SmartLucky, but then that is also based on a stock froyo rom...
Thanks a lot for this!!

Hi! I just bought a Huawei U8180 (called Gaga here) and am new to the android world. I have a lot of questions... First I want to thank you for this "ROM".
My first question is: "How to root the Huwaei U8180?" I tried AndRoot, ZRoot, ... none of them worked... And, after rooting, how can I install a ROM on it? And finally, will this ROM be compatible with my U8180? Thanks very much.

jajajim said:
can i test this mod on a U8180? the hardware seems almost identical
Click to expand...
Click to collapse
The framework part should work, but you'll most likely need to change the kernel and wifi modules in boot.img to match your device.
---------- Post added at 02:51 AM ---------- Previous post was at 02:50 AM ----------
wassgha said:
Hi! I just bought a Huawei U8180 (called Gaga here) and am new to the android world. I have a lot of questions... First I want to thank you for this "ROM".
My first question is: "How to root the Huwaei U8180?" I tried AndRoot, ZRoot, ... none of them worked... And, after rooting, how can I install a ROM on it? And finally, will this ROM be compatible with my U8180? Thanks very much.
Click to expand...
Click to collapse
I'm not sure about rooting - on my other phone I used Super1Click (but I almost never touch stock ROMs). I already replied to someone else - you'll most likely need to change the kernel for this ROM to work...
---------- Post added at 02:59 AM ---------- Previous post was at 02:51 AM ----------
adfad666 said:
For real? My girlfriend has this phone, and she has been jealous of the CyanogenMod on my Optimus One ever since I installed it. This should make her happy!
She currently uses the SmartLucky 2.2 Rom developed at androidworld.it, did you work on that too / reuse some of their mods or is this an independent job?
Click to expand...
Click to collapse
This is built entirely from source; SmartLucky's ROM is based on the stock ROM with "hacks" (I don't mean that in a bad way - I just mean that no source compilation / recompilation is involved). I used the Ideos Dev Team's CyanogenMod device overlay to begin my port, as the hardware is very similar.
I'll get it flashed for her tomorrow probably and let you know if there are any problems.
Request for info: since this is a low end phone, how much free memory is there after flashing, and (roughly) how does it perform vs stock? I noticed a big jump from stock froyo to CyamogenMod 7 on my O1, but not as much of an improvement from stock froyo to SmartLucky, but then that is also based on a stock froyo rom...
Thanks a lot for this!!
Click to expand...
Click to collapse
Memory usage will always be higher on a Gingerbread ROM (which CM7.1 is based on) compared to Froyo. First boot is a bit slower than Froyo due to comparatively more services being executed, but once it's loaded, in my opinion, performance is as good or better than Froyo. Just keep in mind that SmartLucky's kernel is overclocked - mine is not (yet).
I completed the port in two days, and released just under 2 days ago, so I haven't exhaustively tested everything yet. I've switched back to stock to try to reverse-engineer the stock FM radio's code. There may be some problems, but I will be maintaining the port and releasing fixes to any issues encountered.

I installed this on my U8180 and it works amazingly well. Didn't have to change a single thing.
Wifi, GPS, camera, hardware and touch buttons all work.
It does take a little longer to boot but once it is running it is much more responsive.
Only found one issue so far and that is with LauncherPro having to be force closed occasionally, also it has to reload after quitting out of an app.

bradstewart said:
I installed this on my U8180 and it works amazingly well. Didn't have to change a single thing.
Wifi, GPS, camera, hardware and touch buttons all work.
It does take a little longer to boot but once it is running it is much more responsive.
Only found one issue so far and that is with LauncherPro having to be force closed occasionally, also it has to reload after quitting out of an app.
Click to expand...
Click to collapse
Well, that's interesting...
The slow boot seems to be a kernel bug (it's continually trying to mount a virtual .iso file at /data/cdrom/autorun.iso, which doesn't exist). I'll try to remove this code from the kernel in the next release.

So if it works with u8180 can you please explain how to install it step by step? I am a total noob please i really need your help i know nothing about rooting and custom roms, please give me a minute of your time and help me install this custom rom... your help will be a lot appreciated because there are absolutely no guides about u8180 on the whole net.

I rooted my 8180 using SuperOneClick. Google it. Very easy to use. Put your phine in USB debug mode. Settings > Apps > Development.
I then loaded the Amon RA recovery using the ADB method. I can't post linkks here yet but just search for "[RECOVERY] : ClockworkMod Recovery for Vodafone Smart/Huawei U8160" and its on Modaco. That page has links to all the download files you'll need. Pick recovery-RA-u8160-v2.3.img and copy it to your SD card. Also have a copy of the new ROM on your SD card.
When using the ADB method make sure to change the file name in the last couple of steps to match the one you downloaded.
Once that it done make a nand backup of your phone from recovery. Vol Up and Down to change option and Power to select.
Once that is done you use the option to flash from zip on SD card. Select the right file from your SD and let it do its thing and then reboot.
The first boot can take quite a while, but once you see the Cyanogen bootscreen you should be good.
Hopefully that makes sense.

YAY!! I rooted it! thanks very very much! Had an issue with drivers but found this : theunlockr.com/2010/10/11/how-to-root-your-android-phone-superoneclick-method/
Reported Issues:
Issue: It gets stuck on waiting for device…
Solutions: Try these solutions, starting with the first then retry, then the second and retry, and so on until it works.
1. Check to make sure USB debugging is checked on in Settings > Applications > Development.
2. Close the rooting program. Turn off your phone (keeping it still plugged in). Open the rooting program and click root. Then turn on your phone and see if it continues.
3. Close the program and unplug the phone. Download and install PDANet and follow it’s on screen directions to get it to install the drivers manually for your phone. Once it is done installing, plug the phone in and reopen the rooting program.
4. If that still doesn’t work, then go to our How To Setup ADB Procedure, finish it and return here to start over.
Click to expand...
Click to collapse
Now its rooted, I'll continue and tell you what happens

subpsyke said:
This is built entirely from source; SmartLucky's ROM is based on the stock ROM with "hacks" (I don't mean that in a bad way - I just mean that no source compilation / recompilation is involved)
Click to expand...
Click to collapse
The SmartLucky ROM does feel a bit hacky and comes with too many unnecessary apps preinstalled in my opintion.
subpsyke said:
Memory usage will always be higher on a Gingerbread ROM (which CM7.1 is based on) compared to Froyo.
Click to expand...
Click to collapse
Do you have any recommendations for App management with this ROM? I use Link2SD, can I assume this won't be a problem on the compiled kernel?
subpsyke said:
I completed the port in two days, and released just under 2 days ago, so I haven't exhaustively tested everything yet.
Click to expand...
Click to collapse
That's pretty darn fast! I had been thinking of trying something like this myself, I just hadn't got round to it yet, work is very busy this week, but we've only had the phone a couple of weeks anyway.
Thanks!

WOAHO!!! Installed cyanogen on the huawei gaga u8180!
THANKS VERY MUCH subpsyke AND bradstewart!!! You're the best guys!!!
So, here is what I exactly did:
1 . Disconnected the phone, installed PdaNet for the drivers
2 . Downloaded SuperOneClick, connected the phone, Setting > Apps > Developpers > Enabled usb debugging and rooted it.
3 . Got fastboot.exe AND AdbWinApi.dll from the Android SDK zip, got recover.img from megaupload.com/?d=IK2UYQF9 , put them all in a directory called fastboot and placed it in C:/ (wich makes C:/fastboot) runned CMD and typed:
Code:
cd C:/fastboot
fastboot flash recovery recovery.img
fastboot reboot
4 . Once recovery installed, picked adb.exe, AdbWinApi.dll and AdbWinUsbApi.dll from SuperOneClick zip file and put them in a folder called adb and put it on C:/ (wich makes C:/adb/). Opened CMD and typed:
Code:
cd C:/adb
adb shell reboot recovery
5 . Now, in recovery mode, I backed up the system then rebooted the phone, took the backup directory from the SD card and put it in a safe place.
6 . Placed the "update-cm-7.1.0-RC1-u8160-v0.1-signed" zip file (downloaded from the first post on this thread) on the SD card
7 . Another time, runned CMD and typed
Code:
cd C:/adb
adb shell reboot recovery
then installed the ROM
8 . Cyanogen screen is here!
I don't know if I'll have other issues because I think it took 5 minutes until now and still booting... I'll give you updates.
EDIT: I had to wipe my data (something that I forgot) and also installed google apps for the android market
NOW MY PHONE IS BLAZING FAST AND RESPONSIVE, EVERYTHING RUNS SMOOTHLY AND I ALSO GOT THE ARABIC SUPPORT YOU GUYS ARE AMAZING I LOOOOOVVVVVEEEEE YOUUUUUU!!!!!!

U8180
UPDATE: thanks bradstewart !! U8180 booting cyanogen mod 7 use recover.img from megaupload.com/?d=IK2UYQF9
@ wassgha and subpsyke
sorry for my bad english
rooting and clockwork recovery (android.modaco.com/topic/341329-recovery-clockworkmod-recovery-for-vodafone-smarthuawei-u8160/) works fine.
but i get errors at "update-cm-7.1.0-RC1-u8160-v0.1-signed" zip file
screen output:
Finding update package...
opening update package...
Installing update...
assert failed: getprop/"ro.products.device" == "u8160"
...... etc. etc. ........
Installation aborted.
toggle signature verification and scripts make no difference for me. my noob "hacking" build.prop not working

had to try this on the vodafone smart tested all the functions so far and had no problems at all very good work mate the rom runs smooth and all.
The only thing that is bugging me is that the google apps package does not install gmail, youtube, maps etc maybe i am doing it wrong it just only install the market
the steps i did was
a) create recovery (worked fine)
b) wipe data / cache and install rom (worked fine)
c) same as rom select zip from sd card chose the package for google apps that is compatible with cm7 and installed
i then booted the phone and connected my phone had to choose the packages but it will not install gmail, maps etc it says there not in market any ideas how to fix this problem mate

jajajim said:
@ wassgha and subpsyke
sorry for my bad english
rooting and clockwork recovery (android.modaco.com/topic/341329-recovery-clockworkmod-recovery-for-vodafone-smarthuawei-u8160/) works fine.
but i get errors at "update-cm-7.1.0-RC1-u8160-v0.1-signed" zip file
screen output:
Finding update package...
opening update package...
Installing update...
assert failed: getprop/"ro.products.device" == "u8160"
...... etc. etc. ........
Installation aborted.
toggle signature verification and scripts make no difference for me. my noob "hacking" build.prop not working
Click to expand...
Click to collapse
Try flashing the RA recovery instead of the Clockwork one.

Kannibalism said:
had to try this on the vodafone smart tested all the functions so far and had no problems at all very good work mate the rom runs smooth and all.
The only thing that is bugging me is that the google apps package does not install gmail, youtube, maps etc maybe i am doing it wrong it just only install the market
the steps i did was
a) create recovery (worked fine)
b) wipe data / cache and install rom (worked fine)
c) same as rom select zip from sd card chose the package for google apps that is compatible with cm7 and installed
i then booted the phone and connected my phone had to choose the packages but it will not install gmail, maps etc it says there not in market any ideas how to fix this problem mate
Click to expand...
Click to collapse
I resolved this by installing Market Enabler from then market and then fakin a USA market. That will show the google maps, gmail and youtube apps on the market when you search for them

u8150
does this rom work on my u8150 phone?thNKS IN ADVANCE!

Related

[UNOFFICIAL][ROM][stable:6.5.8,testing:6.6.1] CyanogenMod 7.1.0 (Android 2.3.7)

Unofficial port of CyanogenMod 7
Discussion thread -->
Changelog -->
FAQ -->
Old Baseband only. New one will be supported when I will have more free time.
Only beta6.6 and above configured to use 2.6.35 kernel!
Disclaimer:
I am not responsible for bricked devices, dead SD cards, thermonuclear war, or you getting fired because the alarm app failed. Please do some research if you have any concerns about features included in this ROM before flashing it! YOU are choosing to make these modifications, and if you point the finger at me for messing up your device, I will laugh at you.
Known bugs:
Divx/xvid playback don't work (use MoboPlayer)
Strange crash in Camera (Restore defaults in video mode)
ADW: Widgets: crash after Choose Catalog
Empty device serial number (IMEI is ok, official firmware has same bug)
6.6.1 only: zoom need to be refixed
For apps2sd use Darktremor.
If you get bootloop or stuck at LG logo do next:
Sometimes Recovery can't format /system so you need to clear /system manually. You can do it with this zip (flash as always in recovery), or in mounts menu (clockworkmod recovery only), or with adb:
1. Mount /system in recovery.
2. adb shell rm -rf /system/*
You get 1 error. This is ok.
Will update if I found this bug.
Latest stable release:
beta6.5.8: http://www.mediafire.com/?l4of3bdqyr5rivd (md5: b9e4de46e34ec2f95a45145229e89106)
Testing release:
Links: http://www.mediafire.com/?9i6cnc9345v3chb (beta6.6.1) (md5: 758d80958efb8b1163e4a83fc64db151)
Do not forget about nandroid backup.
Do not forget to wipe data/cache if you're updating from Froyo.
Minimal Google Apps (market and talk, flash via recovery, first add Google Account): http://goo-inside.me/gapps/gapps-gb-20110828-signed.zip
Other GAPPS you can download from the Market (Use Market Enabler should your country not allow full access to the market list).
Sources: https://github.com/mik9
Any help in fixing bugs are welcome.
​
[DEV][UNOFFICIAL][ROM][stable:6.5.4] CyanogenMod 7.1-RC0 (Android 2.3.4)
FAQ
Q: I'm an apps2sd (data2sd, else2sd) user. I flashed new buid and all apps gone.
A: Reinstall your apps2sd script. If this not helped go to discussion thread and ask there. I do not recomment to use external app2sd.
Q: Do I need to wipe everything while upgrading from earlier CM7 build?
A: In general: only dalvick-cache. But in case after upgrate you got bootloop (or stuck at cm logo) then you shuold wipe data.
Q: I flashed GAPPS but there are no Market.
A: Go to Settings->Account & sync and add your Google Account. Then Market will be visible.
Q: Why BT gets enabled with FM radio?
A: FM, BT and WiFi is same chip. Easiest way to turn on FM part is to enable BT.
Q: LG PC Suit does not se my phone.
A: Don't use this stuff. For contact syncing use your google account.
Q: When I connect powered off phone to charger it's goes on.
A: Charging in power off state is not main feauture. Maybe this will not be fixed ever.
Q: After changing theme power widget dissappear.
A: Reboot device.
Q: Phone doesn't see my WiFi hotspot/ap.
A: Switch it to any of 1-12 channels or go to WiFi Advanced Settings and change channels in regulatory domain.
Q: I installed widget but can't see it in widget menu.
A: Move application with widget to phone memory.
Q: I selecting some application to be "by default" at some action but after reboot it is not.
A: Move application to phone memory.
Q: I can't send/receive files via bluetooth other then media type.
A: Remove Bluetooth File Manager. CM is support obex now.
Q: I want LG keyboard.
A: http://forum.xda-developers.com/showpost.php?p=14665802&postcount=14
Q: I want stock Gingerbread Launcher.
A: https://market.android.com/details?id=com.modaco.android.launchergb&feature=search_result
Q: What launchers support transparent statusbar?
A:
Launcher Pro - with live wallpapers only
Adw launcher [EX] - go to launcher settings then general behavior/system preferences and uncheck wallpaper hack
More info later.
Q: I flashed rom and GSM don't works. What's to do?
Q: I have new baseband, how fix gsm? (you have new baseband if you upgraded your phone to official 2.3.3)
A: Flash this: gsm fix (support for new baseband, this is not baseband itself).
WARNING: Data don't works, wait for new fix.
[DEV][UNOFFICIAL][ROM][stable:6.5.4] CyanogenMod 7.1-RC0 (Android 2.3.4)
alpha2 (2011-02-13):
Fixed crash at About phone menu
Fixed stuck while enabling debugging
Fixed camera (thanks andy572)
Reduced battery drain by cutting QCRIL logs
Updated CM sources
alpha3 (2011-02-21):
Fixed DSPManager
Increased volume level in speakerphone mode
Fixed missing keyboard in gapps setup wizzard and some other appliactions
Fixed crash in CM Settings -> Performance -> CPU menu
Kernel: integrated BFQ i/o scheduler
Kernel: integrated optimized touchscreen driver by Der_Caveman
Liblights: switch to opensource library
Use ADWLauncher as default launcher
Kernel: integrated msm framebuffer from 2.6.32.26 kernel, blackscreen bug appears less.
Fixed "Forever black screen after electronBeam animation"
Electron beam animation enabled by default
Updated CM sources
alpha4 (2011-03-02):
Updated CM sources. Android 2.3.3 now
libgps: switch to opensource library
Hendset works again
Reduced blackscreen bug in normal lock mode
beta1.1 (2011-03-08 13-25 GMT+0):
Audio quality with heaset is ok now
Fixed low volume after call
Kernel hack: disabled early_suspend for msm framebuffer -> Blackscreen bug fixed at all
"Always use proximity" option enabled by default (enable it manually if you are updating from previsious version "Settings -> Call Settings -> Always use proximity" and reboot)
Improved UI speed.
New bug: gps icon does not disappear from status bar (gps itself stop ok and battery is not draining)
Updated CM sources
beta2 (2011-03-13):
Use "no early suspend" hack for ami sensor and touchscreen drivers
Wifi power management should be on now (test with root access only). Reduced txpower to 20dB
Fixed location problems
Updated CM sources
beta3 (2011-03-20):
Fixed sensor lags
Updated kernel (andy's patches)
New overclock code (more available frequences)
Updated CM sources
Maybe fixed incall blackscreens.
beta3.1 (2011-03-22):
New (better) way to enable wifi powersave mode
Implemented volume key swapping (may be configured in CM Settings -> Sound)
Updated CM sources
beta4 (2011-03-27):
Fixed native WiFi tethering
Enabled FM Radio (read known bugs)
Merged latest LG's kernel sources
Switch libcopybit to opensource library
Updated proprietary files to latest versions
Updated CM sources
beta5 (2011-04-04 10-50 PM GMT+0):
Fixed manual network search
Fixed crash in gesture menu and ADW Theming menu (seems was a bug of my build)
Add handling bluetooth MAC from QCRIL (fixes most strange problems with BT, remove all paired devices)
Kernel patches from andy572
Updated CM sources
beta6 (2011-04-10):
No more needed LG drivers for mass storage mounting (when USB Debugging disabled)
Should be fixed missed mass storage function for some users
Fixed crash on double tap in Camera app
Increased zoom in Camera
Workaround for reporting autofocus result
kernel: reverted andy's patches because of instability
kernel: updated 3D driver (54-56fps @ 600mhz neocore (52-54 before))
kernel: updated interactive governor
kernel: updated BFQ scsheduler
kernel: battery: fixed voltage reporting
Updated CM sources
beta6.2 (2011-04-15):
Fixed:"Power button ends call despite the preference in the accessibility settings page"
Fixed UI lags (beta 5/6)
StatusBar bugs fixed by CM
kernel: little updates in different parts.
Updated CM sources
beta6.3 (2011-04-26):
Fixed usb tethering
Improved video recording quality
Updated CM sources
beta6.4.2 (2011-05-02):
Fixed media button at wired headset
Fixed FM Radio issues
Reworked audio routing to match kernel config
Kernel: fixed battery temperature reporting
Added Rom Manager, you can flash Gapps from it (clockworkmod recovery only, amonra untested)
Updated CM sources (Android 2.3.4, CM-7.1-RC0)
beta6.5 (2011-05-12):
Reworked switching between mass-storage/adb/tethering mode in usb (should be more stable)
Kernel: merged 2.6.32.39 sources from getitnowmarketing (drellisdee)
Updated CM sources
beta6.5.1 (2011-05-21):
kernel: merged 2.6.32.40 sources
Updated CM sources
beta6.5.2 (2011-05-29):
Kernel: merged 2.6.32.41 sources
Fixed: "High cpu usage after some time of charging". Thanks to char101.
Option to choose wifi regulatory domain.
Updated CM sources
beta6.5.3 (2011-06-11):
Wifi refixed
Fastboot reboot option is back
Updated CM sources
beta6.5.4 (2011-06-12):
Fixed USB Debugging icon
beta6.5.5 (2011-06-27):
kernel: franco's v18 + 2.6.32.42
Wired headset media button fix moved to kernel
Camera: higher defaults exposure
Updated CM sources (RC1 now)
beta6.5.6 (2011-07-31):
Fixed in-call audio problem in BT headset (thanks to Alex Zepeda)
Fixed zoom in camera (thanks to Alex Zepeda)
Updated CM sources (Android 2.3.5 now)
beta6.5.7 (2011-08-06):
Fixed "some application are shown as not compatible with our device"
Fixed missing languages in keyboard (CM bug)
Update CM sources
beta6.6 (2011-07-03):
WARNING: Experemintal Build (!) (main bug: misplaced screen after some time: image)
[*]Wifi does not want get enabled second time
[*]Don't use it if you don't know what you want.
kernel: 2.6.35.13 + codeaurora patches + my patches (usb/media-button-fix/fb)
Android reconfigured to use native 2.6.35 kernel (less crap in system ).
Updated CM sources
beta6.6.1 (2011-08-06):
WARNING: Experemintal Build
[*]Misplaced screen bug replaced by blackscreen bug
[*]Wifi does not want get enabled second time
[*]Don't use it if you don't know what you want.
See 6.5.6 and 6.5.7 changelogs
beta6.5.8 (2011-10-10):
[*]You need to update Google Apps! (get the newest from ROM Manager)
Network mode settings
"Always play to speaker" settings works now
My change: support for themes with transparent statusbar
Update CM sources (Android 2.3.7, CM 7.1.0 final, see CM changelog)
How about GPS?
kpbotbot said:
How about GPS?
Click to expand...
Click to collapse
Everything that not listed must work
Sources is up to date now.
if you want I can help you
I am new to android but I am a expert java developer
Join the irc channel (#cyanogenmod-dev on freenode) where Cyanogen developers are. They can give you priceless tips.
Thank you mik for your work !
Sent from my LG-P500 using XDA App
badeaioan said:
Join the irc channel (cyanogen-dev on freenode) where Cyanogen developers are. They can give you priceless tips.
Sent from my LG-P500 using XDA App
Click to expand...
Click to collapse
Thanks, didn't know about this channel.
matromag said:
if you want I can help you
I am new to android but I am a expert java developer
Click to expand...
Click to collapse
Will be great.
I did not work with debuggin android system at device, but it must be not very hard. "About Phone" bug should be simple uninitialized variable (probably MAC address of wlan0). You can try to find out it. Maybe for this you need to build "eng" or "user-debug" version. Some info about debugging here. I'l try to do this too.
Sorry mik, it is #cyanogenmod-dev . I've edited my post.
Will love to try it.
Big cheers for mik_os and others (andy572)
I was closely following other thread Lets Bake a Gingerbread.
you should explain what kind of recovery we must use to flash it!
great job mik!!!!
Mik, I cannot test it. After install it blows with FC's. Dialer, DRM Service, LgSetupWizard.
I've downloaded the zip twice, wiped everything...
badeaioan said:
Mik, I cannot test it. After install it blows with FC's. Dialer, DRM Service, LgSetupWizard.
I've downloaded the zip twice, wiped everything...
Click to expand...
Click to collapse
Sometimes recovery can't format /system so do this manually (In mounts submenu must be "format /system").
upd: AmonRa hasn't this future
You can remove all files from there:
1. Mount /system in recovery.
2. adb shell rm -rf /system
Will update if I found this bug.
After mounting I get this error: rm: cannot remove '/system/lost+found': Directory not empty and rm: cannot remove '/system': Device or resource busy
badeaioan said:
After mounting I get this error: rm: cannot remove '/system/lost+found': Directory not empty and rm: cannot remove '/system': Device or resource busy
Click to expand...
Click to collapse
This is ok. Flash zip once more.
Works. The UI is not slow at ALL. It moves pretty quick.
DSPManager does not work. -> FC
Mik, if you can fix the lockscreen issue this could be a daily ROM ! How can we help you ? What can we provide ?
flashing it right now
we'll see
Can you guys confirm if 2.3 actually fixed the touch bug ?

[GearCM][i9500][5.0.x] Optimized CyanogenMod 12 for Samsung Galaxy S4 [Fin. 20150731]

Use > this other thread < to ask questions or to discuss about something​
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
CyanogenMod is a free, community built, aftermarket firmware distribution of Android 5.0.x (Lollipop), which is designed to increase performance and reliability over stock Android for your device.
Code:
#include
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/
CyanogenMod is based on the Android Open Source Project with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed. Linked below is a package that has come from another Android project that restore the Google parts. CyanogenMod does still include various hardware-specific code, which is also slowly being open-sourced anyway.
All the source code for CyanogenMod is available in the CyanogenMod Github repo. And if you would like to contribute to CyanogenMod, please visit out Gerrit Code Review. You can also view the Changelog for a full list of changes & features.
ROM Downloads
<< Stable >>
20150731 Final Build: https://www.androidfilehost.com/?fid=24052804347784711
<< Misc. (Modem & Recovery) >>
GearRecovery (based on TWRP Recovery) 20150324: https://www.androidfilehost.com/?fid=95916177934545673 <= Recommended
I9500XXUHOD7 LL Modem: https://basketbuild.com/filedl/devs...s And Bootloaders/I9500-XXUHOD4-MODEM_CWM.zip <= Russian Modem, Recommended
I9500DDUHOA1 LL Modem: http://forum.xda-developers.com/attachment.php?attachmentid=3165311&d=1423927137 <= Indian Modem, use it if you're experiencing problems with Russian variant
Previous Releases:
<< Stable >>
20150506 Build: https://www.androidfilehost.com/?fid=23991606952598514
20150424 Build: https://www.androidfilehost.com/?fid=96042739161893123
20150403 Build: https://www.androidfilehost.com/?fid=95916177934550380
20150324 Build: https://www.androidfilehost.com/?fid=95916177934545672
20150228 Build: https://www.androidfilehost.com/?fid=95916177934535412
GearRecovery (based on TWRP Recovery) 20150228: https://www.androidfilehost.com/?fid=95916177934535416
20150214 Build: https://www.androidfilehost.com/?fid=95916177934529038
GearRecovery (based on CM Recovery) 20150207: https://www.androidfilehost.com/?fid=95916177934524927
20150207 Build: https://www.androidfilehost.com/?fid=95916177934524891
GearRecovery (based on CM Recovery) 20150119: https://www.androidfilehost.com/?fid=95897840722646145
20150120 Build: https://www.androidfilehost.com/?fid=95897840722646839
20150117 Build: https://www.androidfilehost.com/?fid=95897840722644860
20150105 Build: https://www.androidfilehost.com/?fid=95887005526786982
<< Beta >>
20141227 Build: https://www.androidfilehost.com/?fid=95864024717070984
20141224 Build: https://www.androidfilehost.com/?fid=95864024717069340
20141223 Build: https://www.androidfilehost.com/?fid=95864024717068584
20141216 Build: https://www.androidfilehost.com/?fid=95857557620393081
Google Apps (add-on)
http://opengapps.org/ <== Recommended <> Platform: arm | Android: 5.0 | Variant: nano
Installation
3-button-combo = "Volume Up/+" + "Home/Center" + "Power/Lock"
- First time flashing GearCM 12 to your Galaxy S4 (or coming from TouchWiz/Stock Based ROMs)?
Root your device and install latest GearCM Recovery.
Reboot into Recovery using 3-button-combo
Do a Nandroid Backup!
WIPE (wipe data/factory reset + wipe cache partition + format /system partition)
Install the ROM from internal/external sdcard using ClockworkMod Recovery
Optionally install Google Addon
Done! You can now reboot the phone to enjoy the rom
- Upgrading from Official CM10.2/CM11/CM12 or GearCM 11?
Reboot into Recovery using 3-button-combo
Do a Nandroid Backup!
Install latest latest GearCM Recovery.
Reboot into new Recovery using 3-button-combo (if needed)
WIPE (wipe data/factory reset + wipe cache partition + format /system partition)
Install the ROM from internal/external sdcard using ClockworkMod Recovery
Optionally install the Google Addon
Done! You can now reboot the phone to enjoy the rom
- Upgrading from another build of GearCM 12?
Reboot into Recovery using 3-button-combo
Do a Nandroid Backup!
Install latest latest GearCM Recovery.
Reboot into new Recovery using 3-button-combo (if needed)
Install the ROM from internal/external sdcard using ClockworkMod Recovery
WIPE Dalvik/ART Cache (wipe cache partition + wipe dalvik cache)
Done! You can now reboot the phone to enjoy the rom
Known Issues (regarding latest available Stable build)
Please do not report bugs if it is already listen in the list of known issues
Rarely, when you wake-up the device, touchscreen will have a noticeable input lag, easily fixable by turning off and on the display. (H/W or S/W bug?)
Wireless Display with some TVs could cause issues (AOSP bug related to HDCP, and Google doesn't provide a solution)
Video Stream through Screencast & Wireless Display will have inverted Red and Blue color channels due to BGR Pixel Format (actual Exynos sources don't allow to fix it)
Any Chinese (CHN, I9500XCUxxx codename) Baseband/Modem reduces Call Quality (due to forced AMR_WB, unsupported by CHN modems)
5GHz Wi-Fi Networks using Band B (52-140) and Band C (149-161) channels won't be listed (H/W or S/W bug?)
Reporting Bugs
You are allowed to report bugs only in this thread. Before reporting a bug, please make sure you are running as stock as possible. This means no custom kernel, no custom framework modification, etc. If you are using any of the above modifications, please flash the rom again to get rid of the modifications before reporting.
REPORT BUGS IN THIS THREAD ONLY
Grab a logcat right after the problem has occurred. (Please include at least a few pages of the log, not just the last few lines, unless you know what you're doing.)
If it is a random reboot, grab /proc/last_kmsg. (Do not bother getting a logcat unless you can get it just before the reboot. A logcat after a reboot is useless)
If the problem disappears after running "setenforce 0" from a root shell, grab /data/misc/audit/audit.log
Remember to provide as much info as possible. The more info you provide, the more likely that the bug will be solved. The following is a useful format to follow. Note: If you can provide the latest night/build that the bug didn't exist, it would greatly help in tracking down what caused it.
Code:
What is your--
Phone model:
Radio (baseband) version:
GearCM version:
GearCM download url:
Google Apps version:
Did you--
wipe data/factory reset:
restore with titanium backup:
reboot after having the issue:
Are you using--
a task killer:
a non-stock kernel:
CMSettings/Performance Settings (other than stock):
other modifications:
Provide any additional information (observations/frequency of problem/last version it worked on/etc) as needed:
Changelog
20150731:
Updated CM Sources
Follow CM12.1 Changelog, until 20150731 Build.
Previous Releases:
20150506:
Updated CM Sources
KERNEL: Optimized Memory Operations
KERNEL: Optimized big.LITTLE CPU utilization
KERNEL: Optimized TCP Congestion Method
KERNEL: Some net. & ARM fixes
20150424:
Updated CM Sources
Updated Audio Driver and Configuration
Removed Hardware MPEG2 Codec
Properly Fixed and Updated XMM Modem RIL
Fixed Manual Network Operator Search
Reduced EGL Cache Size to reduce RAM usage
Fixed in-call echo problem (definitely)
Reduced Speaker Volume (to reduce distortion)
Using latest LL Hardware OMX Codecs
Optimized Wi-Fi by using Stock Configurations
Fixed Video Recording (no more pixelated videos)
KERNEL: Optimized Vibrator Driver
20150403:
Updated CM Sources
Highly Optimized
Updated Audio Driver
Updated RIL Stuff
Stabler and better audio mixer values
Optimized RAM Management
RECOVERY: Updated TWRP sources
20150324:
Updated CM Sources
Restored USB Mass Storage support
Fixed LEDs while in offline charging mode
KSM Configured and Enabled by default
Restored battery percentage while in offline charging mode
Using latest LL proprietaries
RECOVERY: Updated TWRP sources
KERNEL: Switched to LL kernel sources
KERNEL: Reduced debug
KERNEL: Merged some updates from Android 5.1
20150228:
Updated CM Sources
Improved Battery Life
Optimized Bluetooth Audio (A2DP & SCO)
Increased Speaker Volume
Decreased Headset Mic. Volume
Fixed VOIP Apps (Skype and such...)
Fixed MTP without ADB Debugging
Added F2FS Support for Cache & Data partitions (use latest GearCM Recovery to change filesystem type)
Fixed slow Flashlight toggle
Enabled Noise Suppression
Enabled Call Recording
Re-Introduced non-PIE support
Fixed touch-on-notifications (Ambient Display)
Fixed lags on some games
Disabled Equalizer Visualizer on Music app by default (laggy)
Optimized Auto-Brightness values
Reduced battery safe temperature (before 60 degrees, now 55)
Using Nexus 5 MMS User Profile
Fixed USB OTG on Lollipop
Increased External Storage speed access
Disabled Wi-Fi background scan (no one uses it and if enabled it causes battery to drain on idle)
Added Advanced Display settings
KERNEL: Optimized performance
KERNEL: Increased compression to fit new TWRP recovery
KERNEL: Enable some required flags by LL
KERNEL: Added F2FS Driver
20150214:
Updated CM Sources
DRM tested and properly working
Stabler Bluetooth Audio Quality
Added TouchScreen hovering support (untested)
Updated fingerprint to latest LL Stock Release
Increased main mic volume everywhere
Updated proprietary blobs to latest LL ones (except sensors stuff)
20150207:
Updated CM Sources
Updated Audio Driver (with new mixer_paths, now working much better than before)
Optimized Input/Output Audio Levels (no more echo effect and much more...)
Fixed Bluetooth Audio bad quality
Optimized ART Runtime for Cortex-A15
Optimized Network Speed (Mobile & WiFi)
Added Blinking Led Support (charging light uses low-power now, low light level is normal)
Re-Enabled 3D TV Support through MHL HDMI
Re-Worked CM Performance Profiles (now Balanced as default)
Some Updates from I9500XXUHOA7 (usable ones without LL kernel sources)
KERNEL: Updated Audio Driver to latest available from Wolfson
KERNEL: VPN should work properly now for ALL users
20150120:
Updated CM Sources
Fixed all DRM-Dependent apps (tested and ultra-tested)
Added some updates from I9500ZCUJOA3 leak (GPS, Radio and other minor changes)
20150117:
Updated CM Sources
Disabled S3D (3D TV through HDMI) support, useless on a mobile device
Fixed all SystemUI (Recents Apps/Apps Switcher) lags
Fixed all RIL Wakelocks (again) related to unsupported Samsung's requests
Fixed SOS Calls (i know that someone will be happy for this )
Fixed USB Charging Only mode
DRM-Dependent apps should work correctly now
Reorganized phone initialization process (now cleaner than ever, even faster)
Optimized Auto-Brightness values
Optimized Mobile Data/Wi-Fi Internet speed
Speaker and Earpiece volume is now higher (as users request)
Disabled Block-Based OTA (this should fix all problems with ROM Flashing process, e.g. Status 1 Errors; Chinese PIT is now compatible)
Switched to new CM LL Boot Animation
AC & USB Charging Values are now the same (this means that you can charge your phone with USB or with AC at the same speed)
Some other optimizations and clean-up here and there
20150105:
Updated CM Sources
Enhanced Stability and Performance
Now switched from Beta to Stable
Disabled Audio Offload (unsupported)
Fixed Google Now Voice Input on Home Screen
Switched from old AwesomePlayer (KK) to NuPlayer (LL)
Enabled Ambient Display as user request
Clean-up Wi-Fi stuff
Enabled GPS LTO Support (http://www.broadcom.com/products/GPS/Location-Based-Services/LTO-AGPS)
Clean-up Framework overlays
Enabled CM Performance Profiles like on CM11
Correctly Configured Audio/Video Decoders
Fixed Flashlight/Torch (using a temp. workaround)
Properly fixed Root and USB at first boot
A2DP Calls should work fine for everyone now
You'll probably find many other fixes that i don't remember
EXTRA: Happy new Year
20141227:
Updated CM Sources
Properly fixed & enabled Bluetooth features
A2DP Calls should work fine now
Reduced Surface Buffers for smoother UI experience
Increased EGL Cache size to reduce lags
Fixed Audience ES325 audio effect name (now it should work fine everywhere)
Fixed Wi-Fi instabilities & Tethering
Added Screencast app
Properly enabled USB Ethernet support
Added CM Performance Profiles (for future usage)
Fixed & Optimized Offline Charging mode (now using less power than before) <= On Android L 4.2 bootloaders aren't supported anymore so offline charging may work only on 4.3 and newer ones. Let me know if works or not for you.
We are probably ready for a Stable release... ( or not? )
KERNEL: reduce surface buffers
KERNEL: clean-up PVR GPU driver
KERNEL: some optimizations here and there
20141224:
Updated CM Sources
Fixed GPS
Updated NFC config
Using PIE binaries for RIL
Probably fixed all ART instabilities (app not installed and blah blah blah)
KERNEL: reverted change that was causing chrome and other app to crash
KERNEL: re-enable Android LMK
KERNEL: removed all Samsung USB rubbish
KERNEL: added some FS optimizations
EXTRA: Happy Christmas
20141223:
Updated CM Sources
Fixed all buttons features
Do not start GPS Binary (will be fixed when Samsung releases official Lollipop for our device)
Clean-up here and there
Smoother then ever, probably smoother than GearCM 11
Fixed WiFi instabilities
Fixed all Widevine (DRM) stuff
Application not installed bug should be fixed
You'll probably find many other fixes that i don't remember
20141216:
First Release
The CyanogenMod team would like to thank everyone involved in helping with testing, coding, debugging & documenting! Enjoy!
XDA:DevDB Information
[GearCM][i9500][5.0.x] Optimized CyanogenMod 12 for Samsung Galaxy S4 [Final], ROM for the Samsung Galaxy S 4
Contributors
Alberto96, intervigil, codeworkx
Source Code: https://github.com/GearCM
ROM OS Version: 5.0.x Lollipop
ROM Kernel: Linux 3.4.x
Based On: CyanogenMod
Version Information
Status: No Longer Updated
Current Stable Version: 20150731
Stable Release Date: 2015-07-31
Current Beta Version: 20141227
Beta Release Date: 2014-12-27
Created 2014-12-16
Last Updated 2015-09-26
Read carefully.
Differences between GearCM (Optimized CyanogenMod) and Official CyanogenMod (NIGHTLY):​
Degrated Shadow said:
Enough of those dumb questions..
The official CM rom is maintained by @Alberto96 and @intervigil
He makes the very recent changes here relating to performance.. which are then in time pushed to CM official rom. The kernel is different because it has selinux disabled and few minor tweaks you might not even notice.. this gearcm rom will have more performance. But CM rom will have their updated base changes which are included here with each update.
What I mean is you probably wont even notice what's different in terms of user interface.. gearcm will have more performance. Official cm will have updated sources. But it will include gearcm's changes in time as @Alberto96 pushes them to CM
You can decide by a simple choice. more performance and not-nightly updated sources or similar performance (improving with nightly updates) with updated sources. I would choose gearcm because of the reasons I mentioned above. Do what you will.. and let this be a note to everybody who ask this again and again and again. Don't spam the thread with same question in every alternate page.. Because there are other people who might have different problems they need to ask. Read atleast 15 previous pages and the first post changelog before asking the question. Reading most of the times will give you a solution and if not most of the info you will read will help you anyway.
Click to expand...
Click to collapse
Reserved
FAQ (Frequently asked questions)​
Where are "Performance" and "Developer Options" categories?
To activate 'Performance' and 'Developer Options' categories in Settings you need to tap 7 times on 'Build number' located into Settings -> About Phone.
How can i solve problems with Hebrew language?
Go to "Developer Options" in Settings and check "Force RTL layout direction".
What can i do to reduce the "echo effect" while in-call?
Try to reduce in-call earpiece volume (if possible).
I'm having problems with battery life, what can i do?
1) Use "Greenify" to hibernate all apps with a "little cloud + 'Gcm' word inside" on the right of each app's name. Donation version is recommended because it allows deeper hibernation of apps
2) Disable "Location" or set it to mode "Battery Saving" (Settings -> Location)
3) Make sure that your 2G/3G mobile network signal level isn't always low or unstable
4) Deny "Wake Up" and "Keep Awake" permissions to Google and third-party apps. (Settings -> Privacy -> Privacy Guard -> Press menu button and check "Show built-in apps" -> Press menu button again and go to Advanced -> Horizontal Scroll to Device)
5) Disable "Sync" or sync only useful stuff like Contacts
6) Disable "Auto-rotate screen" (Settings -> Display & lights -> Rotation)
7) Use one of the latest Modem/Baseband listed on first post.
8) Disable Ambient Display
9) Install Xposed Framework and configure Amplify
If this isn't enough then replace your battery and/or reduce your phone usage. :silly:
Is GearCM OTA supported?
Yes (Since 20150707 Build)
Why is my phone over-heating while playing heavy-games or running heavy-apps?
Use a bit your brain to explain why. High CPU and GPU usage = high heat production. Your phone will automatically throttle CPU when needed so don't worry, it is safe and normal.
Can I use another kernel instead of the one included in the zip?
No. Only use the included kernel for 100% compatibility, bug reports with non-standard kernel will be ignored.
Can i disable S-View cover features (lock/unlock)?
Not yet.
*** IR Remote app isn't working anymore/was working on previous builds/causes my phone to crash, what can i do?
Contact *** IR Remote app developer.
Any question about "Can't connect to camera" issue
Do not "stress" camera on CM because we don't use yet a proper implementation. Open/Close Camera apps carefully without force-closing them.
fix stock camera try flash this zip https://www.dropbox.com/s/z2a7hegwzu9ft2c/Fix_Camera_Cmmct_5.0.zip?dl=0
Been using lollipop as a daily driver with awesome results. But still there's something that bugs me. Although GPS works fine I find that its accuracy is pretty low.
For instance I run in order to keep fit. I use adidas miCoach which calculates your speed and distance covered giving as result km speed (from Argentina). GPS has a hard time keeping up with this and every time I train I revert to TW and then back to Lollipop.
Will test this GPS and see if its better than team Cajinica
does this rom have working bluetooth calls over car stereo?
mhboooool said:
fix stock camera try flash this zip https://www.dropbox.com/s/z2a7hegwzu9ft2c/Fix_Camera_Cmmct_5.0.zip?dl=0
Click to expand...
Click to collapse
Not required here.
RoCorral said:
Been using lollipop as a daily driver with awesome results. But still there's something that bugs me. Although GPS works fine I find that its accuracy is pretty low.
For instance I run in order to keep fit. I use adidas miCoach which calculates your speed and distance covered giving as result km speed (from Argentina). GPS has a hard time keeping up with this and every time I train I revert to TW and then back to Lollipop.
Will test this GPS and see if its better than team Cajinica
Click to expand...
Click to collapse
Does it happens also on CM11?
AndresSanzH said:
does this rom have working bluetooth calls over car stereo?
Click to expand...
Click to collapse
It should.
.hackman. said:
Patiently waiting for the upload..
Click to expand...
Click to collapse
Gboss01 said:
Great work Alberto
Sent from my GT-I9500 using Tapatalk
Click to expand...
Click to collapse
Nalmaus said:
Great to see u working on this, i followed u when kitkat comes up and u made an amazing work, good luck with this!
Click to expand...
Click to collapse
Build finally uploaded.
Enjoy
Alberto96 said:
Not required here.
Does it happens also on CM11?
It should.
Build finally uploaded.
Enjoy
Click to expand...
Click to collapse
Great. Downloading now[emoji1]
"App not installed" if manually install an apk.
Is there any workaround?
@Alberto96 haven't test it on GearCM 11. I'll try and report back asap
Can't install apks.
Although pushing apks to system works. Titanium backup in not able to restore as well.
Edit: I guess Titanium Backup does work. Not with the default superuser though. I flashed supersu to get it working in frapeti's rom, strange.
RoCorral said:
@Alberto96 haven't test it on GearCM 11. I'll try and report back asap
Click to expand...
Click to collapse
With GearCM 11 latest build GPS is pretty accurate. Used Waze while driving and miCoach while walking and had good results.
Further testing done with the build posted (20141216) I can't access SD card to install apks that are not from playstore for example BBS, and getting the low memory message even if full wiped and fresh installed.
Can't install APK in this Build ...
Storage Issues
@Alberto96 Hey man there seems to be an issue with your Kernel please take a look at the changes u made as they seem to be the cause of peope not being able to install any APKS and Install from playstore as its complaining about the storage being low so what i did is compile with CM kernel and tested it and the GearCm works fine without any storage issues but if I compile it using ur GearCm Kernel thats where theres storage issues. Please take a look at it
Thanks for your time and dedication of this Alberto. Unfortunately I'm having a hard time with your CM12 Releases
With CM12-20141212v2 (I did a clear wipe) and no RIL Service. So I was not able to use it basically...
Today I gave it a second try CM12-20141216 . I was happy to see my 3G Connection. But when I started to download the app from Play Store. It was impossible. All APKS giving an error.
I will test Canjica Version. It's a pity but I will have to wait till we get to a stable version of Android 5.0.1 with GearCM12.
Despite of that, Thanks for your work on this! We wouldn't have this if it wasn't because of you
Heads Up
Brilliant to have 5.0 on our phones, look and feel is really cool.
Confirmed Working:
Calls, SMS, Internet (WIFI & 3G), Camera, Gallery
FC's:
Music, File manager, Play store (all google apps) & anything else which is on the SD card
Keep it up guys:good:
Application not installed?
thanks for update 12\21 @Alberto96 ...but issue with installing apk is here.
New build is coming with some fixed, especially performance related.
New build is up!
Enjoy

[GearCM][i9500][5.1.x] Optimized CyanogenMod 12.1 for Samsung Galaxy S4 [20160220]

Use this thread =>http://goo.gl/UFbbzO for questions or discussions.
Only Bug Reports & Feedbacks are allowed here. Penalty: Post Removal by Moderators​
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
CyanogenMod is a free, community built, aftermarket firmware distribution of Android 5.1.x (Lollipop), which is designed to increase performance and reliability over stock Android for your device.
Code:
#include
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/
CyanogenMod is based on the Android Open Source Project with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed. Linked below is a package that has come from another Android project that restore the Google parts. CyanogenMod does still include various hardware-specific code, which is also slowly being open-sourced anyway.
All the source code for CyanogenMod is available in the CyanogenMod Github repo. And if you would like to contribute to CyanogenMod, please visit out Gerrit Code Review. You can also view the Changelog for a full list of changes & features.
ROM Downloads
All not-working RenderServer hosted files can be found here: https://androidfilehost.com/user/?w=settings-dev-files&flid=50874
<< Stable >>
20160220 Build: https://www.androidfilehost.com/?fid=24421527759883766
<< Misc. (Recovery/Modem/Bootloader) >>
GearRecovery 20160220 (Flashable ZIP): https://www.androidfilehost.com/?fid=24421527759883765 <= Required for Official GearCM Support
GearRecovery 20160220 (Odin Package): https://www.androidfilehost.com/?fid=24421527759885452 <= Use if you are not able to flash the .zip or if you don't have any custom recovery installed on your device
I9500XXUHOG2 LL Modem (Flashable ZIP): https://www.androidfilehost.com/?fid=24421527759883761 <= Latest Modem, Recommended
Partial I9500XXUHOL1 Odin Upgrader (includes OL1 Bootloader & OG2 Modem): https://www.androidfilehost.com/?fid=24421527759885454 <= Recommended if you don't have a recent - XXUHOD4 or newer - LL Bootloader installed on your device
Previous Releases:
I9500XXUHOD4 LL Modem: https://basketbuild.com/filedl/devs...s And Bootloaders/I9500-XXUHOD4-MODEM_CWM.zip
I9500DDUHOA1 LL Modem: http://forum.xda-developers.com/attachment.php?attachmentid=3165311&d=1423927137
GearRecovery (based on TWRP Recovery) 20151003: https://www.androidfilehost.com/?fid=24052804347828835
20151212 Build: https://renderserver.net/downloadre.../cm-12.1-20151212-UNOFFICIAL-GearCM-i9500.zip
20151115 Build: https://renderserver.net/downloadre.../cm-12.1-20151115-UNOFFICIAL-GearCM-i9500.zip
20151101 Build: http://renderserver.net/?dl=c7eba9166b79329a606f842fbf041903
First Start Camera Flashable Fix: http://renderserver.net/?dl=c699f60789a9b312eaaafb19acfb80c5
20151025 Build: http://renderserver.net/?dl=b4293146d62ed2a3b9832859d82d3e9c
Flashable Camcorder Fix: http://renderserver.net/?dl=592b569170ff7e6930e82a2b7d866f8e
20151018 Build: http://renderserver.net/?dl=e6f5b362503e08b0172eacda845812df
20151010 Build: http://renderserver.net/?dl=dd78750053c06f035679edd02ddd7d9a
20151003 Build: https://www.androidfilehost.com/?fid=24052804347828744
GearRecovery (based on TWRP Recovery) 20150920: http://renderserver.net/?dl=5236ed3fae796d580a0edd9d6743e7be
20150928 Build: http://renderserver.net/?dl=6dbdef163a4194ca6e415f6305126742
Mirror 20150928 Build: https://www.androidfilehost.com/?fid=24052804347824829
MD5 20150928: d1364d8a71c0a9edc59f475ad24f897c
20150922 Build: http://renderserver.net/?dl=dc5a57773746e55cc970f2ebc3cc3774
20150920 Build: http://renderserver.net/?dl=f48e0ce5fcae9df0c1fd5f82f10e0786
GearRecovery (based on TWRP Recovery) 20150906: http://renderserver.net/?dl=76193095a9193874fa2700142b994004
20150916 Build: http://renderserver.net/?dl=1d17eb20eba12c3778b92a4b9beb54fd
20150914 Build: http://renderserver.net/?dl=2293bf0e03ee2316179e25cc74708531
20150910 Build: http://renderserver.net/?dl=cc16c5bac7d63d6c332b6b336efcde7e
20150906 Build: http://renderserver.net/?dl=d3116e4717e01906019c9e8f7429c603.
GearRecovery (based on TWRP Recovery) 20150904: http://renderserver.net/?dl=42252a088a67a168cf6f561d75f2b630
20150904 Build: http://renderserver.net/?dl=f32b9c5d028629154a439f5d6847221a
GearRecovery (based on TWRP Recovery) 20150324: https://www.androidfilehost.com/?fid=95916177934545673
20150901 Build: http://renderserver.net/?dl=0a3357b10c1d87b5cabe35fe02ce692f
WiFi 5GHz Fix 20150901: http://forum.xda-developers.com/attachment.php?attachmentid=3459358&d=1441132769
20150830 Build: http://renderserver.net/?dl=4760be26f033ac4982c04df4a3a38aaa
Mirror 20150830 Build (for users having faulty connections): https://mega.nz/#!fQkE1a4Y!iDxD8-tEXAEvxtdABn9mIvqNufflVp5YX-Us5aooh5o by @NBruderman
20150829 Build: http://renderserver.net/?dl=156bb0aa8be0ab6144d75230279a608c
20150828 Build: http://renderserver.net/?dl=527b4ddb058b7916baf21dae4c946570
20150827 Build: http://renderserver.net/?dl=072592ed0241f3a6f3aff98448b968a9
Mobile Data Fix for 20150827: http://forum.xda-developers.com/attachment.php?attachmentid=3453804&d=1440705811
20150820 Build: https://www.androidfilehost.com/?fid=24052804347797675
20150819 Build: https://www.androidfilehost.com/?fid=24052804347797242
20150816 Build: https://www.androidfilehost.com/?fid=24052804347795002
20150815 Build: https://www.androidfilehost.com/?fid=24052804347794267
20150811 Build: https://www.androidfilehost.com/?fid=24052804347791918
20150810 Build: https://www.androidfilehost.com/?fid=24052804347791265
20150731 Build: https://www.androidfilehost.com/?fid=24052804347784593
20150729 Build: https://www.androidfilehost.com/?fid=24052804347783637
20150727v2 Build: https://www.androidfilehost.com/?fid=24052804347782051
20150727 Build: https://www.androidfilehost.com/?fid=24052804347782020
20150724 Build: https://www.androidfilehost.com/?fid=24052804347780414
20150723 Build: https://www.androidfilehost.com/?fid=24052804347779767
20150715 Build: https://www.androidfilehost.com/?fid=24052804347774657
20150714 Build: https://www.androidfilehost.com/?fid=24052804347774065
20150711 Build: https://www.androidfilehost.com/?fid=24052804347772124
20150709 Build: https://www.androidfilehost.com/?fid=24052804347771113
20150707 Build: https://www.androidfilehost.com/?fid=24052804347770083
I9500XXUHOA7 LL Modem: https://www.androidfilehost.com/?fid=95916177934524926
20150706 Build: https://www.androidfilehost.com/?fid=24052804347769730
20150606 Build: https://www.androidfilehost.com/?fid=23991606952615098
20150517 Build: https://www.androidfilehost.com/?fid=23991606952606089
20150425 Build: https://www.androidfilehost.com/?fid=96042739161893525
Google Apps (add-on)
http://forum.xda-developers.com/android/software/tk-gapps-t3116347 <== Recommended <> Micro/Mini Modular Package. Do not choose Stock
Installation
3-button-combo = "Volume Up/+" + "Home/Center" + "Power/Lock"
- First time flashing GearCM 12.1 to your Galaxy S4 (or coming from TouchWiz/Stock Based ROMs)?
Root your device and install latest GearRecovery
Reboot into Recovery using 3-button-combo
Do a Backup!
WIPE (wipe data/factory reset + wipe cache partition + format /system partition)
Install the ROM from internal/external sdcard
Optionally install Google Addon
Done! You can now reboot the phone to enjoy the rom
- Upgrading from Official CM10.2/CM11/CM12 or GearCM 11/12?
Reboot into Recovery using 3-button-combo
Do a Backup!
Install latest GearRecovery
Reboot into new Recovery using 3-button-combo (if needed)
WIPE (wipe data/factory reset + wipe cache partition + format /system partition)
Install the ROM from internal/external sdcard
Optionally install the Google Addon
Done! You can now reboot the phone to enjoy the rom
- Upgrading from another build of GearCM 12.1?
Reboot into Recovery using 3-button-combo
Do a Backup!
Install latest GearRecovery
Reboot into new Recovery using 3-button-combo (if needed)
Install the ROM from internal/external sdcard
WIPE Dalvik/ART Cache (wipe cache partition + wipe dalvik cache)
Done! You can now reboot the phone to enjoy the rom
Known Issues (regarding latest available Stable build)
Please do not report bugs if it is already listen in the list of known issues
Current Audio HAL doesn't properly wake up audio devices from standby, causing issues with some VOIP apps. Check FAQ for Workaround -- WIP | Highest Priority -- #1
While in-call (on second call) using headphones/headset, audio could be routed to the Earpiece. Enable/Disable Speaker or Plug Out/In the Audio Jack to fix it. (Probably linked to #1) -- WIP | High Priority --
While in-call using earpiece the receiver will hear a little echo effect if volume is set to maximum. Reduce volume to fix it. -- WIP | Medium-High Priority --
After each boot Camera won't take pictures on first start. You'll need to close the app and re-open it to get Camera working. -- WIP | Medium Priority --
Wireless Display with some TVs (HDCP-dependent ones) could cause issues (AOSP bug related to HDCP. Google doesn't provide a solution) -- Unknown Status | Low Priority --
Rarely, when you wake-up the device, the touchscreen could have a noticeable input lag, easily fixable by turning off and on the display. (H/W or S/W bug?) -- Probably won't be fixed | Undefined Priority --
Reporting Bugs
First of all, read this: http://www.chiark.greenend.org.uk/~sgtatham/bugs
You are allowed to report bugs only in this thread. Before reporting a bug, please make sure you are running as stock as possible. This means no custom kernel, no custom framework modification, etc. If you are using any of the above modifications, please flash the rom again to get rid of the modifications before reporting.
REPORT BUGS IN THIS THREAD ONLY
Grab a logcat right after the problem has occurred. (Please include at least a few pages of the log, not just the last few lines, unless you know what you're doing.)
If it is a random reboot, grab /proc/last_kmsg. (Do not bother getting a logcat unless you can get it just before the reboot. A logcat after a reboot is useless)
If the problem disappears after running "setenforce 0" from a root shell, grab /data/misc/audit/audit.log
Remember to provide as much info as possible. The more info you provide, the more likely that the bug will be solved. The following is a useful format to follow. Note: If you can provide the latest night/build that the bug didn't exist, it would greatly help in tracking down what caused it.
Code:
What is your--
Phone model:
Radio (baseband) version:
GearCM version:
GearCM download url:
Google Apps version:
Did you--
wipe data/factory reset:
restore with titanium backup:
reboot after having the issue:
Are you using--
a task killer:
a non-stock kernel:
CMSettings/Performance Settings (other than stock):
other modifications:
Provide any additional information (observations/frequency of problem/last version it worked on/etc) as needed:
Changelog
20160220:
Updated CM Sources
Fixed WiFi Power Off issue (testing required)
Updated proprietaries from latest OL1 release
Reduced debug stuff to improve performance
Added some little fixes here and there
Temp. removed OTA Updates app until i manage to find a better file hosting website
RECOVERY: rebased on TWRP 3.0.0.0
KERNEL: improved WiFi management
Previous Releases:
20151212:
Updated CM Sources
Increased Camera Stability (do not expect something 100% Stable)
Optimized ART Management
Fixed Wi-Fi Channel issues (forced US Country Code that brings almost all channels)
Fixed Wi-Fi Performance issues on screen-off (power saving management is now static)
seLinux Policies are now almost perfect, only Synapse forces us to use permissive mode (due to neverallow rules)
Added some minor fixes here and there
SYNAPSE: added Wi-Fi Power Saving management
KERNEL: added some updates from Android M
20151115:
Updated CM Sources
Fixed Camera issue on boot (feedback required)
Improved Camera Stability (a lot)
Using proper Flashlight implementation (takes more or less 3 seconds to turn on now. Same as on my Nexus 4)
Increased microphones volume
Improved RIL stability
Enhanced ROM Security
20151101:
Updated CM Sources
Fixed Camcorder mic. routing
Improved Audio HAL stability
Using proper mic. routing for Voice Recording
Updated some proprietaries from OI1 Release
Using proper manual network search fix
Fixed some RIL (l2_hsic) wakelocks caused by unsupported requests
Improved Camera Stability
KERNEL: added some updates from upstream
KERNEL: improved Wi-Fi Stability
20151025:
Updated CM Sources
Optimized Microphones Volume (should fix low earpiece volume while in loud env. and reduce echo effect)
Applied lots of fixes to Audio HAL (VOIP and Headset bugs are still here)
Audio Mixer is now managed as is on Stock ROM (nearly identical)
Fixed Performance profile (again), shouldn't cause anymore sudden shutdowns/reboots due to High CPU temp.
Improved RIL management
KERNEL: properly set maximum readahead
20151018:
Updated CM Sources (based on latest android security patches)
Reduced in-call echo effect for some users (WIP)
KERNEL: fixed random reboots caused by cfg80211 driver
ALERT: Battery LED sometimes blinks without any valid reason, please ignore this bug until it gets fixed. (CM Sources related)
20151010:
Updated CM Sources (based on latest android security patches)
Fixed In-Call Wide/Narrow Band switching (any modem can now be used)
Increased Microphones Volume
In-Call Echo-Cancellation is now completely working
Improved In-Call audio quality
Improved Audio Driver management
Improved BT A2DP Stability with some devices
NOTICE: Wipe OTA Updates app data to get latest build
ALERT: Battery LED sometimes blinks without any valid reason, please ignore this bug until it gets fixed. (CM Sources related)
20151003:
Updated CM Sources
Re-worked In-Call echo cancellation management
Improved Sound Card management (BT is now using proper values)
Reduced In-Call Headset noise
Updated Radio binary to OH7 version
Added proper Bluetooth vendor information
OTA: this build won't have ota direct link due to broken RenderServer FTP access
RECOVERY: GearRecovery 20151003 based on latest changes
ALERT: Battery LED sometimes blinks without any valid reason, please ignore this bug until it gets fixed. (CM Sources related)
20150928:
Updated CM Sources
Added QuickBoot support (not enabled by default, check developer options) - Credits @arter97
Fixed Microphone with Headphones (not Headset, Headphones don't have a mic)
Enabled proper echo cancellation and noise suppression to Microphone
Faster boot and optimization of apps
Properly fixed volume buttons to wake up the device
Fixed some GPS instabilities for some users
WiFi has been stabilized even more
Improved Performance and Smoothness here and there
Enabled SELinux as Permissive (Enforcing would break Synapse and require too much work to fix many little issues)
KERNEL: fixed some instabilities that could cause random reboots for some users
KERNEL: improved mmc wakelocks management
ALERT: Battery LED sometimes blinks without any valid reason, please ignore this bug until it gets fixed. (CM Sources related)
20150922:
Updated CM Sources
Fixed Mobile Data (downgraded to KK RIL, still better than previous JB RIL though)
ALERT: Battery LED sometimes blinks without any valid reason, please ignore this bug until it gets fixed. (CM Sources related)
20150920:
Updated CM Sources
Improved compatibility with BT Accessories (such as Headsets, Headphones, Carkits, etc...)
Removed Battery LED low power mode (now there's always full brightness)
Switched to latest Lollipop RIL (thx @modpunk)
Improved compatibility with Chinese modems (workaround is still required)
Improved WiFi stability with some networks
Enhanced Network (Mobile Data and WiFi) performance
Reduced screen-on/screen-off delay to the max
Enhanced FileSystems stability (there's now a good compromise between stability and performance)
Improved Camera stability (it shouldn't hang anymore after some runs)
Properly configured Video Encoding/Decoding values
SYNAPSE: removed not working and useless features
SYNAPSE: improved start-up time
KERNEL: using new WiFi country code table
KERNEL: enabled F2FS check support
RECOVERY: there are too many changes, i can only say that it is now working PERFECT
ALERT: Battery LED sometimes flashes without any valid reason, please ignore this bug until it gets fixed. (CM Sources related)
20150916:
Updated CM Sources
Removed Advanced Display app (all has been moved to Synapse and native Settings)
Improved stability with JPEG stuff ( @dandemonic , please test this build )
Improved UI Smoothness
ALERT: Battery LED sometimes flashes without any valid reason, please ignore this bug until it gets fixed. (CM Sources related)
20150914:
Updated CM Sources
Switched to BFQ I/O Scheduler
Removed some useless stuff here and there
Improved compatibility with defective batteries
Enabled auto-brightness while in doze mode
Reduced maximum users limit
KERNEL: added BFQ I/O Scheduler support
KERNEL: fixed wifi suspend issues (causing low performance and loss of connections)
KERNEL: added some updates
ALERT: Battery LED sometimes flashes without any valid reason, please ignore this bug until it gets fixed. (CM Sources related)
20150910:
Updated CM Sources
SYNAPSE: added screen resolution switch feature
KERNEL: some updates here and there
ALERT: Battery LED sometimes flashes without any valid reason, please ignore this bug until it gets fixed. (CM Sources related)
20150906:
Updated CM Sources
Fixed random reboot issues, be sure to wipe "Synapse" app data.
GearRecovery 20150906 has been released
KERNEL: enabled l2_hsic & Software CRC by default
ALERT: Battery LED sometimes flashes without any valid reason, please ignore this bug until it gets fixed. (CM Sources related)
20150904:
Updated CM Sources
Fixed Wi-Fi 5GHz
Fixed all instabilities (MP3, reboots...)
Fixed wrong HWUI config.
Improved SQL/Database performance
Improved GPS signal stability
Using proper audio values for some paths
Improved Smoothness here and there
GearRecovery 20150904 has been released
KERNEL: back to XZ compression to fix recovery image size
ALERT: Battery LED sometimes flashes without any valid reason, please ignore this bug until it gets fixed. (CM Sources related)
20150901:
Updated CM Sources
Fixed Wi-Fi instabilities
Removed Boot Animation micro-lags
Enabled adjustable LEDs brightness
Improved Performance on big.LITTLE architecture
KERNEL: remove broken CIFS support
ALERT: Battery LED sometimes flashes without any valid reason, please ignore this bug until it gets fixed. (CM Sources related)
20150830:
Updated CM Sources
Fixed Bluetooth SCO Audio
Fixed Battery Charging LED
Fixed interferences with Google Now Voice Recognition
Added support for Chinese modems (you need to manually set a flag, check FAQ)
20150829:
Updated CM Sources
Disabled broken WiFi EAP support
KERNEL: enabled CIFS & NFS support
20150828:
Updated CM Sources
Increased Video Quality (no more pixelated)
There shouldn't be anymore rare problems with MP3 files
Increased Stability
KERNEL: remove recommended aosp values (fixes mobile data)
20150827:
Updated CM Sources
Added source-compiled Memory Tracker HAL
Disabled legacy DRM stuff (please test any DRM app and let me know if they are still working)
Optimized Wi-Fi Configuration (up-to-date with latest Nexus devices)
Disabled Home Button while in-call
Optimized I/O Performance (on both EXT4 & F2FS)
Optimized Battery Modes (Power save doesn't cause crashes anymore and Performance profile doesn't kill anymore your device )
Using proper Wi-Fi HW Configuration (now each device will use proper config, based on its board)
Fixed in-call audio on first call after every boot (using another workaround)
Added MPEG1 HW Decoding support
Increased Photo Quality
Using proper software decoders/encoders for our device
Added Direct Download support to OTA Updates
Added AAC 5.1 Output support (through HDMI/Dock)
Disabled useless Bluetooth client features (we need to act as a server, not as a client)
Restored stock in-call animations (less smooth than before, but faster)
Enabled "Prevent accidental wake-ups" feature (not by default, due to defective proximity sensors)
Enabled proper Wi-Fi EAP support (please test it)
Disabled some useless features here and there
Enabled preferred install location option
Disabled HDCP by default (should fix wireless display issues with some TVs)
Enabled some interesting CM hidden features here and there
KERNEL: added updates from latest android-3.4 AOSP branch
KERNEL: switched to LZO compression for much faster boot process
KERNEL: fixed some little issues that could crash the device
KERNEL: fixed wrong MTP device naming
KERNEL: enabled/disabled features as recommended by AOSP config.
20150820:
Updated CM Sources
Restored HDMI Audio
Removed MP3 HW Decoder
KERNEL: improved performance and code optimization
20150819:
Updated CM Sources
Updated AOSP Sources (5.1.1_r13)
Stabler Bluetooth SCO Audio
Enabled HW MPEG2/MP3/VP8/WMV Decoders
Improved Performance and Stability (even more)
KERNEL: fixed EHCI wake-up bug (thx dandemonic for bug report)
KERNEL: reduced useless dw_mmc verbosity
KERNEL: updated net stuff
20150816:
Updated CM Sources
Fixed Inverted Colors bug everywhere (Screencast, Wireless Display...)
Enhanced VOIP Microphone Volume
Improved Performance
KERNEL: updated network stuff
20150815:
Updated CM Sources
TEST: Fixed VOIP apps
Stabilized Bluetooth SCO, but not completely
Switched back to Open-Source OMX Codecs
Fixed, again, manual operator search. (some of the CM Updates broke it)
Added GearCM denomination
KERNEL: reduced charge current while screen is on
KERNEL: decreased maximum CPU temp. (no more 100c using Balanced Battery Mode)
KERNEL: fixed USB Mass Storage (testers required)
20150811:
Updated CM Sources
Enhanced Microphone Volumes
Killed l2_hsic modem wakelock
Improved Battery Life
Allowed Low Latency audio access to third-party apps
Improved InCallUI Performance
20150810:
Updated CM Sources
Enhanced Audio Input/Output values (Speaker, Microphones, Earpiece).
Reduced/Fixed Echo in-call
mDNIe set to Auto by default
Fixed VOIP apps such as Skype (testers required)
SYNAPSE: removed CPU/GPU Overclock
KERNEL: using whole new kernel, based on latest CM repo plus my optimizations
KERNEL: removed CPU/GPU Overclock
KERNEL: improved Stability, reduced CPU temperature while on Full Load
20150731:
Updated CM Sources
Fixed, and now definitely, sound disappearing bug. If you don't believe me anymore, try this build
Audio Driver Latency has been optimized, now even better
Improved Camera performance
20150729:
Updated CM Sources
Fixed HDMI audio using MHL adapter
Switched to newest LL Camera Proprietaries (instead of old JB ones)
Fixed S/W Encoders (no more inverted colors while sharing videos using Social Media apps)
Added Low Latency Audio support
Improved Audio Driver stability and performance
Please take a look at the updated "Known Issues" paragraph.
20150727v2:
Updated CM Sources
Consider this build as a 20150727v2 build (OTA doesn't accept "v2" typo)
Fixed "No SIM Card" bug for some of Synapse app users (tested)
20150727:
Updated CM Sources
Improved Stability and Performance (random reboots aren't anymore here)
Enabled HDMI Audio (untested)
Fixed Audio Disappearing issue (tested)
20150724:
Updated CM Sources
Fixed Bluetooth
Fixed USB Mass Storage mode
Improved Stability and Performance
20150723:
Updated CM Sources
Removed Synapse app by default (but support is still there)
Improved Stability & Performance
Increased Speaker volume
Fixed LEDs while on Offline Charging mode
Updated proprietaries to latest OF3 Stock ROM
SYNAPSE: clean up and add some features such as GPU min frequency
KERNEL: Updated sources to latest OF3 Source Package
KERNEL: Increased Stability
KERNEL: Added FIOPS I/O Scheduler (set by default)
20150715:
Updated CM Sources
Restored SystemUI (Recents Apps) performance tweak
20150714:
IMPORTANT: Full Wipe is recommended (let's say nearly necessary)
Updated CM Sources
Fixed random -No SIM Card- bug caused by Synapse
Fixed root access on first boot
Switched to SuperSU (CM's Superuser wasn't working correctly with Synapse)
Improved UI and JPEG Performance
Improved Bluetooth stability and performance
InCallUI doesn't have micro-lags anymore
SYNAPSE: Fixed No UCI Support bug
SYNAPSE: added Software CRC Toggle (enabled by default)
KERNEL: update Wi-Fi Country Codes
KERNEL: optimized battery life, stability and performance
KERNEL: use latest SaberMod GCC 5.1 Toolchain
KERNEL: reduce mmc wakelocks
20150711:
Updated CM Sources
SYNAPSE: fixed some values (audio, charger)
KERNEL: revert some mmc updates to reduce wakelocks
KERNEL: optimizations and clean-up here and there
20150709:
Updated CM Sources
Fixed "no SIM Card" issue
KERNEL: revert GPU memory change (fixes Random Reboots)
KERNEL: back to Stock Thermal Management (fixes Performance Regression)
KERNEL: fixed wrong battery capacity (latest Samsung LL sources have this bug)
KERNEL: little ptrace fix
20150707:
Updated CM Sources
Fixed horrible and distorted speaker sound
Added OTA Updates support
SYNAPSE: added CPU A7/A15 Control
SYNAPSE: added Wolfson Sound Control
SYNAPSE: added AMOLED Screen Control
KERNEL: updated IKCS driver to Exynos5420 state
KERNEL: added A7/A15 CPU Overclock/Underclock
KERNEL: added AMOLED Screen Control driver
KERNEL: added Wolfson Sound Control driver
KERNEL: updated UDP driver
20150706:
Updated CM Sources (5.1.1_r6 now)
Reduced HAL debug (camera, power, lights...)
Fixed Audio disappearing bug (please test, our audio platform is so strange that could have different behaviour on each device)
Improved Camera stability
Increased main mic volume a bit
Added Synapse Kernel Control support (with many many many features )
Updated RIL to latest JB 4.3 release (NB1, KK and newer libs aren't compatible yet)
Added some missing proprietary libraries (such as memtrack)
KERNEL: update to Linux Kernel 3.4.108
KERNEL: fixed thermal management (no more crashes and less heat production) <= this means reduced overheating
KERNEL: improved compatibility with slow microsd cards
KERNEL: improved performance and reduced battery usage
KERNEL: removed NTFS driver (support is still here, but as a module that needs to be manually loaded)
KERNEL: increased GPU shared memory (reducing available RAM to the userspace)
KERNEL: disabled unused and useless features
20150606:
Updated CM Sources
Introduced new Doze Service with Gestures support (Ambient Display)
Enabled Call Recording (only for countries where this is allowed)
Enhanced Modem Stability
Using new Speaker/Mic volumes (by @NBruderman )
Introduced HFR Support (720p60 Video Recording, but still not enabled)
Fixed Touchscreen Random delay after wake-up
Enhanced Stability and Performance everywhere
KERNEL: new whole kernel based on latest Linux Kernel 3.4.107 Release
KERNEL: improved CPU & GPU & I/O performance
KERNEL: enhanced USB connection stability
KERNEL: reduced heat production (totally reworked thermal management)
KERNEL: using latest available F2FS driver
KERNEL: sound card should be detected on all devices ( @MrComputerRevo : you know what i'm talking about )
KERNEL: sound will work also on first boot (previous overheating alert wasn't real)
KERNEL: improved battery life
20150517:
Updated CM Sources
KERNEL: enhanced USB stability
KERNEL: optimized memcpy performance
KERNEL: updated net ipv4/ipv6 stuff
KERNEL: optimized cpu performance
KERNEL: fixed wrong mtp name
KERNEL: many other changes (performance related)
20150425:
First Release
The CyanogenMod team would like to thank everyone involved in helping with testing, coding, debugging & documenting! Enjoy!
XDA:DevDB Information
[GearCM][i9500][5.1.x] Optimized CyanogenMod 12.1 for Samsung Galaxy S4, ROM for the Samsung Galaxy S 4
Contributors
Alberto96, NBruderman, intervigil, codeworkx
Source Code: https://github.com/GearCM
ROM OS Version: 5.1.x Lollipop
ROM Kernel: Linux 3.4.x
ROM Firmware Required: Latest LL Bootloader, Custom Recovery required to upgrade to GearRecovery and some basic flashing skills.
Based On: CyanogenMod
Version Information
Status: Stable
Current Stable Version: 20160220
Stable Release Date: 2016-02-20
Created 2015-04-24
Last Updated 2016-02-26
Read carefully.
Important! Read this before any other question/doubt.​​​
If someone doesn't like my ROMs, or doesn't like me, or even better, doesn't want to like/appreciate my works, then you can just go ahead and use/follow someone else works. Easy, not against XDA rules, and smart.
I'm not here for "fame" (or "glory" as someone in this forum said) unlike someone else, neither this is my job. I'm working on this device just because TW is far than usable (at least for me) on every Samsung device, not because someone else requested me to do it.
Click to expand...
Click to collapse
Differences between GearCM (Optimized CyanogenMod) and Official CyanogenMod (NIGHTLY):​
Degrated Shadow said:
Enough of those dumb questions..
The Official CM rom is maintained by @Alberto96 and @intervigil
He makes the very recent changes here relating to performance...which are then in time pushed (even if partially) to CM Official Sources. The kernel is different because it has seLinux disabled and few minor tweaks you might not even notice...this GearCM ROM will have more performance. But CM will have their updated base changes which are included here with each update.
What I mean is you probably wont even notice what's different in terms of user interface. GearCM will have more performance. Official CM will have updated sources. But it will include GearCM's changes in time as @Alberto96 pushes them to CM
You can decide by a simple choice..more performance and not-nightly updated sources or similar/worse performance (improving with nightly updates) with updated sources. I would choose GearCM because of the reasons i mentioned above. Do what you will...and let this be a note to everybody who ask this again and again and again. Don't spam the thread with same question in every alternate page...because there are other people who might have different problems they need to ask. Read at least 15 previous pages and the first post Changelog before asking the question. Reading most of the times will give you a solution and if not most of the info you will read will help you anyway.
Click to expand...
Click to collapse
Reserved
FAQ (Frequently asked questions)​
If there a procedure that i should follow in order to have a clean base to start from?
Yes, follow this procedure and you shouldn't have any issue.
Flash latest Stock ROM Odin package | http://www.sammobile.com/firmwares/download/55812/I9500XXUHOH7_I9500MBCHOF1_MBC | using latest Odin3 Flasher | http://forum.xda-developers.com/attachment.php?attachmentid=3446301&d=1440131361 | and Standard (not Chinese) .pit file. | http://forum.xda-developers.com/attachment.php?attachmentid=2343320&d=1382462885 |
After First Boot, Shutdown your device and Boot into recovery mode using 3 buttons combo (Volume +, Home, Power)
Wipe Data/Factory Reset using Volume Keys and Power Button (on Stock Recovery)
Flash latest TWRP 2.8.7.0 | https://dl.twrp.me/i9500/twrp-2.8.7.0-i9500.img.tar | using Odin3 | previously linked | (Untick Auto Reboot to avoid any issue)
Shutdown your device (pull off your battery)
Boot into recovery mode using 3 buttons combo | Volume +, Home, Power | (TWRP will boot now)
Flash latest GearRecovery (on TWRP)
Reboot into recovery mode using TWRP on-screen buttons | Home => Reboot => Recovery | (GearRecovery will boot now)
Clean completely your device (Format Data and Wipe All Partitions)
Reboot into recovery mode as did before (GearRecovery will boot again now)
Flash latest GearCM ROM
Home => Reboot => System
Where is "Developer Options" category?
To activate 'Developer Options' category in Settings you need to tap 7 times on 'Build number' located into Settings -> About Phone.
What can i do to fix VOIP audio calls?
There's not a real fix yet, so i found this useful workaround that could help you.
If you need to make a VOIP call:
1) Play something using stock music player (also third-party music players SHOULD be fine)
2) Do not pause audio playback
3) Make a call using your preferred VOIP app.
Or you can just use a Wired Headphone/Headset | BT Headphone/Headset.
This workaround should work also for incoming VOIP calls.
How can i solve problems with Hebrew language?
Go to "Developer Options" in Settings and check "Force RTL layout direction".
What can i do to reduce the "echo effect" while in-call?
Try to reduce in-call earpiece volume (if possible). Shouldn't be required on latest builds.
I'm having problems with battery life, what can i do?
1) Use "Greenify" to hibernate all apps with a "little cloud + 'Gcm' word inside" on the right of each app's name. Donation version is recommended because it allows deeper hibernation of apps
2) Disable "Location" or set it to mode "Battery Saving" (Settings -> Location)
3) Make sure that your 2G/3G mobile network signal level isn't always low or unstable
4) Deny "Wake Up" and "Keep Awake" permissions to Google and third-party apps. (Settings -> Privacy -> Privacy Guard -> Press menu button and check "Show built-in apps" -> Press menu button again and go to Advanced -> Horizontal Scroll to Device)
5) Disable "Sync" or sync only useful stuff like Contacts
6) Disable "Auto-rotate screen" (Settings -> Display & lights -> Rotation)
7) Use one of the latest Modem/Baseband listed on first post.
8) Disable Ambient Display
9) Install Xposed Framework and configure Amplify
If this isn't enough then replace your battery and/or reduce your phone usage. :silly:
Is GearCM OTA supported?
Yes (Since 20150707 Build)
Why is my phone over-heating while playing heavy-games or running heavy-apps?
Use a bit your brain to explain why. High CPU and GPU usage = high heat production. Your phone will automatically throttle CPU when needed so don't worry, it is safe and normal.
Can I use another kernel instead of the one included in the zip?
No. Only use the included kernel for 100% compatibility, bug reports with non-standard kernel will be ignored.
Can i disable S-View cover features (lock/unlock)?
Not yet.
*** IR Remote app isn't working anymore/was working on previous builds/causes my phone to crash, what can i do?
Contact *** IR Remote app developer.
Any question about "Can't connect to camera" issue
Do not "stress" camera because we don't use yet a proper implementation. (Exynos limited open-source env.) Just Open & Close Camera apps carefully without force-closing them. (and do not do this frequently)
GearCM 12.1 Released
Enjoy!
Wow am fast !Will test Asap
BUG :
The video playback is laggy and pixelated on software decoder
nice work dude
but I have a request for your Rom
in the touchwiz charging amperage set to 1200mA when screen is on and 1900mA when screen is off
it cause when I use device and it is charging it is not getting very hot and when screen is off charged as fast as possible
but in this ROM charging amperage set to 1900mA all the time and the device getting hot when using it and its charging and its bad for battery
I remember when I9500 released(on android 4.2) had this issue and getting hot when charging that Samsung fixed it
Please change charging amperage like touchwiz
thank u man
WiFi-Direct doesn't work,the phone reboots once a invitation is accepted from another device or vise versa.
*I don't have another device to try and give you a relevant logcat
What is your--
Phone model:I9500
Radio (baseband) version:12.1
GearCM version:20150425
GearCM download url:
Google Apps version: gapps-510-base-20150422-2-signed
Did you--
wipe data/factory reset: YES
restore with titanium backup: only apps data for dropbox, foldersync
reboot after having the issue: YES
Are you using--
a task killer: YES - Greenify
a non-stock kernel: Gearcm 3.4.5
CMSettings/Performance Settings (other than stock): NO
other modifications:
Didn't try it on previous versions of cm
Hey Everyone,
Please remember to use the Q&A/discussion thread for all topics that aren't directly related to development, such as bug reports and fixes.
You can find the Q&A thread here.
Thanks!
thnks again alberto such a grt rom
bug cast screen is not working
it not connecting to tv
Charging goes veeeery slow and battery is empty very fast.
tembares said:
Charging goes veeeery slow and battery is empty very fast.
Click to expand...
Click to collapse
That is a seriously issue on all CM rom on s4
Battery drain so fast and wrong ampere. It must be 1200ma not 1900ma
Seems like all dev whos develope CM rom got the same issue
Sorry bad english
Im facing heating issue while charging
Device turns off when i capture with flash on (sometimes)
Sent from my GT-I9500 using XDA Free mobile app
anggarasastraz said:
That is a seriously issue on all CM rom on s4
Battery drain so fast and wrong ampere. It must be 1200ma not 1900ma
Seems like all dev whos develope CM rom got the same issue
Sorry bad english
Click to expand...
Click to collapse
Well not the case with fraptis build of cm 12.1.
Alberto96 said:
Differences between GearCM (Optimized CyanogenMod) and Official CyanogenMod (NIGHTLY):​
Click to expand...
Click to collapse
man.. i switched my phone quite a time back.. you still quoting me
how you doing bro?:highfive:
20150429 Test Build: REMOVED
Untested.
Updated CM Sources & Optimized Kernel
it's not booting (dirty flashed)
brunotux said:
it's not booting (dirty flashed)
Click to expand...
Click to collapse
clean Flash... not booting...
Ok, this build should boot.
20150429v2 Test Build: https://www.androidfilehost.com/?fid=23991606952594057
Just Updated CM Sources
@Alberto96 i wanna try CM rom but why the heating and charging problem never been solved? Its like all CM rom got the same problem. I just wanna know why
I hope you answer my question. Thanks

[ROM] [UB] Updated February 9, Jaguar Amami LP5.1.1 Hardened Official HyperTool 5.4

This is the Official Jaguar rom for Amami, which is based on AOSP with some flavors from Slim and Dirtyunicorn. The main difference from other roms is the emphasis on security and multiple features. With that in mind , let's see what Jaguar has to offer:
1. Hardened Kernel, modified M5 built with UBERTC 6.0; hardened rom built with HYPERTOOL 5.4
2. All ciphers enabled in kernel instead of just a few
3. Hardened/Fortified Bionic and Libs
4. Fstack protection strong to resist buffer overflows
5. Many System apps and processes are made read-only, to reduce elevation of privilege
6. Selinux replaced with Tomoyo Security, Yam security
7. Disc encryption, keymaster to 256 bit AES instead of 128
8. Latest TWRP with working brightness and ability to decrypt Data
9. Random number generation mixed hardware/software, as recommended by Linus Torwalds
10. Options to randomize host on every boot
11. Option to have a separate password for lock screen and boot
12. Qualcomm's Time Services disabled due to leaking on early boot (set time to automatic to get it from your carrier). Forget it. The rom now includes Sony TimeKeep that sets the time locally
13. WIFI Background Scanning disabled to prevent leaking
14. Internet disabled for both WIFI and Data until Afwall is set and activiated (Afwall included in download, install as regular app)
15. The phone is VOLTE ready and you have all network options available in Cell menu (not just LTE/WCDMA/GSM)
16. GRsecurity features, such as Sidechannel implemented
17. Some Pax Security Features
18. Option to deny USB connection: denied always; denied when locked; and allowed always
19. Hardened webview with Google and other "interesting" IPs removed
20. Prevention of bruteforcing screen pin: the phone will reboot upon 3 unsuccessful attempts
21. Perfect_Event_Paranoid ported from Grsecurity: now third party apps can't use other apps including system to elevate privileges
22. Camera hardware button works to focus, take pictures and start video recording
23. Option to disable writing to Tombstones (a lot of private info is dumped there if there is a crash)
24. Option to disable continuing writing of logcat
25. Option to disable device cameras: back; front, both or none
26. Always latest Google Security Patches
27. Always latest Code Aurora Security Patches
28. Changes ported directly from Google Android Gerrit, so most of those in MM and even N are in this rom
29. About 80% of kernel changes are ported into Jaguar kernel from 3.10 and 3.18 (not Sony AOSP 3.10 that has Down Syndrome, but Linux/Google/Code Aurora one)
30. Rom is odexed to significantly increase boot speed (under 30 seconds) and application start
31. Many more security features ported from Linux and Copperhead OS
32. Dns Crypt: a feature allowing to choose among many Dns providers (all encrypted)
33. Seccomp: secure computing enabled in kernel
Other features include: Layers Theme Engine; Native Call Recording with interface integrated in Dialer with no restrictions; Privacy Guard; Native Wakelock Blocker; Native Black List; Global Menu; Slim Recents; Traffic Indicators; Advanced Reboot; Slim Pie; CPU Info on Screen; Ram Bar in Recents; Supersu included and integrated in Settings; True Offline Charging with Screen Off; Kernel Adiutor included (unzip and install as a normal app) and integrated in Settings; FM Radio and Recording plus more
Things users need to know to have smooth experience:. These are not bugs, but rather an explanation of some features
1. If you want to do data encryption, keep in mind that unlike Android, Jaguar uses 256 bit encryption. If you were encrypted on other roms, you won't be able to decrypt. So, wipe encryption and then re-encrypt on Jaguar. Also, keep in mind that if you ever did factory reset on official TWRP 3+ for honami, your data partition is screwed and have to be resized to enable encryption. This has nothing to do with the rom, but rather with the official TWRP itself. Fastboot my unofficial TWRP 3.0.2, which, by the way has working brightness, as well as ability to decrypt and mount data
2. Jaguar contains a script running on early boot, which cuts the internet access to both WIFI and Data until Afwall is running. This is done to prevent leaking, as well as having all your internet traffic routed through some interesting number of servers, including this IP: 26.147.196.22. So, install Afwall and activate it, otherwise, no Internet for you
3. If your system language is different from English and you want to make changes in Phone/Cell Network settings, switch to English first, make the changes and then return to your language. The changes you made will hold. If you try to make the changes in your language, you will have com.android.phone crash. Localization takes time and is virtually impossible to implement in Jaguar, which is a one-person-rom
4. TimeKeep is ported from MM/N. Now time is set locally without the Internet or GSM signal. You need to set it once only and then TimeKeep will keep it current on each reboot, even if Airplane mode.
5. GAPPS: in order to escape f/c, you need to flash GAPPS right after the rom without reboot. If you reboot, you will have problems.
6. If you came from Kitkat directly to a custom LP (without having stock LP at least once), you might experience problems with hardware: gps/wifi irregularites. This applies to any custom rom above Kitkat. To remedy this, flash unmodified Sony stock LP 5.1.1, boot the phone and let it settle. Then you can reboot into fastboot and flash TWRP recovery. Then you can flash Jaguar
Download: All updates and change logs are in Post #3 now
Instructions:
1. You must have flashed and booted stock LP 5.1.1 once to upgrade your hardware (see explanation above)
2 Have TWRP (fastboot my unofficial version), unlocked bootloader and root
3. In TWRP, wipe data/factory reset, then wipe System/Data/Cache/Dalvik
4. Flash the rom
5. If you use xposed, flash the latest installer (As of October 2016 no longer works due to multiple implementations from Nougat)
6. Reboot, install Afwall and Kernel Adiutor as normal apps; activate Afwall to have Internet
7. Enjoy the rom, say thank you, donate or do both
Warning: If your device and/or anyone in the immediate vicinity dies, don't blame me: it is all China and Russia's fault. :laugh:
Credit: CM, AOSP, Slimroms, DU, Copperhead OS, Myself5 (kernel)
UPDATED KERNEL SOURCE: https://forum.xda-developers.com/devdb/project/dl/?id=23107 . Don't flash. This is not kernel, but rather sources to compile kernel
Kernel Sources: https://github.com/AOSP-Argon/android_kernel_sony_msm8974
XDA:DevDB Information
Jaguar Amami LP 5.1.1 r37 Official, ROM for the Sony Xperia Z1 Compact
Contributors
optimumpro
ROM OS Version: 5.1.x Lollipop
ROM Kernel: Linux 3.4.x
ROM Firmware Required: Unlocked Bootloader
Based On: AOSP Slim DirtyUnicorn
Version Information
Status: Stable
Created 2016-06-11
Last Updated 2017-02-09
I broke my Z1 screen again and I am not in the mood for after market screens. And I am sick and tired of Sony crappy treatment of development community.
I am now looking at Lenovo Zuk Z2 or Z2 pro. Both excellent phones with the latest CPU and made out of metal and glass by Motorola which they bought from Google a couple of years ago. Zuk is friendly to developers and their blobs don't dumb down camera and they don't seek to "unify" bugs for all their devices. I no longer wish to support a fat bastard corporation that can't make a good phone, but thinks that just by putting their logo on the phone would make it worth $700.
RE Jaguar. I will continue to maintain Jaguar mainly with security patches... for a while, but my main work will be concentrated on Zuk. There is a lot of work to be done cleaning Android N and implementing security and other features from Jaguar...
Some screenshots: http://forum.xda-developers.com/showpost.php?p=62560391&postcount=2
February 9. New release:
1. February Security patches
2. DNS_Crypt (in settings/security)
3. Seccomp (secure computing implemented in kernel)
4. Open Source Superuser integrated
5. Silent SMS notification enabled
6. 1440p profile in camcorder added
7. Sony TimeKeep: now time is set locally without the Internet or GSM signal (you need to set it right the first time only)
8. Updated TWRP that now works with TimeKeep
If you enable Dnscrypt and you use Afwall, allow internet for apps running as root...
If you prefer closed source Supersu, just flash the zip...
Download Rom: https://forum.xda-developers.com/devdb/project/dl/?id=23073
Download TWRP: https://forum.xda-developers.com/devdb/project/dl/?id=23070
______________________________________________________
January 12: Updated release that includes a fully working NFC-HCE for Android Pay. It may be possible to bypass Safety Net by deleting Superuser or Supersu with su binary, as Lollipop doesn't have dm verity. Although, if the check includes bootloader status, you may be out of luck.
You may flash dirty on top of the previous Jaguar release.
Download: https://forum.xda-developers.com/devdb/project/dl/?id=22567
_________________________________________________________________
January 6: New release with January security patches from Google and Code Aurora. Also, qcom time service is back.
Download: https://forum.xda-developers.com/devdb/project/dl/?id=22449
You can flash on top of the previous release. Otherwise, read the OP (fresh install).
____________________________________________________________________________________
December 10. Rom updated to include:
1. December security patches
2. Signature spoofing (like in Omniroms)
3. USSD fixed (maybe)
Download: http://forum.xda-developers.com/devdb/project/dl/?id=22005
__________________________________________________________________________________
November 11. Rom updated to include November Security Patches. I have also removed Supersu, as there is a built-in root manager and quite a few people no longer trust the Chinese owned Supersu.
Download: http://forum.xda-developers.com/devdb/project/dl/?id=21448
________________________________________________________________________________
October 5. New release:
1. Kernel overclocked to 2803: experimental, I have used it for 10 days on Z1 without problems
2. October security patches from Google and Code Aurora
3. Over 80 commits from Google Master Gerrit which included changes to bionic, art, frameworks and system
4. Updated Afwall
5. Maybe more
This rom is now about 40% Nougat. One of the side effects: Xposed framework no longer works, but getting rid of it and instead using Privacy Guard is almost as good. Don't forget, Xposed is an exploit, which provides hooks for good and bad things.
Rom Download: http://forum.xda-developers.com/devdb/project/dl/?id=20791
Afwall/Kernel Adiutor Download: http://forum.xda-developers.com/devdb/project/dl/?id=20790
You can flash dirty if on a previous release
_________________________________________________________________________________
September 8. Rom updated to include:
1. September Google security patches
2. Latest Code Aurora patches https://www.codeaurora.org/projects/security-advisories
3. MPdecision is permanently disabled due to interfering with other hotplug and CPU frequencies. Default is MSMdecision, but you can pick several others in Kernel Adiutor
4. CPU overclock and underclock removed: no benefit whatsoever
5. More hardening ported from 3.18 kernel: https://android-review.googlesource.com/#/q/hardened,25 You won't find those on any rom custom or stock. This is from 3.18 kernel and it has nothing to do with Sony
6. About 70-80 commits from Android Master Branch. Folks. This is no longer a lollipop rom
7. PXN security feature implemented, which takes advantage of special instructions on ARMv7 to prevent unprivileged execution. See here: https://android-review.googlesource.com/#/c/265892/
8. Further integration of VOLTE
9. Kernel Adiutor: author has decided to go with Mobile Ads/Adview/Adbanner. So these were removed...
10. Camera: improvements to camera wrapper (missing entries), as well as some modifications in /frameworks/av/camera, so, you have a sharper picture. See photo attached, although, XDA reduces pictures... . This was taken with Open Camera.
Maybe more...
WARNING: you need to do one thing after flashing the rom: flash the latest stock baseband. BASEBAND ONLY. If you don't, you will only have LTE: no H+/H/2G. This is a one-time procedure and is due to Volte implementation. You have been warned. First flash the rom, then reboot, then flash the latest baseband. I don't want to hear cries: where is my 3G!
Download Rom: http://forum.xda-developers.com/devdb/project/dl/?id=20290
Download Afwall/Kernel Adiutor:http://forum.xda-developers.com/devdb/project/dl/?id=20288
You may flash dirty if on a previous release. Otherwise, clean flash...
So far so good but I noticed some bugs which come from CM trees - The scrolling is laggy (this fixed it http://review.cyanogenmod.org/#/c/109956/ ) screen is flickering with low brightness ( I made a fix but looks like I'm not able to complete it https://review.cyanogenmod.org/#/c/106545/ ) and WiFi Mac is wrong (starts with 00:00 and I think this commit fixed it https://review.cyanogenmod.org/#/c/117270/ ) Otherwise great ROM and thanks for the work!
optimumpro said:
This is Official Jaguar Rom LP 5.1.1 r37 which enjoyed over 4000 downloads at Xperia Z1 thread. Jaguar is the only LP rom that is being actively developed and maintained, which means latest sources including June security patches...
Important Disclaimer: I don't have Z1 compact, so, although unlikely, you may have non boot issues. So, back up your prior rom and don't complain, as for the purposes of Z1 compact, this is an experimental build...
As you all know, MM is still in bad alpha state, not to mention horrible camera and it will NOT get any better for many reasons such as: idiotic switching to AOSP (instead of CM) trees; and CM abandoning AOSP in favor of its own closed source OS. Pure AOSP has NEVER had a stable Z1 rom for any version of Android be it MM, LP, Kitkat or even Jeallybean. So, forget about MM. It is bad and isn't getting better.
Click to expand...
Click to collapse
Thanks for the rom, I look forward to trying it out. I must say, though, that we have seen at least a couple of AOSP/AOSP-based ROMs for our device that are developing nicely - fully functional and with good cameras. See DU by @SpiritCroc, and AOSP by @freexperia.
However, as far as CM goes, you're quite right. Several nice ROMs, but little camera progress.
Syssx said:
So far so good but I noticed some bugs which come from CM trees - The scrolling is laggy (this fixed it http://review.cyanogenmod.org/#/c/109956/ ) screen is flickering with low brightness ( I made a fix but looks like I'm not able to complete it https://review.cyanogenmod.org/#/c/106545/ ) and WiFi Mac is wrong (starts with 00:00 and I think this commit fixed it https://review.cyanogenmod.org/#/c/117270/ ) Otherwise great ROM and thanks for the work!
Click to expand...
Click to collapse
In Kernel Adiutor use Ondemandplus, multicore power saving disabled. Set timer_rate at 33000. Don't use mpdecision, instead use Msmpdecision hotplug with idle frequency set at 1497. Use intelithermal. You will also have cpu and gpu overclocked to 2457 and 600 respectively. Also voltage changing is in kernel. Screen flickering does not exist on Z1. I will look into it...
Edit: those old commits were in from the beginning...
12. Mandatory use of Afwall (no internet unless Afwall is activated)
Click to expand...
Click to collapse
Afwall+ has never worked right for me. It actually blocked some apps explicitly whitelisted, and some blacklisted apps would still go through it. I know OP is not to blame about this, but making it mandatory is a big "no" for me.
optimumpro said:
In Kernel Adiutor use Ondemandplus, multicore power saving disabled. Set timer_rate at 33000. Don't use mpdecision, instead use Msmpdecision hotplug with idle frequency set at 1497. Use intelithermal. You will also have cpu and gpu overclocked to 2457 and 600 respectively. Also voltage changing is in kernel. Screen flickering does not exist on Z1. I will look into it...
Edit: those old commits were in from the beginning...
Click to expand...
Click to collapse
Flickering occurs while Adaptive Brightness is on and when Brightness slider is on minimum value. Screen (and or backlight) just starts to flicker.
What gapps should I use fro this rom?
I tried opengapps but they make AOSP keyboard crash. (clean install)
Syssx said:
Flickering occurs while Adaptive Brightness is on and when Brightness slider is on minimum value. Screen (and or backlight) just starts to flicker.
Click to expand...
Click to collapse
Disable ambient display: it is broken on lp and wastes battery.
leonmorlando said:
Afwall+ has never worked right for me. It actually blocked some apps explicitly whitelisted, and some blacklisted apps would still go through it. I know OP is not to blame about this, but making it mandatory is a big "no" for me.
Click to expand...
Click to collapse
You need to use built in binaries for iptables and busybox (prefrences/binaries), as Google iptables are modified to allow certain traffic. Afwall is good in preventing all kinds of leaks, but it can't do anything until it runs and it does not run on boot. So, this rom has a script on early init that cuts the internet until the firewall starts. Without it all your internet traffic is routed through an ip like this one: 26.147.196.122.
Cant install Afwall+KernelAuditori.zip md5 failed
is it the reason why I cant use the internet via WLAN or Mobile Data? Because someone has written that a script block all internet traffic till AFWall is started?
com.android.phone FC when I try to set up some mobile settings by long holding the mobile strengh indikator
Edit: com.android.phone FC only in german language and not in english language
Thanks
AlexandreVegetaroux said:
Cant install Afwall+KernelAuditori.zip md5 failed
is it the reason why I cant use the internet via WLAN or Mobile Data? Because someone has written that a script block all internet traffic till AFWall is started?
com.android.phone FC when I try to set up some mobile settings by long holding the mobile strengh indikator
Edit: com.android.phone FC only in german language and not in english language
Thanks
Click to expand...
Click to collapse
You don't flash Kernel Adiutor and Afwall: unzip the file and install as normal apps, as it says in the OP.
With regard to phone FC, change the language to English, set whatever you need and then switch back to German...
Edit: this rom is not based on CM, which only recently implemented localizations/translations. My rom and development is a one person thing, so, it is not possible for me to do all localizations. However, as described above, you can set whatever you want in English and then switch back to your language: the settings will hold
optimumpro said:
Disable ambient display: it is broken on lp and wastes battery.
Click to expand...
Click to collapse
Man I dont think you got me right. The brightness values of CM sources are too low for Z1C (they are using stock ones and not sony ones) - this file is missing from sources with propper settings https://github.com/sonyxperiadev/de...rameworks/base/core/res/res/values/config.xml
//edit// so ive found that the values are here: https://github.com/CyanogenMod/andr...rameworks/base/core/res/res/values/config.xml and as you can see CM uses lowest value of "20" and SONY AOSP sources use "32" ( <item>32</item> <!-- 64 --> from their source)
no internet
no internet conection with this rom.what is wrong?
Syssx said:
Man I dont think you got me right. The brightness values of CM sources are too low for Z1C (they are using stock ones and not sony ones) - this file is missing from sources with propper settings https://github.com/sonyxperiadev/de...rameworks/base/core/res/res/values/config.xml
//edit// so ive found that the values are here: https://github.com/CyanogenMod/andr...rameworks/base/core/res/res/values/config.xml and as you can see CM uses lowest value of "20" and SONY AOSP sources use "32" ( <item>32</item> <!-- 64 --> from their source)
Click to expand...
Click to collapse
This rom has exactly the same value as in Sony that you linked: 10, 32, 64... . . Is there a reason CM abandoned that commit that had 13 instead of 10? But anyway, whatever the values are, don't set brightness to the extreme low and you won't have any flickering...
bubaliana said:
no internet conection with this rom.what is wrong?
Click to expand...
Click to collapse
You have to read the OP: Install afwall and kernel adiutor as normal apps (they are linked in the OP), set/activate Afwall and you will have the internet...
optimumpro said:
You need to use built in binaries for iptables and busybox (prefrences/binaries), as Google iptables are modified to allow certain traffic. Afwall is good in preventing all kinds of leaks, but it can't do anything until it runs and it does not run on boot. So, this rom has a script on early init that cuts the internet until the firewall starts. Without it all your internet traffic is routed through an ip like this one: 26.147.196.122.
Click to expand...
Click to collapse
you mean we need to follow these instructions http://forum.xda-developers.com/showpost.php?p=62560397&postcount=3?
BTW great rom,thanks for bringing it to Z1C section also:good:
broky said:
you mean we need to follow these instructions http://forum.xda-developers.com/showpost.php?p=62560397&postcount=3?
BTW great rom,thanks for bringing it to Z1C section also:good:
Click to expand...
Click to collapse
No. Since that I have integrated the changes in the rom. Right now all you need to do is to install and activate Afwall. It is simple: no afwall, no internet. Yes activated afwall - yes internet.
optimumpro said:
You have to read the OP: Install afwall and kernel adiutor as normal apps (they are linked in the OP), set/activate Afwall and you will have the internet...
Click to expand...
Click to collapse
Thank you for help.

[GT-I9001][ROM] Customized LineageOS 11.0 (04.11.2018)

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Hello everyone,
with this post i present you my Customized LineageOS 11.0 build (based on Android 4.4.4) for the Samsung Galaxy S Plus (GT-9001).
This Rom is based on the work from the ADC-Team and their CyanogenMod 11.0 ROM. The included Kernel is based on Christopher83's UV K^Kernel.
I made this Rom mostly for myself, because i still use this device as my daily driver.
Please take a look at the feature list to see if you like them or not. Also, please read the installation instructions carefully!
Disclaimer
Your warranty is now void.
We are not responsible for bricked devices, dead SD cards, thermonuclear war, or you getting fired because the alarm app failed.
Please do some research if you have any concerns about features included in this ROM before flashing it!
YOU are choosing to make these modifications, and if you point the finger at us for messing up your device, we will laugh at you.
Click to expand...
Click to collapse
Features
Latest LinageOS version with current security patch level
Kernel 3.4.113 compiled with latest Linaro 7.3.1 Toolchain
Rom compiled with latest UberTC 4.8.5 Toolchain
Build with optimization flags and added misc performance optimizations
F2FS support for Data and Cache
SDFAT driver for ExFAT and vFAT support
Hardened Kernel and ROM configuration
A lot of fixed security vulnerabilities (e.g. the spectre bug)
Debloated by removing some apps and more stuff (like the theme engine)
microG support
Build with NoAnalytics
Removed some of Google's proprietaries
Up to Date Fennec web browser
Some Vendor Blobs got replaced with open source alternatives (rmt_storage, libgemini and rild till now)
Some upstream updates (Font, tzdata, APN, ...)
Rom and APKs signed with private keys
a lot more...
Installation
If you are installing this Rom for the first time, please do a clean installation:
Download this Rom and the latest TWRP recovery from the ADC-Team with F2FS support (look inside the Download section)
Optional: Download a Gapps package, even tho i strongly suggest not to install them, because of possible performance issues and privacy concerns
Put all of the downloaded files on an external SD card (if you don't have one, you can copy the Rom (and Gapps) on the internal SD card via MTP after the wiping step)
Optional: Backup all of your data
Install the new recovery, then reboot into recovery again
Change the filesystem for the Data AND Cache partition to F2FS (Wipe -> Advanced Wipe -> Select Data -> Repair or Change File System -> Change File System -> F2FS -> Swipe -> Redo steps for Cache)
Wipe Dalvik Cache, Cache, System and Data partition
Install the ROM
Optional: Install Gapps
Reboot the system
If you want to update from the 03.08.2018 build or older to a newer version you have to flash a migration zip first.
Read more about it in the second post.
If you already installed this build, then you can just update it:
Download the new build and copy it to your device
Wipe Dalvik Cache and Cache
Optional: Wipe System (I do this step every time. Its usually not needed and will (hopefully) tell you if it's necessary)
If you are using Gapps you have to install them after the Rom update again
If you are using Adaway, you have to download your Hostfiles after this step again
Install the Rom update
Reboot the system
Changelogs
04.11.2018 build:
LineageOS
-september security bulletin
-added disclaimer to the security patch level
Kernel
-a few patches from lineageos' msm8974 kernel repo and jdc teams kernel repo
-more spectre patches
-changed default governor to interactive
-fixed a "few" compiler warnings
Rom
-update tzdata to 2018g
-update apns
-remove more debug programs
-speed up (scroll-)animations and shutdown
-moved gps hal to the device tree
-add rom informations to the updater script
Apps
-updated fennec to 63.0
Again: if you browser starts to crash after updating, you have to clean Fennec's data. I am sorry if that happens.
Click to expand...
Click to collapse
Old Changelogs:
10.09.2018 build:
LineageOS
-august security bulletin
Kernel
-misc security patches
-updated ancora defconfigs (because of a request)
-implemention of a quickwakeup driver
-use gzip instead of xz for compression
-overclock GPU to 275MHz (thanks to marcindevelopment)
-some more small things
Rom
-updated apns
-removed some debug programs
-removed recovery resources from the zip
-misc cleanups
-readded all the languages and fonts! (thats why the build is about 30mb larger)
-signed builds!
Apps
-updated fennec to 61.0.2
Again: if you browser starts to crash after updating, you have to clean Fennec's data. I am sorry if that happens.
ZIPs
-addonsu zip
-addonsu-remove zip
-migration zip
Click to expand...
Click to collapse
03.08.2018 build:
LineageOS
-july security bulletin
-added some missing September 2017 patches
Kernel
-added LineageOS' SDFAT driver, removed ExFAT driver
-added Spectre V1 and V2 patches
-some security patches from LineageOS' samsung_msm8974 kernel tree
-added some more hardened kernel configurations from AndroidHardeningArchive's Kernel tree
-use optimizations for the memory manager again
-updated android-alarm driver
-a lot of firmware loader updates
-reverted all of the latest binder updates
This fixes the broken touchkey backlight timeout option
-added some K^Kernel patches i somehow missed
-switched some I/O schedulers and governors
-added an interface that lets you disable the logger
-removed execution domain support
Rom
-renamed Rom from UNOFFICAL to customized
-reworked brightness fix, now it works for every brightness value
-whitelisted some OpenGL ES methods (Google Maps and some other Apps my run faster now)
-readded arabic language and font (because of a request)
-disabled LineageOS statistics by default, only relevant for a clean installation
-removed CM's recovery keys
-updated Wallpaper Picker
-updated APNs
Click to expand...
Click to collapse
13.07.2018 build:
Kernel
-Compile GPU driver and crypto modules with -O3 again
-Reverted a faulty commit
-Removed F2FS encryption support (not supported for Kernel 3.4)
-Implemented CPU boost (thanks to MarcinDevelopment)
-Small performance optimizations
-Fixed some compiler warnings
Rom
-Deleted one unnecessary vendor blob
-Disabled GPS by default, only relevant for a clean installation
-Updated APN's
-Use low-res bootanimation
-Boot with 1/4 of the maximum brightness
-Implemented the hacky maximum-brightness-after-boot workaround
-Small cleanups
Apps
Fennec
-Updated Fennec (they forgot to build some languages)
If you browser starts to crash after updating, you have to clean Fennec's data. I am sorry if that happens.
Click to expand...
Click to collapse
08.07.2018 build:
Kernel
-Kernel compiled with -Os flags instead of -O3
This should fix the hw button bug (thanks to outofmemory13)
-a lot of binder updates
-properly implemention of UID-based routing
-some more things from LineageOS' samsung_jf kernel tree
Click to expand...
Click to collapse
06.07.2018 build:
Since this Changelog would be too big to add every change that was made from the latest CyanogenMod Rom from the ADC-Team, this is more a of a mashup, I am sorry if I forgot something important.
Notable CyanogenMod/LinageOS changes
-rebranding to LineageOS
-new Bootanimation
-updated translations
-some layout fixes
-some fixed FCs
-updated APNs
-some security vulnerabilities got fixed (like Krack and Blueborne)
-implementation of the security patch level
Current version is June 2018
Kernel
-updated Kernel version to 3.4.113 (EOL)
-compiled with latest Linaro 7.3.1 Toolchain
-changes from the ADC-Teams cm-12.1 branch
-switched to the UV configuration per default (if you notice stability issues related to the undervolting, you can manually change the voltage tables)
-update BFQ scheduler and make it default, also removed some other schedulers
-switched to Lulzactive as the default governor, also removed some others
-misc performance optimizations (e.g. disabled CRC check, some disabled logs, stats and debugging, LZ4 compression, disabled LMK and more)
-updates for F2FS and ExFAT (1.2.9 -> 1.2.19)
-TCP changed to Westwood
-build with some optimization flags (O3 and Graphite optimizations)
-mark SD card as non removable
-included power efficient workqueues
-a lot of fixed vulnerabilities
-hardened build configurations/changed some configs, that were really bad for security (e.g. disabled devmem, disabled AIO, updated LSM_MMAP_MIN_ADDR value and more)
-raised default min CPU frequency (this fixes the audio stuttering in Apollo music player)
-lowered min display brightness
-disabled virtual terminal (this means 1MB more available RAM OMG!!!)
-a lot more
Rom
-synced with latest CM/LOS changes
-compiled with latest UberTC 4.8.5 Toolchain
-changes from the ADC-Teams cm-12.1 branch (the ones that are applicable for cm-11.0)
-compiled with Archidroid Optimizations V3 (I cleaned them up a bit)
-F2FS support for Cache and Data
-upstream changes to the media drivers (CAF media, audio and display driver)
-implemented ioprio for a more responsive phone (thats why i recommend to use BFQ)
-switched from Superuser to SU (you can enable root inside the developer options, there is also a new SU panel inside the advanced privacy guard)
-microG support (fake signature support can be enabled inside developer options)
-replaced Google Analytics with a self-compiled NoAnalytics version
-hardened SQLite (enabled secure delete)
-hardened WPA Supplicant
-updated APNs from the lineage-15.1 branch
-updated time zone data
-optimized GPS (with a security fix)
-some vendor blobs got replaced with open source alternatives (rmt_storage, libgemini and rild till now)
-more volume steps
-improved performance (e.g. by optimizing the scrolling cache, by showing simple dialog for optimizing apps, or disabling some debugging)
-sounds cleanup
-updated fonts and emojis
-you can now pull down the status bar when your device is locked
-smaller touch target for the emergency call button on a locked screen
-updated wallpaper
-misc hardening (e.g. by increasing the maximum password length)
-use Cloudflare DNS servers instead Google's
-remove some precompiled stuff (like old face recognition files)
-removed theme engine (even when not in use, it used about 5MB of RAM)
-removed some apps (like Terminal, SoundRecorder, STK, CMAccount, CMHome, VoiceDialer, VoicePlus, VideoRecorder, LiveWallpaper, CMUpdater, Email, PrintSpooler and even more)
-removed some languages
-added ASCII art and real-time installation infos
-added lockscreen rotation option
-speed up some animations
-some upstream fixes
-new power off charging animation
-a new bootsplash logo
-a lot more
Apps
Browser
-changed it to Fennec 61.0 from F-Droid
The security issues in the original browser and Kitkat's webview are too terrible.
CMFileManager
-removed the exit warning
Apollo music player
-fixed back button
-remind the last song that was played
LockClock
-fixed the interface for low font sizes
-removed Google proprietary
Trebuchet
-updated all apps icon
Settings
-updated icon
-updated battery/system icons (gingerbread is now dead!)
-updated german translations
-new contributors cloud
-removed theme options
-support for microG and SU
Click to expand...
Click to collapse
Downloads
04.11.2018 build
Old Downloads:
10.09.2018 build
03.08.2018 build
13.07.2018 build
08.07.2018 build
06.07.2018 build
Sources
LineageOS sources: https://github.com/LineageOS
My repositories: https://github.com/wangenau?tab=repositories
My manifest files: https://github.com/wangenau/android
Credits and Special Thanks
LineageOS/CyanogenMod
Mozilla
ADC-Team
JDC-Team
LegacyXperia
CopperheadOS/thestinger
Christopher83
sirmordred
coldwindofnowhere
DafabHoid
outofmemory13/MarcinDevelopment
ArchiDroid/JustArchi
XDA:DevDB Information
Customized LineageOS 11.0, ROM for the Samsung Galaxy S Plus I9001
Contributors
wangenau
ROM OS Version: 4.4.x KitKat
ROM Kernel: Linux 3.4.x
ROM Firmware Required: TWRP Recovery with F2FS support
Based On: LineageOS
Version Information
Status: Stable
Created 2018-07-07
Last Updated 2018-11-04
Additional Informations
Signed Builds
Starting with the 10.09.2018 i will start to sign my builds with my own private keys. That includes the Rom itself, but also the APKs inside of it (instead of precompiled apps i include, which is only fennec till now).
This means you (or someone else) can only update the Rom and the system APKs with files that are signed by me. With this noone should be able to install a bad system APK or a bad build on your device.
To update your device from an older build, you have to add those keys to your device first. I made a flashable zip for that purpose. So if you want to update from an build that is older than the 10.09.2018 you have to flash this zip first.
Download migration zip
You only have to do this procedure once. If you do a clean installation you don't even have to it.
But that also means you can't go back to an older build after going to signed builds. (If you really want to for whatever reason, edit the migration zip for that purpose, or ask me how to do it)
To check if one of my builds has the correct signature, simply use:
Code:
keytool -J-Duser.language=en -list -printcert -jarfile zip_name.zip
The resulting fingerprints of my builds (after the 03.08.2018) are listed as follows:
Code:
Certificate fingerprints:
MD5: A2:42:4C:F5:4E:DD:3A:A2:C8:20:3A:AF:A1:D6:B9:99
SHA1: F2:13:38:21:53:55:89:CD:30:96:18:99:DD:7B:6D:81:DF:18:79:5F
SHA256: 94:56:09:A6:38:84:CB:BD:82:A5:A9:30:2F:D7:7C:EC:95:AA:57:FE:88:3B:9B:16:79:61:64:B4:AC:79:53:CC
SU
This Rom comes with su preinstalled. This means you have the ability to use Apps that need root permissions. If you don't want this you can remove su with this flashable zip.
Download addonsu-remove zip
If you want to add su back after removing it, you can do that with this zip.
Download addonsu zip
Simply flash these zips inside your recovery and reboot your device afterwards.
Bugs
There are a few small bugs, that will probably never get fixed (if you know how to fix these write me how to do it )
Bugs that can be fixed with a reboot:
no mobile data connection
SD Card stops working
Other Bugs:
MX Player does not work (and it will also freeze your system)
apparently this applies to RAR and Solid Explorer too
a user reported FC's and slowdowns inside the app "Aliexpress" with the lulzactive governor
Tips and Tricks
To get access to the Performance and Developer options go inside About phone inside Settings and tap 7 times on the Build number.
The default governor is interactive. Personaly i use lulzactive. Switching the governor may give you better performance and/or batterylife. But using interactive should be more stable. You can change the governor in the Performance section inside.
Under Performance Settings you can also overclock the cpu. I would say it is pretty save to overlock the cpu, since i am running my device for 5 years at 1.82 GHz (unless you have a different hardware revision)
If you experience random shutdowns after overclocking, you should lower the maximum cpu speed or raise your cpu voltage.
Using this Rom without Gapps is recommended. If you need some Google services you can use MicroG instead. To use it activate Signature Spoofing under Developer options. Google Maps i use, in combination with MicroG and Mozilla's Unified Nlp Backend. Also i use a rather old Maps version (9.14.0). But if you don't need the newest features und just some Maps, this version performs really good, even on our old device.
If you are using Adaway (also a recommendation) don't forget to add mtalk.google.com to your whitelist.
If you want an open source app store i can recommend F-Droid.
These pages (including the following posts) also contain useful informations about Rom and Kernel:
ADC-Teams CM11 Thread
Christopher83's K^Kernel Thread
Hello everyone again,
i finally created this thread and uploaded my rom. I had this in mind for a long time and i use my own LineageOS version since quite some time (i made my first commit in November 2015 i guess) and now it is in time for the 7th birthday from this device . I tried to make this device more secure, while still providing good performance and battery life.
I hope you like this rom, but again: I made this mostly for myself. And since i am not a power user (which is quite impossible with this device ), there might be some things that are broken that i didn't noticed, or stuff got removed because i didn't needed it. If you notice something of this or you find some bugs or have a question, feel free to post about it and i will take a look at it.
You can see all of my sources in the first post and even my manifest to make the build as reproducible as possible.
You can also take a look at the changelog for more informations (creating this changelog really took some time), at the two screenshots i uploaded and most important at the installation instructions.
I guess i don't have more to say for now, so happy flashing!
wangenau said:
-compiled with latest Linaro 7.3.1 Toolchain
Click to expand...
Click to collapse
HW Keys bug exist because of linaro. Switch to other toolchain or remove O3 flag (change to Os)
I'll use rmt_storage from sources you provided. I've used rmtfs all time, but seems that there's better replacement. Thanks!
outofmemory13 said:
HW Keys bug exist because of linaro. Switch to other toolchain or remove O3 flag (change to Os)
I'll use rmt_storage from sources you provided. I've used rmtfs all time, but seems that there's better replacement. Thanks!
Click to expand...
Click to collapse
You are welcome
And thank you for the infos about the hw buttons, i will definitely test this out!
Update
Hey, here is a small update. It should fix the hw button bug. I also merged some other changes to the kernel, but nothing big.
Changelog:
Kernel
-Kernel compiled with -Os flags instead of -O3
This should fix the hw button bug (thanks to outofmemory13)
-a lot of binder updates
-proper implemention of UID-based routing
-some more things from LineageOS' samsung_jf kernel tree
Click to expand...
Click to collapse
Download 08.07.2018 build
md5sum: 759dc4d116a68888e5bdfbd929b607bb
Update
Hey, here is another small update. This one fixes the brightness bug after booting. I couldn't find the cause of this, but I used my high-class scripting skills *cough* to create a workaround. I think there are no more major bugs left, unless you find one
Changelog:
Kernel
-Compile GPU driver and crypto modules with -O3 again
-Reverted a faulty commit
-Removed F2FS encryption support (not supported for Kernel 3.4)
-Implemented CPU boost (thanks to MarcinDevelopment)
-Small performance optimizations
-Fixed some compiler warnings
Rom
-Deleted one unnecessary vendor blob
-Disabled GPS by default, only relevant for a clean installation
-Updated APN's
-Use low-res bootanimation
-Boot with 1/4 of the maximum brightness
-Implemented the hacky maximum-brightness-after-boot workaround
-Small cleanups
Apps
Fennec
-Updated Fennec (they forgot to build some languages)
If you browser starts to crash after updating, you have to clean Fennec's data. I am sorry if that happens.
Click to expand...
Click to collapse
Download 13.07.2018 build
md5sum: 175f19c16373524fa16a56389b5ecc31
thanks, I have this phone locked in the drawer, I'm installing the rom, I'll let you know how it goes, thanks for everything.
If you have time and desire can you make a ressurection remix?
pablonik79 said:
thanks, I have this phone locked in the drawer, I'm installing the rom, I'll let you know how it goes, thanks for everything.
If you have time and desire can you make a ressurection remix?
Click to expand...
Click to collapse
You are welcome!
I am excited to hear your feedback.
Sadly I don't think that I will spend my time on another rom for this device, just because I still use this phone as my daily driver and I don't want to experiment to much with it. And my internet connection is also not the fastest, so downloading a whole new source code takes really long for me.
Hi Wangenau, This is to let you know thatI am very happy with this ROM, it is snappy, secured and almost everything is working. It looks like mobile data is not working. Any chance that you look into this?
noltha said:
Hi Wangenau, This is to let you know thatI am very happy with this ROM, it is snappy, secured and almost everything is working. It looks like mobile data is not working. Any chance that you look into this?
Click to expand...
Click to collapse
I am glad you like it!
But it is strange that mobile data is not working for you, for me it is working fine. Sometimes there is a rare case where mobile data randomly(?) stops working. You could try to reboot the device, while making sure that Settings->Mobile network settings->Data enabled is marked, wait a bit and see if the problem persists.
Let me know if this will fix your problem :fingers-crossed:
Edit: Removed second option because it is not a good tip
Solve my phone problem
I hope to solve the problem of a phone when I install the ROM is installed and does not work please respond quickly
hhssa said:
I hope to solve the problem of a phone when I install the ROM is installed and does not work please respond quickly
Click to expand...
Click to collapse
Hey, I just saw your post. Sorry if I don't understand, but what is your problem exactly?
wangenau said:
I am glad you like it!
But it is strange that mobile data is not working for you, for me it is working fine. Sometimes there is a rare case where mobile data randomly(?) stops working. You could try to reboot the device, while making sure that Settings->Mobile network settings->Data enabled is marked, wait a bit and see if the problem persists.
If that won't help, you could try to download , move it inside the zip under system/bin/ to replace the existing rild file and flash the zip again (after wiping cache, dalvik cache and system).
Let me know if this will fix your problem :fingers-crossed:
Click to expand...
Click to collapse
Thanks for your suggestions, a simple reboot fixed everything! Many thanks for all your time and efforts you put into this rom, highly appreciated!
noltha said:
Thanks for your suggestions. So maybe I will need to do a re-flash of the rom. I live in the Netherlands, maybe a different band or so. Will try all suggestions and come back
Click to expand...
Click to collapse
A reboot fixed it, so now everything is working!
Really like this Rom!
Many thanks for all efforts!
wangenau said:
Hey, I just saw your post. Sorry if I don't understand, but what is your problem exactly?
Click to expand...
Click to collapse
My problem is after installing the rum does not work the phone
hhssa said:
My problem is after installing the rum does not work the phone
Click to expand...
Click to collapse
I really need more informations to help you. Here are some:
Are you able to boot the device or did the flashing process fail? If it failed, is there an error message in the recovery terminal?
Did you followed the installation guide from the first post exactly?
Did you make a clean Installation, installed the needed recovery version und formatted data and cache as f2fs?
Do you have the right device? (this rom only works in the Galaxy S Plus, not on the Galaxy S or others)
wangenau said:
I really need more informations to help you. Here are some:
Are you able to boot the device or did the flashing process fail? If it failed, is there an error message in the recovery terminal?
Did you followed the installation guide from the first post exactly?
Did you make a clean Installation, installed the needed recovery version und formatted data and cache as f2fs?
Do you have the right device? (this rom only works in the Galaxy S Plus, not on the Galaxy S or others)
Click to expand...
Click to collapse
I've done all the steps but the phone stays in the animation mode for a long time and the phone is not working
hhssa said:
I've done all the steps but the phone stays in the animation mode for a long time and the phone is not working
Click to expand...
Click to collapse
That is strange. Have you tried to redownload the build and reinstall it?
And what was your rom before updating?

Categories

Resources