[ROM/DISCONTINUED] ParanoidAndroid 1.5a for Vision — version 0.5 beta (09-Aug-2012)

Search This thread

NeverGone\RU

Senior Member
Oct 10, 2008
561
665
30
Moscow
So this is my very first attempt in ROM porting.
paranoid.png



paranoid_notab.png

Some of you may have heard of tablet mode and if you have tried it you know well that it smashes your phone. Apps are small, their layout is screwed, things overlap, crash or stop working, Google Play forbids you to download, if you tried AOKP you cant even use launcher and phone. In short, it is a mess.

PARANOIDANDROID changed that. It does not "heal" tablet mode, it obliterates the boundaries. You define how big or small apps are, you define in which UI they display, no matter if your phone runs in tablet or phone mode, which also you can define. Customize every single entity on your phone, lockscreen, navigationbar, system-components, widgets, apps. If you prefer stay with your three bearpaw buttons + drop-down curtain or switch to a combined navigationbar + drop-up notificationcenter, enjoy Youtube in 3D, Gmail and settings in 2-columns, Chrome in its better mobile UI, etc. Nothing overlaps, nothing crashes, everything works as you'd expect. This is completely new ground and has never been realized before, it is lightyears from tablet mode.

paranoid_instructions.png

Install ROM: http://d-h.st/ufK
Install Google Apps: http://d-h.st/wCo (and only these! other GApps will have Play Store broken in tablet mode!)
Wipe caches, factory reset is a must if you're coming from another rom than CM9

paranoid_trouble.png
  • If automatic brightness is disabled, button backlight doesn't turn on after Power button is pressed
Maybe something else, you tell me​

paranoid_credits.png

I used jerl92's CM9 build as a base, HWComposer libraries and kernel from Andromadus Mimicry (these made this ROM insanely fast) and hdorius' DHD port. Sorry for being a "winzip dev", as I'm yet a complete noob in Android development :)

Thanks to:
  • ahjavery for his ROM porting guide
  • blk_jack and the whole Andromadus team for their great work
  • D4rKn3sSyS and molesarecoming for such a great ROM
  • Xylograph for his tips and porting help
 
Last edited:

NeverGone\RU

Senior Member
Oct 10, 2008
561
665
30
Moscow
paranoid_screenshots.png


Paranoid1.png
Paranoid2.png
Paranoid3.png

Paranoid4.png
Paranoid5.png



paranoid_changelog.png

Version 0.5 beta (09-Aug-2012)
  • Terminal Emulator, Gallery and LatinIME FCs/UI bugs fixed.
  • GApps removed. Use a separate package to install them.
  • Default UI is changed to "Phone mode (optimized)".
  • Button backlight bug not fixed yet.

Version 0 beta (30-Jul-2012)
  • Keyboard bug fixed
  • Removed apps: Adobe Flash Player, Apex & Nova Launchers, Dropbox, ES File Explorer, ROM Manager. Google Apps left, but probably will be removed later.
  • Improved automatic brightness accuracy
  • Dual-band Wi-Fi support enabled
  • adb remount error fixed
  • UI lagging is gone — now using kernel and libs from Andromadus (hope blk_jack won't kill me for that)
... can I call this a beta now? :)

Version 0 alpha (21-Jul-2012)
First public release.​

paranoid_bepart.png
 
Last edited:

johrie

Senior Member
Jan 11, 2010
1,109
189
How on earth did you manage to get it boot? I tried for countless hours to get it booting but with no luck :p

Sent from my HTC Vision using xda premium
 

NeverGone\RU

Senior Member
Oct 10, 2008
561
665
30
Moscow
:p So any chance you already patched this rom with pDroid [android privacy protection patch]? (otherwise not sure where the 'paranoid' comes in :p)
I don't know why did they decide to call this ParanoidAndroid (maybe with the exception of this), but it doesn't have pDroid patches installed.
The main feature of this ROM is to switch between Tablet and Phone layouts selectively for every application.
 

kbeezie

Senior Member
Feb 23, 2010
1,935
395
Grand Rapids, Mi
karlblessing.com
I don't know why did they decide to call this ParanoidAndroid (maybe with the exception of this), but it doesn't have pDroid patches installed.
The main feature of this ROM is to switch between Tablet and Phone layouts selectively for every application.

Ahh, musical inspiration. Though I suppose if someone wanted to make this work with pdroid would simply use the auto-patcher (would just have to know if its aokp, cm9, etc and the rom date for it to make an appropriate pdroid zip patch).

Speaking of which what type of rom is it based off of for the ICS? Sense, CM9, AOKP, AOSP? Looks almost AOKP from the screenshots.
 

johrie

Senior Member
Jan 11, 2010
1,109
189
Ahh, musical inspiration. Though I suppose if someone wanted to make this work with pdroid would simply use the auto-patcher (would just have to know if its aokp, cm9, etc and the rom date for it to make an appropriate pdroid zip patch).

Speaking of which what type of rom is it based off of for the ICS? Sense, CM9, AOKP, AOSP? Looks almost AOKP from the screenshots.

It is based of jerl92 unoffical cm9 wich is stated in the first post.

Sent from my HTC Vision using xda premium
 

aM-

Senior Member
Feb 7, 2010
190
54
finally! ParanoidAndroid come to HTC Vision. few weeks ago i saw this rom on my friend's HTC Sensation. quite good rom. thanks for bring ParanoidAndroid to Vision :highfive:
 

ajhavery

Senior Member
May 21, 2011
957
1,024
Gurgaon
www.progeeky.com
For hardware-software keyboard fix, use the instructions provided in my rom porting guide about patching android.policy.jar.

It is there in the first post of the thread, patch the android.policy.jar and it will be fixed.
 

NeverGone\RU

Senior Member
Oct 10, 2008
561
665
30
Moscow
For hardware-software keyboard fix, use the instructions provided in my rom porting guide about patching android.policy.jar.

It is there in the first post of the thread, patch the android.policy.jar and it will be fixed.
I already tried to, but this file section already looks like this:
Code:
.line 1311
const/4 v1, 0x0

iput v1, p0, Lcom/android/internal/policy/impl/PhoneWindowManager;->mLidOpen:I

...

.line 1313
const/4 v1, 0x1

iput v1, p0, Lcom/android/internal/policy/impl/PhoneWindowManager;->mLidOpen:I

...

.line 1315
.restart local v0       #sw:I
:cond_15
const/4 v1, -0x1
i.e. exactly as you've stated it should be edited. But maybe I've just found wrong place. :)
 

kbeezie

Senior Member
Feb 23, 2010
1,935
395
Grand Rapids, Mi
karlblessing.com
By the way I went ahead and made the pDroid patch for this release (1.5) of ParanoidAndroid for Vision. I had to use the 20120706 rom date in order to get the patch to work.

Patch Log (you can use the same command to just patch it yourself)
Code:
./auto_patcher PARANOIDANDROID.zip pdroid cm9 20120706
### verify tools ###
### verify ROM ###
### unzip patch tools ###
### unzip patch patches ###
### unzip rom ###
 inflated: system/framework/core.jar
 inflated: system/framework/framework.jar
 inflated: system/framework/services.jar
### create updater script ###
 inflated: META-INF/com/google/android/update-binary
 inflated: META-INF/com/google/android/updater-script
### using Clockworkmod installer ###
### create restore.zip ###
### decompile framework.jar ###
... extract preloaded-classes ...
### decompile core.jar ###
### decompile services.jar ###
### patch pdroid/cm9/20120706 ###
### apply framework.patch ###
Reversed (or previously applied) patch detected!  Skipping patch.
38 out of 38 hunks ignored -- saving rejects to file smali/android/net/wifi/WifiConfigStore.smali.rej
Reversed (or previously applied) patch detected!  Skipping patch.
15 out of 15 hunks ignored -- saving rejects to file 'smali/com/android/internal/telephony/RIL$RILSender.smali.rej'
Reversed (or previously applied) patch detected!  Skipping patch.
4 out of 4 hunks ignored -- saving rejects to file 'smali/com/android/internal/telephony/sip/SipPhone$SipConnection.smali.rej'
... apply preloaded.patch ...
### apply core.patch ###
### apply services.patch ###
### rebuild framework.jar ###
### rebuild core.jar ###
### rebuild services.jar ###
### create updater.zip ###
### finished ###
flash update.zip to install the modified
flash restore.zip to restore the original

I've renamed it to paranoid_pdroid_on.zip and paranoid_pdroid_off.zip (off restores the 3 jar files back to the way it was in the original zip, and on puts the patched .jar files into the system to work with the pdroid app)

[Files moved to attachment]
MD5 (paranoid_pdroid_off.zip) = 49d7bf9a2d2bdceb750d6dd95ac44705
MD5 (paranoid_pdroid_on.zip) = 0fd1764ee447424e67c1f96e39d68072

You can grab the pDroid app (free) itself from the market place (but it won't work until you patch the system).

even though there's a restore/off patch make sure to do a nandroid backup just to be on the safe side

I installed the following via recovery:
Paranoid Android 1.5 for Vision Rom
paranoid_pdroid_on.zip (pDroid enabled patch)
TitaniumBackup (So I could just quickly restore my pdroid app instead of signing up to google)

Then rebooted (love the boot animation by the way), and tried out pDroid. Screenshots attached.

So ya now can have more paranoia in your ParanoidAndroid :p
 

Attachments

  • paranoid_pdroid_on.zip
    5 MB · Views: 21
  • paranoid_pdroid_off.zip
    5.8 MB · Views: 6
  • pdroid_1.jpg
    pdroid_1.jpg
    38.6 KB · Views: 438
  • pdroid_2.jpg
    pdroid_2.jpg
    39 KB · Views: 435
  • pdroid_3.jpg
    pdroid_3.jpg
    38.5 KB · Views: 427
Last edited:

ajhavery

Senior Member
May 21, 2011
957
1,024
Gurgaon
www.progeeky.com
I already tried to, but this file section already looks like this:
Code:
.line 1311
const/4 v1, 0x0

iput v1, p0, Lcom/android/internal/policy/impl/PhoneWindowManager;->mLidOpen:I

...

.line 1313
const/4 v1, 0x1

iput v1, p0, Lcom/android/internal/policy/impl/PhoneWindowManager;->mLidOpen:I

...

.line 1315
.restart local v0       #sw:I
:cond_15
const/4 v1, -0x1
i.e. exactly as you've stated it should be edited. But maybe I've just found wrong place. :)

My guess is that since this rom uses a tablet UI, values need to be reversed. If you would have changed anywhere else, softkeyboard might not appear but since that is not the issue.

One hit is to try with reversed values, i.e. 0x0 with 0x1 and 0x1 with 0x0.

Try and reply if you find sucess.

Sent from my HTC Vision using Tapatalk 2
 

strawmetal

Senior Member
Dec 23, 2011
408
364
Hyderabad
Thanks a lot for porting this to our device. Also could you make the launchers optional. Try using aroma. You could take this script in a pack i made as an example.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 29
    So this is my very first attempt in ROM porting.
    paranoid.png



    paranoid_notab.png

    Some of you may have heard of tablet mode and if you have tried it you know well that it smashes your phone. Apps are small, their layout is screwed, things overlap, crash or stop working, Google Play forbids you to download, if you tried AOKP you cant even use launcher and phone. In short, it is a mess.

    PARANOIDANDROID changed that. It does not "heal" tablet mode, it obliterates the boundaries. You define how big or small apps are, you define in which UI they display, no matter if your phone runs in tablet or phone mode, which also you can define. Customize every single entity on your phone, lockscreen, navigationbar, system-components, widgets, apps. If you prefer stay with your three bearpaw buttons + drop-down curtain or switch to a combined navigationbar + drop-up notificationcenter, enjoy Youtube in 3D, Gmail and settings in 2-columns, Chrome in its better mobile UI, etc. Nothing overlaps, nothing crashes, everything works as you'd expect. This is completely new ground and has never been realized before, it is lightyears from tablet mode.

    paranoid_instructions.png

    Install ROM: http://d-h.st/ufK
    Install Google Apps: http://d-h.st/wCo (and only these! other GApps will have Play Store broken in tablet mode!)
    Wipe caches, factory reset is a must if you're coming from another rom than CM9

    paranoid_trouble.png
    • If automatic brightness is disabled, button backlight doesn't turn on after Power button is pressed
    Maybe something else, you tell me​

    paranoid_credits.png

    I used jerl92's CM9 build as a base, HWComposer libraries and kernel from Andromadus Mimicry (these made this ROM insanely fast) and hdorius' DHD port. Sorry for being a "winzip dev", as I'm yet a complete noob in Android development :)

    Thanks to:
    • ahjavery for his ROM porting guide
    • blk_jack and the whole Andromadus team for their great work
    • D4rKn3sSyS and molesarecoming for such a great ROM
    • Xylograph for his tips and porting help
    9
    paranoid_screenshots.png


    Paranoid1.png
    Paranoid2.png
    Paranoid3.png

    Paranoid4.png
    Paranoid5.png



    paranoid_changelog.png

    Version 0.5 beta (09-Aug-2012)
    • Terminal Emulator, Gallery and LatinIME FCs/UI bugs fixed.
    • GApps removed. Use a separate package to install them.
    • Default UI is changed to "Phone mode (optimized)".
    • Button backlight bug not fixed yet.

    Version 0 beta (30-Jul-2012)
    • Keyboard bug fixed
    • Removed apps: Adobe Flash Player, Apex & Nova Launchers, Dropbox, ES File Explorer, ROM Manager. Google Apps left, but probably will be removed later.
    • Improved automatic brightness accuracy
    • Dual-band Wi-Fi support enabled
    • adb remount error fixed
    • UI lagging is gone — now using kernel and libs from Andromadus (hope blk_jack won't kill me for that)
    ... can I call this a beta now? :)

    Version 0 alpha (21-Jul-2012)
    First public release.​

    paranoid_bepart.png
    6
    Anyone want me to try and pick this up?

    Sent from my HTC Vision using xda app-developers app
    3
    By the way I went ahead and made the pDroid patch for this release (1.5) of ParanoidAndroid for Vision. I had to use the 20120706 rom date in order to get the patch to work.

    Patch Log (you can use the same command to just patch it yourself)
    Code:
    ./auto_patcher PARANOIDANDROID.zip pdroid cm9 20120706
    ### verify tools ###
    ### verify ROM ###
    ### unzip patch tools ###
    ### unzip patch patches ###
    ### unzip rom ###
     inflated: system/framework/core.jar
     inflated: system/framework/framework.jar
     inflated: system/framework/services.jar
    ### create updater script ###
     inflated: META-INF/com/google/android/update-binary
     inflated: META-INF/com/google/android/updater-script
    ### using Clockworkmod installer ###
    ### create restore.zip ###
    ### decompile framework.jar ###
    ... extract preloaded-classes ...
    ### decompile core.jar ###
    ### decompile services.jar ###
    ### patch pdroid/cm9/20120706 ###
    ### apply framework.patch ###
    Reversed (or previously applied) patch detected!  Skipping patch.
    38 out of 38 hunks ignored -- saving rejects to file smali/android/net/wifi/WifiConfigStore.smali.rej
    Reversed (or previously applied) patch detected!  Skipping patch.
    15 out of 15 hunks ignored -- saving rejects to file 'smali/com/android/internal/telephony/RIL$RILSender.smali.rej'
    Reversed (or previously applied) patch detected!  Skipping patch.
    4 out of 4 hunks ignored -- saving rejects to file 'smali/com/android/internal/telephony/sip/SipPhone$SipConnection.smali.rej'
    ... apply preloaded.patch ...
    ### apply core.patch ###
    ### apply services.patch ###
    ### rebuild framework.jar ###
    ### rebuild core.jar ###
    ### rebuild services.jar ###
    ### create updater.zip ###
    ### finished ###
    flash update.zip to install the modified
    flash restore.zip to restore the original

    I've renamed it to paranoid_pdroid_on.zip and paranoid_pdroid_off.zip (off restores the 3 jar files back to the way it was in the original zip, and on puts the patched .jar files into the system to work with the pdroid app)

    [Files moved to attachment]
    MD5 (paranoid_pdroid_off.zip) = 49d7bf9a2d2bdceb750d6dd95ac44705
    MD5 (paranoid_pdroid_on.zip) = 0fd1764ee447424e67c1f96e39d68072

    You can grab the pDroid app (free) itself from the market place (but it won't work until you patch the system).

    even though there's a restore/off patch make sure to do a nandroid backup just to be on the safe side

    I installed the following via recovery:
    Paranoid Android 1.5 for Vision Rom
    paranoid_pdroid_on.zip (pDroid enabled patch)
    TitaniumBackup (So I could just quickly restore my pdroid app instead of signing up to google)

    Then rebooted (love the boot animation by the way), and tried out pDroid. Screenshots attached.

    So ya now can have more paranoia in your ParanoidAndroid :p
    3
    Any plans for updates?
    Sure.
    I've been very busy last month (I've even been offline all this time if you noticed), and now it seems it's finally over.
    When I have some more free time, I'll get back to development (and maybe rebase this on JB if Flinny allows).
    I promise. :)