yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] swapnilraj:
I am having issues with PA 1.6 when I try to port it to my SL my phone does not show the option for mass storage the phone charges but does not show any thing for mass storage and debugging.My device does not have CM10 yet so 1.6.

http://paste.ubuntu.com/1094957/

I think the problem can be seen towards the end.
[Android Software/Hacking General [Developers Only]] *boy*racer*:
Thats ok mate. oh and i have sorted out the mass storage problem as well. i pm'd you everything is perfect. just need to figure out how to remove that stupid "sim network unlock code popup" everytime you reboot. oh and tethering which i think i know how to do as done it on my other port. but for some reason i recompile JB framework-res.apk there is no change :)
[Android Software/Hacking General [Developers Only]] brajesh.sharma87:
Off topic:

@Xylograph: I see, most of the people actually ported using your method. I suggest, you should open a thread where we can discuss porting coz u have disabled the PM option from users and there's no other way to contact you. :D

^Just an opinion.
[Android Software/Hacking General [Developers Only]] Messi10:
can i port paranoidandroid to ldpi device: galaxy mini???

P.S : we have jb
[Android Software/Hacking General [Developers Only]] fabzbear:
Can I get some help, I'm trying to port a launcher into the port I made but it won't load.
[Android Software/Hacking General [Developers Only]] Xylograph:
I try to read this topic and help people as much as I can..

PM is disabled for a reason, since my inbox gets spammed with a lot of (noobish) questions..

Answering all these questions would be another day job for me..

Funny thing I found out about PM @ XDA is that 'new people' can't post in a dev thread, but can PM everyone ????

About a porting thread.. You know there is a lot and I mean really a lot of information about general porting to be found here @ XDA already ;)

You could at least try it... Someone here also ported it to a mdpi device, but don't forget to bring your telescope with you...

Also consider using as much cm10 ldpi apps/apk's as you can..
[Android Software/Hacking General [Developers Only]] Xylograph:
Have you followed the guide I've posted for porting PA ? (moles linked it @ 1st post)

Since I do not own a Nexus one it would be hard to test it, but it really shouldn't be so hard porting from the HD2.

The error tells you stuff is missing (probably some lib files, wrong build.prop and/or missing PA app)

Try this.. download my latest 1.97a PA port, remove the kernel folder, adjust the updater script and only exchange/insert the following files with the one from your (evervolv passion) device into my PA port.

place boot.img (kernel for your device)

system/bin/vold

system/bin/wpa_supplicant

system/bin/wpa_cli

system/etc/firmware (all files except the yamato fw)

system/lib/hw (place all your mahimahi files in it)

system/lib/modules (remove this folder)

system/lib/libhardware_legacy.so (replace with passion one)

system/lib/librpc.so (replace with passion one)

system/lib/libwpa_client.so (replace with passion one)

system/lib/usr (insert all your device specific files in it)

system/lib/vendor (replace with wifi drivers from your device)

Adjust the device specific stuff in build.prop

That's quickly out of my head what you could try.. probably forgot something, but give it a try..

Good luck
[Android Software/Hacking General [Developers Only]] quentin330:
Sorry for asking that, but which app gave you those messaging notification?
[Android Software/Hacking General [Developers Only]] Note2Frat:
None, Moles made it to show people how to do things.
[Android Software/Hacking General [Developers Only]] molesarecoming:
the ... speechbubbles? :eek:
[Android Software/Hacking General [Developers Only]] asvantypography:
What about CM10? Can i port it with CM9 way?
[Android Software/Hacking General [Developers Only]] mateorod:
He did it on his iPhone.
[Android Software/Hacking General [Developers Only]] molesarecoming:
i updated the frontpage. really, porting jb pa should be almost too easy. no weird formulas anymore, no treshold values, no build.prop dpi propping.
[Android Software/Hacking General [Developers Only]] asvantypography:
thank you :) lets porting begin :)
[Android Software/Hacking General [Developers Only]] quentin330:
No, thé white icon that shows an "envelope" in the notification bar
[Android Software/Hacking General [Developers Only]] D4rKn3sSyS:
You don't need to backsmali, You just take S2 for HDPI devices, and Nexus for XHDPI devices, then if you've got a extra cool configuration, put on /data/data/com.paranoid.preferences/files, and PaPrefs will load it.

XML Example (Used in S2)

<?xml version="1.0" encoding="UTF-8"?>
<property name="Tablet UI" description="Hybrid mode /*g(on)f*/(br)Tablet workspace(br)5 Icons(br)No softkeys" active="true">

<setting type="Hybrid" target="%hybrid_mode" value="1"/>
<setting type="Hybrid" target="com.android.systemui.dpi" value="160"/>
<setting type="Hybrid" target="com.android.systemui.layout" value="720"/>
<setting type="Android" target="max_notification_icons" value="5"/>
<setting type="Android" target="nav_bar_status" value="0"/>

</property>

Hybrid type means simply that hybrid engine will deal with it, while Android type means just a configuration that its defined on provider/Settings.java, this example means:

Hybrid mode on (of course, who wouldn't)

SysUI dpi 160

SysUI mode tablet

Max notifications icons 5

Navigation bar hidden
[Android Software/Hacking General [Developers Only]] ryanshapiro44:
Is there a way to get this on the galaxy tab 10.1? Love it so much figured it could be ported thanks in advance
[Android Software/Hacking General [Developers Only]] molesarecoming:
dude thats gmail ... or mail. whats the heck ... :D
[Android Software/Hacking General [Developers Only]] BombayBoy:
neo V/neo

hi,

can you help/guide me in the right direction so that we can port it for Xperia neo/neo V

thanks :)
[Android Software/Hacking General [Developers Only]] thebz1:
I was trying to port ParanoidAndroid to my AT&T Galaxy S III and I got it to work however if I try to install it after a full wipe it hangs at the boot animation. Can anybody help me figure out what's wrong? Here's the logcat

http://pastebin.com/Dv3U19Ta
[Android Software/Hacking General [Developers Only]] molesarecoming:
looks like cm is not in sync. settingsobserver crashing could mean one of your components if older than the other. just a guess.
[Android Software/Hacking General [Developers Only]] thebz1:
Hmm, any idea how I might be able to fix this then. Everything works fine if I do a dirty wipe from CM10 or AOKP but I really wanna fix that
[Android Software/Hacking General [Developers Only]] sthomas38:
Build a fresh CM :).

Envoyé depuis mon GT-I9000 avec Tapatalk
[Android Software/Hacking General [Developers Only]] asvantypography:
any one can help me?i'm really frustrating with this

i can't compile my modified framework-res.apk :confused:
[Android Software/Hacking General [Developers Only]] reider123:
It works!!!!

thanks for helping me:)

I cannot appreciate enough:):):)
[Android Software/Hacking General [Developers Only]] Xylograph:
Says the man with a google and cm supported device... :p

Good ! have fun !
[Android Software/Hacking General [Developers Only]] molesarecoming:
haha, well, i meant the config/math stuff. :silly:
[Android Software/Hacking General [Developers Only]] Xylograph:
Ehm.. what about working from inside your apktool folder instead of pointing to a different partition ?

1. cd apktool

2. apktool if framework-res.apk

3. apktool d framework-res.apk

4. edit stuff

5. apktool b framework-res

6. done
[Android Software/Hacking General [Developers Only]] *boy*racer*:
i get a similar problem. i can recompile ok by re-adding resources but when i use 7zip to brows the modded framework-re.apk, i can see all the values folders when your not supposed to.

only happens with JB and not ICS. it is very enoying.

Sent from my Paranoid Android :-S
[Android Software/Hacking General [Developers Only]] nom051205:
Thanks man...., I succeed ported your HTC Leo ParanoidAndroid v1.5 to Dell Streak 5, all working fine, only theme chooser get me to bootloop. Is that because I'm not used your libandroid.runtime.so? I only used app folder, framework folder, media folder, font folder, lib folder (libandroid.server.so; libmedia_ini.so; libpower.so and libwebcore.so).

I had tried use libandroid.runtime.so but not gonna boot up. Thank you for any advice.
[Android Software/Hacking General [Developers Only]] tonyp:
You don't have to use any libs for version 1.5.
[Android Software/Hacking General [Developers Only]] pratikmore:
i have pa 1.5a for galaxy 3 but it shows process s1$ not responding.anyone help me?

edit: i cant open setting.it shows same error
[Android Software/Hacking General [Developers Only]] nom051205:
But I got bootloop when I use all lib from my base rom. After see in logcat then I replace some lib, it boot up and running fine, only hv problem with theme chooser. I can choose and install theme but when the phone reboot it not boot up (bootloop). From the logcat, mention something about android runtime and wake status suspend. Fyi, every rom I hv port to dell streak 5 (cm9, evervolv, and paranoidandroid) no bootanimation, it just blank screen. Thanks in advance.
[Android Software/Hacking General [Developers Only]] Xylograph:
Do you have cm9 nightlies for your device ? if so try using that lib folder first with the libandroid.runtime from the PA1.5 ROM.

The bootlooping will happen when you use AOSP system base.. You can get out of the bootloop if you delete the installed theme and all theme manager related stuff from data/data

If you don't have cm9 nightlies let me know.. I'll help you get it to work.

Hmm I wish things were just that easy..
[Android Software/Hacking General [Developers Only]] tonyp:
Hm, why not?

Version 1.5 was the last version before they switched to native code.

This means everything is in the framework and you can use your own libs.
[Android Software/Hacking General [Developers Only]] nom051205:
No, don't have cm9 nightlies, I only have aosp ICS (no camera and cam).

First I use that aosp and no go. But when I succeed ported jmz_taylor cm9 nightlies (from May build as from June up never succeed), use it as base then I can ported your rom. I think it related to kernel (my aosp kernel was very premature due to ICS development on dell streak 5 just started). Pls any advice and help. Thank you very much.
[Android Software/Hacking General [Developers Only]] asvantypography:
still got same error:(:crying:

edit : log uploaded
[Android Software/Hacking General [Developers Only]] Xylograph:
In his case he doesn't use/have CM9 libs so there is more to it..

I don't think it has anything to do with the kernel to be honest.. let me guess..

You couldn't get cm9 nightlies ported to your device when theme manager was added?

Anyway back to the help.. try this :

Use the PA build you have ported with the crashing theme manager and replace the following libs with the one from my PA 1.5 port :

libandroid_runtime.so

libandroidfw.so

libz.so

Maybe you will need a couple more libs but try these 3 first.. Let us know ;)

Are you sure you have an updated sdk and use the latest aapt.exe in your apktool folder ?
[Android Software/Hacking General [Developers Only]] nom051205:
I will try it and let you know the result.

Thank you Sir :)
[Android Software/Hacking General [Developers Only]] asvantypography:
yap.. i have latest aapt.exe in my apktool folder
[Android Software/Hacking General [Developers Only]] Xylograph:
In that case give this a try..
[Android Software/Hacking General [Developers Only]] asvantypography:
thnks.. i'll try it :o

edit/update : how to port PA 1.97 to my ROM?

update 2 : alreaady try it.. still got same error :((
[Android Software/Hacking General [Developers Only]] *boy*racer*:
im now trying to port latest 1.97 but for some reason, something in the framework folder is preventing it from booting. if i use 1.95 framework folder with 1.97 framework-res.apk it boots up fine but writing is all messes up. but if i use whole framework folder from 1.97 it doesnt boot.

what could be the reason?

thanks

EDIT: its to do with services.jar. i replaced it and it works. but still the writing is all messed up. what will i have to change withing services/classes.dex?

Sent from my Paranoid Android o_O
[Android Software/Hacking General [Developers Only]] nom051205:
Sir, I cannot found libandroidfw.so (libandroid.so, libandroid_runtime.so, libandroid_servers.so). I will try with libandroid.so.

---------- Post added at 10:31 AM ---------- Previous post was at 10:16 AM ----------

Replace :

libandroid_runtime.so

libandroid.so

libz.so

Result stuck on dell logo, logcat said Netd 1.0 starting, init: untracked pid 574 exited, request_suspend_state: wakeup

Fyi, I use aosp etc folder, bin folder and xbin folder.
[Android Software/Hacking General [Developers Only]] pratikmore:
I have ported pa 1.5a for galaxy 3. It shows process s 1$s not responding.

Log : http://pastebin.com/mRhKk2kW

http://pastebin.com/jYuk1SrW
[Android Software/Hacking General [Developers Only]] Xylograph:
I am sorry for the libs.. I was confused with porting Jellybean ;)

2 things you can try...

1. try to use the complete lib folder of my pa 1.5 except the following libs :

system/lib/hw (place all your aosp streak files in it)

system/lib/modules (remove the files in it and put your aosp streak files in it)

system/lib/libhardware_legacy.so (replace with aosp streak one)

system/lib/librpc.so (replace with aosp streak one)

system/lib/libwpa_client.so (replace with aosp streak one)

and see if that boots for you.

2. while stuck on init.d push pa 1.5 libs one by one via adb untill it boots..
[Android Software/Hacking General [Developers Only]] nom051205:
Thank you Sir, finally the port rom can boot up and theme work fine.

Here is what I did :

- folder from aosp

etc

bin

xbin

- folder from your pa 1.5

app

framework

fonts

media

tts

lib (except libandroid.so; libaudioeffect_ini.so; libaudioflinger.so; libaudioutils.so; librpc.so; libwpa_client.so)

Libhardware_legacy.so cannot be use because always make the rom stuck on dell logo, so I try replace back the lib from pa 1.5. Then I replace libandroid.so from aosp then the rom boot up but with ugly gradient background colour on settings (I think this is related to debug.composition.type=hw in build.prop because when I use " = mdp" status bar and wallpaper colour crash but the ugly gradient colour on settings background disappear). Theme working fine, the major issue are wifi and bluetooth crash now. From logcat WIFI STATE MACHINE: DRIVER STATE FAILED.

Have no idea why wifi and bluetooth crash.
[Android Software/Hacking General [Developers Only]] asvantypography:
can i use this method to port pa to cm10 om my galaxy tab p1000?
[Android Software/Hacking General [Developers Only]] asvantypography:
i can boot now... but it's stuck in bootanimation..

any one can help? i tried porting pa 1.9a to CM10
[Android Software/Hacking General [Developers Only]] nom051205:
See logcat what make it bootloop
[Android Software/Hacking General [Developers Only]] pratikmore:
If you cannot open settings, as far I know it related to framework.jar and framework-res.apk

Then can you tell me how to modify framework,because i dont know how to change it.i know how to use apktool.
[Android Software/Hacking General [Developers Only]] asvantypography:
i didn't get bootloop .. i just stuck in bootanimation..
[Android Software/Hacking General [Developers Only]] nom051205:
Install adb on your pc (I put in c:\ for easier to find) then when you boot the phone run command from pc and type adb logcat. The logcat will show on your pc screen or you can type adb logcat>logfile.txt then the logcat save on your pc in the same directories with your adb.

---------- Post added at 12:11 AM ---------- Previous post was at 12:09 AM ----------

Then can you tell me how to modify framework,because i dont know how to change it.i know how to use apktool.

You can found it in Xylograph post, few posts behind

---------- Post added at 12:27 AM ---------- Previous post was at 12:11 AM ----------

I think you should see the logcat, it not boot up when there is no proper libs, usually libmedia and libaudio.
[Android Software/Hacking General [Developers Only]] asvantypography:
You can found it in Xylograph post, few posts behind

---------- Post added at 12:27 AM ---------- Previous post was at 12:11 AM ----------

I think you should see the logcat, it not boot up when there is no proper libs, usually libmedia and libaudio.

i recompile my pa rom.. now it can't booting..

what's wrong :confused:
[Android Software/Hacking General [Developers Only]] pratikmore:
I have to change all the lines in res/values folder and res/xml folder?there are pink lines lines and yellow lines,i have to change all that lines in my cm9 framework?
[Android Software/Hacking General [Developers Only]] molesarecoming:
we decided to release the hybrid-engine, thanks for the patience everyone,

ICS is up: https://github.com/ParanoidAndroid

jellybean will take a little while

edit ....

aaaands, jb's up
[Android Software/Hacking General [Developers Only]] sthomas38:
Does this mean that we can compile PAD from source? :p
[Android Software/Hacking General [Developers Only]] D4rKn3sSyS:
Yes, I just pushed everything to setup the environment correctly. Paprefs we will keep it private, just remove from manifest and you will be fine

We just want a little of respect, and not people git merging our entire framework and then people saying "Ohh, see <X famous rom> invented hybrid, why I never saw things like that!", we'd rather save frameworks only for PA ports, PA builds, and if you ask me, I don't give permissions to use them on any other rom (What hybrid engine respects, you can cherrypick whatever other things you like). Though I know this will not happen, and some people will not obey this

ps. PAD is a feature, you can build the entire ROM, not PAD, is not just an app or something.
[Android Software/Hacking General [Developers Only]] sthomas38:
Haha you made my day, thanks mates, for your awesome job :).

EDIT: Yes that's what I meant. But what's Paprefs?

EDIT2: Oh I see, it's the Paranoid Settings app? SO I can just take the APK from the Gnex build? :)
[Android Software/Hacking General [Developers Only]] molesarecoming:
you forgot runtime.so or whatever the name was
[Android Software/Hacking General [Developers Only]] sgtkwol:
Wow, this thread should take a new and awesome turn. Goes from how to port to how to compile. Woot, thanks guys. These open source builds should really make a better name for PA than the hack and slash ports from before.
[Android Software/Hacking General [Developers Only]] asvantypography:
ok.. i'll try it later
[Android Software/Hacking General [Developers Only]] molesarecoming:
well, i have asked a couple of porters if they wanted code and they refused. i guess porting is a nice and simple way. if it werent for jon and jesus i would choke on this git stuff. i cant even imagine just how hard it must be to compile this stuff for a non aosp supported device. but yeah, blow yourself out, i know for many git is like a breeze.
[Android Software/Hacking General [Developers Only]] KBizzle:
Lol. I tried compiling for the E4GT before I found out source wasn't open at the time. Now I am on the GS3 and cant wait to start building from source. Soon as we get a stable source. Thank you guys, awesome work. :fingers-crossed:
[Android Software/Hacking General [Developers Only]] sthomas38:
You will get errors using sh rom-build.sh, use bash rom-build.sh :p.
[Android Software/Hacking General [Developers Only]] asvantypography:
any one can make video tutorial please? how to port pa roms?:(

i always stuck on boot
[Android Software/Hacking General [Developers Only]] D4rKn3sSyS:
???, no one said to use sh rom-build.sh, it's said on paranoid repo in github
[Android Software/Hacking General [Developers Only]] sthomas38:
Oh sh*t, sorry :p.

Envoyé depuis mon Amazon Kindle Fire avec Tapatalk
[Android Software/Hacking General [Developers Only]] sgtkwol:
Am I missing something. Trying to start a proper build instead of hacking this into CM10 directory, I have build.sh but no rom-build.sh
[Android Software/Hacking General [Developers Only]] D4rKn3sSyS:
If im not bad, build.sh is from teamhacksung?, well you must be sure your manifest is right, and then add your device to local_manifest.xml (our buildscript will ask you for manufacturer and search for it, if is officially supported by CM [CyanogenMod/android_devices_manufacturer_device] buildscript will find it and add it to local_manifest, but for now most of devices are on teamhacksung github so you must do it manually, and repo sync before of running our buildscript)
[Android Software/Hacking General [Developers Only]] sgtkwol:
I can brunch my device, but it doesn't set up a proper build.prop. I'm referring to this build.sh https://github.com/ParanoidAndroid/paranoid/blob/jellybean/build.sh I have already added my device to the local_manifest and synced up. I have started editing the Epic into this on my own github and that is the one I'm working with, but linked yours for easier reference.
[Android Software/Hacking General [Developers Only]] D4rKn3sSyS:
** And the threads becomes a building thread **

Do you have seen android_vendor_pa, exactly this:

Add your lunchcombo to vendorsetup.sh

You must have "epicmtd" overlay folder (I guess you can copypaste s2 one?)

Add your conf to prebuilt folder (pa_epicmtd)

Copy paste i9100 mkfile on products and rename to pa_epicmtd

Add device to AndroidProducts.mk on products folder

Add your vendorprops on vendorprops/epicmtd.propietaries

And then you should get build.prop, prop.conf, and everything what comes bundled into our PA ROM's

When you're ready with all this stuff, and you get a sucessful build, sumbit a pull request, if your device has CM10 support it will be merged after our team's review.

@moles, perhaps adding this to op? some people will ask it again, and we dont explain it anywhere
[Android Software/Hacking General [Developers Only]] sgtkwol:
Edit, might have this, "lunch pa_epicmtd"...
[Android Software/Hacking General [Developers Only]] D4rKn3sSyS:
If you check buildscript, specially this part:

# lunch device
echo -e ""
echo -e "${bldblu}Lunching device ${txtrst}"
lunch "pa_$device-userdebug";

echo -e ""
echo -e "${bldblu}Starting compilation ${txtrst}"

# start compilation
brunch "pa_$device-userdebug";
echo -e ""

You will realise that brunch is what we run, and we get proper build.prop. So, what is your issues with build.prop when you use brunch (or buildscript, the same thing)

EDIT: Lol you're working fast, you already merged my latest commit to your github
[Android Software/Hacking General [Developers Only]] sgtkwol:
Thanks, started doing that, got it. Thanks for the help. I think I'll hold off on a pull request, until CM10 is more stable for the device. Want to protect official PA source from device source that isn't quite ready.
[Android Software/Hacking General [Developers Only]] SGTABHI:
I Want to port Paranoidandroid JB rom from Galaxy Nexus to galaxy tab P1000....

Do i need to edit the framework-res.apk.....how??i tried apktool...it decompiles but doesn't build back again giving me some errors....can i rename framework-res.apk to .zip then edit it and then again make it.apk will that do???

Do i need to edit the updater script....if yes then which lines...i know we shouldn't edit any symlinks......can u please state which lines to edit....

Till now i have done this......

1. replaced system/fonts,/media,/framework,/app keeping device specific apps reserved:)

2. edited the build.prop to match it with PA

3. system/etc,/permissions/ also have been looked after

4. added the paranoidandroid's folder with the .conf file...

What more should i do????

And yes one last thing....how do i make it a flashable zip......can i delete all files from my stock cm10's zip...then add all ported files to the archive and save it...Please help me:)

GRATEFUL:)