yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] Mahdi786:
Yeah I'm trying to find that gap too, let me know if you find it.
[Android Software/Hacking General [Developers Only]] xredjokerx:
From what I know, That gap is based on the framework-res.apk/res/values/dimens.XML -> navigation bar height dp if that is set to zero, the recent apps will cover the entire screen
[Android Software/Hacking General [Developers Only]] molesarecoming:
how in the world do you even access recents when extended desktop is activated? i cant get there : D

as i said though, this stuff is not done by hardcoding a zero space. you'd need to program it in java and slap that code into the observer hooks.
[Android Software/Hacking General [Developers Only]] sthomas38:
Capacitive buttons :).
[Android Software/Hacking General [Developers Only]] molesarecoming:
damn you samsung htc and all the others for that. in a perfect world we're all using nexus and homebuttons are long extinct. ;)
[Android Software/Hacking General [Developers Only]] xredjokerx:
Where are these observer hooks located? I can fiddle around a bit but I doubt I can do much.... i mean it seems like a simple if statement or a simple while statement, but i barely know anything.

anyway I'm just feeling around
[Android Software/Hacking General [Developers Only]] InfinityFTW:
So if i got u right, i just edit the properties.conf on the ROM im porting from, and then edit build.prop?
[Android Software/Hacking General [Developers Only]] hatememarkz:
Are u porting for the gtab2 3113

sent frm budget phone runnin cm9 gon hate lol
[Android Software/Hacking General [Developers Only]] InfinityFTW:
Yep! :)
[Android Software/Hacking General [Developers Only]] quentin330:
I have troubles porting 2.15 because of system/etc/terminfo with files with the same name, I can't copy files with 7zip, what sould I do ?
[Android Software/Hacking General [Developers Only]] hatememarkz:
Thanx lemme know when u need a tester :D

sent frm budget phone runnin cm9 gon hate lol
[Android Software/Hacking General [Developers Only]] x-geo:
hello

i tried to make a CM9 based port to the Galaxy SII T989 from a i9100 paranoid android rom, tried 2 guides (This and this) and both roms give me errors in the boot, the device wont boot totally and stays in the boot screen and a black boot screen... is there another guide or is something wrong making a port from both guides?... any recommendation to consider doing this port?

thank you in advance and forgive my poor english
[Android Software/Hacking General [Developers Only]] Androguide.fr:
Follow this guide to the letter and you should end-up with a port that boots at least, but debugging is the biggest part of the work on ports in my experience.

If you can I really recommend you try to build from source instead of porting, will save you a lot of headaches on fixing the issues of your ports, might look more complicated at first glance but in fact compiling from source is a lot easier. Goku's thread is very well done and should guide you to successful pa building in no time.

Good luck ;)
[Android Software/Hacking General [Developers Only]] GoJo ^^:
When can we expect PA on the galaxy note 2?
[Android Software/Hacking General [Developers Only]] molesarecoming:
make one. ;) if you cant, usually its easy, you find a dev, ask him, direct him here and to goku's git/repo/source/sync thread and they are ready to go.
[Android Software/Hacking General [Developers Only]] Utacka:
Not possible now, im going to do it as soon as note2 tree is up but that wont happen for awhile since teamhacksung dropped support for all new exynos devices. Need a new n7100 maintainer to step up.

Skickat från min GT-N7100 via Tapatalk 2
[Android Software/Hacking General [Developers Only]] molesarecoming:
yeah, i read an interview that codeworkx gave on a german blog, very ... heated. they are PISSED. :D
[Android Software/Hacking General [Developers Only]] disconnecktie:
I didn't see in the op but are the repos open yet. I'm curious to see if I can port this to the thunderbolt.
[Android Software/Hacking General [Developers Only]] molesarecoming:
heres paprefs xhdpi: http://www.mediafire.com/?mrl35dyrq0zg6pc

the one in the rom is buggy.

we MUST come up with a better way this is really starting to bug me and you probably alot more. whenever we have time for it we'll make it a hands-free prebuilt option.
[Android Software/Hacking General [Developers Only]] pangiotis24:
i wanna ask something.my dream was always to have paranoid android feautures on aokp.can you tell me why you are saying not to even think to port it on aokp?is it so different from cm?
[Android Software/Hacking General [Developers Only]] imilka:
Search this thread for 'AOKP'

Or wait till moles will answer this question once again if he would like to do it :)
[Android Software/Hacking General [Developers Only]] pratikmore:
pa jb rom not booting.any help; logcat :- http://pastebin.com/MKHLXirJ

No help,no porting.Thanks.
[Android Software/Hacking General [Developers Only]] emd2009:
What files do I need to modify in order to hide battery, WiFi and network icons from the status bar but still have them show upon extending the notification bear
[Android Software/Hacking General [Developers Only]] quentin330:
I've got huge troubles porting PA since 2.18, I didn't notice it in 2.18 as I flashed it over 2.17 and everything worked fine but users reported that PA prefs weren't working, I asked them if they clean installed and they said yes.

As I ported 2.20, I did a clean install because of 4.1.2 and the same problem came to me, PA prefs was in phone layout as it used to be in tablet and I can't do anything in it (can't change DPI, can't restore as it says there's no backup) and that's really really weird.

EDIT : I'll try to make a video and post it
[Android Software/Hacking General [Developers Only]] molesarecoming:
this is a common error. do not use lunch brunch make or whatever. use our build script.

. rom-build.sh [devicename]

in my case: . rom-build.sh maguro

pa is a hands free environment, this thing will do all for you, download prebuilts, fetch vendor files do all the scripting, overlays, versioning, naming, packing, signing, optimizing, etc. -make- works, but you'll break alot of stuff because of missing information, it will lack all the overlays we had to make for apps that arent in our repo and paprefs wont recognize a sane environment and therefore shut down to not cause a mess.
[Android Software/Hacking General [Developers Only]] :
When I tested g-version 2.18 I got current config all set to 0
[Android Software/Hacking General [Developers Only]] gokussjx:
@Pratik,

The most probable cause is either incompatible framework, or incompatible libandroid_runtime.so. (or both)

It would be much easier to diagnose with a log. Connect your device to the computer, & as soon as your device shows the splashscreen, type into the terminal/command prompt:

adb logcat > logcat.txt

Keep it going till you face the reboot.

After a few seconds, close it, & upload your logcat.txt here.

Meanwhile,

What changes did you do to your framework-res values & xml?

And which libandroid_runtime.so are you using?

Will need answers to both to come upon a conclusion.
[Android Software/Hacking General [Developers Only]] molesarecoming:
i just answered one post above you. dont use make, use rom-build.

and if you port without sources, then make sure at least youre having the latest stuff, replicate /etc/paranoid from a recents rom like maguro and build.prop of course.
[Android Software/Hacking General [Developers Only]] quentin330:
That's what I use in my port, when I ported 2.21 for exemple, I copied etc/paranoid without changing anything like I always did
[Android Software/Hacking General [Developers Only]] pratikmore:
@ gokussjx i was already posted logcat here.pa jb rom not booting.any help; logcat :- http://pastebin.com/MKHLXirJ

Pa 1.98 jb rom not booted :- http://pastebin.com/WPysnuV6

No help,no porting.Thanks.

---------- Post added at 10:54 AM ---------- Previous post was at 10:50 AM ----------
[Android Software/Hacking General [Developers Only]] molesarecoming:
still mind build prop. paprefs must match the compiled rom. the versioning is inside backup.conf. it is better though you compile, thats safer, you catch all the overlays and adjustments we make, users get a better rom and you dont need to worry about anything.
[Android Software/Hacking General [Developers Only]] gokussjx:
Your Android Runtime keeps failing to start.

Try using the libandroid_runtime.so of the other device's ROM.

If even that fails, we gotta get deeper into framework modifications.

And if even that fails, the source/target for the port are a bad combo, & might not be possible.

Porting is an inaccurate work. Nothing's ever fully certain. If it fails, move on to other choices, or wait for your device tree to be released.
[Android Software/Hacking General [Developers Only]] molesarecoming:
in 2.22 pa-prefs will come prebuilt. it will be a hands-free solution and its one unified apk loading preferences externally (from /etc/paranoid/preferences). we'll finish the overlays today probably, should you want to include your own settings in there, you can. please not that this doesnt just mean hybrid stuff. every possible system setting can be included. you could even make high-speed settings taking care of androids-animation speed, overclocking, undervolting, yaddayadda. all we ask is, make sure everything you include there will be safe and intuitive.

the format looks like this:

<property name="Phone UI" active="true" image="/etc/paranoid/preferences/images/phone.jpg">
<description><![CDATA[Hybrid mode <b><font color='green'>on</font></b><br\>Stock workspace]]></description>
<setting type="Hybrid" target="%hybrid_mode" value="1"/>
<setting type="Hybrid" target="com.android.systemui.dpi" value="%rom_default_dpi"/>
<setting type="Hybrid" target="com.android.systemui.layout" value="%rom_default_layout"/>
<setting type="Android" target="status_bar_clock" value="1"/>
<setting type="Android" target="max_notification_icons" value="5"/>
</property>

Hybrid is for hybrid engine, Android for system settings.

Drop as many definitions into /etc/paranoid/preferences as you like, we'll make default ones though for MDPI, HDPI, XHDPI & TVDPI

We will put four default image into /etc/paranoid/preferences/images aswell.

disclaimer:

it shouldnt be necessary to mention but well, Paranoid-Settings is meant for official paranoid android only or ports that stay true to our vision. it is not meant to be included in other roms or kangs - unless we give permission. this is our good name that people pull through the mud when they mix it with conflicting source like aokp. hybrid engine and dpi changer will only result in a crappy user experience for the end-user. Hybrid relies on a clean system and does not change its DPI, thats the whole point of it. furthermore hybrid engine is huge and complicated to kang because it grew over half a year and hundreds of commits, resets, reverts, rewrites. the only real hybrid engine is the result of a clean repo init and . rom-build.sh devicename.

kangs and roms that dont have our permission can either write their own implementation (its really just a text file reader/writer) or adapt on the old paprefs version in the ICS branch, which is 100% opensource. hybrid engine is 100% open source aswell of course. :cool:
[Android Software/Hacking General [Developers Only]] Androguide.fr:
Awesome news, thanks a lot for this new great features, gonna build & play around with those prefs as soon as I get back home. :good:
[Android Software/Hacking General [Developers Only]] dudeman1996:
Trying to build PA for the first time in a month or 2 and a lot has changed in terms of compiling. When I try to compile now, I get:

build/core/product_config.mk:196: *** _nic.PRODUCTS.[[/pa_marvel.mk]]: "/pa_marvel.mk" does not exist. Stop.

I've put pa_marvel.mk into vendor/pa/products, I've added the ifeq to vendor/pa/products/AndroidProducts.mk and I've got my device tree set up as normal. What am I missing?
[Android Software/Hacking General [Developers Only]] Androguide.fr:
Did you add a lunch combo to your vendor/pa/vendorsetup.sh ?
[Android Software/Hacking General [Developers Only]] dudeman1996:
Yup :(
[Android Software/Hacking General [Developers Only]] Zarboz:
unable to clone source

tried on 3 seperate machines and 1 fresh install

keep getting:

Permission Denied (publickey)

i can clone Cm10 fine i can clone AOKP fine and build both fine why is this source different??

I would really like to have this for my tablet can anyone give me a idea ???

i asked a fellow dev from One S and LTE forums and they dont have this problem when cloning the repo or "syncing"

I was under the impression this was similiar to other AOSP builds where we can sync the repo up add our device vendor and kernel and overlay and compile away
[Android Software/Hacking General [Developers Only]] dudeman1996:
sudo nano .repo/manifest.xml

Remove the line

<project path="packages/apps/ParanoidPreferences" name="android_packages_apps_paranoidpreferences" remote="paranoid" revision="jellybean" />
[Android Software/Hacking General [Developers Only]] Zarboz:
will this break paranoidsettings tho?

if i need to push it from a working build i can do so
[Android Software/Hacking General [Developers Only]] Androguide.fr:
If this new feature is ready (should be, or will be by tomorrow) a prebuilt paprefs will be used, the sources for the app are closed. Otherwise grab the latest one from moles' gnex builds and add it to your build before releasing.
[Android Software/Hacking General [Developers Only]] molesarecoming:
in theory it should be fine now. specs for xhdpi and tvdpi are up, jesus is doing the other ones.

as always, make sure you build with . rom-build.sh devicename

if everything is fine you have a working paprefs app and a bunch of presets. if you want to change them or add some, make a commit on our gerrit.
[Android Software/Hacking General [Developers Only]] Zarboz:
Hmmmmm I get about a minute into the compile and get

/bin/bash: jar: command not found

does that mean my java is out of date? nevermind i was building on one of my fresh vm installs moved back to my AOKP builder and error is gone

thanks for the prompt support guys :D
[Android Software/Hacking General [Developers Only]] Ir0nLy0n:
Is HDPI up yet? I built 2.22 for the samsung captivate and I didn't have it prebuilt in. or is it something I might have wrong?
[Android Software/Hacking General [Developers Only]] Utacka:
The app is there thou you need to edit pa_common.mk to copy it to /system/app. Check for example how GooManager.apk is added in pa_common.mk then do the same for ParanoidPreferences.apk

For example my pa_common.mk looks like this:

# Replace CM files
PRODUCT_COPY_FILES += \
vendor/pa/prebuilt/common/bin/backuptool.sh:system/bin/backuptool.sh \
vendor/pa/prebuilt/common/apk/GooManager.apk:system/app/GooManager.apk \
vendor/pa/prebuilt/common/apk/ParanoidPreferences.apk:system/app/ParanoidPreferences.apk \
vendor/pa/prebuilt/common/apk/SuperSU.apk:system/app/SuperSU.apk \
vendor/pa/prebuilt/common/xbin/su:system/xbin/su

Skickat från min GT-N7100 via Tapatalk 2
[Android Software/Hacking General [Developers Only]] Ir0nLy0n:
Oh... duh.. thanks
[Android Software/Hacking General [Developers Only]] molesarecoming:
sorry, i forgot to include it. :o

bidyut corrected it, its already gerrited.
[Android Software/Hacking General [Developers Only]] molesarecoming:
heres a real life example of the new preference system, in case you want to add your own:

<property name="PA Default" active="true">

<description><![CDATA[
300 DPI Phone UI<br/>
275 DPI lockscreen<br/>
290 DPI launcher<br/>
280 DPI for all apps<br/>
6 Holo toggles
]]></description>
<setting type="Hybrid" target="%hybrid_mode" value="1"/>
<setting type="Hybrid" target="com.android.systemui.dpi" value="300"/>
<setting type="Hybrid" target="com.android.systemui.layout" value="360"/>
<setting type="Hybrid" target="%system_default_layout" value="0"/>
<setting type="Hybrid" target="%system_default_dpi" value="280"/>
<setting type="Hybrid" target="%user_default_dpi" value="280"/>
<setting type="Hybrid" target="android.dpi" value="275"/>
<setting type="Hybrid" target="com.cyanogenmod.trebuchet.dpi" value="290"/>
<setting type="Hybrid" target="com.cyanogenmod.trebuchet.layout" value="360"/>
<setting type="Android" target="status_bar_clock" value="1"/>
<setting type="Android" target="max_notification_icons" value="5"/>
<setting type="Android" target="statusbar_toggles_enable" value="1"/>
<setting type="Android" target="statusbar_toggles" value="ROTATE|WIFI|GPS|BLUETOOTH|SYNC|SILENT"/>
<setting type="Android" target="statusbar_toggles_show_brightness" value="1"/>
<setting type="Android" target="statusbar_toggles_disable_scroll" value="1"/>
<setting type="Android" target="statusbar_toggles_style" value="2"/>

</property>

as you see you can do just about anything with it. "Hybrid" controls hybrid engine, "Android" controls typical system settings which you can set throught the OS. in this example i set up a couple of apps and some toggles.

i did not supply an image for this one, he'll automatically take the flash-icon but you can use your own.
[Android Software/Hacking General [Developers Only]] Androguide.fr:
Noob question : Is there a specific xml file where we can grab the variables usable with the prefs ? (my guess is it's in packages/apps/Settings or frameworks/base/core ?)
[Android Software/Hacking General [Developers Only]] D4rKn3sSyS:
You can check hybrid properties if you want "Hybrid", or if you want "Android" you can check frameworks/base/core/java/com/android/provider/Settings.java (Settings.Secure entries are not included)
[Android Software/Hacking General [Developers Only]] Androguide.fr:
Thanks a lot, that's exactly what I was looking for.
[Android Software/Hacking General [Developers Only]] molesarecoming:
i do it like this,

i see a setting from android-settings that i want to include, i simply search the Settings project in /packages/apps/Settings for the menu string "Statusbar" whatever. it will bring me to strings.xml. there i can get the ID, which im using to search *.java files. in the java file i can get the actual settings that is being used to define stuff. as jesus just said, you'll still need the id-string from settings.jar.

sounds more complicated than it is. if you want to practice try including the center-clock. :p
[Android Software/Hacking General [Developers Only]] tonyp:
:good: :good: :good:
[Android Software/Hacking General [Developers Only]] pratikmore:
Pa 2.21 rom not booted :- http://pastebin.com/SgHtSekx

already replaced html5video vie proxy and libwebcore,libchromiun net.so but shows same error.
[Android Software/Hacking General [Developers Only]] GoJo ^^:
I heard Samsung released the code or something for the note 2. Sorry I'm not a dev.. But I'm curious to know if things advanced or still nothing started for now?
[Android Software/Hacking General [Developers Only]] :
Hi

I built pa-2.21 and now pa-2.22 for the Samsung Galaxy S i9000. I also opened a thread without asking for permission from you. I didn't know where and who to ask. Now may I still post links to my builds as unofficial¿ I added OTA Updater Tod my build may I distrubute my builds like that?

Your tutorial is the best !

Gesendet von meinem GT-I9000 mit Tapatalk 2
[Android Software/Hacking General [Developers Only]] molesarecoming:
Sure why not.
[Android Software/Hacking General [Developers Only]] Jean-DrEaD:
I've installed this rom on a HTC Desire HD and a Galaxy S2...

I have a Xperia S... So, I dream with day when this rom ported to Lt26i...

I'll try this wonderful guide! Many many thanks!
[Android Software/Hacking General [Developers Only]] pratikmore:
Any help?
[Android Software/Hacking General [Developers Only]] AiphNday:
Thanks for the guide,I've port paranoid android to samsung galaxy gio and it was great to have this rom on my phone..

:D
[Android Software/Hacking General [Developers Only]] Androguide.fr:
I got another question, where do you get the values of those strings when they're not booleans and not explained in the comments ?

i.e :

/**
* Style of the toggles
* @hide
*/
public static final String STATUSBAR_TOGGLES_STYLE = "statusbar_toggles_style";

Where can I see which values can be used ?
[Android Software/Hacking General [Developers Only]] molesarecoming:
you need to look them up in the code. its a string. the divider is a "|" ...

BLUETOOTH|GPS|WIFI| ...

just search for all *.java files in systemUI who use STATUSBAR_TOGGLES_STYLE and you quickly find the definitions. sadly this is how android works. i always hated its clumsy settingssystem, in some aspects its worse than windows registry - there at least you have type information. but once you know how a setting works you can start using it.

<property name="PA Default" active="true">

<description><![CDATA[
300 DPI Phone UI<br/>
275 DPI lockscreen<br/>
290 DPI launcher<br/>
280 DPI for all apps<br/>
6 Holo toggles
]]></description>
<setting type="Hybrid" target="%hybrid_mode" value="1"/>
<setting type="Hybrid" target="com.android.systemui.dpi" value="300"/>
<setting type="Hybrid" target="com.android.systemui.layout" value="360"/>
<setting type="Hybrid" target="%system_default_layout" value="0"/>
<setting type="Hybrid" target="%system_default_dpi" value="280"/>
<setting type="Hybrid" target="%user_default_dpi" value="280"/>
<setting type="Hybrid" target="android.dpi" value="275"/>
<setting type="Hybrid" target="com.cyanogenmod.trebuchet.dpi" value="290"/>
<setting type="Hybrid" target="com.cyanogenmod.trebuchet.layout" value="360"/>
<setting type="Android" target="status_bar_clock" value="1"/>
<setting type="Android" target="max_notification_icons" value="5"/>
<setting type="Android" target="statusbar_toggles_enable" value="1"/>
<setting type="Android" target="statusbar_toggles" value="ROTATE|WIFI|GPS|BLUETOOTH|SYNC|SILENT"/>
<setting type="Android" target="statusbar_toggles_show_brightness" value="1"/>
<setting type="Android" target="statusbar_toggles_disable_scroll" value="1"/>
<setting type="Android" target="statusbar_toggles_style" value="2"/>

</property>

in this example i am using ROTATE|WIFI|GPS|BLUETOOTH|SYNC|SILENT, style 2 (HOLOBUTTONS), stretch (disable_scroll=1) and a brightness slider.

this goes for all android settings. you need to figure out what they do. some are easy because its just 0 & 1, some holds complex data you need to study first. your best friend in all this is ubuntus "search for files", at least in 11, they killed it in 12.04 but you find it in softwarecenter. i use that all-the-time. it makes stuff like that almost too easy.
[Android Software/Hacking General [Developers Only]] Androguide.fr:
Thanks a lot for the detailed explaination Paul :good:

I'll download that "search for file" app right away, nice tip.

By the way congratulations for this really powerful quick-settings tool you guys cooked-up, the possibilities are just huge !
[Android Software/Hacking General [Developers Only]] molesarecoming:
yes they are. but i guess not many have realized it yet.

when per-app-color will be introduced in the next version people will know. ;)
[Android Software/Hacking General [Developers Only]] Androguide.fr:
Yeah this is true.

But I believe turning this into a user-sided feature would make it even more awesome, and help people realizing how cool it is.

I think I'm gonna cook a little aroma-script to do that.

I'm currently listing all the useful options I can find in Settings.java, then I'll research the corresponding values and allow the user to pick from the whole list so they'll end-up with their own custom preset added in paprefs directly.

I would make this aroma-script an app if I didn't suck that much at java/eclipse.
[Android Software/Hacking General [Developers Only]] pratikmore:
Logcat :- http://pastebin.com/kzr9hTyP

Plz help me for porting,I am posting here log 3rd time.porting jb pa 1.95 from xperia ray.
[Android Software/Hacking General [Developers Only]] Ir0nLy0n:
Quick question...

How many pref_#.xml's can we have in the preferences folder?

Most have 3 or 4 and I saw xhdpi had 6. I was just curious what the max was. If there is a max.