[Xperia S][Devs needed] CWM restore option - Sony Xperia P, U, Sola, Go

Hallo,
i noticed that on my kernel (XSX kernel) the CWM restore option is broken?
can someone help to fix this or is the cwm for ics on the Xperia S not finished?

I'm using advanced stock build 11. Its restore option works great. Arakmar shares his CWM source here https://github.com/Arakmar/cwm5-g3mod. Not sure this can be applied with your kernel but I hope it will help.
Edit: Oops.. Sorry. The URL I provided seems for another device. The recovery source for XS used to be https://github.com/Arakmar/android_bootable_recovery but it doesn't exist now.

Hi i had fund the sources but how i can compile it?
Sent from my LT26i using xda premium

mericon said:
Hi i had fund the sources but how i can compile it?
Sent from my LT26i using xda premium
Click to expand...
Click to collapse
You need to build it in-tree with a full android repo.

so i have to find an repo that full Xperia S rom Sources?

Hi guys,
it seems that the problem with restoring is bigger than i thought, but i also thing we should be able to fix it so we should use this thread to discus about it.
What i get in kmsg is:
http://pastebin.com/Av0krMA2
so te faults "make_extf4fs" maybe refer to device permissions?
Or do you think it is the emmc? Or partition table?
Feel free to use this thread to discuss about it every help is wanted

Related

[Q] Some clarification and Assistance needed please...

OK so I'm really sorry if this has been discussed before but I've searched around and really found nothing that makes any sense to me. A bit about me, I'm a software developer and I'm trying to get into this rom building etc deal but the more I read about it the more complex it gets so I need a few things clarified for me.
From my understanding the rom is the os itself and the baseband is some sort of interface between hardware and the os??
What is the purpose of the kernel? how can I flash the kernel? Is it possible to only flash the kernel? is there away to go back to stock kernel and how?
I tried using some "stock" kernels in a few thread then slapped on the latest MIUI IRIS 1.5 rom with bb52 and no radio or wifi, assuming bad kernel?
Where and how would I be able to get the source code to get started developing myself?
Again really sorry for the n00b questions, but I did do searches for several days and spent hours on this site, maybe just not asking the right questions. All help and advice is greatly appreciated and hopefully I can start helping out soon.
To start to help u, you have your phone rooted, with the latest busybox, with xrecovery i am assuming?
If u don't, post again and the members here including me will help u out.
I will post links with guides to help u when u give an answer back.
Sent from XDA Premium from my X10a rooted running 2.2.1 CM Rom from Rendeiro2005
Yes phone is rooted and been playing around with a few different roms already, although I may have just bricked my phone, can't even get into xRecovery anymore . Never installed busybox though, have no idea what its used for but I'll get on that as soon as I can get it to boot again. Thanks
Use seus to repair your phone. That is Sony Ericsson software.
If that doesnt work, try flashtool
Sent from XDA Premium from my X10a rooted running 2.2.1 CM Rom from Rendeiro2005
Voelker45 said:
Use seus to repair your phone. That is Sony Ericsson software.
If that doesnt work, try flashtool
Sent from XDA Premium from my X10a rooted running 2.2.1 CM Rom from Rendeiro2005
Click to expand...
Click to collapse
Flashtool saved the day!
Voelker45 said:
To start to help u, you have your phone rooted, with the latest busybox, with xrecovery i am assuming?
If u don't, post again and the members here including me will help u out.
I will post links with guides to help u when u give an answer back.
Sent from XDA Premium from my X10a rooted running 2.2.1 CM Rom from Rendeiro2005
Click to expand...
Click to collapse
Ok I think I'm ready to move on, Phone is rooted using Flashtool and I noticed that it installs busybox with the root, also reinstalled xRecovery to install TripNMIUI IRIS 1.5 on bb52 which works great so far.
So of i understand, u want to install that ROM or have u installed it already?
Sent from XDA Premium from my X10a rooted running 2.2.1 CM Rom from Rendeiro2005
Voelker45 said:
So of i understand, u want to install that ROM or have u installed it already?
Sent from XDA Premium from my X10a rooted running 2.2.1 CM Rom from Rendeiro2005
Click to expand...
Click to collapse
Its all installed now.
The original purpose of this thread is to get me started on possibly developing my own roms. Like where do I get the source code? what language is this written in, is it C, C++, or Java like the apps? what tools do I need to get started? etc.
Thanks
ChappyK said:
Its all installed now.
The original purpose of this thread is to get me started on possibly developing my own roms. Like where do I get the source code? what language is this written in, is it C, C++, or Java like the apps? what tools do I need to get started? etc.
Thanks
Click to expand...
Click to collapse
The programing of creating ROMS themselves is out of my league big time. I can't help you in that department at all. I can though say to either put that question out in the Q and A or lastly, PM a developer here to at least get you some info. But the PM answer do come slowly since its on their personal time. Hope this helps.
He already posted in q&a... This thread! But changing the title to "How do I get started building roms?" or something similar will get you more & better answers.
Search XDA for "Rom kitchen" or "cooking roms". If you search "Xperia kitchen" I think there is a thread where you can download the programs and resources for your workspace. Look around in android development for useful threads & stickies too.
That's all i got lol, hope it helps
Sent from my X10a using XDA App
AyDee said:
He already posted in q&a... This thread! But changing the title to "How do I get started building roms?" or something similar will get you more & better answers.
Search XDA for "Rom kitchen" or "cooking roms". If you search "Xperia kitchen" I think there is a thread where you can download the programs and resources for your workspace. Look around in android development for useful threads & stickies too.
That's all i got lol, hope it helps
Sent from my X10a using XDA App
Click to expand...
Click to collapse
Sweet thanks for the advice, this should at least get me asking the right questions
ChappyK said:
Its all installed now.
The original purpose of this thread is to get me started on possibly developing my own roms. Like where do I get the source code? what language is this written in, is it C, C++, or Java like the apps? what tools do I need to get started? etc.
Thanks
Click to expand...
Click to collapse
if u are interested in building ROMs i highly recommend that u check out:
dsixda's Android Kitchen
as for ROM sources...
Android Open Source Project (generic Android sources)
CyanogenMod Sources (a popular branch of android)
FreeXperia Project (specific to SE Xperia X10/X8)
sources are mostly C (C++)...
apps are using Java...
DooMLoRD said:
if u are interested in building ROMs i highly recommend that u check out:
dsixda's Android Kitchen
as for ROM sources...
Android Open Source Project (generic Android sources)
CyanogenMod Sources (a popular branch of android)
FreeXperia Project (specific to SE Xperia X10/X8)
sources are mostly C (C++)...
apps are using Java...
Click to expand...
Click to collapse
+1 Thanks

[Q] SE LWW - new fresh rom from source

Hi,
I'd like to create my custom rom to LWW. WHere can I found source for android used in this mobile?
I found kernel sources on developer sonymobile com
But where can I found rest?
Regards
ajesik said:
Hi,
I'd like to create my custom rom to LWW. WHere can I found source for android used in this mobile?
I found kernel sources on developer sonymobile com
But where can I found rest?
Regards
Click to expand...
Click to collapse
Start by editing stock ROM files, so that you can understand how Android works etc.
And of course, learn from mistakes.
Sent from my Xperia Live using xda premium
Thank you, but I'd like to ownload source code
There is no source. Just take stock ROM and then edit it as much as you want.
If you have stock ROM on your phone, just pull system folder via ADB and start editing.
Sent from my Xperia Live using xda premium
You can learn how to create a custom rom Here
i think you could get the CM source, don't think sony will release their sources.
http://wiki.cyanogenmod.com/wiki/Building_from_source

[U] Kernel 3.4 Dev

Hi guys!
I've just seen that in the igloocommunity site today has been released a new ICS rom running on top of 3.4 kernel.
So, I downloaded the kernel file, converted the uImage in zImage and merged with FXP204 ramdisk. Actually i didn't yet tested it, because I haven't enaugh time today.
What I've used:
uImage to zImage tools: http://buffalo.nas-central.org/wiki/How_to_Extract_an_uImage
KeiranFTW kitchen (big thanks to him): http://forum.xda-developers.com/showthread.php?t=1513146
And here it is:
won't work!
zimage is device specific, you cant just use one from another device. you need to compile zimage from source, which isn't possible yet, because there aren't any sources for xperia devices.
You will get 3.4 kernel after xperia p jellybean release.
nickholtus said:
won't work!!!
zimage is device specific, you cant just use one from another device.
You will get 3.4 kernel after xperia p jellybean release
post reported
Click to expand...
Click to collapse
Uh!
I thought that with that ramdisk this should have worked.
BTW I was just trying doing and learnig something
yeah, but ramdisk isn't a problem, ramdisk is less device specific
Zimage cotains all drivers for display, bootloader, wifi, bluetooth, sound and everything else
Ok!
Thanks!
i installed
its very good
tnx
You mean flashed? Make a screenshot, because it is impossible
Sent from my LT22i using xda app-developers app
nickholtus said:
You mean flashed? Make a screenshot, because it is impossible
Sent from my LT22i using xda app-developers app
Click to expand...
Click to collapse
He is kidding
Best part is that he also gave his opinion "its very good"
As if he went from speed of sound to speed of light..... Lmao
yeah i know, but xda isn't just kidding

[DEVS] JB on Locked Bootloader [Building Ramdizk][W.I.P]

ANDROID RAMDIZK FOR JB ON XPERIA U​
Hi all, my purpose is to create a mount point for the android system jb, according to knowledge, with modifications you can start ramdizk latest android on the same kernel.
ACCORDING TO MY EXPERIENCE IN JB ICS AND LIBRARIES USED FOR THE SAME IN THIS CASE MALI400 GPU, so it's nothing to make forced changes in the kernel.
What you need to do is make changes to the ramdizk.
You can obtain these files from a jb kernel and extract the ramdizk creating mount points for the start of the software ...
I invite you to participate and contribute to achieving ramdizk, I'm working on this ...
IN X8 SECTION, IS POSSIBLE BOOT ANDROID 2.2 AND 2.3 ON STOCK KERNEL WITH MODIFICATIONS ON RAMDIZK
Based on some reference books I read, an Android system starts up in following main steps:
CPU reads a hard-coded address which usually points to some bootloader program
The bootloader initializes the RAM, puts basic hardware in a quiescent state, loads the the kernel and RAM disk, and jumps to the kernel.
start_kernel() initializes subsystems and proceeds to call the init function of built-in drivers.
The kernel mount its root system (from ramdisk.img).
init.rc is then called to set up the environment variables such as system path, mount other filesystems, start native daemons and so on.
Now, to answer your question: "Is it possible to mount a ramdisk in Android before the Android framework starts, but after the underlying Linux kernel has started?" -- I think this is exactly what android did.
INITS
The fixes required for ramdisk.tar :
init.rc file should have 2 parts from original sony init.rc that are marked as #SEMC
add original init.delta.rc and init.delta.sh from sony or one of my ramdisks, those are responsible for service declarations.
THIS IS A KERNEL FOR GB, ICS AND JB NAA KERNEL
Ramdizk Inector tool
INIT FOR JB HERE
IM ALREADY HAVE THE ROM... IM NEED BOOTIMG FROM JB... ONLY INITS AND COMPILE THIS... WE CAN USE ATIS RAMDISK AS A BASE
PROGRESS
I AM STARTING TO WORK ON THIS
IM WORKING ON THIS...
Interesting....i can help
You can close the thread
jb need new graphics driver into KERNEL
DevSwift1 said:
You can close the thread
jb need new graphics driver into KERNEL
Click to expand...
Click to collapse
NOT NECESARY....
REALLY NOW WHAT I CAN DO, NOT LIKE YOU, CM10.1 COMPILED FROM SOURCES WITHOUT MORE THAN BIG CHANGE CAMERA SOLUTION, NOT MAKE ME LAUGH, I'll show WHAT REALLY IS A JOB.
JB CAN WORK WITH THEIR DRIVERS FOR ICS AND WITH THE SAME BLOBS, already checked ON XPERIA X8
xperiafan13 said:
NOT NECESARY....
REALLY NOW WHAT I CAN DO, NOT LIKE YOU, CM10.1 COMPILED FROM SOURCES WITHOUT MORE THAN BIG CHANGE CAMERA SOLUTION, NOT MAKE ME LAUGH, I'll show WHAT REALLY IS A JOB.
Click to expand...
Click to collapse
ok so show what you can do
could this mean a bug free jellybean?
lol so you are comparing X8 with Xperia U? really? go on and do something then you smart455 LOL
it would be worth a try, imagine, jelly bean on locked bootloader
leave him alone he is the only one that is helping us and we have asked you all so many times to help and now someone suggest something you argue
Dear brother, I was a X8 user and a fan of your stock SGM CM7. I agree with the fact that stock ramdisk can goes a long way. But brother, it is not the same here in Xperia U. But I'm waiting for you to hear good news
P.S: Our X8 cannot run 4.0 and up well. You know that. And also CM7 is a big laggy. At some point, it will be same here for booting up JB with ICS ramdisk
Sent from my ST25i using Tapatalk 2
---------- Post added at 05:47 AM ---------- Previous post was at 05:46 AM ----------
DevSwift1 said:
ok so show what you can do
Click to expand...
Click to collapse
We shall see
Sent from my ST25i using Tapatalk 2
HELLO
Im already pack all files from jb ramdisk... Please test this with atis patch
REMOVED
xperiafan13 said:
Im already pack all files from jb ramdisk... Please test this with atis patch
RAMDISK ALPHA
Click to expand...
Click to collapse
You try first
Sent from my ST25i using Tapatalk 2
little zed said:
you try first
sent from my st25i using tapatalk 2
Click to expand...
Click to collapse
im make the current changes to test this....
xperiafan13 said:
im make the current changes to test this....
Click to expand...
Click to collapse
Provide screenshot if you really booted man.
Sent from my ST25i using Tapatalk 2
little zed said:
provide screenshot if you really booted man.
sent from my st25i using tapatalk 2
Click to expand...
Click to collapse
progress:
Well finally i can compile in tar format
already mount ramdisk, but this is recovery mode
IM NEED MAKE CHANGES AND DELETE SOME FILES IM ONLY NEED MOUNT SYSTEM AND ALL IS DONE
xperiafan13 said:
progress:
Well finally i can compile in tar format
already mount ramdisk, but this is recovery mode
IM NEED MAKE CHANGES AND DELETE SOME FILES IM ONLY NEED MOUNT SYSTEM AND ALL IS DONE
Click to expand...
Click to collapse
the method to properly pack ra.disk in tar is on atis112 his firedroid git repo,s
Sent from my S500 using xda app-developers app
SpaceCaker said:
the method to properly pack ra.disk in tar is on atis112 his firedroid git repo,s
Sent from my S500 using xda app-developers app
Click to expand...
Click to collapse
Waiting
Sent from my ST25i using Tapatalk 2
Sorry for spamming, i am not a developer, just a ROM tester and active member on XDA....reading all posts and i can't understand many things like TAR etc.... This trhead wants to achieve having JB on locked Bootloader? If so, this is simply great and KEEP GOING!
Ready to test! I don't care if I brick my phone! I just want JB on my xperia u LB! And leave @xperiafan13 because he is the only one trying, if it works works if not thanks for trying!
Sent from my Xperia U using xda app-developers app
SpaceCaker said:
the method to properly pack ra.disk in tar is on atis112 his firedroid git repo,s
Sent from my S500 using xda app-developers app
Click to expand...
Click to collapse
you can also use winrar or ubuntu to just change the files inside one of the existing ones from atis, it does work afaik
i modified the current atis ramdisk with stuff from the XNovathor 4.0.4 Ramdisk in order to make XNovathor 4.0.4 boot on LockedBL, just drag and drop worked fine i guess, but yeah there are troubles in mounting some partitions, i think i forgot to change something lolz

cm for trend plus (GT-S7580

Someone please make CyanogenMod for Samsung Galaxy Trend Plus GT-S7580. I and other guys who owns that device would be very happy about it. If someone does that post the recovery install package here and post it to cyanogen mod so they add it to the easy installer. I want CWM recovery for my device too but its not so important.
aleksi kuuramaa said:
Someone please make CyanogenMod for Samsung Galaxy Trend Plus GT-S7580. I and other guys who owns that device would be very happy about it. If someone does that post the recovery install package here and post it to cyanogen mod so they add it to the easy installer. I want CWM recovery for my device too but its not so important.
Click to expand...
Click to collapse
Hi! I could get an CWM recovery with this guide: http://forum.xda-developers.com/showthread.php?t=2621087
thanks for the cwm
gonna try that i think it works but the cmod is the most important to me
cwm works fine
i tried the cwm and works fine but if the cyanogen mod is for my device post a link so i can get it
All should post here to add support for trend plus http://forum.xda-developers.com/showthread.php?p=49806727 . Goodluck
Too much pages getting it for this device will take very long time
Sent from my GT-S7580 using xda app-developers app
Somebody please do it i dont care anymore how i install it can be md5 gz zip or something
Sent from my GT-S7580 using xda app-developers app
aleksi kuuramaa said:
Somebody please do it i dont care anymore how i install it can be md5 gz zip or something
Sent from my GT-S7580 using xda app-developers app
Click to expand...
Click to collapse
The only way you will have an cm, I tried diffrent version and no one worked. Do u have an big sdcard? If so, go to the cwm and backup your rom. put it on a zip and send to the cyanogen mod crew, so they can port it.
My sd card is very small but i know someone knows how to make and mod roms because i know a little bit how it works but not much
Sent from my GT-S7580 using xda app-developers app
Please try mod the kernel and everything what is needed someone can do it i know it try make it for this device
Sent from my GT-S7580 using xda app-developers app
Can i get it with modding my phone rom or doing something to my phone (buying new is not an option for me)
Sent from my GT-S7580 using xda app-developers app
I can port cm if someone can make the kernel compatible with cm we will have a custom ROM. It's easier to do then most of u think.
UPDATE: I will do needed edits in our stock kernel to get it to boot into cm10.2. However we will still need a proper kernel compiled to have it fully working. Doing it this way will break some functions but I will do my very best to fix bugs. I will get it to the stage of making calls SMS and data working then I will pass the ROM on to other developers to take over. That's best I can offer. Thanks
If you know any kernel developers please get them to PM me thanks
fastfix2013 said:
I can port cm if someone can make the kernel compatible with cm we will have a custom ROM. It's easier to do then most of u think.
UPDATE: I will do needed edits in our stock kernel to get it to boot into cm10.2. However we will still need a proper kernel compiled to have it fully working. Doing it this way will break some functions but I will do my very best to fix bugs. I will get it to the stage of making calls SMS and data working then I will pass the ROM on to other developers to take over. That's best I can offer. Thanks
If you know any kernel developers please get them to PM me thanks
Click to expand...
Click to collapse
Hey mate, I've just got a Galaxy Trend Plus (GT-S7580) and I started to look for some custom ROMs, but I can't find much about it, do you know something about any development progress with custom ROMs for this device?
Thanks in advance!
MantisEngine said:
Hey mate, I've just got a Galaxy Trend Plus (GT-S7580) and I started to look for some custom ROMs, but I can't find much about it, do you know something about any development progress with custom ROMs for this device?
Thanks in advance!
Click to expand...
Click to collapse
I'm also interested in some CM ROM for this phone. Unfortunately it looks like no custom ROM is available yet. I'm afraid I have to learn how to create one
+1
Is there anybody who can port CM for this phone? I would very appreciate it. I own this phone so if there is someone willing to do this I am ready to help him if he will need something from the phone - files, etc. ( I do not actually know what is needed for porting the ROM.)
WE WANT CyanogenMod FOR Galaxy Trend Plus GT-S7580L
Yes me too
I have a samsung galaxy trend plus and i want a CM for it :angel:
I have the knowlegde of porting roms but it really won't be easy..
I can start porting it after 2weeks (im at vacation now) and trust me guys i really going to start with it will also take alot of time because its very hard and im also busy with projects for the Trend and Galaxy fame
fastfix2013 said:
I can port cm if someone can make the kernel compatible with cm we will have a custom ROM. It's easier to do then most of u think.
UPDATE: I will do needed edits in our stock kernel to get it to boot into cm10.2. However we will still need a proper kernel compiled to have it fully working. Doing it this way will break some functions but I will do my very best to fix bugs. I will get it to the stage of making calls SMS and data working then I will pass the ROM on to other developers to take over. That's best I can offer. Thanks
If you know any kernel developers please get them to PM me thanks
Click to expand...
Click to collapse
Unfortionally its not so easy
We must build from scratch without any compatible sources..
I have some friends ( @SeannyM @wulsic) who also ported cm to their device without any sources so i can ask their help when i start with it.
Sent from my GT-S7560M using XDA Premium 4 mobile app

Categories

Resources