[JB+][3.0.8/2.6.32 kernel] CM10.1 Android 4.2.2 for the Defy(+)

Gafanhotz

Inactive Recognized Contributor
Sep 7, 2011
1,171
1,055
0
to re-say, the existing custom kernel is too outdated to support JB4.2/CM10.1, either we need backporting some new features back to 2.6.32 or update the kernel... neither one is an easy task, so it seems...

anybody can lend a hand...? (can we kang from other models that use the same CPU? like the optimus black?)
Just remembering that we need (too) USB Drivers, Screen drivers, GPU Drivers and a lot of things more. Only CPU drivers wouldn't help a lot.
 

droid_<3er

Senior Member
Dec 20, 2011
377
82
0
Vancouver
Great job Quarx. I've followed your work from CM7 to CM9 to CM10 and now CM10.1 and I have to say,
there isn't a single developer who brings more joy to Defy users than you.

One thing I want to ask is: does anyone know why the notification pulldown is so laggy in JB? The JB animations
were originally a huge problem for the Defy to handle when 4.1 first came to the device, but that's gotten a lot better.
Some roms basically fix it completely. However, the notification window has not changed? Any way to optimize it?

Running at 1.0 ghz w/ performance governor doesn't help. I know the HWA isn't enabled in this yet, but any way to
boost the GPU in CM10?
 

eagleeyetom

Retired Developer Committee Lead / Retired Senior
Jan 22, 2011
7,713
14,659
263
34
Gdańsk
xda-developers.com
I've deleted 2 pages of this thread. It's a development discussion, so please talk about development related stuff. If some of you have ROM-FLASHING-SYNDROME, you should consider visit therapist, or at least go out and breathe some fresh air. ETA questions are not welcomed here. You should ask them only when you want to have a conversation with us about the length of ban.
You should treat this message as a serious warning.

Thanks for cooperation,
Tom
 

Kayant

Senior Member
Jul 14, 2011
1,861
4,149
143
Some fixes if you haven't seen them

@ Quarx

I found some fixes for bionic and ti wlan..... don't know if you know about them but here they are :)

Bionic -

https://github.com/OldXperiaTeam/android_bionic/commit/297613c124675139340ccf85abc596777b1a34a6

https://github.com/OldXperiaTeam/android_bionic/commit/884a968cfda1c2c01bbb0f4e071bded61f6455ca

Wlan -

https://github.com/OldXperiaTeam/an...mmit/ee1930baa3f754cb01360397e40705d3b0c1cc67

It also works for wl1271_softAP

P.S also you forgot to add Eppy's yaffs2 to allow users to compile :p

Also trying some things out to help fix sdcard mounting ;)

I got a build compiled atm but data is not working at all & getting constant reboots :( once I get some things I think I can fix fixed I will upload my build so you guys can stop bugging Quarx ;)
 
Last edited:

Kayant

Senior Member
Jul 14, 2011
1,861
4,149
143
Kind of working :)

The main problem I have on my side is that the phone is very unstable random reboots after few minutes and random fcs in some of those sessions so I can't tell if it's defiantly working but I hope this will helps as it has mounted two times for me :)

It's the same as the Razr - found here

Edit - Working well & if it's not working using Quarx tip it works again ^_^

Need to look at my setup and see what's wrong when I get data, wifi working I will upload for now it's pretty useless to upload

Here is what I added to init.mapphone_umts.rc -

Code:
    mkdir /storage 0050 system sdcard_r
    mkdir /storage/sdcard1 0000 system system
    mkdir /mnt 0775 root system
    symlink /storage/sdcard1 /sdcard
    rmdir /mnt/sdcard
    symlink /storage/sdcard1 /mnt/sdcard
    export EXTERNAL_STORAGE /storage/sdcard1
Logcats of it working -

http://pastebin.com/xwF5D91A

https://www.dropbox.com/s/3752f6x3eagnpy3/Mount.txt

Not mounting -

https://www.dropbox.com/s/euc8um5m2rbspqg/Mount2.txt

Hope it helps somewhat :D

Some screenshots -

Screenshot_2012-12-20-14-18-36.jpg Screenshot_2012-12-20-14-18-25.jpg Screenshot_2012-12-20-14-19-02.jpg Screenshot_2012-12-20-14-19-12.jpg
 
Last edited:

swapnil360

Senior Member
Nov 16, 2011
350
225
0
The main problem I have on my side is that the phone is very unstable random reboots after few minutes and random fcs in some of those sessions so I can't tell if it's defiantly working but I hope this will helps as it has mounted two times for me :)

Edit - make that 3 times ^_^

Need to look at my setup and see what's wrong when I get data, wifi working I will upload for now it's pretty useless to upload

Here is what I added to init.mapphone_umts.rc -

Code:
    mkdir /storage 0050 system sdcard_r
    mkdir /storage/sdcard1 0000 system system
    mkdir /mnt 0775 root system
    symlink /storage/sdcard1 /sdcard
    rmdir /mnt/sdcard
    symlink /storage/sdcard1 /mnt/sdcard
    export EXTERNAL_STORAGE /storage/sdcard1
Logcats of it working -

http://pastebin.com/xwF5D91A

https://dl-web.dropbox.com/get/Mount.txt?w=a80236db

Not mounting -

https://dl-web.dropbox.com/get/Mount2.txt?w=18abbbb4

Hope it helps somewhat :D

Some screenshots -

View attachment 1578704 View attachment 1578705 View attachment 1578706 View attachment 1578707
Great work man! Now when someone like Quarx will get their hands on this, they can steer us to perfection.

EDIT: I'm getting a 403 on the dropbox links. Could you please fix them? :)

Sent from my MB526 using xda premium
 
Last edited:
  • Like
Reactions: kobwatpo

Quarx

Inactive Recognized Developer
Jun 19, 2007
1,322
18,787
0
29
Omsk
www.quarx2k.ru
The main problem I have on my side is that the phone is very unstable random reboots after few minutes and random fcs in some of those sessions so I can't tell if it's defiantly working but I hope this will helps as it has mounted two times for me :)
It's will mount after kill the system-server. You can boot, then kill system-server and sd will be mounted.
 

bone101

Senior Member
Jan 6, 2012
692
137
0
to mount sdcard
busybox mount -o loop /dev/block/mmcblk0p1 /storage/sdcard1
in terminal
every bootup you need run this line in terminal
Is this not an adequate solution if this line could be added in an start script , or isn't it possible to implement it ?

MB525 red lense
 

Gafanhotz

Inactive Recognized Contributor
Sep 7, 2011
1,171
1,055
0
Is this not an adequate solution if this line could be added in an start script , or isn't it possible to implement it ?

MB525 red lense
In theory possible, but not the best way. (Being root all the time... It may lead all the apps to go crazy. Or make all of them require root access, and that's no good.) I'll try it here, anyway.
 
Last edited: