[ROM][DEV][CM 10.1][ALPHA] Cyanogenmod 10.1 userbuild

Search This thread

larryTheCow

Member
Jan 1, 2013
43
134
Hi,
Update:
Codeworx started developing for the i9305 and gave it a huge push towards a usable rom.
Big thanks for that!

Old: (so i've created a Cyanogenmod 10.1 Port for the gt-i9305 based on the cyanogenmod sources, the work winxuser did, and the sources and config of the perseus kernel.)


Whats working:
-radio(2g,3g,4g untested)
-wifi
-bluetooth
-camera
-call audio
-microphone
-what's not listed in the "not working" section(?)

Known Bugs:
-No 4G support in UI(settings, network symbol), but 4g connection works
-Microphone/Audio input quality
Not working:
-?

I'm currently uploading cwm-flashable zip.

Install instructions:
-wipe userdata!
-install zip using cwm


Thanks to:
-Codeworx
-ABorgh for starting thread:http://xdaforums.com/showthread.php?t=2074149
-winxuser for his previous work
-rekoil for some usefull hints
-AndreiLux for Perseus kernel (i hope it's ok to use your work as a base for the cyanogenmod kernel)

Warning:
This rom is for the GT-I9305 and just tested on an GT-I9305(not T or N).
Flashing and usage at your own risk!
I'm not responsible for you bricking or blowing up your device.

THE CURRENT DOWNLOADBLE ROMS ARE NOT BUILD BY ME AND NOT BASED ON MY WORK.
So no credit for me please!

Download:
Please look for the latest download link by codeworx

Google Apps:
http://goo.im/gapps
take the version for cm10.1(android 4.2)
 
Last edited:

sebbe312

Senior Member
Nov 3, 2012
326
88
Going to download asap! Won't be able to confirm if 4g is working tho, there isn't any 4g where I am now.

Sent from my GT-I9305 using xda app-developers app
 

Try4Ce

Senior Member
Jul 29, 2010
1,841
460
NRW
I would add USB HDMI since it is not working on the i9300 and never will. Most likely the same on the i9305. NFC has its issues on the i9300 too. Will test that ASAP

Sent from my GT-I9305 using xda app-developers app
 

sebbe312

Senior Member
Nov 3, 2012
326
88
Downloaded, getting no mobile connection :( it doesn't let meenter my PIN code. Some of the settings doesn't stick aswell, for example automatic brightness.

Other than that, it's actually prett smooth and everything else is working!

Sent from my GT-I9305 using xda app-developers app
 

sebbe312

Senior Member
Nov 3, 2012
326
88
I'll try that one, but I've encountered another problem now! Superuser doesn't grant me root rights... So I can't use any root apps!

Sent from my GT-I9305 using xda app-developers app
 

singlecell83

Senior Member
Sep 12, 2012
158
24
Hey can you make it be able to install on a 9305T and Ill give it a go. Tried before and it fails install.
 

larryTheCow

Member
Jan 1, 2013
43
134
I nearly forgot about that. Used adb the whole time....
Did not find a fix for that.



Sent from my GT-I9305 using xda app-developers app
 

sebbe312

Senior Member
Nov 3, 2012
326
88
I hate being such a nagging *****, bit it still doesn't work after changing modem, som settings and features are missing and when I go to recovery mode and -> install zip from SD card -> everything is renamed to /0, /a0 and such

Sent from my GT-I9305 using xda app-developers app
 

sebbe312

Senior Member
Nov 3, 2012
326
88
Anyways, going to sleep now. Will be happy to help you with whatever you want except coding :)

Sent from my GT-I9305 using xda app-developers app
 

larryTheCow

Member
Jan 1, 2013
43
134
I hate being such a nagging *****, bit it still doesn't work after changing modem, som settings and features are missing and when I go to recovery mode and -> install zip from SD card -> everything is renamed to /0, /a0 and such

Sent from my GT-I9305 using xda app-developers app

The rename on the internal SD card happens because of the update to Android 4.2 and the multi user feature which is disabled on phones...

Sent from my GT-I9305 using xda app-developers app
 

sebbe312

Senior Member
Nov 3, 2012
326
88
Aha! ;)

Sent from my GT-I9305 using xda app-developers app

---------- Post added at 03:55 AM ---------- Previous post was at 03:53 AM ----------

Wow strange, just got a little text bar saying "Your SIM card doesn't allow connecting to this type of connection", that's not the correct translation, bit I hope you understand. I got the same modem as you do, but don't get PIN or anything else like that. :/

Sent from my GT-I9305 using xda app-developers app
 

larryTheCow

Member
Jan 1, 2013
43
134
Got about 15 0/0/0/0... on my sdcard from testing :D

About your mobile radio, i've got no Idea at the moment why it doesn't work at your phone, on mine it works :D (GT-I9305 from vodafone germany)

I'll go to sleep for today, maybe i'll take a look at the rom and continue development tomorow evening...

Wow strange, just got a little text bar saying "Your SIM card doesn't allow connecting to this type of connection", that's not the correct translation, bit I hope you understand. I got the same modem as you do, but don't get PIN or anything else like that.
Try reinstalling your old modem and replacing /system/lib/libril.so /system/lib/libril-qc-qmi-1.so and /system/lib/lib-qcril-hook-oem.so with the ones of a working rom.

(when phone is running recovery:)
adb shell
mount /system
exit

adb push libril.so /system/lib/libril.so ...
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 37
    Hi,
    Update:
    Codeworx started developing for the i9305 and gave it a huge push towards a usable rom.
    Big thanks for that!

    Old: (so i've created a Cyanogenmod 10.1 Port for the gt-i9305 based on the cyanogenmod sources, the work winxuser did, and the sources and config of the perseus kernel.)


    Whats working:
    -radio(2g,3g,4g untested)
    -wifi
    -bluetooth
    -camera
    -call audio
    -microphone
    -what's not listed in the "not working" section(?)

    Known Bugs:
    -No 4G support in UI(settings, network symbol), but 4g connection works
    -Microphone/Audio input quality
    Not working:
    -?

    I'm currently uploading cwm-flashable zip.

    Install instructions:
    -wipe userdata!
    -install zip using cwm


    Thanks to:
    -Codeworx
    -ABorgh for starting thread:http://xdaforums.com/showthread.php?t=2074149
    -winxuser for his previous work
    -rekoil for some usefull hints
    -AndreiLux for Perseus kernel (i hope it's ok to use your work as a base for the cyanogenmod kernel)

    Warning:
    This rom is for the GT-I9305 and just tested on an GT-I9305(not T or N).
    Flashing and usage at your own risk!
    I'm not responsible for you bricking or blowing up your device.

    THE CURRENT DOWNLOADBLE ROMS ARE NOT BUILD BY ME AND NOT BASED ON MY WORK.
    So no credit for me please!

    Download:
    Please look for the latest download link by codeworx

    Google Apps:
    http://goo.im/gapps
    take the version for cm10.1(android 4.2)
    23
    Well, now that I can finally post in here, I suspect that the mic issue is at least partly related to this error:

    "I/ActivityManager(2388): Displayed com.android.soundrecorder/.SoundRecorder: +396ms
    ...[about 15 entries]...
    E/audio_hw_primary(5016): Unknown control 'MainMicBias Mode'"

    Which is odd, because I can see that control in audio_hw.h for the route that I would guess should be being used. Am I even interpreting this file right? I have no idea! I don't know C! Nor do I have a build environment handy, so I can't even take the "change one vaguely plausible thing at a time until either something works or the phone melts" approach.

    I can say that removing lines 268, 279, 289 and 300 in /system/etc/sound/m3 (anything related to MainMicBias and SubMicBias) will get you a working - but very choppy and distorted - microphone. To indulge in complete speculation, voltage might simply be too low without those settings.

    Oh, and, one last note - if you're particularly determined to use this ROM (I know I am!), try using the headphones bundled with the phone, since they have a mic that works without issue. Not very convenient at all, but possibly enough to live with until an actual dev (i.e., not me) can fix this. I'm not sure why the headset-in route is fine and the builtin mic isn't, but I think I've established that this isn't my forte. At least it isn't some fundamental problem with using the sound chip itself.

    Edit: For anyone looking at the relevant files, I should probably clarify that the "Unknown control" error happens when the mic is turning on and also when it's turning off, not just one or the other. It appears at boot, too, which isn't surprising.

    Good finding.
    Changes are commited.

    The control is there because this audio hal was written by us for the i9300, then modified for note 2 lte and now used for i9305.
    There are probably more issues left which we have to fix. But since i don't own a device i can't find and debug issues. ;)

    I'll post a new build later today and then it would be helpfull to give me a few logs from doing a phone call and so on.

    That's now everything which is needed to build:
    Device Tree: https://github.com/teamhacksung/android_device_samsung_i9305
    Blobs: https://github.com/teamhacksung/proprietary_vendor_samsung_i9305
    Kernel Config: http://review.cyanogenmod.org/31612
    RIL Class: http://review.cyanogenmod.org/31703
    22
    Device Tree: https://github.com/teamhacksung/android_device_samsung_i9305
    Blobs: https://github.com/teamhacksung/proprietary_vendor_samsung_i9305
    Kernel Config: http://review.cyanogenmod.org/31612
    RIL Class: http://review.cyanogenmod.org/31703

    Patch for device/samsung/i9305:
    Code:
    diff --git a/i9305.mk b/i9305.mk
    index 81bf693..b129caa 100644
    --- a/i9305.mk
    +++ b/i9305.mk
    @@ -79,7 +79,7 @@ $(call inherit-product, vendor/cm/config/nfc_enhanced.mk)
     
     # RIL
     PRODUCT_PROPERTY_OVERRIDES += \
    -    ro.telephony.ril_class=SamsungQualcommD2RIL \
    +    ro.telephony.ril_class=SamsungQualcommM3RIL \
         telephony.lteOnGsmDevice=1 \
         mobiledata.interfaces=pdp0,wlan0,gprs,ppp0 \
         ro.ril.hsxpa=1 \

    Have fun.