5,598,779 Members 36,353 Now Online
XDA Developers Android and Mobile Development Forum

[ROM][P768][2013/09/25] CM 10.1.3 for P768 (unofficial)

Tip us?
 
artit
Old
(Last edited by artit; 14th October 2013 at 01:12 PM.)
#1  
Senior Member - OP
Thanks Meter 581
Posts: 747
Join Date: Aug 2011
Location: Pathumthani
Default [ROM][P768][2013/09/25] CM 10.1.3 for P768 (unofficial)

CyanogenMod 10.1.3 for P768

Latest stable CM 10.1.3 add CM Account, you can skip it if you don't want to register (skip button is at the top which I miss the first time I test it).

Quote:
This is an unofficial CM 10.1.3 build from source with original omap kernel (3.0.31-CM+). Please flash at your own risk. I've tested on my P768f so it should work on all L9 P768 phone.
I removed NFC support. May add it for P768e later.

Only for P768 phone with Unlocked bootloader!
Need sdcard in phone to use camera & gallery, If no sdcard please flash sdcard emulate patch

Features
  • Original Kernel 30.0.31 CM+ for OMAP board.
  • Jellybean 4.2.2
  • Swap internal/external sdcard + access sdcard via MTP
  • Home button wake phone (you can disable this in Display setting) - in 10.1.3 CM add this fix
  • Reduce headset volume and increase speaker volume


How to install
  • Download rom and put it in sdcard.
  • Download Google Apps for CM10.1 and put it in sdcard.
  • Boot into recovery and Clear cache, dalvik cache and format /system. (Full wipe is recommended but not required if you came from CM 10.1)
  • Flash rom, then flash Google Apps.
  • If you want to enable sdcard emulate please flash patch at this point (recommend for those that has no sdcard)
  • Reboot.


Download Link

Download Link (for testing only)
If I make a major change to rom that not come from CM update, I'll post it here for testing.
  • Nothing


Bugs / known issues
  • CM 10.1.3 bugs
    • 1080 video recording not work
    • You cannot change headset volume while calling. After testing we cannot change calling volume at all, so I decrease headset volume.
  • Camera will partially work if no sdcard in phone [Still image now work, Video not work]
  • Gallery also not work if no sdcard in phone. So you should flash this patch to re-enable sdcard emulate.


What's next
  • This is final release rom but I may add more flashable features and mods, after I learn how to do it.


Version History
  • 2013/09/28 - Kernel mod + UMS
    • OC - 300, 600, 800, 1008, 1200 Not OC by default, must select max 1200 in Performance menu
    • UV - 925, 1075, 1175, 1275, 1350
    • Add SIO, SIOPLUS, FIFO, ROW and VR I/O scheduler
    • Add sanjose, lazy, interactiveX, wheatley, ondemandx, pegasusq, adaptive, adaptivex, smartass2, zenx and abyssplug CPU Governor
    • UMS (external), MTP (internal/external) and PTP all work, default to UMS, you can select MTP/PTP from "System Setting" > "Storage" > "Usb computer connection", I suppress old ICS UMS dialog so don't panic when it open and then suddenly close itself (no better solution for now, I do this because I don't want anyone to open it and press USB connect button. It'll unmount sdcard).
    • Cannot use camera if no external sdcard in phone (try to fix it in camera/gallery code) -> now still image work, video not work and I don't want to mess with CM camera/gallery code further. So please insert sdcard!
  • 2013/09/25 - CM 10.1.3 stable version is out
    • [fixed] com.android.media error if you reboot your phone and have usb cable connect. - from CM
    • Bugs
      • Camera will not work if no sdcard in phone
  • 2013/09/16
    • Swap internal/external sdcard instead of disable sdcard emulate
    • [fixed] Can access internal phone memory from computer via MTP.
    • [fixed] Reduce headset volume and increase speaker volume
    • [fixed] Headphone button work for call receiving and music (Thanks - shifu - for finding how to fix this)
    • [fixed] Can reject call (Thanks mateo1111 and AntonX)
    • [fixed] Mute & Loudspeaker works while calling (Have to remove mikegapinski's patch to make this work)
    • Bugs
      • Camera will not work if no sdcard in phone
      • com.android.media error if you reboot your phone and have usb cable connect.
  • 2013/09/09 - Initial release
    • Original Kernel 30.0.31 CM+ for OMAP board.
    • Jellybean 4.2.2
    • Disable sdcard emulate
    • Home button wake phone (you can disable this in Display setting)
    • Fix headphone volumn while calling. (Thanks mikegapinski for his patch).
    • Bugs
      • While calling mute & Loudspeaker don't work
      • Cannot access internal phone memory from computer
      • Cannot reject call
      • Camera will not work if no sdcard in phone

My P768 device tree & kernel on github & Proprietary files for building CM
Credits
  • CM Team for base rom & P760 device tree
  • artas182x for UV value
  • amnik & mateo1111 for kernel source that I review and add OC to this rom
  • dtrail1 for JBX Kernel, I get i/o schedule & cpu governor source from this kernel
The Following 14 Users Say Thank You to artit For This Useful Post: [ Click to Expand ]
 
artit
Old
(Last edited by artit; 2nd October 2013 at 12:09 PM.)
#2  
Senior Member - OP
Thanks Meter 581
Posts: 747
Join Date: Aug 2011
Location: Pathumthani
HOW TO

Flash over last version
  1. You can flash new version over old version
  2. Put rom & gapps for CM10.1 in sdcard
  3. Boot to recovery
  4. Wipe cache & dalvik cache
  5. Flash rom & gapps
  6. Reboot

Flash this ROM over CM10.1 and preserve your installed application and data
  1. This should work if you came from CM10.1 rom, not test in CM10.2 or other rom
  2. Download ROM and GApps to your sdcard
  3. Move all your application to phone internal storage
  4. Reboot to Recovery
  5. Backup your phone
  6. Clear cache, dalvik cache and format /system
  7. Flash ROM then flash GApps
  8. Advanced restore your /data from backup
  9. Reboot

Enable OC, change I/O scheduler and chnage CPU governor
  1. You need to enable developer mode on your phone, do it by
  2. Goto "System Setting" > "About phone" > Tap 7 times on "Build number". You're now enable developer mode.
  3. Goto "System Setting" > "Performance"
  4. Enable OC by select "Processor" and set "Maximum CPU frequency" to 1200
  5. You can also change CPU governor in that page, about what is it please refer to http://forum.xda-developers.com/show....php?t=1792369 and http://translate.google.com/translat...ejegyzest.html
  6. You can change IO scheduler in "I/O scheduler", please read about it at https://www.vincentkong.com/wiki/and...io-schedulers/
  7. Please test all changes before select "Set on Boot" because if something go wrong you can reboot your phone to revert it.

Cannot connect to wireless access point
This problem mostly occur when you got some error at first boot. The problem is error interrupt startup service to write proper MAC address data to file. Your wifi mac address will be 00:00:00:00:00:00
  1. Use file manager or adb to delete /data/misc/wifi folder from your phone
  2. Reboot (disconnect usb cable to make sure there're no error at startup)
The Following 2 Users Say Thank You to artit For This Useful Post: [ Click to Expand ]
 
donk165
Old
(Last edited by donk165; 9th September 2013 at 11:45 PM.) Reason: Rom tested
#3  
Senior Member
Thanks Meter 73
Posts: 333
Join Date: Dec 2012
Location: West Midlands
Artit! You are a boss man! Thank you so much. Ill give this a go in a minute.

Update: This ROM is great man, I haven't had any problems at all with it so far, all I have done is used pimp my ROM to replace the GPS config file with the one which is for my country. Its running smoother than stock for me, I'm really amazed at how good its going! Well done mate.

Did you build the kernel yourself? I've noticed the phone fully identifies as a P768 which is awesome!

Edit: Can I include a link to your thread in my bootloader unlock guide so people who unlock know where to get a custom rom

Sent from my LG-P768 using xda app-developers app
Device: Sony Xperia SP C5303 - Locked Bootloader
ROM: Ultimate PureXSP V2 - Android 4.3

Click Thanks if my post helped
 
artit
Old
#4  
Senior Member - OP
Thanks Meter 581
Posts: 747
Join Date: Aug 2011
Location: Pathumthani
Quote:
Originally Posted by donk165 View Post
Artit! You are a boss man! Thank you so much. Ill give this a go in a minute.

Update: This ROM is great man, I haven't had any problems at all with it so far, all I have done is used pimp my ROM to replace the GPS config file with the one which is for my country. Its running smoother than stock for me, I'm really amazed at how good its going! Well done mate.

Did you build the kernel yourself? I've noticed the phone fully identifies as a P768 which is awesome!

Edit: Can I include a link to your thread in my bootloader unlock guide so people who unlock know where to get a custom rom

Sent from my LG-P768 using xda app-developers app
Yes I build all from source and you can share this rom with any p768 users.
The Following User Says Thank You to artit For This Useful Post: [ Click to Expand ]
 
Jishnu Sur™
Old
#5  
Senior Member
Thanks Meter 6335
Posts: 2,298
Join Date: Nov 2012
Location: Modi's City! :P

 
DONATE TO ME
Great Work SIR

Sent from my LG-P990 using xda app-developers app
 
lordairdog
Old
#6  
Junior Member
Thanks Meter 2
Posts: 11
Join Date: Apr 2012
Location: City of Golden Friendship
Good working rom for P768. (another satisfied P768 CM by artit, user) Thank you sir Artit for a job well done!
 
bad113
Old
#7  
Member
Thanks Meter 1
Posts: 39
Join Date: Sep 2012
testing, thank bro so much. first cm10 for p768. so great :hug:
 
KrvheD
Old
#8  
Junior Member
Thanks Meter 0
Posts: 2
Join Date: Nov 2009
Talking Thanks!! For this rom!!

I'm From Guadalajara, Mexico, its nice to know there are finally a Custom Rom for P768 users!!
Thanks!!

 
UNForces
Old
#9  
Member
Thanks Meter 2
Posts: 42
Join Date: Aug 2013
Default Bug Reports

Quote:
Originally Posted by artit View Post
Bugs / known issues
- CM 10.1.3 RC2 bugs (ex. 1080 video recording not work)
- After first reboot and complete all setup wizard. You may get black screen, please press home button to display first use screen. Sometime I got this issue.
Thanks for the work and also for helping me there

Some issues I faced using your CM unofficial rom:
01- Sounds like you configured camera to save to external storage and ONLY to there; that whenever the external storage is not there the camera app displays "No Storage: No external storage available" showing only a "cancel" button to exit the app. In other words, the camera won't work without an external storage. May be adding an option to disable/enable that feature will solve the problem. (or may be the problem is linked to a disabled sdcard emulate?)
02- Call rejection is NOT possible at all. Sliding to the red icon when an incoming call is on doesn't reject the call and acts as if nothing was chosen and continues to ring. Btw, I faced the very same problem with the official CM release and even the nightly builds for p760.
03- The headset hang-up/answer button is not functional. The sound keys work properly though when the headset is plugged in.
04- The front key light are always on. In case you want to turn them off, you can flash this patch thanks to nfs1mw and to you that you referred me to the original thread here. Also, a simpler solution can be installing Soft Buttons Light.
05- Probably because you disabled sdcard emulate, I cannot add any files to the built-in memory when connected to pc. Is there a way to disable it?
06- The hang-up/answer button that pauses/plays music player in the stock roms doesn't affect the music player basically. The same is also faced in the official CM roms.
 
artit
Old
#10  
Senior Member - OP
Thanks Meter 581
Posts: 747
Join Date: Aug 2011
Location: Pathumthani
Quote:
Originally Posted by UNForces View Post
Thanks for the work and also for helping me there

Some issues I faced using your CM unofficial rom:
01- Sounds like you configured camera to save to external storage and ONLY to there; that whenever the external storage is not there the camera app displays "No Storage: No external storage available" showing only a "cancel" button to exit the app. In other words, the camera won't work without an external storage. May be adding an option to disable/enable that feature will solve the problem. (or may be the problem is linked to a disabled sdcard emulate?)
02- Call rejection is NOT possible at all. Sliding to the red icon when an incoming call is on doesn't reject the call and acts as if nothing was chosen and continues to ring. Btw, I faced the very same problem with the official CM release and even the nightly builds for p760.
03- The headset hang-up/answer button is not functional. The sound keys work properly though when the headset is plugged in.
04- The front key light are always on. In case you want to turn them off, you can flash this patch thanks to nfs1mw and to you that you referred me to the original thread here. Also, a simpler solution can be installing Soft Buttons Light.
05- Probably because you disabled sdcard emulate, I cannot add any files to the built-in memory when connected to pc. Is there a way to disable it?
06- The hang-up/answer button that pauses/plays music player in the stock roms doesn't affect the music player basically. The same is also faced in the official CM roms.
Thanks for bug report. For camera issue I also think it because of disable sdcard emulate. I'll make a flashable zip to enable it again. For other bug that relate to CM if I can find bug fix patch I'll add it.

Did you try CM 10.2, these bugs exist in CM 10.2 rom? If not, may be I can add some fix from 10.2.

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes