[REQ] Config file and kernel testers - Galaxy S II General

I don't have enough money to import a GS2 so I'm stuck making kernels without the phone. Could someone please extract the config file from their phone? Also, if you are interested in testing my kernel, please add me on Gtalk at [email protected]

you r from LA, & u rtelling us that u dont have money ??? you want us to believe that ???
come on buddy....

manuvaidya said:
you r from LA, & u rtelling us that u dont have money ??? you want us to believe that ???
come on buddy....
Click to expand...
Click to collapse
I'm from L.A.? Even if I was I'd have even less thanks to Cali's taxes

I'd like to see the config file too just so I can go browse thru the kernel source code myself.

Its nice to see the support for developers for this device. Takes 30 seconds to pull a config and the only response is someone with a sarcastic post based on a stereotype of Americans.
Sent from my HTC Vision

I hear you. I was sincere though in my interest. I really wanna see the config file.

If the lack of a config is from a lack of knowledge you pull the config file by typing this into terminal:
Su
Cp /proc/config.gz /sdcard/config.gz
Then upload the file here
Sent from my HTC Vision

Flippy125 said:
If the lack of a config is from a lack of knowledge you pull the config file by typing this into terminal:
Su
Cp /proc/config.gz /sdcard/config.gz
Then upload the file here
Click to expand...
Click to collapse
I can't find config.gz in /proc

Samsung don't include the config on the device, but...
Attached is a copy of my .config from building the KDD kernel from Samsung's sources. AFAIK that is identical to what Samsung used to build the stock kernel on device.

RyanZA said:
Samsung don't include the config on the device, but...
Attached is a copy of my .config from building the KDD kernel from Samsung's sources. AFAIK that is identical to what Samsung used to build the stock kernel on device.
Click to expand...
Click to collapse
kind of a noob question, but how exactly would one know which of each file of the source code to include to compile your own ROM/kernel? guess my question really is, looking thru kernel source, how can i know if any random file is or is not part of the kernel? example looking thru battery drivers, i can see the max17042 and fuelgauge_sec is used, while other batt drivers are not used but still present. how does one able to figure this out for each folder etc?

manuvaidya said:
you r from LA, & u rtelling us that u dont have money ??? you want us to believe that ???
come on buddy....
Click to expand...
Click to collapse
you are from Pakistan so we forgive you your bad knowledge of US geography
(people this is a joke)

Oh thanks, I haven't used a Samsung device (yet) so I thought it was like HTC
Sent from my HTC Vision

Related

Deodexing S2 XWKDD

Can someone Deodex the firmware, i've tried but I failed miserably
These are the ones i couldnt deodex
/system/framework/
android.policy
ext
framework
services
/system/app/
email
fts
gallery 3d
imeitracker
kieswifi
mediaprovider
mms
mobileprint
motionsettings
mtpapplication
packageinstaller
phone
samsungwidget_weatherclock
secdownloadprovider
settings
socialhub
stk
tasks
tasksprovider
touchwiz30launcher
touchwizcalendar
trimapp
I don't have the device yet but I actually managed to deodex kdd as a whole. the only exceptions were Email and MobilePrint. I just ignored these errors but yea, I have these two folders sitting on my desktop waiting for my phone to arrive
Sent from my GT-I9000 using XDA App
madmack said:
I don't have the device yet but I actually managed to deodex kdd as a whole. the only exceptions were Email and MobilePrint. I just ignored these errors but yea, I have these two folders sitting on my desktop waiting for my phone to arrive
Sent from my GT-I9000 using XDA App
Click to expand...
Click to collapse
Could you upload the files please
Sent from my GT-I9100 using XDA App
soyef said:
Could you upload the files please
Sent from my GT-I9100 using XDA App
Click to expand...
Click to collapse
Yes please upload!
Plz help a poor WinMo-refugee waiting for his first droid-device:
WTF is deodexing ?
troed said:
Plz help a poor WinMo-refugee waiting for his first droid-device:
WTF is deodexing ?
Click to expand...
Click to collapse
Apk files have respective odexes that devs use to supposedly save space.
Deodexing means you convert it back to a .dex file and put it back inside the apk.
This allows you to easily replace files (not having to worry about odexes), but the main point was to deodex services.jar so that you can change all text to different colors (such as the clock color to white) and to deodex services.jar, you need to deodex everything.
I'll upload what I have after elclassico
Sent from my GT-I9000 using XDA App
and here it is:
http://www.multiupload.com/MW71E1DAHV
you might want to delete Email.apk and MobilePrint.apk first because these two were the ones that I deodexed ignoring the errors. (lotsa errors with Email.apk. be wary of that one )
most of the errors in these two files were related to some awt libraries that are missing. I think (or hope) that they used these libraries only for debugging, so it shouldn't crash theoretically.
lemme know if it works guys ! can't wait for my phone to arrive
madmack said:
and here it is:
http://www.multiupload.com/MW71E1DAHV
you might want to delete Email.apk and MobilePrint.apk first because these two were the ones that I deodexed ignoring the errors. (lotsa errors with Email.apk. be wary of that one )
most of the errors in these two files were related to some awt libraries that are missing. I think (or hope) that they used these libraries only for debugging, so it shouldn't crash theoretically.
lemme know if it works guys ! can't wait for my phone to arrive
Click to expand...
Click to collapse
seems to be working fine, even the email.apk works fine!
thanks for the deodexing!!
soyef said:
seems to be working fine, even the email.apk works fine!
thanks for the deodexing!!
Click to expand...
Click to collapse
awesome !! I know what I'm gonna do when I receive this phone
thanks for letting me know
madmack said:
awesome !! I know what I'm gonna do when I receive this phone
thanks for letting me know
Click to expand...
Click to collapse
Oh and btw I also tried your Arabic patch and it worked fine too, just waiting for the libwebcore now
Thanks!!
Sent from my GT-I9100 using XDA App
soyef said:
Oh and btw I also tried your Arabic patch and it worked fine too, just waiting for the libwebcore now
Thanks!!
Sent from my GT-I9100 using XDA App
Click to expand...
Click to collapse
oh, "so" from the comments
I've replied to your comment with a libwebcore to test. let me know if it works.
madmack said:
oh, "so" from the comments
I've replied to your comment with a libwebcore to test. let me know if it works.
Click to expand...
Click to collapse
This is what I got from the logcat, and by the way I'm willing to test more if you need me to
soyef said:
This is what I got from the logcat, and by the way I'm willing to test more if you need me to
Click to expand...
Click to collapse
oops. thanks for testing
the logcat doesn't look good at all. I think I'll wait until samsung releases the proper sources for our phone before I make another attempt. This was all built with the korean sources and the error it throws now doesn't help much.
thanks again
ok, I'm a little restless and tenacious... i was able through some hoops and jumps to get a libwebcore with samsung's korean sources that matches the size of the one in your phone exactly (basically the build config of crespo.. should match the sII's except for the target_board_platform). I've not applied any arabic patches to it yet. just please try it and see if it at least runs ? (if it does, we have a winner !! )
http://www.multiupload.com/GK89VBFET9
GlossGhost said:
Apk files have respective odexes that devs use to supposedly save space.
Deodexing means you convert it back to a .dex file and put it back inside the apk.
This allows you to easily replace files (not having to worry about odexes), but the main point was to deodex services.jar so that you can change all text to different colors (such as the clock color to white) and to deodex services.jar, you need to deodex everything.
Click to expand...
Click to collapse
Tx a LOT ! Now I got it ..........
madmack said:
ok, I'm a little restless and tenacious... i was able through some hoops and jumps to get a libwebcore with samsung's korean sources that matches the size of the one in your phone exactly (basically the build config of crespo.. should match the sII's except for the target_board_platform). I've not applied any arabic patches to it yet. just please try it and see if it at least runs ? (if it does, we have a winner !! )
http://www.multiupload.com/GK89VBFET9
Click to expand...
Click to collapse
I think you have a winner then!
it seems to be running fine
i'm not sure, but I think that the camera isn't working
soyef said:
I think you have a winner then!
it seems to be running fine
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=1063205
by the way, camera.apk from the deodexed files gives force close

How can i change the name of kernel version in the setting menu ?

I want to change kernel version in the setting menu
For example, when doom kernel is installed, last option in the phone setting (About Phone) changes from Kernel version into
Doom kernel
I am able to edit boot.img file
Thanks
wrong selection ..
TheHaso said:
wrong selection ..
Click to expand...
Click to collapse
I do not post in another forum
I'm a new member
If someone can help me?
1 question..why do you want to change it?
Sent from my Xperia Arc
To build a ROM that I need to change my text
vahid_d_0101 said:
To build a ROM that I need to change my text
Click to expand...
Click to collapse
So you want to remove the credits and name yourself after? It's nonsense, atleast respect the developer for the stuff he provides for free.
Compile your own kernel, it is the only way.
vahid_d_0101 said:
To build a ROM that I need to change my text
Click to expand...
Click to collapse
That's kind of harsh. Make your own kernel, that's the only way. You may start by downloading sources from Sony developer site.
Manipulating the strings just to change the kernel name of another person's work and effort to your liking is not a good idea.
Sent from my LT15i using XDA
vahid_d_0101 said:
I do not post in another forum
I'm a new member
Click to expand...
Click to collapse
Yes you do. youre supposed to ask in the Q&A forum hence its name
Also what you trying to do is a **** move. ill be keeping an eye on you

Need a dev!

Have a ROM I'm playing about with but want to go more in depth. Needs backsmali so we can figure it out ans tweak. But I have limited knowledge. Anyone want to help out?
Thanks,
Sent from my JimmyMIUI v3 fuelled DHD!
you want to backsmali what? If it's an apk or jar file than use apk manager, it gives you the option to either just unpack the file, decomplie it as well as backsmali.
haerigrek said:
you want to backsmali what? If it's an apk or jar file than use apk manager, it gives you the option to either just unpack the file, decomplie it as well as backsmali.
Click to expand...
Click to collapse
Hmm...everyone makes it sound easy. But its what you do to change things once you're decompiled it.....I don't know what to tweak to get what I want or what to look for to remove or change...I need someone in the know lol....
Sent from my JimmyMIUI v3 fuelled DHD!
just say what you want to change.
haerigrek said:
just say what you want to change.
Click to expand...
Click to collapse
I don't know what that is yet lol....
Sent from my JimmyMIUI v3 fuelled DHD!
Most things can be manipulated easily within xml files without backsmali, you just need some xlm knowledge.
what are you trying to acomplish with this mod?
jameslsmith said:
Have a ROM I'm playing about with but want to go more in depth. Needs backsmali so we can figure it out ans tweak. But I have limited knowledge. Anyone want to help out?
Thanks,
Sent from my JimmyMIUI v3 fuelled DHD!
Click to expand...
Click to collapse
Try to look at this http://forum.xda-developers.com/showthread.php?t=1136625
CLOSED - No need for any more responses, thanks
jameslsmith said:
CLOSED - No need for any more responses, thanks
Click to expand...
Click to collapse
PM a mod and ask them to close your thread

[GUIDE] How to port ROMS

I know that there are actually LOTS of "How to port ROMS" in this forum now.. but I would like to share a certain source I found that is actually fool proof
Here it goes!
find a ROM that is designed for the same CPU type and the same phone manufacturer. Any stock Gingerbread, ICS, or CyanogenMod 7/9 ROM should work, but you’ll have to make sure your phone can handle the ROM – no ICS for an HTC Hero, for example. Also, your Port ROM's original Phone should have the same RESOLUTION with that of your phone's.
You will need:
**Notepad++
**a compression program (WinZip or 7zip and etc)
**the ROM you want to port to your phone (let’s call it the "Port ROM")
**a ROM designed for your phone (let’s call it"Base ROM")
Click to expand...
Click to collapse
This guide may mention some files or directories that aren’t present in your particular ROM; don’t worry, just carry on.
On your PC, extract the .ZIP files containing the two ROMs, and navigate to /system/app in your extracted Port ROM and copy stk.apk, vpnservices.apk, camera.apk, and bluetooth.apk into a temporary directory somewhere else on your PC.
Click to expand...
Click to collapse
Now, delete the following folders from your Port ROM and replace them with the ones from your Base ROM: /data, /system/app, /system/framework, /system/fonts and /system/media.
Click to expand...
Click to collapse
From your Base ROM, copy /system/lib/libandroid_runtime.so to the system/lib/ directory of your Port ROM, overwriting the file.
Click to expand...
Click to collapse
Next up, move the .APKs you copied earlier back into the /system/app directory of your Port ROM.
Click to expand...
Click to collapse
Open up /system/lib in your Port ROM and copy all the files and folders. Paste them into the Base’s /system/lib directory, replacing all. Then go back to the Port ROM and delete the /system/lib folder, and replace it with the /system/lib folder from the Base ROM.
Click to expand...
Click to collapse
Next, navigate to the /system/etc/init.d folder in the Port ROM and do the same copy-from-Port, paste-to-Base, delete-from-Port, copy-from-Base, paste-to-Port shuffle as before.
Click to expand...
Click to collapse
Navigate to /system/etc/permissions and do that same copy-paste dance one more time.
Click to expand...
Click to collapse
open system/build.prop from both the port and the base ROM in Notepad++. Update the Base build.prop to match the values for “ro.build.description=” and “ro.build.fingerprint=” from your Port. Now save the Base build.prop, exit Notepad++, and copy the Base build.prop into the Port ROM, overwriting the Port build.prop.
Click to expand...
Click to collapse
In Notepad++, open \META-INF\com\google\android\updater-script from both your base and port ROMs. Edit the Port’s script to be like the Base’s updater-script: specifically, change, edit, or add the sections for permissions, ui_prints, asserts, run_programs, and installing the kernel. Don’t change any of the symlinks. In the Port script, make sure that the ‘format’ values are appropriate for your device (compare them to the Base script).
Click to expand...
Click to collapse
Finally, make sure that your kernel is specifically for your device.
Click to expand...
Click to collapse
Now, if you desire, you can update any apps you require, or add any tools like BusyBox or SuperSU.
And that’s it! Your base ROM is now ready to be zipped and installed on your device via Clockwork Mod!
SOURCE: http://apcmag.com/port-roms-to-your-android-device.htm
ADDITIONAL INFORMATION:
CUSTOM ROM FOLDERS EXPLAINED
List of Resolution for Smartphones
How to change Kernel of ROM Before installation in its zip file.
[GUIDE][How to Make CWM Recovery Flashable Zip file without Computer]
copy - paste, easy made. nice guide, thanks
30adi said:
copy - paste, easy made. nice guide, thanks
Click to expand...
Click to collapse
Yes but i found the source highly confusing i just "cleaned it up"
Sent from my GT-I9300 using xda premium
Very good job, thank you.
ADDED:
[GUIDE][How to Make CWM Recovery Flashable Zip file without Computer]
I port a ROM but I am getting unknown baseband no imei please tell me how to fix
khan_frd2002 said:
I port a ROM but I am getting unknown baseband no imei please tell me how to fix
Click to expand...
Click to collapse
go to build.prop in /system and edit rild.libpath=
rild.libargs=
to match your device and that should fix it
your guide was just copied by a person from One V forums without giving proper credits.
see here: here
1ceb0x said:
your guide was just copied by a person from One V forums without giving proper credits.
see here: here
Click to expand...
Click to collapse
I see.. he should've given proper credits to the website
Sent from my GT-I9300 using xda premium
changing lib path in buildprob
not work
erm hello, can you put the other guides in your OP? some are in your other posts and it would not be easy for others to see..
nice guide and gonna try this when i got time
:good:
kemaro30 said:
erm hello, can you put the other guides in your OP? some are in your other posts and it would not be easy for others to see..
nice guide and gonna try this when i got time
:good:
Click to expand...
Click to collapse
What "other" guides do you mean?
Sent from my GT-I9300 using xda premium
Hello I Wanted to port Cm7 On a New cpu named as - MediaTek 6573 ! it is an armv6 one ... any suggestions from where to start ....etc ?
I will definitely give this a try.
Great guide. Subscribed!!
ChummyDays said:
Okay, question: what is the point of porting a ROM made for a device with the same CPU and same manufacturer?? there is VERY few phones that are made by the same company and the same cpu!
Click to expand...
Click to collapse
Well that is to ensure "safety" when porting a ROM.. the guide i posted was a beginner's guide on how to port.. as you can see, almost 80% of the procedure is just basically copy&paste..
however, if you have a good background now in codes and porting things, i believe you may not follow step-by-step the procedures i stated above.
Sent from my GT-I9300 using xda premium
mandeep1 said:
Hello I Wanted to port Cm7 On a New cpu named as - MediaTek 6573 ! it is an armv6 one ... any suggestions from where to start ....etc ?
Click to expand...
Click to collapse
Search for other phones with similar cpu
Sent from my GT-I9300 using xda premium
What about dual Sim ph?
Does anyone have any idea what would cause a "Modem Crashed Forced Upload Mode" on a port for SGS3?
I can't seem to pinpoint what causes that (I think it's a kernel panic but I could be wrong)
Looks like this would work on International Note 2 and Tmobile Note 2. They have the exact same hardware and everything. I was wondering about the last statement about kernel. Can't I just copy the boot.img from tmobile note 2 to international note 2 ? would that work ? I am not familiar with kernels and stuff. Need advice.
Thanks

[SM-T700]Edify Definition file for Dsixda's Kitchen

I decided to use Dsixda's kitchen, so I made the file for the Tab S 8.4 Wi-Fi (Klimtwifi).
Here it is. Try it, I think it was correctly made.
Mirror: https://www.androidfilehost.com/?fid=95887005526786375
What is it?
Dsixda's kitchen includes support for several devices, but that list is no longer updated. Meaning, you'd have to set the file up yourself. Dsixda's kitchen must know what are the partitions, the file systems, etc. This file says where the mount points are, for example. Just drag the "klimtwifi" to the /kitchen/tools/edify_defs directory, and you now the kitchen knows how to make the Updater Script for your device.
gnmmarechal said:
Dsixda's kitchen includes support for several devices, but that list is no longer updated. Meaning, you'd have to set the file up yourself. Dsixda's kitchen must know what are the partitions, the file systems, etc. This file says where the mount points are, for example. Just drag the "klimtwifi" to the /kitchen/tools/edify_defs directory, and you now the kitchen knows how to make the Updater Script for your device.
Click to expand...
Click to collapse
Hi, can you perhaps make one for the SM-T800? Just tell me what you need Thanks!
-DUHA
DUHAsianSKILLZ said:
Hi, can you perhaps make one for the SM-T800? Just tell me what you need Thanks!
-DUHA
Click to expand...
Click to collapse
Sure, I can try. I will only need the stock ODIN firmware (which I can get myself) I'll have time to look into it this weekend.
gnmmarechal said:
Sure, I can try. I will only need the stock ODIN firmware (which I can get myself) I'll have time to look into it this weekend.
Click to expand...
Click to collapse
Here are some mirrored T800 firmwares if you need them http://forum.xda-developers.com/showthread.php?p=58633854
Thank you very much!
-DUHA
DUHAsianSKILLZ said:
Here are some mirrored T800 firmwares if you need them http://forum.xda-developers.com/showthread.php?p=58633854
Thank you very much!
-DUHA
Click to expand...
Click to collapse
K. I'll look at them when I have the chance, maybe tomorrow.

Categories

Resources