Thread Closed

[ROM][CM9] ParanoidAndroid [Build 12] - Jellybean flavoured - PDroid - Smooth&Stable

OP tonyp

10th July 2012, 03:14 AM   |  #1  
tonyp's Avatar
OP Recognized Developer / Contributor
Thanks Meter: 33,467
 
4,774 posts
Join Date:Joined: Feb 2011
Donate to Me



My port of PARANOIDANDROID - a phone and tablet mode hybrid for CM9

If you like the ROM please press thanks, rate this thread with 5 stars and consider to
buy me a beer here!




also consider donations to:
molesarecoming (ParanoidAndroid)
D4rKn3sSyS (ParanoidAndroid)
Ricardo Cerqueira (Cyanogenmod)
Feature Spotlight


ParanoidAndroid
Per app densities and per app layout (tablet/phone)
Change the dpi value for each app (or system element) the way you want.





HwaSettings
Enable and disable the 2D hardware accelleration on a per app basis.
As we still don't have a properly working hwa (thanks LG!) this tool makes the waiting easier.
For example: Just disable hwa for the Browser / Facebook to fix the rotation crash.





Jellybean flavoured
Jellybean theme, animations, transitions
You can find even more Jellybean features here:
Jellybean keyboard - - - Jellybean Lockscreen - - - Google Now





PDroid
Deny certain apps the access to specific ressources.





Highly Optimized
V6 supercharged, OOM groupings, lagfree, dalvik fixes, etc.




and a lot more
P990: automatic detection of SU660 BBs for automatic time (automatic NITZ fix)
a couple datadrop fixes
adb remount enabled
flashable zip for LG UI 3.0
flashable zip for AOKP weather icons
tons of other things I am too lazy too list
----------------------------------------------------------------------------------------------------------------------------------

----------------------------------------------------------------------------------------------------------------------------------
Userthread in the General section:
[ROM][CM9] ParanoidAndroid [Userthread]
----------------------------------------------------------------------------------------------------------------------------------
What is it?
  • PAD (Per App Density) - choose a custom density for each of your apps!
  • PAL (Per App Layout) - chose PhoneUI or TabletUI for each of your apps!
To be honest, this is not tablet mode at all, it has nothing to do with silly build.prop hacks.

This is the first and only Android rom to feature true Hybrid mode.
This rom lets you scale and project every app, every widget, even systemcomponents individually.
Remember, android is modular, everything is an app: Lockscreen, navigationbar, dialogs, popups, keyboards, widgets, and your regular apps of course.
Apps have the capability to switch into various designs or layouts according to the device they run on.
This can result in a complete new experience as many apps will transform to the better.

Now for every element that you like chose a mode (PhoneUI, Phablet/Nexus-7UI, TabletUI) and/or a size.
You are 100% independent of the system DPI which runs nicely in whatever value it has been assigned to.
You do not need to boot your phone into a certain DPI. Neither will most of the changes you apply require a reboot.
You will not suffer from the myriads of troubles which normally haunt you under build.prop tablet mode.
Your market, phone, etc. will all work, apps won't shrink on you unless you shrink them yourself.
This project will entirely transform your device, but retain the aesthetics and the feel of your phone.
Thread Overview:
  1. Post --- You're looking at it!
  2. Post --- Downloads, Installation Instructions, Known Bugs & Changelog
  3. Post --- Addons
  4. Post --- Cherrypicks
  5. Post --- Q&A by noahk423, ty!

You have a problem?
  • First consult the Known Bugs section!
  • Next read through the Q&A!
  • Still nothing? - it's time to use the search!
  • Okay, go ahead and post your problem - but please include as much information as possible!
    Try to include a Logcat if you want quick help! (How to Logcat)

If you post something that is mentioned in the Known Bugs or the Q&A section you will get personally FACEPALMED:

Original Links:
Thanks to Donators:
  • aragorn7 (***)
  • xox101 (***)
  • scrm3r (**)
  • SREEPRAJAY (**)
  • SuperSkill (**)
  • nekke (**)
  • fnl (**)
  • mgl2 (*)
  • eyekool (*)
  • JulianTp (*)
  • phatpaw (*)
  • tehSecret (*)
  • Ska1i (*)
  • Nova163 (*)
  • jaspi72 (*)
  • Garfields 2X (*)
  • rzlatic (*)
  • theevilworm ()
  • fuxmen ()
  • Sjamaan ()
  • arroccoli ()
  • Sparazza*()

  • I add everyone here who has his xda name in the PayPal comment. It can take a couple days sometimes.
    If you didn't do that or I somehow forgot you please send me a PM and I will make sure to add you asap!
Credits:
  • The CM Team and especially Ricardo Cerqueira, our CM device maintainer
  • D4rKn3sSyS and molesarecoming for the PARANOIDANDROID ROM
  • pastime1971 for his CM9 build and constant support. Thank you so much!
  • EaglesBlood Team for their data drop fix
  • owain for the screenshots, porting it to the G2x and his overall greatness
  • benee for the work on JB and the kernel
  • zeppelinrox for his V6 SuperCharger Script
  • noahk423 for creating and maintaining the Q&A
  • goo.im, Korumera, vadonka and dev-host for hosting!
  • Team Syndicate for their Theme

  • Someone forgotten in this list? Please send me a PM!
Last edited by tonyp; 29th December 2012 at 01:42 AM.
The Following 185 Users Say Thank You to tonyp For This Useful Post: [ View ]
10th July 2012, 03:14 AM   |  #2  
tonyp's Avatar
OP Recognized Developer / Contributor
Thanks Meter: 33,467
 
4,774 posts
Join Date:Joined: Feb 2011
Donate to Me
Known bugs: (build 12)
  • To refresh the HwaSettings database you need to clear it's data.
  • Some apps don't like non-stock DPI values and will FC. Solution: Settings - Paranoid Settings - List of apps and apply "PhoneUI" + "Stock DPI (Phone)"
    This fixes 99% of all app FC's!
  • Same bugs as all CM9 ROMs for the 2x due to the missing LG blobs (no full Chrome / Opera support, no video recording etc.)
Downloads:
Instructions:
  • Flash ROM + Hybrid Gapps
  • Advanced - Fix permissions
  • Reboot
  • Do another reboot!

  • You don't need to do a full wipe. Just flash and wipe cache + dalvik.
    If you want to keep your customized densities then make a backup of your pad.prop file with the "ParanoidAndroid Backup" app!
  • If you're coming from another ROM a full wipe highly recommended. It might work without if you come from another CM9 based ROM but: don't even dare to post any bug reports when you didn't do a full wipe!
  • Don't restore system apps (like Settings) or system data (like Wifi data) with TitaniumBackup!
  • You'll find a new Settings entry "Paranoid Settings" where you can setup all the magic
  • By default I set it up to use the standard Phone UI and disabled the navigation bar which I don't need.
    But you can enable it at Settings - System - Navigation bar!
  • If you want to use adb, here are my modded adb drivers for ICS.
  • If you have a problem please have a look at the Known bugs and Q&A before you post in this thread.
  • If you want me to look into an issue attach a logcat, I will most likely ignore bugreports without a logcat.
Changelog: (click on Build XX for more detailed information)
Code:
Build 12:
  • USSD fix
  • memfree values baked into the framework (instead of the init.d script)
  • back to arcee's kernel. hackfest one will be provided via flashable zip
  • some small performance improvements
  • synced to the latest CM9.1 sources
Build 11:
  • I'm using the JB hackfest kernel from now on. It's arcees kernel with a couple additions from benee (thx benee!) zRAM is enabled by default with the so-called memfix script
  • pad.prop cleanup (no pre-configuration anymore, only fixes included)
  • Torch button readded to the navigation drawer widget
  • Synced to the latest CM 9.1 sources
Build 10:
  • from now on I build PA directly from source, no more ugly porting!
  • this gives us great stability improvements and performance enhancements
  • added a Center Clock option for PhoneUI - I absolutely love it!
  • added a setting for system volume as requested
  • lots of bugfixes and enhancements
    • enabled the mobile data limit function
    • fixed the broken contacts widgets
    • you can enable KSM now - but beware, it is battery hungry
    • many many small bugfixes
  • based on ParanoidAndroid v1.6 (the latest ICS version)
    • Improvements on frameworks, fixed all DPI related crashes
    • SystemUI mode can be configured now
    • Cleanup and speedup of hybrid code via native libs (~25%)
  • this build was a lot more work than the changelog suggests I had to redo almost everything from scratch! You can follow everything here: https://github.com/tonypp
Build 09:
  • Let's flag the testbuilds as build 9 to prevent confusion
  • from now on I build PA directly from source, no more ugly porting!
  • this gives us great stability improvements and performance enhancements
  • synced to the latest Cyanogenmod ICS sources
  • based on ParanoidAndroid v1.6 (the latest ICS version)
    • Improvements on frameworks, fixed all DPI related crashes
    • SystemUI mode can be configured now
    • Cleanup and speedup of hybrid code via native libs (~25%)
Build 08:
  • PDroid included. To use it just download the app from the market.
  • HwaSettings permission fix, manual chmod not needed anymore.
  • P999: harshs kernel updated to 0208, linux 3.0.39
  • various bugfixes and improvements
Build 07: Build 06:
  • Datadrop fix included. Thanks to the EB-Team for sharing this to me!
  • Modded the Phone.apk to fix incoming call screen layout
  • Support for the GooManager included
  • Preparation for HwaSettings (will come with build 07)
  • Synced to the latest CM source
  • based on pastimes build 20120806
Build 05:
  • JellyBean flavoured (JB theme, JB animations, JB transitions etc.)
  • Performance improvements
  • Fixed call muting
  • Fixed black vertical lines (are now grey like they should)
  • Modded the Trebuchet launcher for a couple bugfixes
  • Various small changes, fixes and improvements
  • Synced to the latest CM source
  • based on pastimes build 20120729
Build 04: (full wipe build!)
  • Wifi tethering working \o/
  • P990: automatic SU660 BB detection for the NITZ fix (824 + 1120 + 420)
  • adb remount working (-eng instead of userdebug build )
  • Synced to the latest CM source
  • Various smaller bugfixes and optimizations
  • based on pastimes build 20120723
Build 03:
  • skipped
Build 02:
  • V6 SuperCharged (100%)
  • P990: automatic SU660 BB detection for the NITZ fix (824 + 1120 BB)
  • pad.prop changes (density adjustments)
  • Scrolling Cache set to "Default Disable"
  • rebased to pastimes build 20120624
Build 01:
  • ported ParanoidAndroid v1.5 (newer versions won't work w/o PA source)
  • lagfree + dalvik fix included
  • based on XXMrHyde's RC11 20120703
Last edited by tonyp; 8th October 2012 at 03:19 AM. Reason: Build 12
The Following 75 Users Say Thank You to tonyp For This Useful Post: [ View ]
10th July 2012, 03:15 AM   |  #3  
tonyp's Avatar
OP Recognized Developer / Contributor
Thanks Meter: 33,467
 
4,774 posts
Join Date:Joined: Feb 2011
Donate to Me
addons
LG UI 3.0


  • LG UI 3.0 with the stock app drawer icon
  • LG UI 3.0 with this new icon (last screenshot)
  • Weather Widget
All credits to Impact7 and hei1125


Lockscreen weather icons

  • AOKP weather icons (left image)
  • Tick weather icons (see here for the full iconset)
Thanks to Dark Emotion & AOKP & VR Team

Downloads:
http://goo.im/devs/tonyp/

Mirror:
http://tonyp.hopto.org/
Last edited by tonyp; 19th August 2012 at 02:22 AM.
The Following 50 Users Say Thank You to tonyp For This Useful Post: [ View ]
10th July 2012, 03:16 AM   |  #4  
tonyp's Avatar
OP Recognized Developer / Contributor
Thanks Meter: 33,467
 
4,774 posts
Join Date:Joined: Feb 2011
Donate to Me
PA testbuilds
There are no new testbuilds anymore.
The Cyanogenmod team has stopped working on new features for CM9 - if you want to have state of the art builds then use my CM10 ParanoidAndroid ROM.



On the newest build I made the following cherrypicks:
If you want to see more cherrypicks included then feel free to recommend them to me!
Last edited by tonyp; 8th October 2012 at 01:53 AM.
The Following 44 Users Say Thank You to tonyp For This Useful Post: [ View ]
10th July 2012, 03:47 AM   |  #5  
tonyp's Avatar
OP Recognized Developer / Contributor
Thanks Meter: 33,467
 
4,774 posts
Join Date:Joined: Feb 2011
Donate to Me
Q & A
Q&A

This Q&A has been written mainly by noahk423 from the G2x section.
If you appreciate his work please head over to the original post and leave him a Thanks there!



Q: Some apps Force Close for me
A: Some apps don't like non-stock DPI values and will FC.
If an app Force Closes go to Settings - Paranoid Settings - List of apps and apply "Stock DPI (Phone)" (or custom 240 which is the same thing).
For apps with widgets also check the "Force Scaling (widgets)" option. After a reboot your problems are gone.
This fixes 99% of all app FC's!
The next 0.5% are caused by restores from TitaniumBackup. Please try to avoid any unnecessary restores!

Q: My status bar disappeared?
A: Hold power button until Power Menu comes up, click Expanded Desktop.

Q: Video recording isn't working
A: Yes, that's LG's fault, we need the official ICS release for that. You can use "Videocam illusion" from the playstore. No HD but at least recording is working with it.

Q: Paranoid Android settings force closing?
A: Clear data for "Settings" and see if that works. If it doesn't, did you do a full wipe before installation? If you didn't, then that is most likely the problem.

Q: My Youtube videos won't play?
A: Turn phone to landscape mode, and turn off the HD option.

Q: I saw something about a hotfix in the thread, do I still need to flash that?
A: No, you only need to flash hotfixes if they're mentioned in the first post. If not the hotfixes are already baked in into the newest version.

Q: I don't have the on-screen navigation buttons? I want those bacause it looks nice in Tablet UI!
A: Go to Settings> System> Navigation bar> Softkeys, also works without Tablet UI.

Q: No USB mounting support for my SD card?
A: The stock kernel doesn't support UMS. Flash a custom one (like Harsh's) and go to Settings> Storage> Menu> USB computer connection.

Q: The Stock browser crashs from time to time.
A: Yes, the Stock browser crashes when turning from landscape to portrait. There is now a fix by tonyp here: http://bit.ly/R6afjw

Q: What are the major bugs in this ROM?
A: Nothing ROM related! There are only the typical ICS bugs. We need the official ICS release by LG to solve them. Examples are no video recording(Camera does work though).

Q: Does Chrome work?
A: Nope! Cnrome does not work because of missing drivers. We need the official ICS build for the Optimus 2x.

Q: My font size is rather small?
A: Increase either the default or the apps specific density at Settings> ParanoidSettings or go into Settings> System> Font Size> and choose another font size.

Q: I've changed some things in Paranoid Settings. After rebooting, these Settings now force close, what do I do?
A: Just reflash the ROM without wipe. This will fix it because it replaces the (modified)pad.prop in /system with an unmodified stock(as the ROM came) pad.prop.

Q: When switching through homescreens, I get a blue outline of the screen and I don't like it, how do I get rid of that?
A: Go to Settings> Launcher> General> Disable the "Tablet effects" option. Then go to the Homescreen settings an change the Transition effect to Standard.

Q: My alarm didn't ring today, so I was late for work, then I got fired, then my house got reposessed, then my car gave out of gas, so now I'm just sitting under a bridge with my phone and what little battery I have left. Why didn't my alarm go off?!
A: This was probably a bsod (black screen of death). All phones react different to different kernels, you have to try yourself which one works best for you. Don't undervolt! Undervolting increases the chance of bsods a lot. If this only happens during charging it's a charging bsod with an easy solution: Go into Settings - Developer Options and check "Stay awake"(No man's financial life was harmed in the making of the above question)

Q: Does the HDMI connection work?
A: Yes! The HDMI connection works at full 1080p HD, just not at 720p though(just like CM7, and any other ROM). Just plug it in and it recognizes it just fine!

Q: When using a root checker, I got a failed root check(saying I'm not getting root access). What do I do?
A: Try wiping the data of Superuser. If that doesn't work, try updating the SU binary, or the app itself. If that doesn't work, the ultimate solution is to wipe data(a complete data wipe/factory restore in CWM to be specific), and reinstall the ROM, this might not work however, a trick that has been used by a fellow Optimus 2x user, found that he had to erase all internal memory in "Mount Storage". But, in reality, there is NO need for a root checker if everything else Superuser related works, so don't worry!!

Q: Can you include the Optimus 4x lockscreen?
A: Unfortunately: No - and there's nothing I can do about that as long as the ParanoidAndroid team doesn't release it's source.

Q: Why isn't Opera working?
A: The newer versions aren't working on on P99x ICS unfortunately. You need to use Opera Mobile v11.5.3 or Opera Mini v6.5.2.

--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Extras/Fixes!
  • Some settings menus are not reachable in TabletUI and Portrait view, the problem is the too small screen size.
    For example: Settings - Security - Screen lock - Pattern: The Next and Cancel buttons are missing in TabletUI.
    There are three workarounds:
  1. Most of the times it's enough to just tilt the device into landscape, the missing settings will appear due to a specific landscape layout.
  2. Setting the Tablet DPI (128) does make it work, but it will get pretty tiny.
  3. Last but not least: Apply PhoneUI (and if needed even a dpi of 240).

Last edited by tonyp; 6th August 2012 at 12:55 AM.
The Following 34 Users Say Thank You to tonyp For This Useful Post: [ View ]
10th July 2012, 03:50 AM   |  #6  
owain94's Avatar
Recognized Developer / Contributor
Flag The Hague
Thanks Meter: 6,061
 
3,534 posts
Join Date:Joined: Sep 2010
More
Nice mate awesome work I will make you those graphics

Sent from my HTC One X using XDA Premium HD app
The Following 2 Users Say Thank You to owain94 For This Useful Post: [ View ]
10th July 2012, 04:30 AM   |  #7  
baliriot's Avatar
Senior Member
Flag Shah Alam
Thanks Meter: 265
 
743 posts
Join Date:Joined: Nov 2010
More
well, well, well... finally arrive here for our device...
10th July 2012, 05:08 AM   |  #8  
cesarguaro's Avatar
Senior Member
Flag San Felipe
Thanks Meter: 30
 
301 posts
Join Date:Joined: Jan 2010
More
great job bro... one question... which kernel you recommend? I will test your room
10th July 2012, 06:32 AM   |  #9  
Senior Member
Flag Tarnów
Thanks Meter: 256
 
1,483 posts
Join Date:Joined: Aug 2010
More
heelo why when I download GAPPS I have massive speed about 1 kB/s ????
10th July 2012, 06:36 AM   |  #10  
tonyp's Avatar
OP Recognized Developer / Contributor
Thanks Meter: 33,467
 
4,774 posts
Join Date:Joined: Feb 2011
Donate to Me
Quote:
Originally Posted by fuxmen

heelo why when I download GAPPS I have massive speed about 1 kB/s ????

http://d-h.st/vyo

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

The Following 4 Users Say Thank You to tonyp For This Useful Post: [ View ]
Thread Closed Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Top Threads in Optimus 2x Android Development by ThreadRank