Porting ROMs from other devices? - Xperia Play Android Development

I asked this over in Android General and I was pointed here: http://forum.xda-developers.com/showthread.php?t=1598713
Could anyone confirm if this would allow porting of a ROM like HTC Sense to the Xperia?
I posted this here as I reckon that if it is indeed possible, it could be of some use to the dev community in here. If not, mods can delete this

Our phone only has 480mb internal storage.
HTC Sense is well over 1gb just for the ROM.
Sent from R800x

that's wron
a normal sense 4.0a rom needs 420mb system partition
our is only 300mb.
so we need to decrease the zip (remove apps) and move some apps to /data in zip.
then symlink /data
and then we can go porting it

I would use a Sense 4 rom , I'm going to mess around later lol.

TheCraig said:
I would use a Sense 4 rom , I'm going to mess around later lol.
Click to expand...
Click to collapse
Remember, you can only use a ROM for a device on the same Arm as Xperia Play.
I'm gonna have a look at messing around with the HTC One S firmware

ok, i will make a thread for a sense 4 port
i am working on it too

nickholtus said:
ok, i will make a thread for our sense 4 port
i am working on it too
Click to expand...
Click to collapse
Really ?
Sent from my Xperia Play using Tapatalk 2

RublJow said:
Really ?
Sent from my Xperia Play using Tapatalk 2
Click to expand...
Click to collapse
This is what exploring outside of he Xperia Play thread gets you
Sorting out permissions on the HTC One S Cyanogenmod ROM. Hopefully, with some luck, I should be good to go by the end of the night
Crossing my fingers I dont get some kind of catastrophic brick haha
Moment of truth guys
I'll report back if anything works....I hope *gulp*

Stuck at kernel :S
I'll keep trying though

can you upload your current version?
then i can take a look

nickholtus said:
can you upload your current version?
then i can take a look
Click to expand...
Click to collapse
I know what the error is. I need to jump into Linux to unpack the kernel and edit the init.rc file (Only possible on Linux).
Going to flash back to MIUI temporarily to move the files onto my SD card to shift them onto Linux. Going to do that a bit later on as Im going to be a bit busy. If I get anything working I'll PM you and Dropbox the ROM for you to try If all comes back working, I'll release it to the general users
This will hopefully be my first ROM development

Tried again and can't get past the kernel screen.
Back to the drawing board. Gonna try a Samsung CM7 build now
Having no luck with this. Any devs with more knowledge than me feel free to take over

CTU_Loscombe said:
Tried again and can't get past the kernel screen.
Back to the drawing board. Gonna try a Samsung CM7 build now
Having no luck with this. Any devs with more knowledge than me feel free to take over
Click to expand...
Click to collapse
Same thing happens with the arc rom I'm trying to port. Did you edit the boot class path?
Sent from my Xperia Play using Tapatalk 2

miui arc rom should boot when you edit all the audio libs (in /lib/hw the first 4 files and in /lib all files with libaudio...)
don't need to edit the rest to get it booting

Zerosuit Connor said:
Same thing happens with the arc rom I'm trying to port. Did you edit the boot class path?
Sent from my Xperia Play using Tapatalk 2
Click to expand...
Click to collapse
Yeah. I hate this script editing
Sent from my Xperia Play using xda premium

you don't need to edit scripts...

nickholtus said:
you don't need to edit scripts...
Click to expand...
Click to collapse
Wanna draw up a tut for us ? I'm sure all the play users would be delighted. I currently can't get anything at all to boot following multiple tuts.
Sent from my Xperia Play using Tapatalk 2

nickholtus said:
you don't need to edit scripts...
Click to expand...
Click to collapse
The instructions say to edit the updater-script though :S
Sent from my Xperia Play using xda premium

lol, that's very easy.
i really don't follow that guid, because it is not %100 right

nickholtus said:
lol, that's very easy.
i really don't follow that guid, because it is not %100 right
Click to expand...
Click to collapse
Maybe you could write up better instructions for us
Sent from my Xperia Play using xda premium

Related

[SCRIPT]Ram Optimization Script

First:Credits to Juwe11
Check out this RAM Optimising Script.
I flashed this script and now my phone is a lot smoother.All the little things such as opening/closing keyboard,scrolling and switching between open apps is faster.Tested with Xgin 5.3
To use this script
1.You will need to have cwm recovery-available with minicm and xgin with dual recovery mode(afaik)
2.Download Juwe_RAM_Script-CWM.zip from last post of this page.
3.Flash in cwm recovery
Post your experience in this thread
Devs if you and everyone experiences better results,you should include this in roms
Could u create with xrecovery too? For kuyo rom
Sent from my X8 using Tapatalk
after i flash at cwm,how can i know does it works ?
anyway to check ?
i've tested it..nothing change...i dont see any difference..tried in xgin5.3
Sorry but i don't know how.
If devs find these useful,they might include this in their roms.
If you went to link the you can try the second method mentioned there.
Unpack Juwe_RAM_Script.zip ,copy the file into /system/etc/init.d/ using rootexplorer or like and restart. That should do it.
Just tested and can't see any changes really and quadrant score didn't change it just went from 1063 to 1065 :/
Flasher8 said:
after i flash at cwm,how can i know does it works ?
anyway to check ?
Click to expand...
Click to collapse
Look to /system/etc/init.d/ if there is file named S97ramscript
I think that there is wrong mountpoint in updater-script (X8 has different mountpoints)
Strange,it definitely helped me.
Keep an eye out ,try apps which used to lag before.
dbts25 said:
Look to /system/etc/init.d/ if there is file named S97ramscript
I think that there is wrong mountpoint in updater-script
Click to expand...
Click to collapse
Nope it's not there D:
Definitely flashed it correctly as well :/
Try this one. I changed mountpoint in it, so it should work now
dbts25 said:
Try this one
Click to expand...
Click to collapse
Yea tht's what I flashed. I going to manually push the S97ramscript and see what happens
mcpaddington said:
Yea tht's what I flashed. I going to manually push the S97ramscript and see what happens
Click to expand...
Click to collapse
I uploaded it with changed mountpoint
dbts25 said:
I uploaded it with changed mountpoint
Click to expand...
Click to collapse
Right I manually installed it. Not really convinced it does a lot. Quadrant score went from 1065 to 1079. Not really a big enough difference to confirm that it works but it doesn't slow it down so you might as well flash :L
great thread...Nice work,mate..
smooth startup..more free memory
shpit said:
great thread...Nice work,mate..
smooth startup..more free memory
Click to expand...
Click to collapse
Yea I agree with that. Start up is much smoother than before.
I read somewhere that more memory is bad on an Android system. I mean they wrote that if you have low memory free, then the android cached what you will need = faster system. Am I right or wrong?
Asycid said:
I read somewhere that more memory is bad on an Android system. I mean they wrote that if you have low memory free, then the android cached what you will need = faster system. Am I right or wrong?
Click to expand...
Click to collapse
I guess the lagging starts when the ram is full ßo iguess it's the other ay
Sent from my X8 using XDA Premium App
skyboyextreme said:
I guess the lagging starts when the ram is full so iguess it's the other way around.....
Sent from my X8 using XDA Premium App
Click to expand...
Click to collapse
Sent from my X8 using XDA Premium App
Will this work with x10 mini, minicm 7 2.0.2? Thanks.
Sent from my X10mini using XDA App
there is an app called sysctl config in Market. I think it works the same.

Is there a way to switch between cyangenmod and a custom stock rom?

Hi
I was wondering if theres a way to switch between cyangen and a stock rom, i want to try out cyangen but it doesnt seem to have enough of the features i regularly use but at the same time i would like to use it for roms only so i can use my ps3 controller with it.
- Going to another ROM from CM7?
You can go back and forth freely between CM7 and other ROMs via ROM Manager or ClockworkMod recovery as the file systems are the same and nandroid backup/restore works to go between ROMs.
That's what it says in the first post of cyanogenmod rom
Sp1tfire said:
- Going to another ROM from CM7?
You can go back and forth freely between CM7 and other ROMs via ROM Manager or ClockworkMod recovery as the file systems are the same and nandroid backup/restore works to go between ROMs.
That's what it says in the first post of cyanogenmod rom
Click to expand...
Click to collapse
I know you can do a nandroid backup but i was thinking more along the lines of running it off the sd card or somehow partitioning the system partition so you have 2 of them there. If i did the nandroid way, i would have to keep a large portion reserved for the backup and i would have to do it every time i wanted to play a game which would ruin the life of the flash memory and it would be a pain generally. I saw on All About Android there was an app called boot manager but i dont know if that will work on the SGS II
arj154 said:
I know you can do a nandroid backup but i was thinking more along the lines of running it off the sd card or somehow partitioning the system partition so you have 2 of them there. If i did the nandroid way, i would have to keep a large portion reserved for the backup and i would have to do it every time i wanted to play a game which would ruin the life of the flash memory and it would be a pain generally. I saw on All About Android there was an app called boot manager but i dont know if that will work on the SGS II
Click to expand...
Click to collapse
There is some experimentation with that at the moment, apparently it kinda works, i know there is a thread about it.
Search for boot manager sgs2 or sgs2 dual boot and it should be there.
Sent from my GT-I9100 using XDA Premium App
veyka said:
There is some experimentation with that at the moment, apparently it kinda works, i know there is a thread about it.
Search for boot manager sgs2 or sgs2 dual boot and it should be there.
Sent from my GT-I9100 using XDA Premium App
Click to expand...
Click to collapse
did u post on that thread? might make it easier to find
arj154 said:
did u post on that thread? might make it easier to find
Click to expand...
Click to collapse
Think the thread is in themes and apps section, just to narrow it down. Look for multiboot as search term.
Sent from my GT-I9100 using XDA Premium App
arj154 said:
did u post on that thread? might make it easier to find
Click to expand...
Click to collapse
Nope
I just tried googleing but no luck, i know there is a thread in the app section somewhere, i remember it.
Sent from my GT-I9100 using XDA Premium App
stoney73 said:
Think the thread is in themes and apps section, just to narrow it down. Look for multiboot as search term.
Sent from my GT-I9100 using XDA Premium App
Click to expand...
Click to collapse
thanks found it instantly with that info, Looks like nobody properly tried to get it working and its a paid app so i dont really wanna buy it and find out it doesnt work... Although i guess everyone is in the same boat... I'll see what people do.

small issues?

did anyone figure out the 2.89. Super user issue ? besides flashing the zip is there a way to have it in the rom and still maintain root?
i noticed if i push the 3.2 su binary to the phone while its on then give it 06755 permissions it will show thats its working and allow the Superuser to be granted?
has anyone tried to fix this yet??
i been working on it for hours and still no luck..
also i cant get any keyboard to install with a rom is that on my end?
Wrong forum dude. This belongs in q&a
akrod2as said:
Wrong forum dude. This belongs in q&a
Click to expand...
Click to collapse
oh does it?
Mr nerd said:
oh does it?
Click to expand...
Click to collapse
Are you developing a new superuser?
If not then this belongs in Q&A
EJerVJerO said:
Are you developing a new superuser?
If not then this belongs in Q&A
Click to expand...
Click to collapse
no im not.
He is developing a rom.. I would say that means he is in the right place..
Here is his ROM post http://forum.xda-developers.com/showthread.php?t=1809974
The answer lies in my v1.2
chrisedwards123 said:
He is developing a rom.. I would say that means he is in the right place..
Here is his ROM post http://forum.xda-developers.com/showthread.php?t=1809974
Click to expand...
Click to collapse
Although he may be developing a new rom, it still belongs in Q&A. Development sections are strictly for development and not questions.
---Jay--- From the CM10'd GNex™
I just grabbed the latest Su from the website and tossed it in with the correct permissions, and seems to be working... I've been workin on a little something too... I had more trouble getting it to boot than anything... But the Su 3.1.3 and binaries is what I used... Now trying to get it deodexed so I can get a few things added in and get a Rom posted... Over the last couple days, I've gained some mad respect for the 3d devs around here... The last Rom I built was a froyo hybrid sense 2/ sense 3 rom for the glacier, and it was nowhere near this frustrating... Even when trying to create it from ota like this one...
Sent from my PG86100 using xda premium
powduh09 said:
I just grabbed the latest Su from the website and tossed it in with the correct permissions, and seems to be working... I've been workin on a little something too... I had more trouble getting it to boot than anything... But the Su 3.1.3 and binaries is what I used... Now trying to get it deodexed so I can get a few things added in and get a Rom posted... Over the last couple days, I've gained some mad respect for the 3d devs around here... The last Rom I built was a froyo hybrid sense 2/ sense 3 rom for the glacier, and it was nowhere near this frustrating... Even when trying to create it from ota like this one...
Sent from my PG86100 using xda premium
Click to expand...
Click to collapse
hmmm you have skype? maybe i can help you get it booted
and i have to give it the right permissions after the rom boots for w.e reason in the updater script it never sets it right im assuming its set to
06755 which is correct from my knowledge?
im also having trouble with my
/data/app the apps wont install when they are in there.. and when they are in system they just FC..
help please? lol
Mr nerd said:
hmmm you have skype? maybe i can help you get it booted
and i have to give it the right permissions after the rom boots for w.e reason in the updater script it never sets it right im assuming its set to
06755 which is correct from my knowledge?
im also having trouble with my
/data/app the apps wont install when they are in there.. and when they are in system they just FC..
help please? lol
Click to expand...
Click to collapse
I got it booting, just had to use the modules and the boot.IMG from the vm ics Rom... As for the data/app, did you add the functionality to the Rom so it knows to look in that folder for apps?
Sent from my PG86100 using xda premium
powduh09 said:
I got it booting, just had to use the modules and the boot.IMG from the vm ics Rom... As for the data/app, did you add the functionality to the Rom so it knows to look in that folder for apps?
Sent from my PG86100 using xda premium
Click to expand...
Click to collapse
yes i did i think i got it i readded the function so i hope its goning to work now.

[Mod][bootanimation][Xgo,Xtipo,Xmiro,live with walkman,Xmini/pro...]

Hi guys,im going to introduce you my new gentle Sony Xperia boot animation for xperia devices with screen resolution 320*480(Xgo,Xtipo,Xmiro,live with walkman,Xmini/pro...)
indead i made so many but i found this one more sharable
this i my first published mod either on android and on XDA.hope you like it. suggestions and corrections welcome...
lets go for instructions, (must of you are power users and this is for noobs just like me ).
Disclaimer:i will not be responsible for your mistakes or doing something wrong during modding your device.don't if you don't know what is this for! always keep a nandroid backup before doing any changes on system files!
1.download this:bootanimation
2.manually copy to /system/media with correct permission: -rw-r--r-- (you will need to mount system r/w ,confirm overwrite if asked)
3.reboot device and enjoy your new boot animation
4.promote and suggest to friends
credits go to Sony giving us these lovely gadgets!
please excuse my bad english
Updated: now with boot sound!
http://www.mediafire.com/?6a8jse68dbfowbi
Is this compatible with all ROMs or any exceptions?
Sent from my Xperia Go using xda app-developers app
mathbalaji said:
Is this compatible with all ROMs or any exceptions?
Sent from my Xperia Go using xda app-developers app
Click to expand...
Click to collapse
As far as i know it should be , but not promissing.
do somthing: check out the path /system/media/bootanimation.zip, if it exists on your rom so its too much probably compatible :fingers-crossed:
ahmad990 said:
As far as i know it should be , but not promissing.
do somthing: check out the path /system/media/bootanimation.zip, if it exists on your rom so its too much probably compatible :fingers-crossed:
Click to expand...
Click to collapse
It is compatible, thanks!
mathbalaji said:
It is compatible, thanks!
Click to expand...
Click to collapse
Are you satisfied with cm11? Would you tell some about its Cons and Pros?
As you would see in my post i ve noticed couple's of bugs on this rom, but nice 2 hear more from you
http://forum.xda-developers.com/xpe...-kitkat-4-4-2-bug-fixes-t2533789/post49844089
Try out my bootanimation with sound!
http://www.mediafire.com/?6a8jse68dbfowbi
ahmad990 said:
Are you satisfied with cm11? Would you tell some about its Cons and Pros?
As you would see in my post i ve noticed couple's of bugs on this rom, but nice 2 hear more from you
http://forum.xda-developers.com/xpe...-kitkat-4-4-2-bug-fixes-t2533789/post49844089
Try out my bootanimation with sound!
http://www.mediafire.com/?6a8jse68dbfowbi
Click to expand...
Click to collapse
Cm11 has it's fault, it is the fastest ROM available. Sometimes Bluetooth doesn't work, but other than that its good.
Sent from my Xperia Go using xda app-developers app
Xgo can not play sounds while boot, does it work anyway?

[Q]

I need help making my ROM. Any help is apreciated. Thx http://www.vmroms.com/index.php?topic=827.msg14743#msg14743
Nick_73 said:
I need help making my ROM. Any help is apreciated. Thx http://www.vmroms.com/index.php?topic=827.msg14743#msg14743
Click to expand...
Click to collapse
What kind of help are you looking for? Do you want suggestions on what to add? Are stuck on how to add a particular feature to your ROM? One thing you could try is compiling AOSP and using that as the base for your ROM a great guide on doing that can be found here and here (Official Google guide to building AOSP). I'll be happy to help you out best I can so let me know if you still have questions.
shimp208 said:
What kind of help are you looking for? Do you want suggestions on what to add? Are stuck on how to add a particular feature to your ROM? One thing you could try is compiling AOSP and using that as the base for your ROM a great guide on doing that can be found here and here (Official Google guide to building AOSP). I'll be happy to help you out best I can so let me know if you still have questions.
Click to expand...
Click to collapse
I am building it from stock. Right now the custom launcher won't open. Also after boot, it loops. Does the services.jar need a new odex if modified?
Sent from my SCH-S738C using Tapatalk
I fixed the launcher issue but not the services.jar. Also, the Trev-E mod WiFi tether app force closes when I flash Rom and boot
Sent from my SPH-L300 using Tapatalk
Also if an admin could name this "[Q] Rom help" that'd be great
Sent from my SPH-L300 using Tapatalk
Nick_73 said:
I fixed the launcher issue but not the services.jar. Also, the Trev-E mod WiFi tether app force closes when I flash Rom and boot
Sent from my SPH-L300 using Tapatalk
Click to expand...
Click to collapse
Glad you were able to fix that, my main suggestion would be to modify only one part of your ROM at time (Just like a science experiment) that way you know that if it doesn't work it's very likely because of the modification you just made. Also logcat will be a big help to help you figure out where things are causing problems and what things are causing problems.
shimp208 said:
Glad you were able to fix that, my main suggestion would be to modify only one part of your ROM at time (Just like a science experiment) that way you know that if it doesn't work it's very likely because of the modification you just made. Also logcat will be a big help to help you figure out where things are causing problems and what things are causing problems.
Click to expand...
Click to collapse
Why do all system apps I add force close until they're updated?
Sent from my SPH-L300 using Tapatalk
Nick_73 said:
Why do all system apps I add force close until they're updated?
Sent from my SPH-L300 using Tapatalk
Click to expand...
Click to collapse
Try updating the system apps to their latest version and pulling the apk's of the updates version then including these latest version updated apk's in your ROM :good:.
shimp208 said:
Try updating the system apps to their latest version and pulling the apk's of the updates version then including these latest version updated apk's in your ROM :good:.
Click to expand...
Click to collapse
I did that, but still fc.
Sent from my SPH-L300 using Tapatalk
Nick_73 said:
I did that, but still fc.
Sent from my SPH-L300 using Tapatalk
Click to expand...
Click to collapse
Also make sure in your ROM's updater-script the system apps you have added are given the proper file permissions.
I did a work-around and made added apps get flashed to /data/app. But Play Store still fc's. I modified the updater-script from another Rom for this phone, but I only added lines.
Sent from my SPH-L300 using Tapatalk
shimp208 said:
Also make sure in your ROM's updater-script the system apps you have added are given the proper file permissions.
Click to expand...
Click to collapse
I have an issue with smali. I backsmali a classes.dex file. I can re package it with smali, when I don't edit files. If I edit any files within the output folder, I cannot repackage it with smali. It gives me an error... Unexpected top-level exception. And I cannot find any help online....
Sent from my GT-P5110 using Tapatalk
Never mind. I tried it a few times and it worked
Sent from my GT-P5110 using Tapatalk

Categories

Resources