yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] Dekudan:
Thanks m'man :)

---------- Post added at 09:54 PM ---------- Previous post was at 09:02 PM ----------

Another problem. I get this when trying to build

Starting compilation
including vendor/cm/vendorsetup.sh
build/core/product_config.mk:209: *** No matches for product "pa_p4wifi". Stop.
Device p4wifi not found. Attempting to retrieve device repository from CyanogenMod Github (http://github.com/CyanogenMod).
Found repository: android_device_samsung_p4wifi
CyanogenMod/android_device_samsung_p4wifi already exists
Syncing repository to retrieve project.
Fetching projects: 100% (1/1), done.

Repository synced!
Looking for dependencies
Adding dependencies to manifest
CyanogenMod/android_device_samsung_p4-common already exists
Syncing dependencies
Fetching projects: 100% (1/1), done.

Done
build/core/product_config.mk:209: *** No matches for product "pa_p4wifi". Stop.

** Don't have a product spec for: 'pa_p4wifi'
** Do you have the right repo manifest?

No such item in brunch menu. Try 'breakfast'

Sadly, CyanogenMod/android_device_samsung_p4wifi doesn't exist, I actually pulled the config from Pershoot's github. Where do I get the right part of product_config.mk?
[Android Software/Hacking General [Developers Only]] Androguide.fr:
I built PA for Galaxy Tab 7.7, which is also not officially supported by cm. But this doesn't change anything, a device tree is a device tree, no matter from whose git you take it. (correct me if I'm wrong)

You need to set up your sources(mostly vendor/pa) correctly, in order to make your device lunchable. You should read this useful post from gokussjx, just replace pa_coconut with pa_p4wifi : http://xdaforums.com/showpost.php?p=30525577&postcount=576

You also need your vendor proprietaries files, you get them by connecting your tab with adb debugging enabled, and run this script : /device/samsung/p4wifi/extract-files

Good luck.
[Android Software/Hacking General [Developers Only]] Dekudan:
Ah brilliant, thank you so much :) there's always someone who knows what to do. And no worries, I have the proprietary files, bit I couldn't get them myself due to usb crappery, so i found a download for them. Anyway, I had everything apart from that last bit, thanks.

I don't suppose I can badger you for the grouper paranoid settings apk?
[Android Software/Hacking General [Developers Only]] Androguide.fr:
Sorry I forgot, here you go : http://www.mediafire.com/?44y20vwx009ek86

EDIT : tested it in my build, but there is no Phablet ui mode, it is replaced with phone ui mode (obviously, as phablet is stock for Nexus7). The sgs3 and gnex apks work fine for me on Galaxy Tab 7.7 (1280x800/160dpi), tell me if you need it.
[Android Software/Hacking General [Developers Only]] Ir0nLy0n:
I'm trying to add the captivate to android_vendor_pa by following the instructions in the ReadMe on github

However when I try this is what I get:

$ repo start jellybean ParanoidAndroid/android_vendor_pa
error: vendor/pa/: cannot start jellybean
[Android Software/Hacking General [Developers Only]] Androguide.fr:
Might be a dumb question. Is it possible to compile ics or jb versions of pa with a Linaro toolchain ?
[Android Software/Hacking General [Developers Only]] molesarecoming:
i admit i know nothing about git and gerrit - but do you have a local jellybean branch? what happens if you say:

cd vendor/pa

git branch jellybean

git checkout jellybean

cd ..

cd ..

repo start jellybean ParanoidAndroid/android_vendor_pa

just a stab in the dark
[Android Software/Hacking General [Developers Only]] Dekudan:
I think it would be useful, thanks. Sort of aiming at a 160DPI Phablet :P

Anyway, all your tips worked, it happily builds. However, it was held up by my own stupidity - I created a Virtualbox hard drive that was far too small, so now I'm moving everything to another disk I've set up. Derp.

Anyway, once I'm done, I should be allowed to upload this to XDA, or do I have to do some chatting with the PA bosses and get all the art assets?
[Android Software/Hacking General [Developers Only]] molesarecoming:
why, just upload.

dont be confused though, 160dpi has nothing to do with phablet or whatever. systemUI displays bars, thats all there is to it. either two or one one combined - in whatever dpi. these presets in pa-prefs are just configurations for that one app systemUI. i think theres even a way for you to make your own as user-presets but i havent tried - jesus should know.
[Android Software/Hacking General [Developers Only]] Dekudan:
Ah, ok. Only asking as all these PA threads have some lovely graphic works done for them, thought it was part of the whole scheme.

And yeah, I think I get you. I think the whole experience will be more lucid once built and actually running on the tablet.
[Android Software/Hacking General [Developers Only]] tobiascuypers:
I finished porting and when I try to flash in twrp I get this error

anyone know why?
[Android Software/Hacking General [Developers Only]] molesarecoming:
sure, you should take these graphics if you build PA.

here's the ne one:
[Android Software/Hacking General [Developers Only]] Dekudan:
Got it built and working, YAY! You're right though, no phablet ui, which screws it up a bit. Any chance you could send over the GNex one?

EDIT: Needn't worry, I got a copy from the maguro rom :)
[Android Software/Hacking General [Developers Only]] tobiascuypers:
Anyone?
[Android Software/Hacking General [Developers Only]] Ir0nLy0n:
Ok I did this ^

made my changes

$git add -A
$git commit -a
$ cd ~/paranoid
$ repo upload ParanoidAndroid/android_vendor_pa
no branches ready for upload

Maybe its something I'm doing wrong here?

Add captivatemtd (I897)

Change-Id: I2336b52acca84d7eaae7836c78e9bbe5d415974a

Add captivatemtd (I897)

# Please enter the commit message for your changes. Lines starting
# with '#' will be ignored, and an empty message aborts the commit.
# On branch jellybean
# Changes to be committed:
# (use "git reset HEAD^1 <file>..." to unstage)
#
# modified: products/AndroidProducts.mk
# new file: products/pa_captivatemtd.mk
# new file: vendorprops/captivatemtd.proprietaries
# modified: vendorsetup.sh
#

[ line 1/18 (5%), col 1/24 (4%), char 0/508 (0%) ]
^G Get Help ^O WriteOut ^R Read File ^Y Prev Page ^K Cut Text ^C Cur Pos
^X Exit ^J Justify ^W Where Is ^V Next Page ^U UnCut Text^T To Spell

it gives this output

[jellybean d9c7988] Add captivatemtd (I897)
4 files changed, 29 insertions(+)
create mode 100644 products/pa_captivatemtd.mk
create mode 100644 vendorprops/captivatemtd.proprietaries
[Android Software/Hacking General [Developers Only]] D4rKn3sSyS:
First, save your changes (Either your commit id or just remaking it)

repo abandon jellybean ParanoidAndroid/android_vendor_pa

repo start jellybean ParanoidAndroid/android_vendor_pa

cd vendor/pa

git reset --hard 25a4424e486e302c939becc33f632dcf34e86d4e

<HERE MAKE YOUR CHANGES OR RESTORE COMMIT WITH CERRY-PICK>

cd ./../..

repo upload ParanoidAndroid/android_vendor_pa

That must do the work :)
[Android Software/Hacking General [Developers Only]] molesarecoming:
i got the same error, even after the abandon thing. thats why im using a supermegalongcomplicated push command ... but anyways, i just found this:

http://groups.google.com/group/repo.../repo-discuss/browse_frm/month/2010-05?&pli=1

needless to say, i f****ing hate git. why not just invent a command "do it!" how hard can it be, these loosers ...

kidding, git can be nice i guess, but something inside me rebels against studying books to push a damn line of code.
[Android Software/Hacking General [Developers Only]] Ir0nLy0n:
OK now I'm here...

$ repo upload ParanoidAndroid/android_vendor_paUpload project vendor/pa/ to remote branch refs/heads/jellybean:
branch jellybean ( 1 commit, Mon Aug 27 20:52:05 2012 -0500):
d7a8d33b Add captivatemtd (I897)
to review.paranoid-rom.com (y/N)? y
Permission denied (publickey).
fatal: The remote end hung up unexpectedly

----------------------------------------------------------------------
[FAILED] vendor/pa/ jellybean (Upload failed)

Sorry to be a pain
[Android Software/Hacking General [Developers Only]] JamieD81:
im at the exact same spot.
[Android Software/Hacking General [Developers Only]] D4rKn3sSyS:
ssh-keygen -t rsa -C "your_email@youremail.com"

copy the contents of /home/user/.ssh/id_rsa.pub

Go to gerrit > Settings > add ssh keys, and paste it here :)

// won you pax :D
[Android Software/Hacking General [Developers Only]] paxChristos:
Did you upload your ssh key to PA gerrit?

Pax
[Android Software/Hacking General [Developers Only]] tonyp:
I do have one problem, before I dig into it I thought I'll just ask you guys first if anyone else encountered it.

I'm building ICS v1.6.

After a full wipe and flashing the build the navigation bar is always enabled. But at Settings - System - Navigation Bar it is unchecked.

To disable it I have to check and again unckeck the option, then the navbar is gone.

Strange bug... any ideas?
[Android Software/Hacking General [Developers Only]] JamieD81:
already had mine there, its still throwing me that error
[Android Software/Hacking General [Developers Only]] D4rKn3sSyS:
Add to settings defaultValue="true" on XML

<CheckBoxPreference
android:key="pref_soft_keys"
android:title="@string/soft_keys_title"
android:summary="@string/soft_keys_summary"
android:defaultValue="[B]false[/B]"/>

Simple, aint it ? :)

Be sure your gerrit email (Name <THISEMAIL>), is the same that you used to generate ssh keys. Gerrit is kinda ****** with identities sometimes.
[Android Software/Hacking General [Developers Only]] D4rKn3sSyS:
// Awesome, double post, please remove if possible
[Android Software/Hacking General [Developers Only]] tonyp:
Thanks for the fast answer!

I found the file, okay, I can overlay it with true. (did I say before that I love your overlay over an overlay concept?).

But then the navbar is still enabled by default, would there be a way to disable it by default?
[Android Software/Hacking General [Developers Only]] D4rKn3sSyS:
policy/src/com/android/internal/policy/impl/PhoneWindowManager.java

mHasNavigationBar = Settings.System.getInt(mContext.getContentResolver(), Settings.System.SOFT_KEYS, mContext.getResources().getBoolean(com.android.internal.R.bool.config_showNavigationBar) ? 1 : 0) == 1 && mStatusBarCanHide && Settings.System.getInt(mContext.getContentResolver(), Settings.System.STATUSBAR_STATE, 0) != 1;

to

mHasNavigationBar = Settings.System.getInt(mContext.getContentResolver(), Settings.System.SOFT_KEYS, mContext.getResources().getBoolean(com.android.internal.R.bool.config_showNavigationBar) ? 1 : 0) == 1 && mStatusBarCanHide && Settings.System.getInt(mContext.getContentResolver(), Settings.System.STATUSBAR_STATE, 0) == 1;

Should do the trick
[Android Software/Hacking General [Developers Only]] JamieD81:
yes i made sure that was there. im trying a few things from google.com but nothing has worked thus far.
[Android Software/Hacking General [Developers Only]] D4rKn3sSyS:
My last idea, do "ssh-add", and try again. Otherwise you have something really wrong there :D
[Android Software/Hacking General [Developers Only]] dhk.-:
@D4rK can you help me with something... in my builds UMS dont work in tablet ui... in phone ui i can acces usb mass storage but in tablet ui cant... any idea?
[Android Software/Hacking General [Developers Only]] D4rKn3sSyS:
It's already merged on our github

https://github.com/ParanoidAndroid/...mmit/e62446e7dad16ddd8d799d971b1fa32607f36e7a

Or wait till I merge this commit

http://review.paranoid-rom.com/#/c/10/

I rewrote it so it's registered on BaseStatusBar
[Android Software/Hacking General [Developers Only]] JamieD81:
i deleted the key, started over, then did the ssh-add ~/.ssh/id_rsa

and now its uploading.

edit:

now i get this error, my email is in the ssh. i edited it out of this code for forum reasons.

remote: ERROR: In commit 89aaec6cbbfbe1b81379c3ba9ac17dca84a6bb0c
remote: ERROR: committer email address jamied81
remote: ERROR: does not match your user account.
remote: ERROR:
remote: ERROR: The following addresses are currently registered:
remote: ERROR: xxxxxxx@gmail.com
remote: ERROR:
remote: ERROR: To register an email address, please visit:
remote: ERROR: http://review.paranoid-rom.com/#/settings/contact
remote:
remote:
[Android Software/Hacking General [Developers Only]] dhk.-:
now yes the last one thing @D4rK.... its a knowed problem... when i change od workspace and reboot... my phone reboot to recovery.... if you can fix it in ParanoidPreferences and Send the apk to us will be great
[Android Software/Hacking General [Developers Only]] JamieD81:
k after some struggles i found my errors and got it all done and up :D
[Android Software/Hacking General [Developers Only]] molesarecoming:
what was the culprit?
[Android Software/Hacking General [Developers Only]] JamieD81:
vendor/pa/.git/config

it didnt have my full email address in there for some reason.
[Android Software/Hacking General [Developers Only]] krazy_smokezalot:
Hey guys I'm going to ATTEMPT to port PA to E4GT. I have a few questions tho...

1. How hard is it to port this ROM!? (If let's say I'm sort of a noob at this)

2. I'm willing to learn and take it step by step!

3. Can someone take me under their wing and help me out with any questions I may have!??:rolleyes::D

4. I just want to try at least attempt it, so I have seen many guides on how to port a ROM! Which guide should I follow in order to port to the e4gt?? Or are all the guides pretty much the same!??

Thanks again for any help!

Sent from my SPH-D710 using Xparent Blue Tapatalk 2
[Android Software/Hacking General [Developers Only]] Androguide.fr:
1) Porting jb pa is a lot easier now, thanks to molesarecoming & D4rKn3sSyS

2) Basically Xylograph's guide covers mostly everything you need to do

3) I'll be glad to help you porting or building, just pm me

4) Begin with reading this useful guide by Xylograph
[Android Software/Hacking General [Developers Only]] tonyp:
With my source build v1.6 I do have one remaining problem - maybe you had it with 1.6 as well?

At the Paranoid Settings I can't set the "System default DPI" and the "User default DPI" to "Default" - it will always switch to "Stock DPI (Phone)" then. But rom mid base is 190 and rom phone base 240.

It's no biggie, I told my users to just set the dpi via the "custom" field - but maybe you fixed it later for JB and it just isn't in ICS?

Thanks!
[Android Software/Hacking General [Developers Only]] krazy_smokezalot:
yeahh i was reading the OP then saw the link to Xylograph's guide!! it seems pretty much self explanatory!!

and thanks for your quick response, i thought no one was gonna bother with me! ill drop a pm your way in a few min again thank you!!!:victory::good:
[Android Software/Hacking General [Developers Only]] molesarecoming:
i think default was configured to be stock phone at that time.

the definition was as follows (/res/values/arrays.xml):

<string-array name="values_user_densities" translatable="false">
<item>%rom_phone_base</item>
<item>%rom_phone_base</item>
<item>%rom_tablet_base</item>
<item>custom</item>
</string-array>

default, phone, tablet, custom. change the first item to 0 or -1 to kill the entry.

the preferencelist will try to find find a match, it doesnt care if you tap default or stock phone, its basically the same so could be it marks the wrong item, which is right actually but a tad out of context. we completely abandoned the project though, if you make changes that heal errors make sure you upstream them so everyone can benefit. (-:
[Android Software/Hacking General [Developers Only]] Androguide.fr:
I have only one remaining issue in my galaxy tab 7.7 v1.992 build : the brightness control is broken on the 3g model, while it works properly on the wifi model.

Users move the slider, either in status bar or in settings, but it doesn't adjust the brightness.

I attached a small logcat, but basically here's what seems to be the problem :

D/MPLSensor( 1996): cb_onMotion:2
W/BackupManagerService( 1996): dataChanged but no participant pkg='com.android.providers.settings' uid=10047

Would be grateful for any help.
[Android Software/Hacking General [Developers Only]] KBizzle:
I have a quick question for my Paranoid buddies. I am building from JB source. I can make perfect builds every time when I brunch my device but recently I tried to follow this http://xdaforums.com/showpost.php?p=30525577&postcount=576 so that I dont have to go back and add the missing paranoid items. Everything seems to work fine but it errors at the end. Sorry, I am building again so that I can get you all a pastebin of the error. Just wondering why building using brunch works fine but lunch isnt working. Ill add the pastebin when it finishes here in a min. If anyone else also followed that guide and ran into issues, just wondering what you did to fix. Thanks.

Here is the pastebin

http://pastebin.com/0KgD3Ejs
[Android Software/Hacking General [Developers Only]] tonyp:
This does work - but it breaks the navigation bar totally, I can't enable it at all anymore :D

Any other idea? If not I will just live with the enabled-by-default bar and the users have to disable it.

Although I think not more than 10% are using it - that's why I'd prefer to ship the ROM with the navbar disabled.
[Android Software/Hacking General [Developers Only]] D4rKn3sSyS:
Out-of-ideas, would need to rewrite navigationBar code. It wasn't as clean as on Jellybean when I did it on ICS
[Android Software/Hacking General [Developers Only]] tonyp:
No problem, thank you very much anyways.

I think it's just a bug somewhere because once I check and uncheck the option in the menu everything works as expected.

I might track it down - but it looks like official ICS(!) is close which will bring us CM10, maybe I will just leave it the way it is till then :)

Thank you for the hint! -1 or 0 doesn't disable it though, which was part of the problem, the first item for the SystemDPI was already -1.

By setting both to %rom_mid_base it works perfectly.

Do I have to go through gerrit for ICS commits as well or do you accept pull requests for 1.6 via Github?
[Android Software/Hacking General [Developers Only]] dudeman1996:
Did you try overlaying the frameworks/base/core/res/res/values/config.xml file (or just modifying it) so that <bool name="config_showNavigationBar"> is set to false? That's what I did for my HTC Wildfire S port... https://github.com/dudeman1996/para...rameworks/base/core/res/res/values/config.xml
[Android Software/Hacking General [Developers Only]] molesarecoming:
um, i guess then i just didnt catch whats the problem. systemdpi set to 0 disables the override. setting it to rom_mid_base just sets it to some arbitrary value that should have no bearing. better wait for cm10 though, to dabble with the old stuff can get wild - we abandoned our codebases long ago.
[Android Software/Hacking General [Developers Only]] topgeardave:
Hey guys I'm getting the "error: Cannot fetch android_packages_apps_paranoidpreferences" Where can I find the manifest.xml to delete the paranoid preferences file?
[Android Software/Hacking General [Developers Only]] Androguide.fr:
In /.repo/manifest.xml

Just use ctrl+H to see it in your desktop's file explorer or do :

cd yourworkingdirectory
gedit /.repo/manifest.xml
[Android Software/Hacking General [Developers Only]] topgeardave:
Omg you legend! Thank you so much! :D

Edit: Now that it's synced I was wondering how would I clone/merge my device tree for the HTC Desire so that I could build it unofficially?
[Android Software/Hacking General [Developers Only]] D4rKn3sSyS:
People on our gerrit

Andreas Gottbehüt
Andrew Mckenzie
Bidyut Mukherjee
Blake Zimmerman
Chris H
Chris Ward
Christopher Heinlein
Dan
Daniel MM
Daniel Toledo
David Musil
Eoin O'Neill
Eray TANER
Eric Mozombite
Fabian König
George Price
Grzegorz Abram
Hans Eugen
Henry Rose
Ian Linnell
IronLyon Creations
Jacques Nieuwoudt
Jamie Doege
Jeremie Blanc
Jeremy Lyons
Jeremy Valerio
Jesús David
Johan Svensson
Jon Block
Juan Diego García Quiroga
Juha Uotila
Justin Thomas
Karl Maul
Kevin Solomon
Kouyou.Arima
Leiv Oppel
Luiz Gustavo Ribeiro
Lyden Yardley
Marc Westermann
Mark Holewik
Matthew Mendoza
Mattias Magnusson
Neil Lowman
Oliver Wenzel
Olivér Temlin
Paul Henschel
Paul Hurst
Rol' Perez
Salvatore Tipaldi
Seb Kru
Sharief Mohatad
Théo Piboubès
Timothy Kowalski
Tren Tirado
Wigas Angga Kalifi
Zach Guithues
bert daniels
peter o
rahul manthena

And the funniest part, only four or five are pushing stuff :D
[Android Software/Hacking General [Developers Only]] topgeardave:
You reckon I should ask them for help about building it from source on an unsupported device? Here is my device tree: https://github.com/Evervolv/android_device_htc_bravo Do you know how I could include that in my PA source?
[Android Software/Hacking General [Developers Only]] dhk.-:
Maybe can you make a little guide for gerrit... I did not know how to do it

Enviado desde mi Xperia Live with Walkman usando Tapatalk 2
[Android Software/Hacking General [Developers Only]] D4rKn3sSyS:
http://www.paranoid-rom.com/forum/news/189-gerrit-is-up-how-to-upload-changes

// Paul, this on OP, third post perhaps?
[Android Software/Hacking General [Developers Only]] dhk.-:
i cant man :/ tried all the things... rsa, dsa, changing name in repo.... always permission denied (publickey(
[Android Software/Hacking General [Developers Only]] gokussjx:
Punch this into terminal, & give us your output:

ssh -p 29418 <your-gerrit-username>@review.paranoid-rom.com

Enter you gerrit username instead of the angle brackets content... WITHOUT THE BRACKETS.
[Android Software/Hacking General [Developers Only]] dhk.-:
that says to me

so its a problem with git config?
[Android Software/Hacking General [Developers Only]] krazy_smokezalot:
hey can some one shed some light into my issue?!? well i ported JB PA and i keep getting endless com.android.phone has stopped and my baseband say unknown im on the sph-d710 aka e4gt and my base rom is cm10 and im porting from the nexsus s 4g i have a logcat in pastebin ill post up

EDIT:http://pastebin.com/sxAXDVrk
[Android Software/Hacking General [Developers Only]] gokussjx:
Nope, its connected just fine.

What's your actual problem, & it happens when you do what? (Provide log as well)
[Android Software/Hacking General [Developers Only]] dhk.-:
that's my problem....
[Android Software/Hacking General [Developers Only]] gokussjx:
Moles helped me out in the same situation :)

Use git abandon, & start over. (Read D4rK's guide on gerrit handling. Check out git abandon)
[Android Software/Hacking General [Developers Only]] dhk.-:
solved :D

run this in android/system/vendor/pa

@D4rK can you add it to the guide?
[Android Software/Hacking General [Developers Only]] krazy_smokezalot:
no ones able to help me???:crying:
[Android Software/Hacking General [Developers Only]] topgeardave:
Hey guys, I'm trying to build PA from source unofficially, I keep getting these errors whilst trying to compile:

The device tree is here: https://github.com/Evervolv/android_device_htc_bravo

I've already cloned that in my device/htc/bravo folder along with qsd8k-common.

Any help guys?