[GUIDE]Port Nexus s roms to sgs devices - Galaxy S I9000 Android Development

Well i will share my knowladge to you people, two years of learning stuff about android....
If this guide dont help you (0,01 possibilities) LOGCAT YOUR BUILD!! I WILL TRY TO HELP
Tools needed /by saranhai/:
7zip (alternative to winrar, doesn't matter which you choose to use)
Notepad++ (highly recommend if you're on windows)
Android SDK/ADB (MUST HAVE, for troubleshooting and such)
dsixda kitchen (could come in handy)
First to port an ics rom you need winrar.
This are the steps:
grab an ics rom like cm9 or aokp to take the libs and hw folders
Never unzip the rom.
1-from cm9/aokp copy all outside system, i mean boot.img mtd etc..... and past it over the rom you are porting (nexus s rom)
2-enter system/app and remove torch.apk, crespoparts.apk and replace camera.apk with aokp camera.
3-enter system bin and replace this files with aokp/cm9 ones
*dhcpcd
*bluetoothd
*vold
*wpa_client
*wpa_supplicant
Click to expand...
Click to collapse
4-enter system etc and replace this files with aokp/cm9 ones
*bluetooth folder
*dhcpcd folder
*Apnconf.xml
*wifi
*vold.fstab
*vold.conf
Click to expand...
Click to collapse
5-Then we go to the libs, enter system/lib and replace:
*HW folders
*modules folders
*egl folders
*libril.so
*libsec-ril.so
*libreference-ril.so
*libsec-ril-client.so
*libbluedroid.so
*libbluetooth.so
*libbluetoothhd.so
*lib_cameraclient.so
*libcameraservice.so
*libhardware_legncy.so (very important to wifi to work) hell this caused me problems
*libEGL
*libgles (the 3 files)
Click to expand...
Click to collapse
--------------replace usr and vendor folders-------------------
And last edit build.prop, well first check if it boots then you change this and add this.
edit this:
ro.product.model=GT-I9000
ro.product.brand=samsung
ro.product.name=GT-I9000
ro.product.device=GT-I9000
ADD THIS TO SIGNAL TO WORK!!
additional build propieties
ro.telephony.ril_class=SamsungRIL
ro.telephony.ril.v3
=icccardstatus,datacall,signalstrength,facilitylock
mobiledata.interfaces=pdp0,eth0,gprs,ppp0
ro.ril.hsxpa=1
ro.ril.gprsclass=10
ro.adb.qemud=1
Click to expand...
Click to collapse
ADVANCED USERS ONLY (dont ask me how) :
for working external sd (emcc) you need to decompile/recompile framework-res.apk
you need to change this:
xml/storage_xml with other storage xml from aokp or cm9
Click to expand...
Click to collapse
I´m not responsible for bricked devices (this shouldnt brick it) but i dont want anyone crying because i will laugh at you, it works for me..

Libs functions
Lib:
*Libhardware_legancy.so (makes wifi works)
*all libs with ril: DATA and SIGNAL
*LibEGL, modules, hw: hw aceleration, lights,etc...
*Libgles (Gpu and cpu)
Click to expand...
Click to collapse
etc:
*apns-conf.xml (all related to apn and services)
*dchcpd,vold.ftsab,vold.conf: internal sd
*wifi,bluetooth: wifi bluetooth lol
Click to expand...
Click to collapse
someone correct me if im wrong but im preaty sure what im writing...

Thanks for this thread. It should give many new possibilities!

amazing guide thx for sharing

Things i would add:
7zip (alternative to winrar, doesn't matter which you choose to use)
Notepad++ (highly recommend if you're on windows, used to edit build.prop and other text files)
Android SDK/ADB (MUST HAVE, for troubleshooting and such)
dsixda kitchen (could come in handy)
I will add more if i think of any
EDIT: Forgot this...
If you are experiencing issues booting up, here's how to get a logcat so you can figure out what's wrong:
connect phone to computer
open up command prompt
navigate to your android sdk tools folder i.e C:/androidsdk/platform-tools (ADB MUST BE SET UP BEFOREHAND)
type in:
Code:
adb logcat
watch as a whole bunch of text scroll by, don't bother reading it right now, do it later.
If you want to stop the logcat, just disconnect phone from computer.
-Saranhai

saranhai said:
Things i would add:
7zip (alternative to winrar, doesn't matter which you choose to use)
Notepad++ (highly recommend if you're on windows, used to edit build.prop and other text files)
Android SDK/ADB (MUST HAVE, for troubleshooting and such)
dsixda kitchen (could come in handy)
I will add more if i think of any
-Saranhai
Click to expand...
Click to collapse
Okey i added them

Nice guide. Thanks.

Nice guide!!! Thanks!

Will try this out later
Sent from my PG86100 using xda premium

i have a question ... How you can test your own ported rom ? Because i dont want to brick my phone (again) ))

Driv said:
i have a question ... How you can test your own ported rom ? Because i dont want to brick my phone (again) ))
Click to expand...
Click to collapse
oh, haha i dont think there is another way rather than using your device as a lab rat.... lmao
I give you an unbrickeable guide, if you dont forget to swapp the boot.img and hw and modules folder you wont brick it since recovery is on the kernel, so you can restore or do what you want, if you flash a nexus s kernel (as example you forgot to remove it) you will soft brick it

Madflapjack respond to your pm's, I need some help!
EDIT: resurrected a dead thread sorry..
Sent from my GT-I9000 using xda app-developers app

Madflapjack,
Hope you are ok.
Does this guide works with jellybean roms?

malcho said:
Madflapjack,
Hope you are ok.
Does this guide works with jellybean roms?
Click to expand...
Click to collapse
exactly what i want to ask for. since nexus S got the OTA official update.

malcho said:
Madflapjack,
Hope you are ok.
Does this guide works with jellybean roms?
Click to expand...
Click to collapse
im ok thanks for asking !! i moved to the galaxy nexus thats why im not posting much lol, im playing with the baby!
to the point, you should try, it wont harm, but if you do try, dont port aosp, they need special coding in framework or something similar and you will get a nice dark screen on booting, well if its cyanogenmod or aokp then yes it should work..

Madflapjack said:
im ok thanks for asking !! i moved to the galaxy nexus thats why im not posting much lol, im playing with the baby!
to the point, you should try, it wont harm, but if you do try, dont port aosp, they need special coding in framework or something similar and you will get a nice dark screen on booting, well if its cyanogenmod or aokp then yes it should work..
Click to expand...
Click to collapse
Nice to see that you are ok.
My constant struggle with codenameandroid,trying few guides butt none work.
It's ok i will wait till sources are out.
Many regards

malcho said:
Nice to see that you are ok.
My constant struggle with codenameandroid,trying few guides butt none work.
It's ok i will wait till sources are out.
Many regards
Click to expand...
Click to collapse
jb codenameandroid? it should work, worth the try!! but well remember to replace the kernel so you dont lose your recovery and your good to go.
if i dont bad remember my codename android port was booting and all ok, i was talking about pure aosp,

T
Madflapjack said:
jb codenameandroid? it should work, worth the try!! but well remember to replace the kernel so you dont lose your recovery and your good to go.
if i dont bad remember my codename android port was booting and all ok, i was talking about pure aosp,
Click to expand...
Click to collapse
I tried butt it stuck on boot animation.
Trying tommorow again.

malcho said:
T
I tried butt it stuck on boot animation.
Trying tommorow again.
Click to expand...
Click to collapse
so it boots, try watever you know to make it boot, if not logcat. lol

Related

{Kernel-Source} GoDmOdE-2.6.29-GSM-HERO

i have pushed the board files to my github to compile a fully working kernel for the GSM Hero. i dont own the device, but Behnaam has been working with me testing and such. anyhow everything works. the link to my source can be found below:
GoDmOdE-KeRnEl-SoUrCe
anyhow enjoy i do this for the community and ask for nothing but in return. Devs have at it!!!
Behnaam already beat you to the punch, link.
gu1dry said:
Behnaam already beat you to the punch, link.
Click to expand...
Click to collapse
i seen but i can update this one plus i guess i forgot to add two files . btw they are there now and it will compile for sure. (i just did it) enjoy
will it say no more huge battery drain ?
Quick and dirty compile by me in boot.img format (too tired to hack an update.zip together)
Credit to: Benocharm, and well everyone else who worked on this project... i just compiled it lol
EDIT: Had a lapse and forgot to compile a new wlan module... will reupload after school today
Cant post links yet sooo h**p://w w w .mega upload. c o m/ ? d = 724NZ7Q1
** = tt
remove spaces
Method One Flash: (For those with unlocked SPL)
fastboot flash boot newBoot.img
fastboot reboot
Method Two Flash:
adb push boot.img /sdcard
adb shell
cat /dev/zero > /dev/mtd/mtd2
- write: No space left on device [this is ok, you can ignore]
flash_image boot /sdcard/boot.img
reboot your phone
zjr8 said:
Quick and dirty compile by me in boot.img format (too tired to hack an update.zip together)
Credit to: Benocharm, and well everyone else who worked on this project... i just compiled it lol
Cant post links yet sooo h**p://w w w .mega upload. c o m/ ? d = 724NZ7Q1
** = tt
remove spaces
Method One Flash: (For those with unlocked SPL)
fastboot flash boot newBoot.img
fastboot reboot
Method Two Flash:
adb push boot.img /sdcard
adb shell
cat /dev/zero > /dev/mtd/mtd2
- write: No space left on device [this is ok, you can ignore]
flash_image boot /sdcard/boot.img
reboot your phone
Click to expand...
Click to collapse
Here ya go mate
http://www.megaupload.com/?d=724NZ7Q1
Are the video drivers included?
MerXury13 said:
Are the video drivers included?
Click to expand...
Click to collapse
I think that's very basic that they check it .
I'm more curious about other things that are not so obvious while testing:
volume keys while sleeping, battery usage, g-sensor, correct behavior of the audio jack (audio switches to jack instead of speaker), etc...
'gsm long text > 160 chars' issues can't have anything to do with the kernel used as I see it. That's something of the messaging app and / or the radio RIL used.
Hmm, new kernel to play with... might be the push I needed to try building my own android stuff to learn
Am I missing something with regards to the wlan module sources? Didn't see them so far...
Or am I being stupid (highly likely)
Are the video drivers included?
Click to expand...
Click to collapse
I think that's very basic that they check it .
I'm more curious about other things that are not so obvious while testing:
volume keys while sleeping, battery usage, g-sensor, correct behavior of the audio jack (audio switches to jack instead of speaker), etc...
'gsm long text > 160 chars' issues can't have anything to do with the kernel used as I see it. That's something of the messaging app and / or the radio RIL used.
Hmm, new kernel to play with... might be the push I needed to try building my own android stuff to learn
Click to expand...
Click to collapse
I asked 'cause in the cronos Rom, the developer said that he excluded the Video drivers to f**k up the other devs ...what a jerk
MerXury13 said:
I asked 'cause in the cronos Rom, the developer said that he excluded the Video drivers to f**k up the other devs ...what a jerk
Click to expand...
Click to collapse
dude, he only did that on his 'OC' version. The normal 'stable' version has them... reading is an artform
I asked 'cause in the cronos Rom, the developer said that he excluded the Video drivers to f**k up the other devs ...what a jerk
Click to expand...
Click to collapse
dude, he only did that on his 'OC' version. The normal 'stable' version has them... reading is an artform
Click to expand...
Click to collapse
It's too early for me^^ sorry
dipje said:
dude, he only did that on his 'OC' version. The normal 'stable' version has them... reading is an artform
Click to expand...
Click to collapse
The normal 'stable' version of his ROM is built on the same test kernal that every other 2.1 ROM is built on.
MerXury13 said:
I asked 'cause in the cronos Rom, the developer said that he excluded the Video drivers to f**k up the other devs ...what a jerk
Click to expand...
Click to collapse
Again... getting boring
Can someone please compile this one with overclock patch?I have no idea how to compile from source else I would do it
l0st.prophet said:
The normal 'stable' version of his ROM is built on the same test kernal that every other 2.1 ROM is built on.
Click to expand...
Click to collapse
Hence it got video drivers
Can anyone point me in the direction of a good write up on how to build a boot.img from this git repo please?im using ubuntu 10.4
so can we use this kernel on the vanilla roms?
anon2122 said:
Am I missing something with regards to the wlan module sources? Didn't see them so far...
Or am I being stupid (highly likely)
Click to expand...
Click to collapse
Do you have the latest commit? I believe initially there were some missing files. I know when I grabbed the source the first time i had wlan drive compile issues
I applied this to both cronos rom and to superhero rom and both got really sluggish after installing it (I used the boot.img posted among the first posts).

Google Now APK/ZIP [NO VOICE][7/6]

YOU MUST BE ROOTED FOR THIS TO WORK!!!
ORIGINAL
Here is the post copied from the OP...
These are the current instructions and download:
1.) Rename GoogleQuickSearchBox.apk in system/app to GoogleQuickSearchBox.bak
2.) Rename the "signed_velvet-voicereco.apk" that you downloaded (link below) to: "GoogleQuickSearchBox.apk"
3.) Place the renamed .apk in the system/app folder and set the permissions to rw-r-r
4.) Reboot and enjoy!
OR
1.) Rename GoogleQuickSearchBox.apk in system/app to GoogleQuickSearchBox.bak
2.) Try to install the downloaded .apk off your sd just like any other .apk
OR
1.) Flash the .zip down below through recovery -- AOSP ONLY
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
APK Download: http://www.mediafire.com/download.php?ln5g4bub91kgaa4
ZIP Download: http://www.tincandroid.com/ccount/click.php?id=26 -- AOSP ONLY
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Current Status:
Working:
-It boots!
-searching through the text-box works
-location services work
-info cards work
Not working:
-Can't exit the app using the back button on the Google Now 'Cards' screen
-Sometimes cannot submit a typed search-query
-Voice search (Jelly Bean kernel-specific, we probably won't be able to fix :-\ )
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Devices this will NOT work on:
-Devices that are running anything before Android 4.0 Ice Cream Sandwich
-Devices not running an AOSP ROM (in most cases)
-iOS Devices (Suckas!)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Troubleshooting Guide:
If you have followed the above instructions exactly and are still experiencing problems, read through this troubleshooting guide to see if a fix for your problem is there.
http://forum.xda-developers.com/show...&postcount=695
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Command Index:
This is an index of all the commands you can use in Google Now in order to get the specialized 'cards' results.
http://forum.xda-developers.com/show...&postcount=689
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Explanation of the different cards:
A guide to the different types of cards and how you can influence them with your location and system language.
http://forum.xda-developers.com/show...&postcount=724
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Youtube video of current version:
http://www.youtube.com/watch?v=1XhX3...1&feature=plcp
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Credit where credit is due:
-Flashable Zip by MazdaRider23 and his team
-YouTube video by Phil from TheDroidPeople
-Awesome command index by Killer-B
-Cards explanation by Bexton
-Modded apks by Theos0o and other various forum contributors (PM me your name if you have made one and I'll add it)
NOTE: THIS IS NOT MY WORK I AM SIMPLY SHARING IT
Its worth mentioning that you HAVE to be rooted to do this.. .for the noobs
durhamite said:
Its worth mentioning that you HAVE to be rooted to do this.. .for the noobs
Click to expand...
Click to collapse
Good idea, added it to the OP.
I also believe that the voice searching feature is currently borked. But people are working on it as we speak
ainen said:
There are two seperate ways to do it, the first one involves manually editing the build.prop. You can find that method HERE
The second method just involves the modified APK. You can find that one HERE
Everything but Voice Search seems to be working.
YOU MUST BE ROOTED FOR THIS TO WORK!!!
THIS IS NOT MY WORK I AM SIMPLY SHARING IT
Click to expand...
Click to collapse
Do you have to have to AOSP rom to make this work? Thanks for sharing either way.
jimbotron said:
Do you have to have to AOSP rom to make this work? Thanks for sharing either way.
Click to expand...
Click to collapse
Everything works as advertised on stock, not sure about any other roms.
used the 2nd method. regular search is odd, because it will come up with a blank screen for your results and then if you touch it and scroll the results will show up. also kinetic scrolling doesn't work on it.
also it won't let me select a favorite sports team, for some reason.
Is everyone's temperature displaying correctly? I keep getting Celsius
ainen said:
Is everyone's temperature displaying correctly? I keep getting Celsius
Click to expand...
Click to collapse
they want you to go metric
dLo GSR said:
they want you to go metric
Click to expand...
Click to collapse
But I don't wanna
So I keep getting a network error at the beginning, but it allows me to do searches. Are you getting the card screen with the Google logo at the top? I only get the search box screen.
ainen said:
Everything works as advertised on stock, not sure about any other roms.
Click to expand...
Click to collapse
Stock rom for galaxy s3?
jimbotron said:
Stock rom for galaxy s3?
Click to expand...
Click to collapse
I can confirm stock AT&T rom
Doesn't show me Cards on my AT&T Galaxy S3 running Diet ICS
Everytime I go to system/app and try to remove or rename googlequicksearchbox .. it says failed operation or it can't be removed
Can someone help please? I'm running STOCK ROM and ADAMA 003 kernel - Roman's Kernel
aklyrical said:
Everytime I go to system/app and try to remove or rename googlequicksearchbox .. it says failed operation or it can't be removed
Can someone help please? I'm running STOCK ROM and ADAMA 003 kernel - Roman's Kernel
Click to expand...
Click to collapse
did you mount R/W?
OrangeFever said:
Doesn't show me Cards on my AT&T Galaxy S3 running Diet ICS
Click to expand...
Click to collapse
Try starting over. I had to do it a couple times before it worked properly.
Sent from my SAMSUNG-SGH-I747 using Tapatalk 2
I am so blind I can't seem to find "googlequicksearchbox" in /system/app
It's just not in there..... I swear if it's something simple.. grrr
help?
dLo GSR said:
did you mount R/W?
Click to expand...
Click to collapse
perfect bro thanks a lot .. got it installedand now it says netork error
help AGAIn please?!
EDIT: it says that but it works anyways.. this is NEAT just voice needs to work now!
ainen said:
I can confirm stock AT&T rom
Click to expand...
Click to collapse
Unfortunately the voice search portion doesn't work for my Galaxy s3 on sprint. It'll show initializing for a brief second the it'll say it could catch what I said before I have a chance to say anything. Any suggestions on what I can try to get it working?
Sent from my SPH-L710 using xda app-developers app
On stock WIND I get the network error and no cards :crying:

[MOD][SXS][CM10] O4X Style LockScreen

Based on: This thread.
-------------------------------------------------------------------------------------------------------------------------
Screenshots:
Video from original thread, so not on Xperia S but Galaxy Nexus.
-------------------------------------------------------------------------------------------------------------------------
Tested working on FXP145 and newer. Older should probably work too, but I'm not sure about that. (CM10 and Xperia S, of course)
Please report if it works and any bug you run in to! And you might want to backup the files modded by this mod (services.jar, framework-res.apk, framework2.jar, framework.jar and android.policy.jar which are all in the system/framework/ folder) in case you want to get back to the original lockscreen.
-------------------------------------------------------------------------------------------------------------------------
Download:
Here.
Warning! Somebody reported to me the mod isn't working properly on FXP149. Somebody else reported it working though, so I guess it should be fine. You probably want to backup your files for the sake of safety though.
Install instructions:
1. Save the zip to your phone's memory.
2. Reboot into recovery.
3. Go to "Install from zip" -> "Install from sdcard" and select the zip file.
4. Follow the onscreen instructions.
5 . Reboot device and enjoy!
-------------------------------------------------------------------------------------------------------------------------
Big thanks to:
evilisto for making the patch needed for this mod!
The FXP team(Bin4ry, Defer, Kali, Jerpelea) for making this beatiful rom!
Been waiting for this and it works great. Only thing is that when you unlock it the time doesn't dissappear straight away, but this is so minor I don't really care. Thanks a lot!
---------- Post added at 02:20 PM ---------- Previous post was at 01:49 PM ----------
Also swipe in any direction doesn't always show up
Sent from my Galaxy Nexus using xda app-developers app
Will this work with Paranoid Android 2.55 ? :x
Probably will work. Back up the files and try it if you want to know, you can always restore!
markk1995 said:
Probably will work. Back up the files and try it if you want to know, you can always restore!
Click to expand...
Click to collapse
I tried, and i'm stuck at bootanimation ^^' it does'nt work :./
martinko23 said:
I tried, and i'm stuck at bootanimation ^^' it does'nt work :./
Click to expand...
Click to collapse
The framework is different. Give him the PA 2.55 framework-res.apk (and maybe a few other files, I don't remember what is used) so he can apply over it.
I am just waiting for FXP to fix the problems on their kernel which was causing problems on dual boot to update my PA to the next version, so consider it, @OP, a request for the future.
markk1995 said:
Been waiting for this and it works great. Only thing is that when you unlock it the time doesn't dissappear straight away, but this is so minor I don't really care. Thanks a lot!
---------- Post added at 02:20 PM ---------- Previous post was at 01:49 PM ----------
Also swipe in any direction doesn't always show up
Sent from my Galaxy Nexus using xda app-developers app
Click to expand...
Click to collapse
Thanks a lot for trying it out!
Yes I know about that first one, but as you can see in the video, it's in the original mod too. So I don't think I can do anything about it. Will look into the source though.
That second thing looks interesting, because here it shows up every time, even though sometimes barely visible. Are you sure it really isn't there sometimes?
Felimenta97 said:
The framework is different. Give him the PA 2.55 framework-res.apk (and maybe a few other files, I don't remember what is used) so he can apply over it.
Click to expand...
Click to collapse
Sadly enough that won't work, because the patch (from the original mod) isn't done to the compiled (framework-res.apk, framework.jar etc...) files, but to the source code. Then I compile it and pick out the files needed, pack them up in a zip file, and deliver them to you .
Felimenta97 said:
@OP, a request for the future.
Click to expand...
Click to collapse
Yeah I was already thinking about that, but I don't know for sure if it will work. Since this patch is made for CM10, I think it might break some things specific to PA. I'll download the PA source and try it out when I have some spare time
TiesB said:
Thanks a lot for trying it out!
Yes I know about that first one, but as you can see in the video, it's in the original mod too. So I don't think I can do anything about it. Will look into the source though.
That second thing looks interesting, because here it shows up every time, even though sometimes barely visible. Are you sure it really isn't there sometimes?
Sadly enough that won't work, because the patch (from the original mod) isn't done to the compiled (framework-res.apk, framework.jar etc...) files, but to the source code. Then I compile it and pick out the files needed, pack them up in a zip file, and deliver them to you .
Yeah I was already thinking about that, but I don't know for sure if it will work. Since this patch is made for CM10, I think it might break some things specific to PA. I'll download the PA source and try it out when I have some spare time
Click to expand...
Click to collapse
It can break something at PA source, but it is based on CM10, so how knows.
"What really matters in this world, anyway?"
At second glance it is there but behind the black background so hardly visible for me
Can you make it for T989 running cm10?
Ynx ion advance.
markk1995 said:
At second glance it is there but behind the black background so hardly visible for me
Click to expand...
Click to collapse
Yeah that's kinda what I thought. I'll look into the code if I can maybe "layer it up" or something, but don't pin me down on that .
ghassir said:
Can you make it for T989 running cm10?
Ynx ion advance.
Click to expand...
Click to collapse
That should be possible for sure. That's the the T-Mo S2 right? Downloading the source code atm.
I'm sorry for the late response, I was at my grandparents' and didn't have a pc with internet over there...
Sent from my Xperia S using xda app-developers app
Doesn't boot with AOKP and the kernel from kali
googleye said:
Doesn't boot with AOKP and the kernel from kali
Click to expand...
Click to collapse
Because it's made for CM10 my friend but still thanks for trying because I now know I'll have to build a special one for PA and AOKP
Btw, a small status update: I've ran out of disk space on my wubi install so I'm waiting on my NAS to come, which should arrive somewhere next week. Then I can move all my media (movies, music etc...) to the NAS, and resize my wubi disk to a lot bigger one Then the sources I was downloading can continue
Perfect in fxp 147
TiesB said:
Because it's made for CM10 my friend but still thanks for trying because I now know I'll have to build a special one for PA and AOKP
Btw, a small status update: I've ran out of disk space on my wubi install so I'm waiting on my NAS to come, which should arrive somewhere next week. Then I can move all my media (movies, music etc...) to the NAS, and resize my wubi disk to a lot bigger one Then the sources I was downloading can continue
Click to expand...
Click to collapse
I thought it would still work, isn't AOKP based on CM or am I way out of line here? Anyways a version for AOKP would be appreciated :good:
googleye said:
I thought it would still work, isn't AOKP based on CM or am I way out of line here? Anyways a version for AOKP would be appreciated :good:
Click to expand...
Click to collapse
AOKP had its own source code.
"What really matters in this world, anyway?"
Are there more themes for lockscreen available?
does not xcream on then?
i love this loocscreen, someone test it in fxp 148?
patato800 said:
Are there more themes for lockscreen available?
Click to expand...
Click to collapse
Yes, the
guy who made this patch (evilisto), also made some other ones like the BB10 (I believe) LockScreen. If you want you can request one from his threads and I should be able to make it
fabidesca said:
does not xcream on then?
Click to expand...
Click to collapse
Nope, I'm sorry. Only works on CM10
Sent from my Xperia S using xda app-developers app

[Q] Difference Between Toro/Maguro Roms

Hello,
I am learning about rom development, and want some information about porting a rom from one version of the Nexus to another. There are a couple roms that are on the GSM Nexus that I would like to see on the Verizon Nexus. Where can I find documentation on what the differences are between the same rom running on both versions of the phone? Is this just the binaries found on the Google Developer page, or is there more that would be required for porting from maguro to toro?
There's more to it. There's some lib files that might be needed in order for some stuff to work properly. But its real easy tho. Make sure the ROM u want to port is the same android version. So for example u want to port a 4.2.1 ROM make sure your base ROM is also a 4.2.1 like cm 10.1. Then u just copy some files from one ROM to another. So u go into your ROM that u want to port and u open it with 7zip go to system folder and copy app fonts framework and media folder and copy them to your base ROM. Then u go into the lib folder and copy libandroid_runtime.so and paste that into system lib folder of your base. Then it should work. That would be the basic way of doing it. As far as building from source I can't help u there lol. Good luck.
Sent from my Galaxy Nexus using xda premium
Ok, how do I know which lib files I need? Is there somewhere I can go that says this file does this, this file does that? For example if the camera doesnt work, or if sound doesnt work, how do I know which files are needed for those?
Also, why copy the app fonts framework and the media folder?
Wingdom said:
Ok, how do I know which lib files I need? Is there somewhere I can go that says this file does this, this file does that? For example if the camera doesnt work, or if sound doesnt work, how do I know which files are needed for those?
Also, why copy the app fonts framework and the media folder?
Click to expand...
Click to collapse
Because the framework folder has all the mods from the ROM. As far as camera u don't have to worry about that since they are both the same phone. The only lib file u need to change is the one I mentioned. That's the one that usually will give u a problem booting up. But that's what I was told u need to change and it works.
Sent from my Galaxy Nexus using xda premium
Is there a place that documents what all of these files do? I am trying to go a couple levels deeper than just "Do it because it works". I am hoping to find a place that will explain why, so I can track down bugs when they pop up.
Wingdom said:
Is there a place that documents what all of these files do? I am trying to go a couple levels deeper than just "Do it because it works". I am hoping to find a place that will explain why, so I can track down bugs when they pop up.
Click to expand...
Click to collapse
I see. I'm not to that level yet. Try Google search or maybe even YouTube see if u find something. I do know u will need knowledge on how to use adb so u can do logcats when errors occur. Good luck man.
Sent from my Galaxy Nexus using xda premium
Alright, I got the rom to boot, but I am not getting any signal or wifi. What files do I need to get these working? I want specifics, not copy over all files in a single folder, because I dont want to lose any of the customization already in the rom.
I once ported a version of minco to Toro before there was an official version. I figured out which files to swap by comparing file by file two roms - one maguro one Toro. Any file that was divergent file size got swapped except systemui.apk and frameworkres.apk. I used two bugless beast roms as a base. It worked perfectly.
Wingdom said:
Hello,
I am learning about rom development, and want some information about porting a rom from one version of the Nexus to another. There are a couple roms that are on the GSM Nexus that I would like to see on the Verizon Nexus. Where can I find documentation on what the differences are between the same rom running on both versions of the phone? Is this just the binaries found on the Google Developer page, or is there more that would be required for porting from maguro to toro?
Click to expand...
Click to collapse
There are hardly any differences. I looked at it a lot when the jelly bean developer preview was released for gsm devices and I 'ported' it for toro. I had a list of the differences, but apparently lost it. I want to say that there are only 10-15 differences. The way I found out what the main differences were was by comparing the same build of CM for toro and maguro using Beyond Compare using a binary comparison. Some files may be different, but if you compare the bits directly...you can sometimes see it's only a build date/time and not a real difference.
edit 1 - To try to answer some of your questions, try libsec-ril_lte.so and libsecril-client.so (and the apn stuff listed below) for signal AND bcmdhd.cal and bcm4330.hcd for wifi. For camera, I think I remember fRom being needed. For GPS, you'll want sirfgps.conf, gps.omap4.so, gps.conf, and lib_gsd4t.so from toro.
edit 2 - Ahhh, I found a post where I listed the difference between maguro and toro that I found (it may not be all inclusive, but it should give you a good start!). These were from the CM roms, so toro factory images have a couple more things like MyVerizon.apk, VerizonSSO.apk, VZWBackupAssistant.apk, and libmotricity.so (needed for VerizonSSO.apk).
Code:
\system\app\BIP.apk
\system\app\RTN.apk
\system\app\VZWAPNLib.apk
\system\app\VZWAPNService.apk
\system\etc\gps.conf
\system\etc\permissions\android.hardware.telephony.cdma.xml
\system\etc\permissions\com.vzw.vzwapnlib.xml
\system\etc\permissions\com.vzw.hardware.lte.xml
\system\etc\permissions\com.vzw.hardware.ehrpd.xml
\system\etc\wifi\bcmdhd.cal
\system\etc\apns-conf.xml
\system\etc\NOTICE.html.gz
\system\lib\hw\gps.omap4.so
\system\lib\lib_gsd4t.so
\system\vendor\etc\sirfgps.conf
\system\vendor\firmware\bcm4330.hcd
\system\vendor\lib\libsec-ril_lte.so
Thank you! That is exactly what I was looking for. I do have one more question. How is a power menu (hold power button to get reboot, recovery, hotboot, etc..) added to a rom?
Wingdom said:
Thank you! That is exactly what I was looking for. I do have one more question. How is a power menu (hold power button to get reboot, recovery, hotboot, etc..) added to a rom?
Click to expand...
Click to collapse
You have to modify the android policy jar in framework from code. There is a modded jar in the apps and themes forum, or you could try and lift the file or of your favorite custom ROM, like cyanogenmod.
Wingdom said:
Thank you! That is exactly what I was looking for. I do have one more question. How is a power menu (hold power button to get reboot, recovery, hotboot, etc..) added to a rom?
Click to expand...
Click to collapse
Glad to see you have some initiative! If you want the .smali edits for the advanced power menu, I have attached a .zip containing the comparison of the mod for my 4.2.1 stock AOSP rom. You need to add the 3 GlobalActions$11xx.smali files (in the attached .zip) to \smali\com\android\internal\policy\impl when you decompile your android.policy.jar with apktool. The 2 .pdf's show the smali edits to the 2 files that need modified. There are just a few lines added/changed. The changes for GlobalActions.smali are on page 19 of the .pdf. If you need a working apktool for 4.2.1, you can get one the I compiled using paulobrein's patch HERE.
I'm glad to see people helping a fellow who whats to turn user-to-dev.
Sent from my Galaxy Nexus using Tapatalk 2
Wingdom said:
Alright, I got the rom to boot, but I am not getting any signal or wifi. What files do I need to get these working? I want specifics, not copy over all files in a single folder, because I dont want to lose any of the customization already in the rom.
Click to expand...
Click to collapse
Try flashing the radios. Here is a link: http://forum.xda-developers.com/showthread.php?t=1890585
Wingdom said:
Alright, I got the rom to boot, but I am not getting any signal or wifi. What files do I need to get these working? I want specifics, not copy over all files in a single folder, because I dont want to lose any of the customization already in the rom.
Click to expand...
Click to collapse
I know this is old but... How did it go?
I was trying to port cm-Resurrection_Remix_LP_v5.3.9-20150319-maguro to toro by comparing Resurrection_Remix_KK_v5.1.5-20140609-toro with that maguro but CM12 structure and format is completely different than KK...

recent apps mod for nexus 4

can anyone please share some recent apps mod for nexus 4?
I'm all for that my friend I hope some dev will respond to the plea
Sent from my Nexus 4 using xda premium
anyone here can give some suggestions
I would like a clear all button
Sent from my Nexus 4 using xda premium
I'm on xylon ROM and that has a clear button
Sent from my Nexus 4 using xda premium
CM has it too
You mean like these:
http://forum.xda-developers.com/showthread.php?t=1552409
http://forum.xda-developers.com/showthread.php?t=1563481
http://forum.xda-developers.com/showthread.php?t=1589963
Ihtisham48 said:
You mean like these:
http://forum.xda-developers.com/showthread.php?t=1552409
http://forum.xda-developers.com/showthread.php?t=1563481
http://forum.xda-developers.com/showthread.php?t=1589963
Click to expand...
Click to collapse
These are great! :highfive:
Quite some time since I last tried my hands on apk modding...will try now and post up :silly:
I found those for cm10.1 but there want a lot of editing and im pretty boring to do them..they are easy thought exept if your trying to edit a lot of custom rom like slim like me that having alot of extra code!!it will be easier on pure cm10.1
I am gonna try it on the latest Paranoid Android Alpha..
Setting up my dev tools again
Would be nice to have them as flashable zip
N4 AOSPR
cust0mworx said:
Would be nice to have them as flashable zip
N4 AOSPR
Click to expand...
Click to collapse
hey buddy nice to see u here
akshaybz said:
I am gonna try it on the latest Paranoid Android Alpha..
Setting up my dev tools again
Click to expand...
Click to collapse
Can you make the sense 4 version for PA 26th April build? I'm sure not all PA users are using the alpha build Please?
noowb00 said:
Can you make the sense 4 version for PA 26th April build? I'm sure not all PA users are using the alpha build Please?
Click to expand...
Click to collapse
I don't think there are major changes in framework since then..it should work
It will take me some time coz I am going back to development after an year and my last droid was kinda different from a Nexus
Lot has changed since then, new fancy tools and all
I will try my best and report back ASAP
akshaybz said:
I don't think there are major changes in framework since then..it should work
It will take me some time coz I am going back to development after an year and my last droid was kinda different from a Nexus
Lot has changed since then, new fancy tools and all
I will try my best and report back ASAP
Click to expand...
Click to collapse
And I am more than willing to be the test dummy Thanks!
^^ what this poster said
Status update:
So, I spent past couple of hours trying to port the recent apps mod to the PA and CM but it didn't work out :crying:
I was able to do the changes and compile the SystemUI.apk and framework-res.apk but when I flash the zip, the SystemUI just keeps crashing on the boot..
"SystemUI has stopped working."
I was using this guide:
http://forum.xda-developers.com/showthread.php?t=2187184
Well, this guide has some problems..
It says:
/res/layout-port/status_bar_recent_item.xml
Click to expand...
Click to collapse
There is no such folder "layout-port" in res..
Then I checked OPs mod which he supposedly created using the same guide...I decompiled his SystemUI.apk but guess what...there wan't any "layout-port" either...
Then I thought that I should change that in the "layout" folder itself...(and later I found out that the OP has done the same)
But still..no gain Force Closes everytime
There was one more problem that there wasn't any id "android:id="@id/recents_clear" in the ids.xml..but I solved that problem.
I can upload the zip which force closes if anyone wants to test stuff too
akshaybz said:
Status update:
So, I spent past couple of hours trying to port the recent apps mod to the PA and CM but it didn't work out :crying:
I was able to do the changes and compile the SystemUI.apk and framework-res.apk but when I flash the zip, the SystemUI just keeps crashing on the boot..
"SystemUI has stopped working."
I was using this guide:
http://forum.xda-developers.com/showthread.php?t=2187184
Well, this guide has some problems..
It says:
There is no such folder "layout-port" in res..
Then I checked OPs mod which he supposedly created using the same guide...I decompiled his SystemUI.apk but guess what...there wan't any "layout-port" either...
Then I thought that I should change that in the "layout" folder itself...(and later I found out that the OP has done the same)
But still..no gain Force Closes everytime
There was one more problem that there wasn't any id "android:id="@id/recents_clear" in the ids.xml..but I solved that problem.
I can upload the zip which force closes if anyone wants to test stuff too
Click to expand...
Click to collapse
1st this is a cm10 guide...
2nd the layout port is the portrait maybe its the layout(single) folder!!!
pikachukaki said:
1st this is a cm10 guide...
2nd the layout port is the portrait maybe its the layout(single) folder!!!
Click to expand...
Click to collapse
1. Yep, it is CM10 guide and the person who wrote this used the same to apply mod on CM10.1...
2. Yep I know it's portrait that's why I have mentioned that I already tried changing in the single folder...
I then tried to do this:
http://forum.xda-developers.com/showthread.php?t=2241739
Still SystemUI crashed..which means that something's wrong in the compilation method...I was using Virtous Studio
akshaybz said:
1. Yep, it is CM10 guide and the person who wrote this used the same to apply mod on CM10.1...
2. Yep I know it's portrait that's why I have mentioned that I already tried changing in the single folder...
I then tried to do this:
http://forum.xda-developers.com/showthread.php?t=2241739
Still SystemUI crashed..which means that something's wrong in the compilation method...I was using Virtous Studio
Click to expand...
Click to collapse
The think is that in layout and layout_land you need to remove the whole code and paste his...the thing is that if you compare the 2 codes you can see that alot of change in recents code but you remove alot of code existing..im pretty sure thats causing the FC's i try with a guide for 10.1 and i still have this problem...systemui refuse to load even when the phone reboots properly..so maybe if we exclude the fact that we can copy and paste...the code there is old and cm has added a lot of stuff in it after that...so we need someone who knows to check the code and apply it to a newest version of cm...
and remember those guides are for cm if your trying to do it on a PA or SLIM or anyother heavy tweaked rom you will mess a hell lot more things!

Categories

Resources