[ROM] CM10.1 UNOFFICIAL for p769 [10/18/2013]

Search This thread

AntonX

Senior Member
Nov 9, 2006
432
1,054
Copying files to storage sdcard0 increases space used on data by same amount

You mean decreases?

If it is so that our phone was really crippled in the worst possible way. You copy or download files to what you think was a separate internal storage but it reality you just take space from the /data so you cannot install apps. Wow.
 
  • Like
Reactions: tombassi

animusFL

Senior Member
May 25, 2011
241
69
You mean decreases?

If it is so that our phone was really crippled in the worst possible way. You copy or download files to what you think was a separate internal storage but it reality you just take space from the /data so you cannot install apps. Wow.

I only moved a 50m file, space used column increased by 50m free space still said 1.4g

Sent from my LG-P769 using Tapatalk 4 Beta
 

AntonX

Senior Member
Nov 9, 2006
432
1,054
I moved a more substantial file to emulated 0 and free space in data decreased by same amount down to 833m free

OK, that proves it.

So we really must not use this "internal sdcard" at all because it is emulated inside /data and eats space from it.

In the next build (tomorrow) I will remove the init.d script that I made to bind to sdcard1, it looks totally unneeded now You don't have to do anything about it right now, it doesn't hurt, just to avoid confusion in the future I will remove it.

The good thing is that now the phone is totally uncrippled. F*** LG, T-Modile, and whoever else did this. ;)
 

animusFL

Senior Member
May 25, 2011
241
69
Awesome, look forward to the next build, anything else let me know what I can do. Still willing to donate a few beers worth, THANKS! :thumbup: :beer:

Sent from my LG-P769 using Tapatalk 4 Beta
 

AntonX

Senior Member
Nov 9, 2006
432
1,054
The test ROM can be used now, tomorrow I'll just remove couple of unnecessary links.

Hm, just found that CM finally merged Voice+, there's new app for it.

If you find that the camera does not save pictures it is because it was set to save on Internal, which doesn't exist anymore, and the camera app does not have a settings to change storage location. To fix it just clear its data in android app settings.
 
Last edited:

Juanito216

Senior Member
Jan 31, 2011
689
120
LG G5
OnePlus 6T
Test ROM working well here. Edit: Thanks for changing that stuff with the internal storage mess. So then I can probably keep my phone for the long haul until I get my upgrade. You corrected one of the worst(or the worst) problems with this phone

Sent from my LG-P769 using Tapatalk 4 Beta
 
Last edited:

AntonX

Senior Member
Nov 9, 2006
432
1,054
OP updated.

Removed emulated storage. Way more straightforward and easy to use configuration. Read note on storage from the second post.

Kernel with audio codec from regular omap4 sources.

Repo synced today. CM Voice+ is now available.

Watch for bugs, report with logs.
 
Last edited:

Kid_Ding

Senior Member
Oct 27, 2006
488
198
Clackamas, OR
Apps to SD; beautiful!

Sent from my LG-P769 using xda app-developers app
 

Attachments

  • uploadfromtaptalk1374525869545.jpg
    uploadfromtaptalk1374525869545.jpg
    40.2 KB · Views: 161
  • Like
Reactions: leolawliet

djm26

Member
Feb 11, 2012
26
2
maybe ??

is it possible to use the stock lg 4.1.2 camera app with 4.2.2??? the one in this rom has bad quality
 

Kid_Ding

Senior Member
Oct 27, 2006
488
198
Clackamas, OR
@AntonX when i port pacman and use your rom as a base, i copy app, framework, fonts and media folder from port to base into system. are there any specific files that are located in any of the mentioned folders that are essential for boot?

i always use this guide to port. If you have a moment to spare and could provide me with some insight. Much appreciated, thanks in advance.

please if anyone else would like to attempt it as well, have at it and share your results.
 

AntonX

Senior Member
Nov 9, 2006
432
1,054
are there any specific files that are located in any of the mentioned folders that are essential for boot?

There are three files needed.

One belongs to the kernel (actually ramdisk but it's packaged in boot.img):
init.lgep760board.rc

Second you just replace it /system/etc:
vold.fstab

Third one you have to pack into framework-res.apk, I think to res/xml:
storage_list.xml
 
  • Like
Reactions: kuma82 and Kid_Ding

Meda808

Senior Member
Nov 17, 2011
130
82
Chico, CA
Flashed today's rom and went off without a hitch. I noticed i can only move certain apps to the sd card.. any reason for this? im happy to move any i was just wondering if i was doing something wrong. Kid Ding graciously shared a photo of a few apps on his sd.. one of which was the XDA app. It would not let me move my XDA app. On the 7/19 release i had quite the battery drain via audioout_2 wakelock. I resolved it by updating Talkback and unchecking all the check boxes in talkback settings. Huge improvement with the audioout_2 wakelock and its not like i was going to use talkback anyway. Thanks to Anton and everyone contributing you've improved my phone. :good:
 
  • Like
Reactions: kuma82

kuma82

Senior Member
Jan 19, 2012
1,783
941
Houston
Thanks for everything AntonX, the storage setup is great.
I found two bugs, both in display settings.
1. Screen off animation is not operating
2. Wake-up options, pressing home button, does not wake device.
I'll compare the XML framework files for PAC rom and yours (features are operating in the PAC ui).
All other features (that I have checked so far) appear to be operating fine.

It would be nice to add this option to the ui
Code:
#!/system/bin/sh
#disable Key Backlight
echo begin set Key Backlight - KB
chmod 0666 /sys/class/leds/button-backlight/brightness
echo "0" > /sys/class/leds/button-backlight/brightness
chmod 0444 /sys/class/leds/button-backlight/brightness
I'm try and find the XML/setting in the stock ui and add it.
Sent from my LG-P769 using xda app-developers app
 
Last edited:
  • Like
Reactions: Meda808

Top Liked Posts

  • There are no posts matching your filters.
  • 33
    CyanogenMod 10.1 UNOFFICIAL for LG Optimus L9 p769


    This is unofficial build. Use at your own risk. I am not responsible for anything that may happen to your phone.

    Only for P769 version of the phone. Do not attempt to flash on any other device.

    The phone bootloader has to be unlocked and correct recovery installed.

    Please avoid discussing general unlocking, rooting, and other unrelated to development issues in this thread.


    Watch for bugs. Report with logcat and dmesg.

    Features
    - Mostly based on p760 device tree.
    - No emulated internal storage. Single external SD card configuration. (Read note in the 2nd post)
    - Apps 2 SD support
    - BLN support (limited, read note the the 2nd post)
    - Analog amplifier gain control with Voodoo Sound support (read note in the 2nd post)
    - Microphone preamplifier gain adjustments
    - Performance kernel with OC/UV
    - Advanced Settings to control kernel clocks

    Kernel
    - Compiled with Linaro 4.7
    - Extended frequency table with 200MHz, 1200MHz, 1350MHz (overclocking doesn't work on some phones)
    - Slightly undervolted
    - Userspace voltage control. Use SetCPU, VoltageControl, or similar. Warning: Save a recovery script with either of these programs before playing with voltages!
    - GPU is extended with 384MHz, IVA with 430 MHz
    - Selectable screen-off maximum frequency
    - Included SmartassV2 governor, SIO scheduler.
    - Few performance tweaks.
    - Kernel without performance tweaks available here

    Bugs
    - No 1080p in camcorder
    - Usual p760 CM10.1 issues, if any

    Installation
    - If going from non-CM10.1 ROM, backup your data and do full reset. If updating from CM10.1 it is usually not necessary.
    - Copy to SD and flash with CWM.
    - Flash correct version of Gapps

    Download
    cm-10.1-20131018-UNOFFICIAL-p769.zip (Mega)
    cm-10.1-20131018-UNOFFICIAL-p769.zip (Dropbox)

    Sources
    Github

    History

    Upstream merges

    10/18/2013
    - Reduced call microphone volumes even more

    10/07/2013
    cm-10.1-20131007-UNOFFICIAL-p769.zip
    - Reduced call microphone volumes

    09/07/2013
    cm-10.1-20130927-UNOFFICIAL-p769.zip
    - CM 10.1.3

    09/07/2013
    cm-10.1-20130907-UNOFFICIAL-p769.zip
    - CM 10.1.3 RC2

    8/30/2013
    cm-10.1-20130830-UNOFFICIAL-p769.zip
    - CyanogenMod 10.1.3 RC1
    - updated radio blobs to LG v20f
    - fixed vibrator tuning in Advanced settings
    - minor tweaks

    8/23/2013
    cm-10.1-20130823-UNOFFICIAL-p769.zip
    - adjusted power profile
    - reduced in-call Bluetooth microphone volume
    - some upstream picks and minor tweaks

    08/19/2013
    cm-10.1-20130819-UNOFFICIAL-p769.zip
    - added BLN settings to Parts
    - added vibrator intensity to Parts
    - run ADB as root by default
    - few tweaks

    ---- project split to CM10.2 here ----

    08/13/2013
    cm-10.1-20130813-UNOFFICIAL-p769.zip
    - kernel with BLN support
    - added BLN blinking adjustments to Advanced Settings
    - added microphone preamp gain control to the kernel, adjustable from Advanced Settings
    - changes to some audio volumes

    08/08/2013
    cm-10.1-20130808-UNOFFICIAL-p769.zip
    - added option to disable touch LEDs
    - fixed USB mass storage
    - Interactive governor updated to 3.4

    08/05/2013
    cm-10.1-20130805-UNOFFICIAL-p769.zip
    - fixed in-call headset volume control
    - reduced headset volume
    - added analog amplifier gain control with Voodoo Sound support

    08/01/2013
    cm-10.1-20130801-UNOFFICIAL-p769.zip
    - IVA (Image Video Accelerator) overclocking
    - GPU underclocking
    - maximum screen-off frequency
    - user settings to control the clocks (Settings->Device->Advanced)
    - minor improvements to overclocking

    07/29/2013
    cm-10.1-20130729-UNOFFICIAL-p769.zip
    - switched board to p769
    - increased microphone volume
    - fixed bluetooth call audio

    07/26/2013
    cm-10.1-20130726-UNOFFICIAL-p769.zip
    - kernel: fixed excessive WiFi power consumption

    07/22/2013
    cm-10.1-20130722-UNOFFICIAL-p769.zip
    - disabled internal sdcard emulation
    - kernel is back to using omap4 audio codec

    07/19/2013
    cm-10.1-20130719-UNOFFICIAL-p769.zip
    - fixed proximity sensor

    07/17/2013
    - Some changes to device, including another audio fix picked from p760
    - Kernel:
    --- Now using twl6040 audio drivers from LG source drop
    --- SIO and SmartassV2
    --- Entropy tweak
    --- Force volume mounts with noatime
    --- Picked a merge with common android kernel, version is bumped to 3.0.31
    --- Compiled with Linaro 4.7

    07/12/2013
    cm-10.1-20130712-UNOFFICIAL-p769.zip
    - Kernel with OC/UV
    - Ported commit from p760 device to fix call echo and low speaker volume
    - Repo synced

    07/09/2013
    cm-10.1-20130709-UNOFFICIAL-p769.zip
    22
    Notes

    Storage

    Originally our phone has very awkward, confusing, and often misunderstood configuration for external storage. Why all these strange emulated directories with cryptic numbers? Well, the numbers are needed for multiuser environment but we don't care about it as on phones it's not enabled. It appears that there is internal /sdcard (or /storage/sdcard0 which is the same) and everybody is welcome to store data on it. Truth of the matter is - there is no dedicated internal sdcard on our phone. There in no separate microchip, no separate partition, the internal sdcard does not exist. It is emulated by FUSE inside /data partition. The original location of files is /data/media/0 and /sdcard just simulates a drive from this directory. It means that every time you save anything to /sdcard, the space will be taken away from /data. Even worse, all apps think that /sdcard is real external storage and will dump data there. Very soon you will find that you've run out of space in /data and cannot install apps anymore. This configuration would have worked fine if we had big internal MMC card but unfortunately ours is quite small. So the best practice is not to use /sdcard at all and keep it as empty as possible. But if it's better not to use it, why even have it?
    This ROM completely removes emulation of internal sdcard. There is only single /sdcard0 now and it is mounted to your real external SD. Android and all apps see it properly as external storage. There are no problems anymore with space hungry apps like big games. All downloads will go to the external SD as expected. Apps2SD works seamlessly because storage not emulated. The whole configuration is much more straightforward and easier to work with.

    If you have files previously stored on /sdcard0, they are still accessible from /data/media/0, but it is better to move them from there to free space in /data.

    If you have installed RemountSD or similar, uninstall it, you don't need it anymore.

    If after updating to not-emulated ROM you find that the Camera does not store pictures, just clear its data in Android Settings->Apps->All->Gallery (yes, Camera is part of Gallery.)

    Audio Amplifier Analog Gain

    Controlling amplifier gain allows to play music both louder (+12dB) at high volumes and clearer at low volumes. The gain adjustment can be found in Android Advanced settings.
    The included twl6040 kernel driver also simulates Wolfson wm8994 Voodoo Sound extension for headset amplifier. If Voodoo Sound is installed and Smart Amplifier is enabled, the amplifier gain will be controlled together with the volume. This maintains optimal Signal-to-Noise ratio at low volumes.

    Voodoo Sound app shows incorrect range of levels: -57dB..+5dB. In fact our amplifier range is -30dB..0dB in 2dB steps. This discrepancy does not affect the functionality.

    The amplifier returns to default gain upon a call or any other microphone activity. After the microphone activity is finished the gain control is re-enabled.

    The kernel also supports controlling microphone preamplifier gains. The gain can be adjusted for certain scenarios, for example lowered to capture loud audio during concerts. Camera is using SUB microphone.

    BLN

    BLN will consume some battery when a notification is in progress. For the the touch LEDs to be lit our phone has to be awake, otherwise the power to the controller goes down and the LEDs turn off. In order to conserve the battery the kernel implements only blinking notifications. The kernel will hold a wakelock only during the short LEDs-On phase and release it when LEDs are Off letting the phone go back to sleep. Native BLN blinking is disabled.
    BLN can be enabled either with neldar's app (his paid version supports scheduling) or in the Advanced Settings.
    13
    OP updated.

    The product board has changed to p769. Kernel doesn't need CONFIG_MACH_LGE_U2_P760 to be set anymore, which was not a good thing to have.

    Fixed bluetooth SCO, in-call audio works.

    Increased microphone volume for some scenarios like camcorder or general use. Report if you find any issues.

    Repo synced today.

    Note: I will not do anything about CM10.2 until it becomes more stable and probably not before p760 tree switches to it.
    12
    OP updated

    Added Image Video Accelerator (IVA) overclocking. It is used to encode/decode video (H.264, etc.). Maybe not really needed as the phone seem to be able to decode 1080p just fine without it, but well, it's done and it's optional. By default not enabled.

    Added under-clocking to GPU. Those who don't need GPU performance but want to save some battery may enable it. Not sure how much savings it will provide, maybe not a lot.

    Added maximum screen-off frequency. The CPU will not go higher than selected limit when screen is off. If not enabled, this frequency is at the hands of the active governor. Some may limit it, some may not.

    Added user app to control the kernel clocks. Look in Android Settings->Device->Advanced.

    Watch for bugs.

    Repo synced today.

    Note: GPU and IVA overclocking frequencies are not replacing the default maximums, they are added to the table. This means that they are active only if there is real load on GPU / DSP, otherwise the scaler just doesn't use them.
    10
    CM 10.2(Android 4.3) runs on our phones: