Android OS Forum banner

[ROM][JB:CM10:HYBRD] PARANOIDANDROID [1.97a, True HybridMode, Size & UI on Per App Basis]

432K views 3K replies 491 participants last post by  Getsome122  
#1 · (Edited by Moderator)
Mod Type:: ROM

Difficulty:: Very Easy

Mod Base:: CyanogenMod

Mod Status:: Alpha

Apply In:: CWM Recovery

Requires Root:: Yes

Source::

Image


Image

*Screenshot 1: SystemUI.apk in TabletUI/230DPI, Launcher PhoneUI/320DPI, System running in 320DPI
*Screenshot 2: SystemUI.apk in PhabletUI/220DPI, Launcher PhoneUI/320DPI, System running in 320DPI
*Screenshot 3: SystemUI.apk in PhoneUI/320DPI, Launcher PhoneUI/320DPI, System running in 320DPI
Find any combination you like, scale and project apps, widgets and system components!

Image



Image

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.

Donations to molesarecoming
to D4rKn3sSyS
to Cyanogenmod

Image

  • CWM: PA 1.7 onwards needs no Wipe Cache / Factory Reset, everything else does!
  • CWM: Install Zip: Rom: Download (Galaxy Nexus GSM = maguro, Verizon CDMA = toro, Sprint CDMA = toroplus; Nexus7 = grouper)
  • CWM: Install possible Bugfixes: Download (look out for "FIX" or "BUGFIX" prefixes and make sure the build number matches your rom)
  • CWM: Install Zip: Gapps: Download (find the latest one that carries the "jb" tag)
  • CWM: Wipe Cache Partition
  • CWM: Advanced/Wipe Dalvik Cache
  • Reboot and edit your Apps Dpi & Layout under Settings/Paranoid Settings - DO NOT RESTORE YOUR OLD PROPERTIES FOR NOW
  • If you want to explore the various phone modes, tap "Configuration," chose an option, wait for it to finish, then do a manual reboot
  • Video tutorial:
  • You might want to consider a 3rd party kernel as the one that comes with CM10 can get quite hot. I have tried Trinity and like it. Other people have suggested Franco and Glados. If you get bootloops, spontanious reboot, etc., no support for you as thats one thing the CM10 kernel doesnt do.


  • Image


    Image

    • If you have an issue and you want to call our attention, here's what you do:
    • 1. Try everything you can, find solutions for yourself. Wipe caches, revert all your settings you have made, go back to your stock Kernel, factory reset if you have to or reflash the rom. Assume that the issue is on your side and try your best to isolate it.
    • 2. Search this thread and Cyanogenmods aswell (its our base) for possible reoccurences of your issue and hopefully solutions that may have come up.
    • 3. If you think the issue is important enough that we should cease our work and look into it, post your issue, BUT ...
    • ... stay friendly, do not demand anything, do not threaten
    • ... explain your issue as precise as you can, name the exact apps and conditions that cause trouble, help us to replicate the issue right away. If we can't there's no way we can fix it and your post will simply clutter the thread
    • ... collect evidence, keep in mind this is a developer thread so even if you are not one, do us the favor and research how to record logcat. logcat is the single most important help you can give us to resolve your issue.

    Image


 
#2 · (Edited by Moderator)
How to set the workspace mode

Image


How to change an apps Layout and size

Image


Image

  • 20120801v1.95alpha
  • Finally hardware accelerated recents in TabUI, as fluid as ever. The ugly gradient is gone aswell
  • Paranoid got its own dir in /system/etc/paranoid - pad.prop is not properties.conf
  • A clean backup properties file is shipped, you can make a full reset in the panel in case you lost it with all the settings you made
  • Force option can be activated in the panel, good for widget scaling
  • The DPI sliders in the panel read min/max props from properties.conf, define them as you like
  • TabUI Recents are back to a bigger size, this is temporary, i'll look for ways to port the phone implementation as project butter skipped the tabUI code
  • CM fixed alot of features again, we included them all

  • 20120712v1.6prealpha
  • JELLYBEAN
  • New hybrid codebase, won't touch build.prop and changign build.prop wont ever be necessary
  • Can drop apps and system into three modes: Tablet, Phablet and PhoneUI
  • It is VERY raw and basically a preview. Much code has to be merged, the framework will have to be adjusted as JB introduces crazy overlappings again, just like ICS did
  • There will be no panel to control it, you can take an editor and edit /system/pad.prop yourself in the meantime.
  • Expect updates soon

  • pa-toroplus-1.3a-15JUN2012-190613
  • Navigationbuttons in phone mode are fixed
  • Default CM tuna kernel
  • Settings panel had a bug, you couldnt set android.dpi, decriptions sucked, too
  • Speed improvements, all launchers are buttersmooth now
  • Force option for widget scaling works again

  • 20120614v1.2beta
  • Compiled from a unified GIT that is shared by a growing number of devices
  • Has all the latest CM9 additions
  • Completely revamped hybrid code-base, should be better overall
  • New PAD/PAL code allows system-scaling finally, that means you can scale the lockscreen, dialogs, toasts, etc.
  • Trebuchet comes with new menu options: 4x4 grid grid folders, options for backgrounds, tablet effects
  • New cool backup app for pad.prop, *maybe* even an OTA app, either 1.2 or 1.3
  • New panel options and descriptions
  • Hide status-bar clock doesnt hide HOLO clock in notification center
  • Number of notification icons definable in settings
  • Tons of fixes and improvements

  • 20120504v0.4preview: Apps were too small? Problem solved!
  • First ever Android ROM with Per-App-Density feature, it once and for all solves the problem that was tablet mode. You never, ever have to deal with apps that are too small again since now you can decide how apps, systemapps, framework-elements and even widgets are scaled by defining their native dpi seperately from the system DPI. Its an experimental feature and for now these values are defined in your /system/build.prop - it has drawbacks (maily notifications can look a bit strange), but that will be fixed in time. Warning: Keyboards MUST run in system DPI!
  • A list of apps and predefined values is included, this should include most of what you need. everything else is blown up to 210 dpi per standard. if you still need apps to be bigger, get a build.prop editor from the market, edit and reboot.
  • Trebuchet fixes: Folder Name cut-off, landscape name cut-off, divider bars
  • Please set your Font to "Normal" in the System Settings, you won't need "Huge" anymore and all this does now is provoke overlapping.

  • 20120430v0.3alpha:
  • Freshest CM9 Repo
  • Forked Trebuchet and rewrote its layout and parts of its code to adapt it to tablet mode. I went for stock look plus tablet controls and changed the number of icons/widgets shown in the drawer. It's butter-smooth aswell. It has kinks left, those will be solved in the coming days!
  • 100% fixed android standard keyboard
  • Better Bootanimation
  • Fixed Gapps package based on 20120429 including Gmail and a working Market

  • 20120427v0.2pre-alpha-gapps:
  • Fixed Gapps package based on 20120422 including Gmail and a working Market


  • 20120425v0.1pre-alpha:
  • freshest CM9/nightly repo build (25/04)
  • recents window way nicer than before. close to stock. i only need to get rid of that darn gradient
  • keyboard looks like stock now
  • new bootanimation
  • camera works
  • comes with cm9 repo kernel, no color tint
  • notification clock is smaller, won't overlap so easy

  • 20120425v0.0pre-alpha:
  • freshest CM9/nightly repo build set to tablet mode
  • Hacked Nova. I know 1.1 is out, but this one is still closer to stock
  • Androids keyboard reacts hellish in tablet mode. I fixed it but its still too large, tomorrow i'll fix it proper
  • I was trying make to recents window look more like stock. COULD be the thumbnails are a tad bigger than before but i'll get to that don't worry
  • 2 notifications icons max in portrait for now to prevent overlapping
  • Settings comes as the first item in the notification panel, hated to scroll down every time
  • ALOT will follow, please be patient, i made all that stuff blind because it needed ~13 hours to compile. now compiling is alot faster and i'll see to it that we will have true hybrid mode very soon
 
#7 ·
this looks awesome! is there anything major that doesnt work? camera data msm ect?
 
#8 ·
Only thing I noticed was: I got stuck in the camera. There was no way to get the soft keys back up,without clicking on the last picture taken,than home.
Would love to see some wallpapers come with this bad boy as well! :] Please keep this going!!
 
#13 ·
As for a perfect working market, 160 dpi runs perfect. You just need the correct phone apk. I have been running at 160 and have yet to find anything that does not work....This dpi will give you a perfect GN in tablet mode...
 
#19 ·
Two lines edits in a build.prop?! Well, you hurt my tablet mode mod's feelings lol
This looks interesting, I'm curious to see it once you finish the whole 'hybrid' idea. I've tried making something similar with AOKP in the past but it could never get through without systemui committing mass suicide when parts of the rom were 320 and some were 192/160. Good luck :)
 
#22 · (Edited by Moderator)
heres a mirror guys: http://www.2shared.c...27v02paTO.html?

to adress some questions,

yes, this is out for gms

everything works, except the market, it does not show all apps. next version will have it fixed for sure.

160, yeah ... no. im going with treshold on this. i can make that marked work through hacking, wouldnt wanna drop to such a crazy small dpi.

cam in auto-fullscreen is standard cm9 behavior and it makes sense actually. normally you get out of it by tapping, but tap a cam and it thinks you want to set focus. so you longpress the powerbutton, menu comes up, press home and you're out. its not really distracting once you've done it. but yeah, first time it happened to me i was also kinda dazzled hehe.

2 edits in build.prop, i guess that was quite snazzy but to be honest i was kinda frustrated because i made requests and tried to convince people but i felt the potential was overlooked. even asked you, in your project i think. that snazzy line adressed actually tablet mode roms on xda which are popping up like breeding bunnies and all they do is editing the build.prop. i think thats really silly. i know you did more - you shouldnt feel adressed though, you know what you're doing - a great job btw! but lets continue the story, ... so then i went ahead and made a topic that focussed on manual fixes. but with that we only came so far - compiling a dedicated rom for this allows me to actual adress real issues with tablet mode, changing the framework becomes easy. this here is only pre-alpha, and yet, after two days of work (and a week of laerning how to deal with linux and compile), it has already stuff in it that is far from standard tab mode on a phone which of course brings alot of drawbacks. no overlapping elements anymore, recents window closer to stock, and so on. im planing to pull this thing through in three stages: 1. layout fixes, changing the framework so that it'll carry tabUI without kinks. 2. changing system, im thinking per app dpi, lowering treshold, making it accessible on non nexus phones. 3. tweaking with toggles in a dedicated settings panel. one thing though, i dont care about reputation or name or success or whatever, its not competition, i'll make my overlay public on git soon and i hope this will push rom makers more to consider that tab mode needs work and should not be stuffed into a phone just by dropping to 160, as zaphod for instance said - i just wanna have tab mode running nicely on my phone and im fed up waiting for others to do it - so i do it myself then. sorry for the snazzyness.
 
#23 · (Edited by Moderator)
Image

  • 20120427v0.2pre-alpha-gapps:
  • Fixed Gapps package based on 20120422 including Gmail and a working Market

wash this package over via cwm, clear cache and wipe dalvik cache. it contains the latest gapps plus google plus market hack. and just to explain myself here, yes, this contains the fix from lcd density modder. but i did not want to just rip it off, so i sat down and studied the code (bought it of course). i once made a hack aswell on my own, and its funny to see that we both hacked the exact same positions. i did not know though that i need to hack GoogleServicesFramework aswell, he had a tiny dpi hardcoded in there that was missing in my version and he bases the hack on an ancient version, i tried to apply it to to the newest and it crashed. i do not know know why yet, but for now thats the old gsf.
 
#24 ·
First off I'd like to say thank you so much for your work, I discussed tablet mode with friends and they all blew it off almost as if it's a fad, I knew someone on here would take it serious and make something of it so thanks again for your work. Now for my question, it's been awhile since I've messed with CM9 (I've been on AOKP for a month or 2 now), what happened to the CMSettings? I can't find any CM related settings anywhere. Example, when\re can I change what toggles are available in the notification bar? Maybe it's just because of the tablet mode and I'm not seeing the settings somewhere, or maybe I'm just missing a 3 dots settings buttons somewhere.
 
#26 ·
I believe it is because of the tablet mode. If the dpi is changed back to 320 you get all the extras from cm9 but of course you lose tablet mode; and changing back to 192dpi you lose some cm9 settings. All a working progress
 
#37 ·
You know what, I lied, lol, they're there. I swear they weren't the first time I booted after the change. One thing I will say to anyone that messes with the DPI, before you go changing anything undo "[background=rgb(245, 245, 245)]Check "Auto Hide" in Settings, System, Statusbar, to finally get Fullscreen" or you'll have no navbar. I'm at work so I have no adb but luckily with dropbox and root explorer and like 8 reboots I got it back to 192 DPI.[/background]
 
#39 ·
Great work on this! Getting ready to install it. Question: Are the gapps that are linked in the op (w/ the "MF" after it) the correct ones? I notice they have the date 04/22/12 and then you describe some below that with the date 04/27/12 but I don't see a separate link for those. Thanks!