yashsingh1/xdaforums huggingface dataset:
[HD2 Android NAND Development] kovjanos:
Frankenstein - P.A.C. on PA-HD2

I got more requests asking for a P.A.C. ROM with this type of installer than feedbacks around the 2.x experiences. My thoughts:

There are so many "Frankenstein" ROMs out there. For HD2 there are at least 3 ROMs (PACMan HD2, PACMan Leo, C.A.M.P.S.) to choose from.

Not a nice name but those mixed ROMs are not mixing/merging features the right way, e.g. standard toggles from standard settings in CM are mapped to AOKP space in P.A.C. It's not just a mess, but makes harder to step back from there.

Starting from v16, P.A.C. is not allowed to pack ParanoidPreferences into the ROM! - a PA based ROM without ParanoidPreferences is not user friendly...

But:

Because it's easy to pack PAC into the PA-HD2 installer, I put together something for you: P.A.C. framework upgradechange from PA-HD2.

Please note:

it's not a new ROM, it's still PA-HD2 but will change all you could get from a P.A.C. ROM

it's still PA-HD2 so you won't be able to run the two in parallel (still using PA-HD2 under SD-EXT for NativeSD and DataOnEXT)

as P.A.C. mapping configs from different frameworks, even if the installer can be used to return to PA framework, there could be issues around this. Please test, test and test

as it's not a P.A.C. ROM, the installer will install PA only and will deploy the ParanoidPreferences. After that - if you want - you can change to P.A.C. and ParanoidPreferences and other apps will be kept there

after flashing, the first start-up will be slow, wait a few minutes...

not all applications will keep theuser settings (e.g. security key/token based apps must be reconfigured after changing framework)

In return I would expect heavy testing: like config in PA, change to PAC, change some settings, return to PA: worked or not, what was messed up, etc.

Note: my dev HD2 is broken and I can't be offline testing PAC, so it's up to you to test and report!

Download: PA-HD2_v2.54-2.4.zip - 303.48 MB

MD5: 9f7581c7cdf205add298c6d3b21513f7

! CREATE BACKUP BEFORE FLASHING !

J.

P.A.C. custom bootanimation is based on Bloodflame's animation: http://xdaforums.com/showpost.php?p=33863490&postcount=857
[HD2 Android NAND Development] gasanpride:
I flashed v2.4 via NativeSD. Initial findings.

1. During the install there is an option you added to select bet swap and no swap. The ROM won't boot when I selected with swap.

There was an error in Configuring Swapping during the install in 'file_getprop: failed to stat "tmp/hardswap.prop": No such file or directory.

2. Tried again this time selected no swap and boot successfully.

3. Reinstalled one more time and selected just the swap on the first menu. Swap was then activated successfully.

4. I don't see any differences yet as compared with v2.3. Are we expecting any? I will test a bit more.
[HD2 Android NAND Development] melando:
Can you tell us what is changed between 2.3 and 2.4? Is a full install necessary or just patching some system files?

Looks cool
[HD2 Android NAND Development] kovjanos:
Nothing, only the pac stuff + put that swap into install process but looks like I mmissed something
[HD2 Android NAND Development] gasanpride:
Settings>ParanoidAndroid Settings > Interface. Moved slider down from 240 to 220 dpi hit apply then reboot.After reboot dpi still set at 240 for the 4 categories. Won't pick up the 220 I previously set.
[HD2 Android NAND Development] kovjanos:
Thanks! Fixed (tested) in next installer.

No, nothing new, looks like everybody working on the 4.2 merge.

J.
[HD2 Android NAND Development] kovjanos:
Could you please check the permission configured on /etc/paranoid/properties.conf? (should be 644, system:system)

Do you see the root permission granted message when applying/saving config?

Try to save w/o reboot and check the content of the file.

J.
[HD2 Android NAND Development] gasanpride:
Yes, the permission is 644 (rw- r-- r--). I did not see the root permission granted when I apply the changes. Attached is the file w/o rebooting.
[HD2 Android NAND Development] djsolidsnake86:
kovjanos can you add as camera miui camera please?
[HD2 Android NAND Development] kovjanos:
Which version? Could you please try to start up CM File Manager and configure it to permanent root? go back to dir list and you should get SuperSu prompt. Still checking why ParanoidPreferences not triggering this...

J.

OMG! su is not symlinked in 2.54-2.4... going to fix it in next test package...

Update: no, something else, 2.3 is the same and settings works there...
[HD2 Android NAND Development] kovjanos:
Please try the "Reset properties" under Tools in ParanoidPreferences.

J.

or make sure you have this in your properties.conf at the end of the file:

com.paranoid.preferences.version=pa-hd2-2.54-16NOV2012-174522

(+a newline)
[HD2 Android NAND Development] kovjanos:
There is some type of camera included by default + you can choose Google gallery/camera between 4.1.2 and 4.2 (the def camera will be still there). (Personally I'm using LGCam pro.)

Why miui cam is better than the built-in?

J.
[HD2 Android NAND Development] kovjanos:
gasanpride: the problem is with the ParanoidPreferences - testing new version and uploading if it works...

the paranoid guys went too paranoid... so if you want to fix it yourself:

- change modeversion in build.prop to pa_leo-2.54-16NOV2012-174522

- change com.paranoid.preferences.version in both backup.conf and properties.conf to the same value under system/etc/paranoid

J.
[HD2 Android NAND Development] kovjanos:
PA-HD2 v2.54-2.5

PA-HD2_v2.54-2.5.zip - 303.48 MB

MD5: 15f4db0de2c4c22f89ba90f4a3abfdc6

Change log:

- fixed install process to add/configure swap during install

- PA: updated Contacts and Contacts Provider

- Fixed going back to PA framework from PAC (still depends on the changes applied with PAC)

- Fixed modversion to let ParanoidPreferences request root to save configuration changes (paranoid developers went paranoid :()

J.
[HD2 Android NAND Development] gasanpride:
Flashed 2.5 . The swap issue is fixed. But still won't pick up my 220 dpi settings in paranoidsettings > interface. Also not seeing the root permission granted. Tried Reset Properties under tools but no effect getting the same issue.

Workaround is to force set the DPI setting of 220 in build.prop
[HD2 Android NAND Development] kovjanos:
Works here after clean install, after reset config and even after switch to and back from PAC.

I also did a 2.3 restore, 2.5 upgrade, and ParanoidPreferences worked.

+tested restoring preferences from a ParanoidPreferences backup created with 2.3: I had to adjust the version and it worked.

Please note: restoring PA preferences from older releases is not supported by PA preferences. If you are sure that your old config will work with the new PA, the workaround is: manually modify the old (or after restore) properties.conf and change the version string. The expected value is always in the backup.conf.

Could you please report these outputs:

grep modversion /system/build.prop

grep version /system/etc/paranoid/*.conf

J.
[HD2 Android NAND Development] gasanpride:
Yep. Fresh install fixed it. I think I had installed 2.5 on top of 2.1 or 2.2, can't remember. But it's OK now. Now I need to reinstall back all my apps and let you know of any other issues.

Thanks again!

Oh just a suggestion in your next update or you can do it now. When you edit your title line, you may want to include. ' ...+ SWAP' so everyone will be aware. This is the first JB or ICS that has this feature. I like it.

Also you can now remove in your first menu type of install of your aroma install script the swap radio button to avoid confusion.
[HD2 Android NAND Development] kovjanos:
Unfortunately the title length is limited, no space for this (e.g. [ ODEX | SWAP ]) without compressing title...

The script to check if you have swap partition is already in the ROM, I'll use it in next installer to set the default value based on that info...

J.
[HD2 Android NAND Development] kovjanos:
deskclock missing

Nobody mentioned that there is no deskclock/alarm in the ROM :)

Going to build a new package and will include stock and 4.2 apps...

J.
[HD2 Android NAND Development] nickisverygood:
I just put all available 4.2 apps into the rom and it worked so great

the rom is soooo fast and smooth and i love it , big improve from ics

thanks so much and i really love it
[HD2 Android NAND Development] melando:
Look forward to it. Can you include News & Weather (Geniewidget)?
[HD2 Android NAND Development] kovjanos:
Yes, GenieWidget from GAPPS 4.2 package will be included as an optional extra app...

J.
[HD2 Android NAND Development] kovjanos:
PA-HD2_v2.54-2.6

PA-HD2_v2.54-2.6.zip - 294.58 MB

MD5: 9d10c253ca962412d249c6d412125ccc

Change log:

Fixed missing DeskClock

NOTE: you don't need to reinstall, just select "manage exra apps", scroll down to DeskClock, select stock or 4.2 and install app.

Added GenieWidget to extra apps

During install, swap will be selected by default if swap partition exists

J.
[HD2 Android NAND Development] gasanpride:
Hi kovjanos,

Tested the native Portable Wi-fi Hotspot tethering. I was not sure if it is a known issue but is not working on v2.5 right now - won't start at all.

I tried the 3rd party Wifi Tether from market by Muller. It started but looks like PC not seeing it.
[HD2 Android NAND Development] kovjanos:
Built-in tether worked with 1.x but with 2.x on my current config (clk|tytung|ppp) I can't get it working. Fortunately I kept the wifi tether app in ROM, so it should work. I can't remember whether it was hidden or not, but if I remember correctly I added the network manually.

Now it shows up for me and I can connect and access network. On the other hand I had to turn off wpa_supplicant to get it running.

Try to add the network/SSID manually. I'll try to choose another base for next version where built-in tether works...

J.
[HD2 Android NAND Development] gasanpride:
I think you are talking about the barnacle WiFi. Yes, I also use that before and a good alternative but that one is peer to peer. In my case I can use that in my personal PC use but not in my company's pc which the VPN is so strict that I managed to connect only to work network via the native built-in tethering.
[HD2 Android NAND Development] kovjanos:
Yes, barnacle...

OK, going to fix it now, I see where it went wrong...

J.
[HD2 Android NAND Development] kovjanos:
wifi tether fix for PA (PAC has no issue)

Try to apply this framework (PA), with this fix built-in tethering works for me...

framework-res_v2.54-2.6-wifitetherfix.apk - 5.49 MB

MD5: 083ab232aeed51b221ede2590c8839dd

Going to pack it into a new version today...

J.
[HD2 Android NAND Development] pabloj:
I can not select the number of home screens, or the rows or columns. For the rest, great job
[HD2 Android NAND Development] clockcycle4mobile:
Hello, i would like to install your ROM with DataOnEXT feature, now i'm about to partition the NAND memory from within the cLK bootloader...could you please tell me which MB values of "boot, system and cache partions" should i choose when creating the partions to have a full+odex install???

Thanks in advance
[HD2 Android NAND Development] kovjanos:
It works for me.

Did you install the 4.2 Launcher? Can you save it from settings or even saving config does not work?

J.
[HD2 Android NAND Development] kovjanos:
Let me check it...

J.
[HD2 Android NAND Development] kovjanos:
PA-HD2_v2.54-2.7

PA-HD2_v2.54-2.7.zip - 294.59 MB

MD5: e479cbb90503e8fd2c8d9f6101608600

Change log:

Fixed wifi tether lost around 2.x (PA only, PAC not affected)

Note: you don't need to re-flash the system, enough to choose PA/PAC framework switcher and select restore PA - this will install the updated framework with the fixed files.

J.
[HD2 Android NAND Development] kovjanos:
Here are the current (2.7) reqs:

System size: 180 MB for minimal, 290 MB for full, 360 MB for the full+odex install

Note: Odexed system will be ~330 MB only, but the process requires some temp space under /system.​

That means you have to change the current default partition sizes:

Default partition table: recovery=6,boot=5,misc=1,system=150,userdata=0,cache=5​

to:

recovery=6,boot=5,misc=1,system=360,userdata=0,cache=5​

Note: if you are using a different recovery than what currently included in clk 1.5.x (CWM Recovery Touch Beta 8 Release Candidate 1), than you must check the required size for the recovery partition!

FYI: test the system with and without ODEXing, some of the users reported that non-ODEXed installation is also super-fast...

J.
[HD2 Android NAND Development] melando:
Is the SIM PIN issue in v16.0 fixed with this PAC option?
[HD2 Android NAND Development] kovjanos:
What's that issue?

I have PIN on SIM and I get the pinpad displayed booting up, entering the pin I can get system started and log in...

J.
[HD2 Android NAND Development] melando:
There was an issue with PACman based on v16 but you don't seem to have it judging by your experience, good
[HD2 Android NAND Development] kovjanos:
yes, looks like...

Are you going to flash PA-HD2 with PAC? Wait a bit I'm preparing the v18 PAC as add-on... :)

I have terrible slow network now, but I'm expecting it ~10pm.

J.
[HD2 Android NAND Development] marcolo76:
cant download it! very slow network..

please ,i need a other download link

T Y !
[HD2 Android NAND Development] clockcycle4mobile:
Thanks :)

Listem, how can i enable the softkeys in tablet mode?? And to have the invisible power soft key i still have to flash that addon in recovery? is it updated for 2.7 version??
[HD2 Android NAND Development] kovjanos:
There is something wrong with Dev-Host today. Unfortunately my goo.im account is still pending.

not sure if I'll have time to upload it elsewhere.

...if somebody having 2.7 could mirror it, please...

J.
[HD2 Android NAND Development] kovjanos:
Softkeys can be turned on in Settings -> Navigation bar. It should work in tablet mode.

If you need invisible power, you can flash the user mod linked from OP (2.54-2.0), it's only a SystemUI change, will not conflict with the updated framework.

J.
[HD2 Android NAND Development] pabloj:
not an option screen, so I can not configure.
[HD2 Android NAND Development] lcoroas:
excellent work nativesd works great ..

When I disconnect the htc premanece backlight turned on for a few seconds, this is a mistake or will still:cowboy::cowboy::cowboy:
[HD2 Android NAND Development] kovjanos:
If you are using the built-in launcher (Trebuchet) than you have to go to Settings->Launcher to change settings...

(Trebuchet must be the def. launcher to get this menu displayed, temp launcher is not enough if i'm right)

J.
[HD2 Android NAND Development] kovjanos:
?, disconnect means, usb sdisconnect? this should turn on screen..

J.
[HD2 Android NAND Development] gasanpride:
Not sure if this is my phone issue, but can you try to turn on your flashlight. I tried 3 flashlights app and light won't turn on for me. I am still on 2.5 nativesd install.
[HD2 Android NAND Development] kovjanos:
I have torch configured as a toggle and it worked from there. I'm testing now, but let me know if it won't work for you and I'll retest.

J.
[HD2 Android NAND Development] kovjanos:
got issues with PAC v18, so go ahead with 2.7 (v16) if you want to try...

J.
[HD2 Android NAND Development] ionbasa:
Quick question, is there ZRAM support enabled for this rom with PAC addon?
[HD2 Android NAND Development] melando:
Probably a different point but I find the screen does not lock when it turns off as the power cable is removed (I have it set to stay on while on power)

Also I have had hot reboots on each first connect to PC as USB (before SD card can be read), has anyone else seen this?
[HD2 Android NAND Development] gasanpride:
G

Thanks. Looks like it's my phone issue. I tried tytung's ics and flashlight not turning on as well there. Anyway I've completed flashing v2.7. I will test some more and report any issues encountered.

Edit: for some reason flashlight is working in v2.7. Weird.
[HD2 Android NAND Development] kovjanos:
It was marked experimental so script was removed - although with marc1706's kernel you will get the module installed to play with it...

J.
[HD2 Android NAND Development] lcoroas:
Tightening the red button to sleep the htc and the backlight stays on for a few seconds

in other rom, s not happening this late light:confused::confused::confused:
[HD2 Android NAND Development] kovjanos:
Which version? I'm on 2.7 and sending screen to sleep i get the key back-light turned off immediately.

J.
[HD2 Android NAND Development] kovjanos:
Screen lock: tested and got the same behavior! I will try to fix it (or at lest turn the screen back after unplug to see it's not locked). Thanks for reporting

SDCard conflicts: Some other users reported the same - please also check the install.log (if saved) whether you have SD-Card related errors there.

J.
[HD2 Android NAND Development] lcoroas:
v.2.54-2.3 ..... 2.5, ... 2.6, 2.7 and just installed also has the same problem,
[HD2 Android NAND Development] ionbasa:
Thanks, So during the install in Aroma select Marc's kernel.

Also is there any overclock and voltage support in Marc's kernel?
[HD2 Android NAND Development] nkill:
apps?

what a nice rom,

very good work! Anything works, and fine

Are you able to install apps like talk, now! ..? I just can't :/
[HD2 Android NAND Development] pabloj:
can not set the number of screens, or rows or columns. These are the screenshots. I do not see where you select?Sorry for not seeing as selected

Solution:

When installing the rom launcher does not work, if left trebouchet, so if you can select the number of displays etc
[HD2 Android NAND Development] gasanpride:
Ok. Here are my findings on v2.7. I installed the ROM via NativeSD.

Wifi – ok

2G/3G/H Network (ppp tested)– ok

Bluetooth – ok

GPS – ok

Wifi Hotspot Native Tether – ok

Maps/Navigation - ok

Email system – ok

Camera Miui – horizontal line issue, workaround adjust the picture size to 2592x1552

Video - ok

Qr Barcode Scanner – horizontal line issue

Netflix – not working, won’t start (issue across JB roms)

Battery Consumption – good, 5-9mA (lots of 7ma) on idle

Screen off – ok, would be nice if the ‘old TV screen off’ effect is incorporated in ROM

Softkeys – ok, nice to have option to adjust the height and width and option to add Power softkey built-in in ROM

No issue with Go Launcher Ex that I am using

Recommendation

- Some folks are reporting performance lag due to memory issue. To take care and maintain > 100MB+ of memory: Use ROM Toolbox from PlayStore, go to Performance -> Memory manager; choose Presets -> Strict (or Aggressive). Apply and select "Apply at boot".

- If you have not done yet, repartition your SD card and add a linux swap say of 256MB after the EXT4 partition so you can make use of the SWAP feature of this rom. This will enhance the ROM perfomance.

- Make sure to Perform Fix permission to to avoid FC of some apps. You can do this by using the built-in NativeSDMultiboot app – Tools>Fix Permissions then reboot. Or via ROM Manager app.

My verdict - This ROM I would say can now be considered as a candidate for daily use. It is fast/smooth and can be compared now to stable GB roms out there. I installed it using Sandisk 16GB Class 4. Also getting 3101 on AnTuTu
[HD2 Android NAND Development] kovjanos:
Overclock: yes, I used to overclock that kernel too

Undervolt: maybe, If I remember correctly kernel support undervolting, but you have to test it...

J.
[HD2 Android NAND Development] kovjanos:
Ok, than I need these info:

- bootloader/kernel/connection type you are using

- build number reported in Settings->About phone (last item in the list)

J.
[HD2 Android NAND Development] kovjanos:
See screens attached - this is for the built-in launcher.

If you are using any other launchers - including the 4.2 one - you have to configure the launcher from the launcher's own menu - but for this you have to get the details from the launcher...

J.
[HD2 Android NAND Development] kovjanos:
I'm using those apps right now...

Which version you have - 2.7?

What did you get in install log? Do you have enough system space? (both talk and now are system apps)

J.
[HD2 Android NAND Development] kovjanos:
Thanks for the detailed list!

You should try it with a newer SD-Card, with Sandisk UHS-I having no apps on SD there are 2ma beside 5-7 for me...

(I have NAND+DataOnEXT)

J.
[HD2 Android NAND Development] melando:
Cannot see install log but I notice that afterwards I get the "USB connected" notification when I connect charger only, not to PC ... odd
[HD2 Android NAND Development] kovjanos:
I think this is the beginning of a beautiful friendship with your service agent... I had the same. Claiming cable, windows drivers, options, android not supported, getting confusing results with winmo, device EOL, etc.

Test, if its only the connection:

- try to find a PC where you can tweak USB port voltage (ASUS if I'm right)

- try to use hq usb cables (e.g. I can not flash with the Chinese but using same PC, same port but other cable it works)

- try to pull out 1mm the connector if connected or lean to sg to get it better connected

J.
[HD2 Android NAND Development] melando:
Well I am now getting USB connected notification with the original HTC charger and cable... never had that before

USB connection works normally when I switch to another (ICS) ROM on same HD2

PS multi boot app is v9, latest version is v10
[HD2 Android NAND Development] kovjanos:
USB: did you get 2.7 with clean install or partial upgrades? tytung's kernel should have all the usb_* services there... I'm running out of time, but will try to check/clean up service defs in next release...

multiboot: thanks, will update in next package + add to extra app manager...

J.
[HD2 Android NAND Development] melando:
Believe I upgraded from 2.3 to 2.7 retaining data (i.e. not clean install): I had to clean data/cache for clock to stop an "unfortunately Clock has stopped" message on boot (down to new desk clock?) but otherwise this is running really well.

Thanks for this great work
[HD2 Android NAND Development] ketegano:
Network operator - Manual selection

Hello, could somebody check if it is possible to manually select the network operator from Settings..More..Mobile networks...Network operators ?

All roms I have tested with JB 4.1.2 return error with this manual selection and I need it because I live close to the border between France and Spain and the phone selects the operator automatically.

Thanks in advance.
[HD2 Android NAND Development] lcoroas:
MAGLDR113, 4EXTR, nativeSD

build number; pa-hd2 v2.54-2.7 test-keys [nativeSD]

kernel; 2.6.32_tytung_jellybean_r1

tytung@ubuntu#290

sun oct 14 20:31:24 CST 2012

I already tested your last rom, if all of them have the same error, I have 3 sd cards and is the same
[HD2 Android NAND Development] petbede:
How to fix???

Howdy kovjanos?

Great ROM.

I have LOW DISK SPACE.

I install ALL to SD-EXT

I have 7GB EXT4

I Have 500+ left but still getting LOW DISK SPACE,.

Please, how to fix??? THANKS.

PEACE!!!
[HD2 Android NAND Development] kovjanos:
I does not work for me:

D/RIL_WRAP( 114): 11:44:30: Request Complete 0x2a006ac0 QUERY_AVAILABLE_NETWORKS after 21094 ms
W/RILJ ( 603): [3826]< QUERY_AVAILABLE_NETWORKS exception, possible invalid RIL response
W/RILJ ( 603): java.lang.RuntimeException: RIL_REQUEST_QUERY_AVAILABLE_NETWORKS: invalid response. Got 10 strings, expected multiple of 4
W/RILJ ( 603): at com.android.internal.telephony.RIL.responseOperatorInfos(RIL.java:3335)
W/RILJ ( 603): at com.android.internal.telephony.RIL.processSolicited(RIL.java:2343)
W/RILJ ( 603): at com.android.internal.telephony.RIL.processResponse(RIL.java:2208)
W/RILJ ( 603): at com.android.internal.telephony.RIL$RILReceiver.run(RIL.java:602)
W/RILJ ( 603): at java.lang.Thread.run(Thread.java:856)

will look into it...

J.
[HD2 Android NAND Development] melando:
Well there you are ... 500 / 7GB is below 10% so would trigger the Android warning. If you searched you would find some comments on this but I don't remember anyone developing a work around, so: remove some ROMs from (or increase the size of) your ext4 partition.

(Try Tytung's NativeSD recovery tool to backup and remove individual ROMs?)