• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[ROM][Redmi 2] CAF_AOSP_6.0.1 for Redmi2 WT88047

Search This thread

saurabh1234

Senior Member
Oct 12, 2012
1,053
581
delhi
I don't have that issue.
Did you "dirty-flash" or something..?
Can you please do a factory reset or reflash it clean ?

I'm not sure, but I think someone in cm13 thread had this issue if he touches some of the buttons while flashing/booting.. if I'm not wrong...

ok..i will try...and tell you...

---------- Post added at 02:35 PM ---------- Previous post was at 01:36 PM ----------

I don't have that issue.
Did you "dirty-flash" or something..?
Can you please do a factory reset or reflash it clean ?

I'm not sure, but I think someone in cm13 thread had this issue if he touches some of the buttons while flashing/booting.. if I'm not wrong...

yes you were right...if on booting touch buttons..buttons will not work..now it is working...
i got too bugs...
1. heating problem
2. setting language other than english US...it give android.phone fc...
 

pirej

Senior Member
Jan 13, 2013
1,417
3,205
Skopje
ok..i will try...and tell you...

---------- Post added at 02:35 PM ---------- Previous post was at 01:36 PM ----------



yes you were right...if on booting touch buttons..buttons will not work..now it is working...
i got too bugs...
1. heating problem
2. setting language other than english US...it give android.phone fc...

I'll see about 2, but about the heating... What/how... Some extra info?
I'm not playing games or similar if that's when heating happens
 

saurabh1234

Senior Member
Oct 12, 2012
1,053
581
delhi
I'll see about 2, but about the heating... What/how... Some extra info?
I'm not playing games or similar if that's when heating happens

yes playing games....gives heating....i am playning two games bubble panda and asphalt 8..
2nd problem come when you cchange language to other than eng US...then try to open mobile network from data usage...and then u will see fc...
 
  • Like
Reactions: pirej

saurabh1234

Senior Member
Oct 12, 2012
1,053
581
delhi
@saurabh1234 Is heating different(better or worse) in different rom's?
If yes.. then in which one is better then in others ?

in latest caf...i saw that it increase about 45 deg in my device while playing...
but i tried tesla and nx rom latest and du also...are not heating......
it is not worse but it heating more as compared to DU and others...
 
  • Like
Reactions: pirej

pirej

Senior Member
Jan 13, 2013
1,417
3,205
Skopje
Ok, i feel that this is more like an subjective comparison, since "du" and "caf" have the same device-tree/common-device-tree/kernel and good part of the other repos..
Anyway, thanks for trying and reporting, ill do a little research about this..
 

SWARNADIIP

Member
Feb 26, 2015
27
1
I cant use other kernel like berserk kernel.. Its not supporting i guess.. Though this rom is very cool.. Plz try if u can make some time out for this issue..
 

DecaPix

Member
Aug 2, 2010
24
6
@pirej, just installed your ROM.
all 4 cores of the cpu are running. even i set min speed to 400 mhz it wont change.
i think this will cause battery drain.
tried to connect to android wear last night but it wont connect. will try again today and see.
YAS sensor is working. but any idea what is ltr553-pocket?

great rom btw. just some minor items to fix
 
  • Like
Reactions: pirej

pirej

Senior Member
Jan 13, 2013
1,417
3,205
Skopje
@pirej, just installed your ROM.
all 4 cores of the cpu are running. even i set min speed to 400 mhz it wont change.
i think this will cause battery drain.
tried to connect to android wear last night but it wont connect. will try again today and see.
YAS sensor is working. but any idea what is ltr553-pocket?

great rom btw. just some minor items to fix

Thank you for reporting about YAS, my device doesn't have "yas" sensor so i couldn't know..
After all seems that GCC 4.9 beak's it, that's why i tried with GCC 4.8.
Thanks again.
About minimal frequency.. it was set to 800 by CAF, not by me, i lowered it to 400 a couple of day's ago, but its not using it properly, ill have to do some other tweaks.
Also "adaptive LMK" was not activated because of the wrong product name.
ltr553-pocket its a sensor for pocket, to make sure its full of money.. hahahah
But its not for our device, "It detects if the phone is inside pocket"
For android wear.. i dont have a clue, im not using that, if you take a logcat maybe i will(not) see something usefull.
You can try the test kernel with 400mhz enabled.
 

Attachments

  • 400.png
    400.png
    98.3 KB · Views: 120
  • Like
Reactions: affa0203

saurabh1234

Senior Member
Oct 12, 2012
1,053
581
delhi
i ported BeansTALK rom from Moto G3...
I used CM-13 By Kuma as base and then Used Beanstalk as port...
then i ported beanstalk with old method...
and then used updater script from Pirej's Caf-AOSP rom..

and see rom booted and come to setup wizard...
now i got two fc's
1. Music app fc
2. CM actions Fc (this occurs and device reboots and continues fc and then again reboot..)

Please help me...
 
  • Like
Reactions: salah6805

pirej

Senior Member
Jan 13, 2013
1,417
3,205
Skopje
i ported BeansTALK rom from Moto G3...
I used CM-13 By Kuma as base and then Used Beanstalk as port...
then i ported beanstalk with old method...
and then used updater script from Pirej's Caf-AOSP rom..

and see rom booted and come to setup wizard...
now i got two fc's
1. Music app fc
2. CM actions Fc (this occurs and device reboots and continues fc and then again reboot..)

Please help me...

My CAF rom and CM13 are different in other things too, not just by android tweaks and themes/features, so the update script its not 100% compatible between them.
It would be better if you find update script from some CM13 based rom.. and that would probable be every other rom excerpt "caf" and "du"(its based on caf)
Anyway.. pull a logcat and examine it, without logcat.. nothing..
 
Last edited:

DecaPix

Member
Aug 2, 2010
24
6
Thank you for reporting about YAS, my device doesn't have "yas" sensor so i couldn't know..
After all seems that GCC 4.9 beak's it, that's why i tried with GCC 4.8.
Thanks again.
About minimal frequency.. it was set to 800 by CAF, not by me, i lowered it to 400 a couple of day's ago, but its not using it properly, ill have to do some other tweaks.
Also "adaptive LMK" was not activated because of the wrong product name.
ltr553-pocket its a sensor for pocket, to make sure its full of money.. hahahah
But its not for our device, "It detects if the phone is inside pocket"
For android wear.. i dont have a clue, im not using that, if you take a logcat maybe i will(not) see something usefull.
You can try the test kernel with 400mhz enabled.
Pirej, your test kernel didnt work.
I followed this guide to get 400 mhz.
but all 4 cores are up. in CM, some cores will go offline when CPU load is low.
Managed to get android wear to connect after i restart the phone and the watch.

When i click settings>mobile networks then error of com.android.phone has stopped will appear.
think it's the modem bug?
 
  • Like
Reactions: pirej

KagamiNator

Senior Member
Jul 3, 2013
248
125
Monterrey
New build out ( its uploading now..)
caf_wt88047-13-03-2016-eng.pirej
The rom doesnt have f2fs support, use ext4
(EDIT: f2fs should work with the kernel in the next post)

change log
Code:
Updated sources from CAF
Removed qcom dev tools
materialized some of the apps[COLOR="Black"][COLOR="black"][COLOR="black"][COLOR="black"][COLOR="black"][/COLOR][/COLOR][/COLOR][/COLOR][/COLOR]
fixed back-light issue when offline charging 
updated browser permissions management
reboot to recovery from power menu works...
happy flashing

edit: there is something wrong with "busketbuild" uploading fails.. :(
In meanwhile i have uploaded it on "mega nz"

I'm on latest developer beta of MIUI 7 by Xiaomi.eu, do I still need to extract boot.img and flash it before flash ROM on latest build?
 

pirej

Senior Member
Jan 13, 2013
1,417
3,205
Skopje
Pirej, your test kernel didnt work.
I followed this guide to get 400 mhz.
but all 4 cores are up. in CM, some cores will go offline when CPU load is low.
Managed to get android wear to connect after i restart the phone and the watch.

When i click settings>mobile networks then error of com.android.phone has stopped will appear.
think it's the modem bug?

Thanks for the info, i'm trying the same using this..
Yes , all 4 cores are up, its not a bug, its caf feature, different power management, not a bug
When i get this right(using all of the frequencies), then ill see about "all-4 up"

I'm on latest developer beta of MIUI 7 by Xiaomi.eu, do I still need to extract boot.img and flash it before flash ROM on latest build?

Yes.
####################
EDIT: it needs tweaking to get optimal settings, but.. :D
 

Attachments

  • 200ok.png
    200ok.png
    100.8 KB · Views: 192
Last edited:

pirej

Senior Member
Jan 13, 2013
1,417
3,205
Skopje
is that fc is fixed or not...??
and heating..??

I didn't even try to fix it, sorry.. i gave the phone to my wife, so i cant use it full-time for taking logs, fixing, flashing all the time.
If you can provide a logcat from the time FC occurs.. maybe i could find a fix.
About the heating... no games here.. try it your self.

I hope the last changes will provide smoother experience and more battery backup.
 
Last edited:

rohitsonone

Senior Member
Mar 19, 2014
284
60
mumbai
I didn't even try to fix it, sorry.. i gave the phone to my wife, so i cant use it full-time for taking logs, fixing, flashing all the time.
If you can provide a logcat from the time FC occurs.. maybe i could find a fix.
About the heating... no games here.. try it your self.

I hope the last changes will provide smoother experience and more battery backup.
I hope you don't quit this device,I have gone through all of your posts just now,passion you have for building these roms it's just amazing. People like you @Pirez @ketut.kumajaya @emfox that we are able to flash these ROMs and complain about bugs. Best luck to you buddy
 
  • Like
Reactions: pirej

pirej

Senior Member
Jan 13, 2013
1,417
3,205
Skopje
I followed this guide to get 400 mhz.
but all 4 cores are up. in CM, some cores will go offline when CPU load is low.

I made another test kernel with some features added:
Code:
intelli hotplug
faux sound control
USB fast charge
So .. you have a toy to play with :silly:

Im not using all of those stuff in my main kernel, but just for testing.
You have to flash the latest rom build to have all frequencies working, then flash this new kernel to get those extra features.
I changed some of the "target_loads" and i think it uses the lower frequencies better if you change it to
Code:
200000:40 400000:95 533000:85 800000:85 998400:90 1094400:80
 

Attachments

  • cpu.png
    cpu.png
    99.8 KB · Views: 136

Top Liked Posts

  • There are no posts matching your filters.
  • 37
    Hi, this rom is built using sources from Codeaurora, branch LA.BR.1.2.7_rb1 with some adjustments to fit our "little precious... "

    Code:
    #include <std_disclaimer.h>
    /*
    * 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.
    */

    INSTALLATION
    - MAKE BACKUP of your working rom before flashing this one.
    - Extract boot.img from the zip and flash it via fastboot
    - Copy the zip to your SDCard
    - Boot into recovery
    - Wipe System, Data, Cache, Dalvik Cache
    - Flash the zip
    - Reboot your device
    First boot takes some minutes. Wait patiently.

    WARNING
    If you are coming from the new "miui-lollipop" then you have to flash the old kitkat bootloader first, otherwise this rom will not boot.

    WORKING
    - Wifi,
    - Bluetooth,
    - RIL (voicecall, sms, data),
    - Audio,
    - SDCard,
    - Sensors,
    - Video playback.
    - Snapdragon Camera
    - FM radio
    - GPS

    NOT WORKING
    - Camera
    - GPS
    - RIL (data)
    - Sensors
    - Lcd doesn't turn off completely in stand-by
    - Sending SMS/MMS
    - FM radio


    SOURCES
    https://github.com/redmi2


    CREDITS
    zwliew - fixes
    ketut.kumajaya - fixes

    DOWNLOADS
    Latest build 07-05-2016 basketbuild
    Open Gapps
    SuperSU v2.65




    XDA:DevDB Information
    CAF, ROM for all devices (see above for details)

    Contributors
    pirej
    Source Code: https://www.codeaurora.org/cgit/quic/la

    ROM OS Version: 6.0.x Marshmallow
    ROM Kernel: Linux 3.10.x
    ROM Firmware Required: TWRP
    Based On: CAF AOSP

    Version Information
    Status: Stable

    Created 2015-12-01
    Last Updated 2016-05-07
    16
    I would like to congratulate my friend Pirej for becoming the proud father of their second child, a lovely cute little princess. God Bless his family and happy parenting.:good::good:

    Thank you my friend, now im in to different type of development :D
    15
    I respect your decision sir. But please try to build new version with new L kernel and L vendor libs on your free time. Thanks again for everything you did for us.

    Sorry to disappoint you, but i have decided to stop further support for my "CAF" rom, maybe i will help @s.sawrav if he needs any help regarding our joined project - "Dirty Unicorn" rom, but since we got the last major bug fixed.. i doubt he would need any help from me, so im probably done there too..

    I have a new phone now, and its a nexus (always updated), so im probably not going to do some building in near future..

    all of the sources i have used are public on my github
    so anyone willing to something with them.. just "git clone" and go on..
    13
    OK, this was fast, what a man can do when motivated :)
    I Had to stop using kernel sources based on Balika's kernel because he is banned, so is his work..
    So, i made a NEW kernel, based on Open Source Code (for Android 5.0, Lollipop) - Lenovo A6000/ A6000 Plus Smartphone and adapted to our Redmi2

    The initial commit is uploaded on my github, im lazy to add the rest of the commits now, but this one works, boots, there is a sound, camera, wifi, bluetooth, data... probably everything works...
    There are some glitches, but.. Development GOES ON.. :D
    11
    New update, GPS is working :good:

    It has some glitches but.. its working :)



    One BIG thanks to @ketut.kumajaya for his vendor_repo(gps blobs), and for pointing out the last bootloop reason i had with the gps.