[?] ParanoidAndroid port, possible?

wareju

Senior Member
Nov 19, 2011
512
92
0
KY
Disclaimer: I'm not an android dev but am interested in learning, really my only knowledge of dev'ing is the three hours or so I've spent so far failing at a port this morning. Don't be a douche, I just admitted my ignorance here.

If you don't know about PA (ParanoidAndroid) then go here and marvel > http://forum.xda-developers.com/showthread.php?t=1717079

It's been ported to the Atrix4G so I figured why not try dx2, and I'm using the A4G ROM in porting. I've been following the instructions here and keep getting hung up on rebuilding the modified framework-res.apk with apktool. The error I'm getting is in the attachments.

My process up to this point is:
- decompile framework-res.apk from PA and our CM9 rom.
- combine framework-res/res/values/ and framework-res/res/xml/ from CM9 to PA folder
- this is where rebuilding the apk fails...

Does anyone know anything about porting that can help? I feel like a lack of knowledge is my problem here.
 

Attachments

Last edited:

Archer

Inactive Recognized Developer / Retired Senior Mod
Jul 9, 2008
13,989
3,991
253
Manchester
Questions should be asked in Q&A forums, not Development forums.

Thread moved.

Sent from my GT-I9100 using Tapatalk 2
 

DigitalMD

Senior Member
Mar 16, 2010
2,931
639
0
Washington DC
Disclaimer: I'm not an android dev but am interested in learning, really my only knowledge of dev'ing is the three hours or so I've spent so far failing at a port this morning. Don't be a douche, I just admitted my ignorance here.

If you don't know about PA (ParanoidAndroid) then go here and marvel > http://forum.xda-developers.com/showthread.php?t=1717079

It's been ported to the Atrix4G so I figured why not try dx2, and I'm using the A4G ROM in porting. I've been following the instructions here and keep getting hung up on rebuilding the modified framework-res.apk with apktool. The error I'm getting is in the attachments.

My process up to this point is:
- decompile framework-res.apk from PA and our CM9 rom.
- combine framework-res/res/values/ and framework-res/res/xml/ from CM9 to PA folder
- this is where rebuilding the apk fails...

Does anyone know anything about porting that can help? I feel like a lack of knowledge is my problem here.
Looks pretty straight forward if you are following the instructions here.
http://forum.xda-developers.com/showpost.php?p=27602914&postcount=24

Just be real careful with the merge and edits.
Just as a test, does your build work if you do not modify the original framework-res.apk from PA?
 

wareju

Senior Member
Nov 19, 2011
512
92
0
KY
Yeah that's the guide I was using but kept getting hung up on rebuilding the modified framework-res.apk. Haven't tried without making any framework-res changes, I figured that was crucial.

Sent from DX2 CM9
 

wareju

Senior Member
Nov 19, 2011
512
92
0
KY
always a good idea to test your build environment on a known good file set.
You're already talking over my head ha, but yeah I do plan to dive back into this soon. If nothing else to learn some of the more technical sides of android. Also going to be running Linux alongside windows soon, may just wait until I get that up and running.

Sent from DX2 CM9
 

ztotherad

Senior Member
Aug 17, 2011
2,784
616
193
Illinois
Disclaimer: I'm not an android dev but am interested in learning, really my only knowledge of dev'ing is the three hours or so I've spent so far failing at a port this morning. Don't be a douche, I just admitted my ignorance here.

If you don't know about PA (ParanoidAndroid) then go here and marvel > http://forum.xda-developers.com/showthread.php?t=1717079

It's been ported to the Atrix4G so I figured why not try dx2, and I'm using the A4G ROM in porting. I've been following the instructions here and keep getting hung up on rebuilding the modified framework-res.apk with apktool. The error I'm getting is in the attachments.

My process up to this point is:
- decompile framework-res.apk from PA and our CM9 rom.
- combine framework-res/res/values/ and framework-res/res/xml/ from CM9 to PA folder
- this is where rebuilding the apk fails...

Does anyone know anything about porting that can help? I feel like a lack of knowledge is my problem here.
i'd try using the original framework first and then trying to flash it to the dx2 like that. If anything you'd have to update the updater-script and build.prop first before it worked, but it'd be worth a try at least. I haven't messed with the dx2 too much for a while now, but I know for porting ROMs to the samsung fascinate I have to do a bunch of edits & then I have to get data to properly work right (which I'm not sure how to do). So I'd keep trying and keep trying because that'd honestly bring another ROM to the dx2.
I may try and port a rom to the dx2 in the near future, but idk yet.

EDIT: if you need a tester also hit me up on here [pm] or twitter [@ztotherad], my dx2 doesnt have data atm, but i can turn it back on if i need that
also, i may try paranoidandroid port with you, if thats cool
 
Last edited: