[DEV]Galaxy S II Plus Development Thread - Samsung Galaxy S II Plus

Hi XDA,
I created this thread for people, who want to talk about developing for our device, the GT-I9105(P). There are not many developers, who own our device, so I think this thread is a good start for people, who want to contribute to this community.
In this thread, you should be able to:
share ideas about fixes for issues, which exist one many ROMs
talk about kernel development
ask any development questions(that means NOT to request fixes for problem X)
share guides for building ROMs, modding your device, building kernels
request help for WIP projects
There are already several guides, which may help you with your problems:
[TUTORIAL] Compile rom from source [S2+]
[GUIDE] Deodexing your custom rom the easy way
[GUIDE] [I9105/P] How to deodex your system without using adb shell
[GUIDE][HOW-TO] How to make a Custom ROM based on Stock ROM the easy way
[HOW-TO] Samsung Galaxy S II Plus - Modding Guides
HOW TO... build kernel-unpack-pack-tar .. boot.img
Please don't ask questions, which don't belong here. I will report them as off-topic.
I will try to answer many questions, but this thread is made for everyone, who loves to help speeding up development for this device.
If you want to know something, just ask and if you know the answer, just answer.

I want to know how to decompile apk in linux
Sent from my GT-I9105 using XDA Premium 4 mobile app

khaledgomgoma said:
I want to know how to decompile apk in linux
Sent from my GT-I9105 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=2213985

Can somebody help me? I am trying to port beanstalk from sii to sii plus i9105p but I get a bootloop. Any help?
Sent from my GT-I9105P using xda app-developers app

TechNoJerky said:
Can somebody help me? I am trying to port beanstalk from sii to sii plus i9105p but I get a bootloop. Any help?
Sent from my GT-I9105P using xda app-developers app
Click to expand...
Click to collapse
I never ported a rom like you do, I suggest you to compile it from source. Else you should better port it from grand

CoolDevelopment said:
I never proted a rom like you do, I suggest you to compile it from source. Else you should better port it from grand
Click to expand...
Click to collapse
kinda hard for me to compile it from source, but heck, i got the device to show the boot animation! before it would only get stuck on the samsung galaxy sii plus screen..

CoolDevelopment said:
http://forum.xda-developers.com/showthread.php?t=2213985
Click to expand...
Click to collapse
Will it work on linux
Sent from my GT-I9105 using XDA Premium 4 mobile app

khaledgomgoma said:
Will it work on linux
Sent from my GT-I9105 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Check the second message of the link to the thread you were given

when i build rom from working folder in kitchen
it has status 0 in cwm while flashing

Brian_SGW_CM9 said:
when i build rom from working folder in kitchen
it has status 0 in cwm while flashing
Click to expand...
Click to collapse
Can you be more detailed please?

Brian_SGW_CM9 said:
when i build rom from working folder in kitchen
it has status 0 in cwm while flashing
Click to expand...
Click to collapse
Look at your updater scripy maybe there is the problem
Sent from my GT-I9105P using xda app-developers app

Android ART or dalvik run time machine is better
Sent from my GT-I9105 using XDA Premium 4 mobile app

awesome cooldev.
i start adding lines in term (ubuntu)
and it says operation not permitted.
i really want to help community, but i need help

cicibanko101 said:
awesome cooldev.
i start adding lines in term (ubuntu)
and it says operation not permitted.
i really want to help community, but i need help
Click to expand...
Click to collapse
Adding lines to what? You are probably not in your directory
Sent from my GT-I9105P using XDA Premium 4 mobile app

Well i started adding lines in Terminal in Ubuntu.
Like in KINGbabasula's thread.
And when i hit enter it says : "Operation not permitted"
So Im stuck on that..
Sent from my GT-I9105P using XDA Premium 4 mobile app

cicibanko101 said:
Well i started adding lines in Terminal in Ubuntu.
Like in KINGbabasula's thread.
And when i hit enter it says : "Operation not permitted"
So Im stuck on that..
Sent from my GT-I9105P using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Then you are in a path outside your home directory or ~/bin/repo is not marked as executable

Thanks, any solution?
Sent from my GT-I9105P using XDA Premium 4 mobile app

cicibanko101 said:
Thanks, any solution?
Sent from my GT-I9105P using XDA Premium 4 mobile app
Click to expand...
Click to collapse
chmod +x ~/bin/repo

CoolDevelopment said:
Can you be more detailed please?
Click to expand...
Click to collapse
i chose some options available in kitchen
build rom from working and made it a zip
but then it says status 0 while i flash it with CWM
i dunno about update binary....

Brian_SGW_CM9 said:
i chose some options available in kitchen
build rom from working and made it a zip
but then it says status 0 while i flash it with CWM
i dunno about update binary....
Click to expand...
Click to collapse
Try to take an update binary from any other rom. And look into the updater script

Related

Samsung Galaxy Next S5570

Hi to all,, i bought this phone, my first android. My request: is there some porting of some roms for this phone?
hXXp://wXX.samsung.com/it/consumer/mobile-devices/smartphones/smartphones/GT-S5570EGAITV/index.idx?pagetype=prd_detail&tab=specification
PDA : S5570XIKA1
PHONE : S5570XXKA5
CSC : S5570ITVKA1
Thanks and sorry for English
try searching s5570
Sent from my GT-S5570 using XDA App
Thanks for answer. I have try already but there is only for mini s5570 a mod kernel, but i'm interest to a mod rom but there is nothing for now. Maybe the Galaxy Next is relatively new...
next is same as mini, pop, tass
Sent from my GT-S5570 using XDA App
there are not modded rom for s5570
Any good news about modded rom for s5570?
Sent from my GT-S5570 using XDA Premium App
Up
Sent from my GT-S5570 using XDA Premium App
Maybe now: I've started developing custom roms for it since a few days. I just want to know, what should be made?
OfficialDenzil said:
Maybe now: I've started developing custom roms for it since a few days. I just want to know, what should be made?
Click to expand...
Click to collapse
Hi and thanks. Well, can you to port cyanogen rom for this phone? And it will be good to overclock without the need to use external software...
Rom with gingerbred, is it possible?
Sent from my GT-S5570 using XDA Premium App
Ill do my best, dunno if i can make gingerbread working. And the port, which phone is it?
Sent from my GT-S5570 using XDA App
OfficialDenzil said:
Ill do my best, dunno if i can make gingerbread working. And the port, which phone is it?
Sent from my GT-S5570 using XDA App
Click to expand...
Click to collapse
Hi, well, i dunno from wich phone the porting will better, but the firmware is this: cyanogenmod.com
Sent from my GT-S5570 using XDA Premium App
Ill run it virtually soon, so I can see the interface. But first I must be able to extract the system files.. Which is a pain for the GT-S5570
OfficialDenzil said:
Ill run it virtually soon, so I can see the interface. But first I must be able to extract the system files.. Which is a pain for the GT-S5570
Click to expand...
Click to collapse
Can you download the firmware from samsung firmware here: http://www.samfirmware.com/WEBPROTECT-s5570.htm
Allready got those, but I need to extract the rom files. But even the ubuntu way doesn't work
OfficialDenzil said:
Allready got those, but I need to extract the rom files. But even the ubuntu way doesn't work
Click to expand...
Click to collapse
ok, i understand
Good luck Mr. OfficialDenzil.
@OfficialDenzil
can you add HID support so we can use bluetooth keyboards
Support Mr. officialdenzil, gingerbread I'll waiting you alone till I die
Busy.with it
Sent from my GT-S5570 using XDA App
GB now confirmed by Samsung for s5570!
source: twitter.com/samfirmware

Android Visual Development

Hi All,
Is there any way to develop ROMs using software like VISUAL STUDIO/
Thanks!
I'm asking because I am not so good in Coding
Did you try the currently available tools? I feel that open source tools for development in Linux or cygwin are usually only text based.
Sent from my GT-S5360 using xda app-developers app
cnayan said:
Did you try the currently available tools? I feel that open source tools for development in Linux or cygwin are usually only text based.
Sent from my GT-S5360 using xda app-developers app
Click to expand...
Click to collapse
Can you please provide me the link which you are talking about?
Thanks!
I am still waiting for someone to help me out ....
you can google for "UOT Kitchen". I haven't tried, but I heard you can make your own ROM online using the tool.
if you want to build from scratch, you need to know a lot about programming. and I don't think there is an integrated visual tools for that.
http://forum.xda-developers.com/showthread.php?t=1661770
Sent from my GT-S5360 using xda app-developers app
cnayan said:
http://forum.xda-developers.com/showthread.php?t=1661770
Sent from my GT-S5360 using xda app-developers app
Click to expand...
Click to collapse
Thanks and I will look into it
I got to know that there is some software through which we can modify CUSTOMIZED roms as well. Anyone knows about it?
I will appreciate if someone could help me out in this case!
Thanks!

port of aokp 4.2 ???

I tried to port for personal use from a Samsung att galaxy s3 with has the same chip set and an amoled screen but I couldn't sign my zip after I created the ROM . could somebody else please please please port this rom over to our device ? the one benefit would be a working 4.2 camera .
any thoughts ?
Sent from my One S using xda app-developers app
raidrom said:
I tried to port for personal use from a Samsung att galaxy s3 with has the same chip set and an amoled screen but I couldn't sign my zip after I created the ROM . could somebody else please please please port this rom over to our device ? the one benefit would be a working 4.2 camera .
any thoughts ?
Sent from my One S using xda app-developers app
Click to expand...
Click to collapse
Turn off signature checking in recovery settings and you will be able to flash it without a signature check.
Sent from my HTC One S using Tapatalk 2
I tried . but you know what I used a cm10 as a base for a kernel . should have used like a 10.1
Sent from my One S using xda app-developers app
raidrom said:
I tried . but you know what I used a cm10 as a base for a kernel . should have used like a 10.1
Sent from my One S using xda app-developers app
Click to expand...
Click to collapse
that's most likely gonna cause some issues somewhere, I don't think it'll stop you from flashing though.
ohh and when I did the port I followed the guide to a "t" and the one thing I might have messed up was the updater script . cause it seemed as if the partition details were incorrect or something . I dunno .anyone else want to try ? there is lots of guides here on xda in just the android development section
Sent from my One S using xda app-developers app
raidrom said:
I tried to port for personal use from a Samsung att galaxy s3 with has the same chip set and an amoled screen but I couldn't sign my zip after I created the ROM . could somebody else please please please port this rom over to our device ? the one benefit would be a working 4.2 camera .
any thoughts ?
Sent from my One S using xda app-developers app
Click to expand...
Click to collapse
Their cam wont work on ours...almost certain...or else xkonni and the other devs would have done this already and had it working for our devices.....but good luck on the porting
droidkevlar said:
Their cam wont work on ours...almost certain...or else xkonni and the other devs would have done this already and had it working for our devices.....but good luck on the porting
Click to expand...
Click to collapse
I was thinking the same but the ATT S3 does have the same chip as us.
Darknites said:
I was thinking the same but the ATT S3 does have the same chip as us.
Click to expand...
Click to collapse
They are not the same...just asked xkonni about it on irc but he said they are making moves on getting it working for 10.1
Why port? Just compile it! There are also alot of guides to do so.
Sent from my HTC One S using Tapatalk 2
droidkevlar said:
They are not the same...just asked xkonni about it on irc but he said they are making moves on getting it working for 10.1
Click to expand...
Click to collapse
Must of been half asleep lol somehow miss it was on about camera, I know they not same.
to compile do you need Linux ? I was just using Windows
Sent from my One S using xda app-developers app
raidrom said:
to compile do you need Linux ? I was just using Windows
Sent from my One S using xda app-developers app
Click to expand...
Click to collapse
Oh yes you do. I'm trying to compile it since 4.2 Aokp is out.
Sent from my HTC One S using Tapatalk 2
You must use Linux or a virtual machine
Sent from my One S using xda app-developers app

We Need DUALBOOT on our awesome device (GT-I9103)

It would be great if our great Devs get us dualboot on our devices :fingers-crossed:
i think we already discussed it before.
Sent from my GT-I9103 using xda premium
Siyah kernel
Sent from my GT-I9103 using xda app-developers app
kartiknnn said:
Siyah kernel
Sent from my GT-I9103 using xda app-developers app
Click to expand...
Click to collapse
Will that kernel come on our device?
nilesh19932 said:
Will that kernel come on our device?
Click to expand...
Click to collapse
No it wont work .....
mj.vikram said:
No it wont work .....
Click to expand...
Click to collapse
How to port kernels?? Is der anyway??
Sent from my GT-I9103 using xda premium
Bhavik Jain said:
How to port kernels?? Is der anyway??
Sent from my GT-I9103 using xda premium
Click to expand...
Click to collapse
never heard of porting kernel buddy, only we can compile it i guess...may be i am wrong also..
I already asked Siyah Kernel Dev for porting / making a kernel for us. But he simply denied. I sent Github link to Adam/Selva buddy, may b after there work they will look into it. Its not impossible but very hard to make Dual boot kernel.:angel:
kataria.vikesh said:
I already asked Siyah Kernel Dev for porting / making a kernel for us. But he simply denied. I sent Github link to Adam/Selva buddy, may b after there work they will look into it. Its not impossible but very hard to make Dual boot kernel.:angel:
Click to expand...
Click to collapse
I know Gokhan
I will ask him to port or to tell me how to port!!
kartiknnn said:
I know Gokhan
I will ask him to port or to tell me how to port!!
Click to expand...
Click to collapse
Then ask him. reply then. Waiting.
Asked waiting for reply. :fingers crossed:
Sent from my GT-I9103 using xda app-developers app
Gokhan is very busy these days but he is ready to guide me
I will try after learning c and github
Sent from my Micromax A87 using xda app-developers app
AW: We Need DUALBOOT on our awesome device (GT-I9103)
I'm working on it but I don't know if it will work
Sent from my Galaxy Nexus using xda app-developers app
Grarak said:
I'm working on it but I don't know if it will work
Sent from my Galaxy Nexus using xda app-developers app
Click to expand...
Click to collapse
Great...Intel also announced Dual boot for his mobiles in Android 4.2.2. I posted that in News thread.
Ohh greaaat that will be very usefull
Sent from my GT-I9103 using xda premium
What do you exactly mean by dual booting? A kernel that can be flashed over many roms and can boot with them OR a kernel that can boot two (or more) different roms with separate files and data?
Adam77Root said:
What do you exactly mean by dual booting? A kernel that can be flashed over many roms and can boot with them OR a kernel that can boot two (or more) different roms with separate files and data?
Click to expand...
Click to collapse
.
Kernel that can boot 2 ROM's.
Adam, you should look to this thread http://forum.xda-developers.com/showthread.php?t=2183721
I will be beginning kernel development from 26th March. To my second kernel I will add dual boot by my mentor's help.
My mentors are Adi_Pat and gokhanmoral.
Started from the bottom

Unpacking kernel

There are too many programs that is used to edit boot.img but after editing it, I always get stuck on fastboot or secure booting error.No problem at kitkat kernels but lp/mm kernels are problematic.Any ideas?
You need to have bump your repacked kernel. You can look for it here in G2 forums or G3.
Sent from my LG-D802 using XDA Premium 4 mobile app
krija said:
You need to have bump your repacked kernel. You can look for it here in G2 forums or G3.
Sent from my LG-D802 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Do cm kernels need bumping?
I think, yes. Here is little quote from lambda kernel thread:
Q.*How to install this kernel?
A.*Download the version you'd like to use and flash using a custom recovery like*TWRP. Be sure to use a bump-ready bootstack*for your variant. You should know all this once you're here.
Click to expand...
Click to collapse
Sent from my LG-D802 using XDA Premium 4 mobile app
krija said:
I think, yes. Here is little quote from lambda kernel thread:
Sent from my LG-D802 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
thanks, I will try.
wzedlare said:
There are too many programs that is used to edit boot.img but after editing it, I always get stuck on fastboot or secure booting error.No problem at kitkat kernels but lp/mm kernels are problematic.Any ideas?
Click to expand...
Click to collapse
I have a script that can unpack and repack a boot.img
Maybe this can help you to continue your work
http://forum.xda-developers.com/lg-g2/development-d802/kernel-lp-alternative-build-stock-t3141002
didhiy said:
I have a script that can unpack and repack a boot.img
Maybe this can help you to continue your work
http://forum.xda-developers.com/lg-g2/development-d802/kernel-lp-alternative-build-stock-t3141002
Click to expand...
Click to collapse
blastagator's bump zip solved the problem, even so thank you :good:

Categories

Resources