[ROM][D2303] Resurrection Remix - Sony Xperia M2

RR-L (no cam)
https://onedrive.live.com/redir?resid=A8E8D2CE3C5C608!15015&authkey=!ACVNYTN7eKOiMpw&ithint=file,zip
install it as usual, in TWRP...wipe system/data/cache...install .zip
(NFC drains the battery and doesn't work, uninstall it with some of the root uninstallers)

??

andres_vlc said:
??
Click to expand...
Click to collapse
ummm sorry for no more description
ResurrectionRemix ROM for D2303, camera doesnt work

quake73 said:
RR-L (no cam)
https://onedrive.live.com/redir?resid=A8E8D2CE3C5C608!15015&authkey=!ACVNYTN7eKOiMpw&ithint=file,zip
Click to expand...
Click to collapse
Ok what about trying to fix some bugs this time? You do a great job building all these roms but you dont actually test or do proper "porting",I'll try to help!
I assume you use this kernel https://github.com/SonyAosp/kernel/commits/lp-5.1 and everything with the lp-5.1 tag...
1)NFC not working
You patch your sources properly like sony says in it's official guide,search the ROM's github to see if they use custom frameworks,hardware layers etc..you have to patch some things up to get everything working!
Also you have to change some things in device configuration (like the NFC hal name )

You can edit the post and explain the bugs and known issues
how to install? etc etc

Konstantinosj77 said:
Ok what about trying to fix some bugs this time? You do a great job building all these roms but you dont actually test or do proper "porting",I'll try to help!
I assume you use this kernel https://github.com/SonyAosp/kernel/commits/lp-5.1 and everything with the lp-5.1 tag...
1)NFC not working
You patch your sources properly like sony says in it's official guide,search the ROM's github to see if they use custom frameworks,hardware layers etc..you have to patch some things up to get everything working!
Also you have to change some things in device configuration (like the NFC hal name )
Click to expand...
Click to collapse
oh man, i dont patch anything...except a few minor things, this really goes smooth like knife through butter
i admit, cm isnt working (12/13), pac6, rr6, with Benevolent and with Sony vendor files...
honestly, i dont care about nfc (ok, a working camera would be nice but thats out of my league)...i just share what i built, roms that are acceptably ok, noone shared a rom since 11.2015 so, here are some toys to play with

quake73 said:
oh man, i dont patch anything...except a few minor things, this really goes smooth like knife through butter
i admit, cm isnt working (12/13), pac6, rr6, with Benevolent and with Sony vendor files...
honestly, i dont care about nfc (ok, a working camera would be nice but thats out of my league)...i just share what i built, roms that are acceptably ok, noone shared a rom since 11.2015 so, here are some toys to play with
Click to expand...
Click to collapse
So you share a rom that can work better and you dont care to fix it?! Man..i remember you saying "I wanna learn more about the build system and how android is built" what happened?!

Konstantinosj77 said:
So you share a rom that can work better and you dont care to fix it?! Man..i remember you saying "I wanna learn more about the build system and how android is built" what happened?!
Click to expand...
Click to collapse
)))....I havent reached that stage yet
and, if you ask me...the latest Sony software is the best rom for our phones.

nice work bro..but on your file just boot.img,system.img and userdata.img how to success instaal via trwp bro?

Konstantinosj77 said:
So you share a rom that can work better and you dont care to fix it?! Man..i remember you saying "I wanna learn more about the build system and how android is built" what happened?!
Click to expand...
Click to collapse
Do you know of any tool that thedevelopers use? Right now, all that I use is a text editor and google search for eliminating errors. Some kind of an IDE, that would make navigating the source code easier?

Omg RR rom [emoji38] but look you cant make camera work,i will wait until it work )
Sent from my D2305 using XDA-Developers mobile app

Nfc not work. Led not work

andres_vlc said:
Nfc not work. Led not work
Click to expand...
Click to collapse
true, corrected my first post, notified about nfc

Quake73 look Pm pls

quake73 said:
Do you know of any tool that thedevelopers use? Right now, all that I use is a text editor and google search for eliminating errors. Some kind of an IDE, that would make navigating the source code easier?
Click to expand...
Click to collapse
I don't know anything android specific,but a good IDE is geany
BTW i use a text editor too (pluma)
I'm syncing sources right now (using the lollipop5.1 branch of rr) hope we use the same
Let's focus on this ROM for a while

Konstantinosj77 said:
I don't know anything android specific,but a good IDE is geany
BTW i use a text editor too (pluma)
I'm syncing sources right now (using the lollipop5.1 branch of rr) hope we use the same
Let's focus on this ROM for a while
Click to expand...
Click to collapse
yeah, it is on my phone right now, seems good, gave up AOKP, had to give up of some rom, I had too many on my disk. But replaced it with aosp from SonyAosp. (its uploading right now, aosp6)
i use gedit as my IDE
So ok, you mentioned something about fixing the roms that i'm posting. What exactly should i do, what to look for? Performance, light/proximity sensors?
Are some of those .so files from the stock rom (that should be in the vendor folder) + stock kernel the key to making camera, sensors etc. work in any rom?

quake73 said:
yeah, it is on my phone right now, seems good, gave up AOKP, had to give up of some rom, I had too many on my disk. But replaced it with aosp from SonyAosp. (its uploading right now, aosp6)
i use gedit as my IDE
So ok, you mentioned something about fixing the roms that i'm posting. What exactly should i do, what to look for? Performance, light/proximity sensors?
Click to expand...
Click to collapse
For GPS,sensor was not working on DU6 you uploaded,the reason is that you didn't patch it like this https://github.com/omnirom/android_hardware_qcom_gps/commit/2b112bb17f7a76247d135bcae6ae87e56f4ec054
For performance,I've seen ZRAM commit on sony's github,I'll try it today and post the results
NFC works on Lollipop roms (dont try on MM it needs a new blob) but you have to use the correct naming in the device config (libnfc-brcm.conf)
Omni6 uses
Code:
NCI_HAL_MODULE="nfc_nci"
but CM12.1
Code:
NCI_HAL_MODULE="nfc_nci.pn54x"
(I'm not sure on that... @galaxyfreak knows for sure)
quake73 said:
Are some of those .so files from the stock rom (that should be in the vendor folder) + stock kernel the key to making camera, sensors etc. work in any rom?
Click to expand...
Click to collapse
Yes but it's not that simple,you have to use CAF frameworks too

Konstantinosj77 said:
For GPS,sensor was not working on DU6 you uploaded,the reason is that you didn't patch it like this https://github.com/omnirom/android_hardware_qcom_gps/commit/2b112bb17f7a76247d135bcae6ae87e56f4ec054
For performance,I've seen ZRAM commit on sony's github,I'll try it today and post the results
NFC works on Lollipop roms (dont try on MM it needs a new blob) but you have to use the correct naming in the device config (libnfc-brcm.conf)
Omni6 uses
Code:
NCI_HAL_MODULE="nfc_nci"
but CM12.1
Code:
NCI_HAL_MODULE="nfc_nci.pn54x"
(I'm not sure on that... @galaxyfreak knows for sure)
Click to expand...
Click to collapse
as for the performance, all the roms seems pretty smooth (LP & MM). As for the NFC, because I dont care about it, I dont even think about it, I just uninstall it on the first boot (maybe i should even remove it from the manifest)
One thing I noticed is that all of the roms lack the proximity and light sensor, i dont know if it is a kernel issue or maybe device tree/hardware issue (sorry, i still struggle with the terminology...device tree is the device/sony/eagle, right? under vendor folder are prebuilt 'blobs', something analogous to .dll files in windows?)
And about that Omni/CM naming, where did you find that info, I even read some info for qcom/arm/cortex, the cpu/hardware things (seemed too much to me), does one need to know the details of the inner workings of the phone's hardware in order to fix bugs?

quake73 said:
as for the performance, all the roms seems pretty smooth (LP & MM). As for the NFC, because I dont care about it, I dont even think about it, I just uninstall it on the first boot (maybe i should even remove it from the manifest)
One thing I noticed is that all of the roms lack the proximity and light sensor, i dont know if it is a kernel issue or maybe device tree/hardware issue (sorry, i still struggle with the terminology...device tree is the device/sony/eagle, right? under vendor folder are prebuilt 'blobs', something analogous to .dll files in windows?)
And about that Omni/CM naming, where did you find that info, I even read some info for qcom/arm/cortex, the cpu/hardware things (seemed too much to me), does one need to know the details of the inner workings of the phone's hardware in order to fix bugs?
Click to expand...
Click to collapse
I won't argue with you on the NFC thing I just like to have things-features working if they can work
You are correct on the terminology.Also you have to know at least how each rom works,HAL naming,flags etc
The AOSP project has simplified building and porting to new roms like A LOT! Only minor things have to changed each time...
BTW,syncing almost done...can you plz share the local manifest/sources you used for build rr-lp?

Konstantinosj77 said:
I won't argue with you on the NFC thing I just like to have things-features working if they can work
You are correct on the terminology.Also you have to know at least how each rom works,HAL naming,flags etc
The AOSP project has simplified building and porting to new roms like A LOT! Only minor things have to changed each time...
BTW,syncing almost done...can you plz share the local manifest/sources you used for build rr-lp?
Click to expand...
Click to collapse
NOOOO, NO WAY, OF COURSE NOT, THEY ARE MINE, THEY ARE PROPRIETARY!!!!
(ok ok here it is)
i experiment a lot but this is the manifest i used during building the posted RR5 rom. I'm not even sure if I need those qcom/common, media, display etc. Roms seem to build fine without them. SonyCM has some Init, I have no idea if it helps, as you can see, i'm just building blindly but it works
as you could see with pacrom, it is messy....the second half is remove-project, to help sync less (also use "repo sync ..... --depth=1", it helps a lot to keep the source at minimum)
And what do you think, is there a chance for the camera working in a MM rom since there isnt even a sony stock MM rom for M2? Or should we consider changing the phone?

Related

[ROM - 32A] [RADIO 6.35] Sphaerospresso Alpha 1 (10/03/10)

I would like to present my first rom here at xda. Based off the espresso dump come SPHAEROSPRESSO
Still in alpha so don't be surprised when things don't work
Bug reports would be helpful
Thanks to sanpei, ahmgsk, and cursor for all of their work on the new radio and bits of advice to me along the way.
Known issues
Code:
wifi - help would be nice
orientation
music app buttons all wonky
and yes bluetooth works
ok so i can't post links... lame...
4shared com/file/237982228/33245da7/Sphaerospresso_Alpha_1 html
You can put some pictures? About your ROM's.
Your kernel is to use sanpei? Is there any savings in power?
getting some pics now
yes i'm using sanpei's kernel as it's the only one that works properly with android 2.0+
and it's at alpha 1 so don't expect power saving
Sorry, I do not see your picture.
yes very nice!
wow, I like the bottom bar of this version.
I think you can try to mix files from my or ahmgsk's ROM into your ROM.
and, it's better if there is a bug list
sanpei said:
wow, I like the bottom bar of this version.
I think you can try to mix files from my or ahmgsk's ROM into your ROM.
and, it's better if there is a bug list
Click to expand...
Click to collapse
So maybe U`ll guys work on this togehter I love espresso bottom bar A LOT ! but without WiFi this ROM is useless for me
Krzysiec said:
So maybe U`ll guys work on this togehter I love espresso bottom bar A LOT ! but without WiFi this ROM is useless for me
Click to expand...
Click to collapse
wifi should work with my wlan.ko. this part is not very different in each version of ROMs.
I hope I can work together with every developers who has an open mind, but I can't spend all my time on ROM development.
maybe someone can make a wiki and leave the questions he doesn't know the answer open on it. then I and others who want to make some contribution can fill it with what we knows.
sanpei said:
wifi should work with my wlan.ko. this part is not very different in each version of ROMs.
I hope I can work together with every developers who has an open mind, but I can't spend all my time on ROM development.
maybe someone can make a wiki and leave the questions he doesn't know the answer open on it. then I and others who want to make some contribution can fill it with what we knows.
Click to expand...
Click to collapse
The problem is its not a simple solution off swapping the WLAN.ko as usual because this rom originally had a tiwlan_drv.ko and another ko file that I can't recall right now... as well as a a tiwlan loader instead of WLAN loader in the bin section etc. So i have to figure put how to change the whole system to work with our devices. I know WiFi is a huge killer for most (it is for me). I was hoping that someone out there would have a solution to the wifi problem
I really like the way U think Unfortunately i`m "noob" in Android/Linux section ... Hope others can make contribution on those projects
Thnks for everything.
i will look into this rom will post it
gtalk me when u r free
Sphaerophoria said:
The problem is its not a simple solution off swapping the WLAN.ko as usual because this rom originally had a tiwlan_drv.ko and another ko file that I can't recall right now... as well as a a tiwlan loader instead of WLAN loader in the bin section etc. So i have to figure put how to change the whole system to work with our devices. I know WiFi is a huge killer for most (it is for me). I was hoping that someone out there would have a solution to the wifi problem
Click to expand...
Click to collapse
if it is difficult to find out a way to make this one working, we can try to add goodies, replace things and make changes into a working ROM, as much as we can.
if we start at the old one, and finally making it works and looks like the new one, we will know how we can start at the new one also. so there is no real different between this 2 ways.
the ling is here.
sanpei said:
if it is difficult to find out a way to make this one working, we can try to add goodies, replace things and make changes into a working ROM, as much as we can.
if we start at the old one, and finally making it works and looks like the new one, we will know how we can start at the new one also. so there is no real different between this 2 ways.
Click to expand...
Click to collapse
Sorry what did you mean at the end about the old and new one? You kind of lost me
Sphaerophoria said:
Sorry what did you mean at the end about the old and new one? You kind of lost me
Click to expand...
Click to collapse
sorry for my poor english...
my ROM or ahmgsk's ROM --> old one --> A
the orginal Expresso ROM --> new one --> B
a ported Expresso ROM --> C
M: something you want to add.
N: something you want to replace.
operation X (M, N): add M into A from B, and replace N in A with things from B.
you want C, you can:
1. start at A (means base on A and start to modify),
a) determine what will be included in M and N
b) do X(M, N). if something doesn't work, goto step (c). else goto step (a).
c) undo X, goto (a)
2. start at B, replace things and test if it works, until all things work properly
both of these 2 ways could make us get a C.
btw, in 1, sometimes you need replace many files at same time as they are a group (must be replaced at same time or else it should not work).
sanpei said:
sorry for my poor english...
my ROM or ahmgsk's ROM --> old one --> A
the orginal Expresso ROM --> new one --> B
a ported Expresso ROM --> C
you want C, you can:
1. start at A (means base on A and start to modify), add some things from B, and replace some other things in A with things from B. if something doesn't work, we fall back to previous step (which all things work), and and make a different change.
2. start at B, replace things and test if it works (your way now), until all things work properly
both of these 2 ways could make us get a C.
btw, in 1, sometimes you need replace many files at same time as they are a group (must be replaced at same time or else it should not work).
Click to expand...
Click to collapse
Ah yes ok i understand thanks! I was considering trying that but i figured that i've come so far on this one that it would be easier to keep on going. But if i can't make any progress on wifi within the next week or so i'll try something else.
I like it very much!HOPE U CAN UPDATE IT!GREAT WORK~~
orochi9999 said:
I like it very much!HOPE U CAN UPDATE IT!GREAT WORK~~
Click to expand...
Click to collapse
I'm doing my best... STILL fighting with wifi... this weekend i'll sit down and hopefully make some real progress.
Sphaerophoria said:
I'm doing my best... STILL fighting with wifi... this weekend i'll sit down and hopefully make some real progress.
Click to expand...
Click to collapse
Thx 4 ur hark work!I think It will be my favorite 2.1 rom.
orochi9999 said:
Thx 4 ur hark work!I think It will be my favorite 2.1 rom.
Click to expand...
Click to collapse
Thanks a lot man i'm having a good time working on it but it does get frustrating some times... just hold in there everyone waiting

[WIP][DEV][PORT] LG Framework for LG G2 AOSP/CM/CAF

[size=+4]LG F[/size][size=+3]RAMEWORK[/size]​
[size=+3]~~ A[/size][size=+2]NNOUNCEMENTS[/size][size=+3] ~~[/size]
Dec 4 2016
Deleted github repo (it's not helping)
Oct 23 2016
4K + HFR Mod by @defcomg (manual install only, flashable zip later)
Oct 9 2016
Project is now online, partially (GitHub) details below
Sep 10 2016
Experimental LG Camera port uploaded
Aug 15 2016
Opened our GDrive folder to public and overhauled OP
[size=+3]~~ A[/size][size=+2]BOUT THE PROJECT[/size][size=+3] ~~[/size]
LG Framework is the backbone of every bloat feature LG added and this project aims to re-inject those important things to be able to run again OEM-implemented features like QuickCover, QuickMemo, QuickSlide Apps, etc. (LG Camera included in the list)
AOSP delivers the performance that we sought, but with those improvements come sacrifices. Other features shipped by LG aren't included in those lovely projects. So here we are, the X7 Team, and our kind and brave testers, to bring forth LG's bloat work to the world of Open-Source Softwares (not to open-source or reverse engineer it)
[size=+3]~~ M[/size][size=+2]ISCELLANEOUS[/size][size=+3] ~~[/size]
| LG Framework and Related Works |
G2 Camera Chromatix Mod (second page)
| G2 Camera by @B!GBOY |​
[size=+1]What's Happening?[/size]
Currently testing the framework resource which is injected manually
The code part of LG Framework is now working to CM-based ROMs
(Low Priority) Bypass signature checks using selective exclusion to avoid security holes
Click to expand...
Click to collapse
[size=+2]Links[/size]​
[size=+2]4K Mod + 60/120 HFR[/size]​
Here's the zipped framework from CloudyG2: https://www.dropbox.com/s/ta3l3iwhdylkcwy/CloudyG2.zip?dl=0 Enjoy!
Startrek852 said:
Here's the zipped framework from CloudyG2: https://www.dropbox.com/s/ta3l3iwhdylkcwy/CloudyG2.zip?dl=0 Enjoy!
Click to expand...
Click to collapse
Thanks! But your account is overloaded by traffic :3
Well it's okay it doesn't matter as I already found the hard drive containing my CloudyG2 Backup recently and the backup was like years ago XD
Updating OP...
Well, if you want more up to date framework, here's the link: https://www.androidfilehost.com/?fid=24499762636001056
Just a little update here...
LG's framework seems to be properly named... their code's easy to track... LGCamera are disassembled... LGMemo are disassembled, LGMemo too... Maybe if I could just find "where" the hidden framework are ahahahhaha
So I will start porting the framework for running the most important!
STOCK LGCamera... (lemme re-emphasize ) "Stock" not ported LGCamera with all functions working
I already seen its possible since all codes are exposed... and native libraries are easy to modify too
Guys... we're seeing so much light here ahahahah
EDIT: BANG!!! Gotcha!!!
Code:
android.media.action.IMAGE_CAPTURE_OEM_MODE
xxoscarxx28 said:
Just a little update here...
LG's framework seems to be properly named... their code's easy to track... LGCamera are disassembled... LGMemo are disassembled, LGMemo too... Maybe if I could just find "where" the hidden framework are ahahahhaha
So I will start porting the framework for running the most important!
STOCK LGCamera... (lemme re-emphasize ) "Stock" not ported LGCamera with all functions working
I already seen its possible since all codes are exposed... and native libraries are easy to modify too
Guys... we're seeing so much light here ahahahah
EDIT: BANG!!! Gotcha!!!
Code:
android.media.action.IMAGE_CAPTURE_OEM_MODE
Click to expand...
Click to collapse
i really hope so thats what keeping me from going aosp. :good:
That's what's keeping all of us from going to AOSP, but as far as I know, this is not possible.
It's just not all open source.
Sent from my LG-D802 using Tapatalk
xxoscarxx28 said:
Just a little update here...
Click to expand...
Click to collapse
All our hopes are with you lol :fingers-crossed: keep us updated
If you are trying to port the camera and all the framework, you migh aswell have a look into the "advanced binaries 2.0.0" which XCAM uses that are ported from G Pro 2 LP 5.x.x. They seem to give overall better quality and you can get them as a .zip from the OT.
Keep us updated ^^
rdNNNN said:
If you are trying to port the camera and all the framework, you migh aswell have a look into the "advanced binaries 2.0.0" which XCAM uses that are ported from G Pro 2 LP 5.x.x. They seem to give overall better quality and you can get them as a .zip from the OT.
Keep us updated ^^
Click to expand...
Click to collapse
Dude, he's using a backup from CloudyG2 which already has an advanced camera driver.
Just a little clarification here... Even though a software is closed source, that doesn't mean you can't port it...
It is also open source... but in a hideous way Nothing can stop someone dedicated
And also that's why there are such a thing called "disassembly" and cross-referencing binaries ("diff" in short?)
Remember... someone already did port stock (Oxygen OS) camera binaries to CM for Oneplus One
I just realized that the framework used between Kitkat and Lollipop are so different... Ghash XD
But the function is pretty same, just refactored, and some are stripped out... Focusing now on just CloudyG2 3.3's framework...
Btw... does anyone here knows how to know the name of a library? XD
There is a library that LG Camera API uses which is named "hook_jni" in java interface but what *.so might it be looking? Who is "hook_jni"? Does anyone know?
Doing the lords work, sir!
For those who wants to be on the bleeding edge, you can have one now
But I can't ensure anything with this hyper alpha, stability, function, and safety... All of it is not assured... I haven't tried it also XD
Pm me if you want to try it
Wow u are amazing. Pls tell us if u try it
xxoscarxx28 said:
For those who wants to be on the bleeding edge, you can have one now
But I can't ensure anything with this hyper alpha, stability, function, and safety... All of it is not assured... I haven't tried it also XD
Pm me if you want to try it
Click to expand...
Click to collapse
Lollipop/Marshmallow/Doesn't matter?
YoDevil said:
Lollipop/Marshmallow/Doesn't matter?
Click to expand...
Click to collapse
As of now... only for CM13 as it is already a good base to start with and it is already CAF which means their software is already surpassing the qualities of an OEM one, but as always... OEMs have something we don't have :3
lollipo said:
Wow u are amazing. Pls tell us if u try it
Click to expand...
Click to collapse
Nope, I won't try it XD as I am pretty sure that it will cause havoc to CMSDK and to our precious SystemUI. I'll try it in a later stage
Those that already downloaded the alpha... I already tested it and it won't flash XD
And yeah I will let it now on the wilds (people demanded it so here it is now)... Its still the same software I just fixed updater error 6 (it was a syntax error, my bad)
[size=+2]Flash at your own risk, Haven't tested it yet, and is for CM13 only, MAKE NANDROID BACKUPS FIRST[/size]
LG Framework Fixed v0.01
EDIT: News here again, I tested it and then did another pass to the codes and my predictions are correct... I missed the permissions for executing the API inside so its like its worthless... but because LG seems to be exposing things too much, it seems that permissions are laid somewhere in /system/etc/permissions... @Startrek852 ???
Another news... It booted just fine testing for bugs but i think it booted fine because the whole framework is not allowed to execute ahahahha, will release again once this mess is fixed

[rom][d2303] pac-rom

PAC ROM for D2303
https://onedrive.live.com/redir?res...19&authkey=!AIAixlfmiDf-uR8&ithint=folder,zip
(unfortunately, I have no idea what happened with my Ubuntu, the build process doesn't create a .zip file, you'll have to flash it with fastboot boot/userdata/system)
of all the main things: wifi, mobile data, gps, voice calls working...camera not
installed on d2303 things that do not work.
Camera
proximity sensor
.During the call screen does Not turn off
handsfree speaker
* The data connection works 3G and 4G
themes CM WORKING FINE
everything else PERFECT
great job
Try putting this and the other roms in the right xda section shouldn't they be in the original Android development forum with cm+omni ect just a thought like few screenshots wouldn't go amiss either
D2303 5.1 deodexed z2 port+z5+X apps+themes, be,xr,sv,ad,XZRt2urecovery,xposed,z5 cam2.0,xLOUD,S-Force,viperaudio+more
[email protected] said:
Try putting this and the other roms in the right xda section shouldn't they be in the original Android development forum with cm+omni ect just a thought like few screenshots wouldn't go amiss either
D2303 5.1 deodexed z2 port+z5+X apps+themes, be,xr,sv,ad,XZRt2urecovery,xposed,z5 cam2.0,xLOUD,S-Force,viperaudio+more
Click to expand...
Click to collapse
well, yeah, i honestly didnt know where to put them, because i didnt actually 'develop' them...the build process has errors that need to be fixed but i didnt think it is 'development' so i post them here
quake73 said:
well, yeah, i honestly didnt know where to put them, because i didnt actually 'develop' them...the build process has errors that need to be fixed but i didnt think it is 'development' so i post them here
Click to expand...
Click to collapse
So many roms..i bet your workspace is a mess right now
Local manifest you used for that rom? And can you post the errors? (use the "code" tag or paste them in pastebin and put link here)
Konstantinosj77 said:
So many roms..i bet your workspace is a mess right now
Local manifest you used for that rom? And can you post the errors? (use the "code" tag or paste them in pastebin and put link here)
Click to expand...
Click to collapse
xexe
about the errors that I had, I am more than glad to share them (I have a simple text file and write reminders there, to remember them and not "reinvent the wheel" every time)
For this one, PACROM, I think the only error was 'unsupported relloc 43', the cure is:
cp /usr/bin/ld.gold prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6/x86_64-linux/bin/ld
(for a long time, i thought the cure was WITHOUT_HOST_CLANG=true)
the manifest is a mess but here it is...i also have created a file in vendor/pac/products and added cm.mk in device/sony/eagle...built it with "build-pac.sh eagle"
quake73 said:
xexe
about the errors that I had, I am more than glad to share them (I have a simple text file and write reminders there, to remember them and not "reinvent the wheel" every time)
For this one, PACROM, I think the only error was 'unsupported relloc 43', the cure is:
cp /usr/bin/ld.gold prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6/x86_64-linux/bin/ld
(for a long time, i thought the cure was WITHOUT_HOST_CLANG=true)
the manifest is a mess but here it is...i also have created a file in vendor/pac/products and added cm.mk in device/sony/eagle...built it with "build-pac.sh eagle"
Click to expand...
Click to collapse
oh good old "unsupported relloc" i use arch linux and got it in every build.
It's fixed on AOSP master branch https://android-review.googlesource.com/#/c/223100/
CM13 uses this patch too
Konstantinosj77 said:
oh good old "unsupported relloc" i use arch linux and got it in every build.
It's fixed on AOSP master branch https://android-review.googlesource.com/#/c/223100/
CM13 uses this patch too
Click to expand...
Click to collapse
(mine is virtual Ubuntu 16)
i must admit, the 6.0 roms are building 'more flawlessly' than the 5.1 variants....and it seems that 5.1s are not getting any more fixes.
i dont know if you are trying to build any but...i tried building cm12.1 for 2 weeks, with every possible combination of device tree and vendor (SonyAOSP/SonyCM/xperiadev/CM, sony vendor files/Benevolent) and there is no mobile data connection, any ideas?
quake73 said:
(mine is virtual Ubuntu 16)
i must admit, the 6.0 roms are building 'more flawlessly' than the 5.1 variants....and it seems that 5.1s are not getting any more fixes.
i dont know if you are trying to build any but...i tried building cm12.1 for 2 weeks, with every possible combination of device tree and vendor (SonyAOSP/SonyCM/xperiadev/CM, sony vendor files/Benevolent) and there is no mobile data connection, any ideas?
Click to expand...
Click to collapse
Not a single idea...did you checked logcat or something?
Konstantinosj77 said:
Not a single idea...did you checked logcat or something?
Click to expand...
Click to collapse
nope but while building roms, I slowly dig deeper and deeper into the source code files, checking logs is what i fear will be next .
I already got too much addicted to this, my pc is building roms almost 24/7
quake73 said:
nope but while building roms, I slowly dig deeper and deeper into the source code files, checking logs is what i fear will be next .
I already got too much addicted to this, my pc is building roms almost 24/7
Click to expand...
Click to collapse
haha i suggest you to install ubuntu natively using dualboot
It's a lot faster
Konstantinosj77 said:
haha i suggest you to install ubuntu natively using dualboot
It's a lot faster
Click to expand...
Click to collapse
hehe, i had that crazy idea, too but....i'm a windows guy, the current setup is quite good...16gb ram (8 for ubuntu),
4 HDs, home/cache/out/swap distributed on different HDs, what more can I ask? It's an old pc, AMD x64 x4, 7-8 years but it serves me well...My heart doesnt let me replace it
What is jumpin in rom
quake73 said:
nope but while building roms, I slowly dig deeper and deeper into the source code files, checking logs is what i fear will be next .
I already got too much addicted to this, my pc is building roms almost 24/7
Click to expand...
Click to collapse
Quake that is not taking in Rom?
i think the thing make this rom has no camera working is boot.img 3.10.x because every rom using this kernel has no camera working and please show me how to make 3.4.x kernel is working inside this rom
vinz156 said:
i think the thing make this rom has no camera working is boot.img 3.10.x because every rom using this kernel has no camera working and please show me how to make 3.4.x kernel is working inside this rom
Click to expand...
Click to collapse
thats a good idea. I'll try to build again with one of the older kernels from sonyxperiadev.
quake73 said:
thats a good idea. I'll try to build again with one of the older kernels from sonyxperiadev.
Click to expand...
Click to collapse
It's not gonna work...
Only stock kernel and stock camera blobs can make camera work....
Konstantinosj77 said:
It's not gonna work...
Only stock kernel and stock camera blobs can make camera work....
Click to expand...
Click to collapse
How about cm12.1 what's make camera inside that rom is fully working
Sent from my Xperia M2 (AOSP) using XDA-Developers mobile app
vinz156 said:
How about cm12.1 what's make camera inside that rom is fully working
Sent from my Xperia M2 (AOSP) using XDA-Developers mobile app
Click to expand...
Click to collapse
Stock kernel and stock modules....
These are used for omni 5.1.1 with working camera
Code:
https://github.com/erikcas/android_kernel_sony_msm/tree/5.1-3.4
https://github.com/erikcas/vendor-sony/tree/r13-cam
https://github.com/erikcas/vendor-qcom/tree/r13-cam
Sometimes you have to make changes to the framework files of the ROM and to the device tree

tmobile CyanogenMod

Looking for someone that has the OMX folders from tmobile from. Lib/lib64. Can't extract from rom or system as I can't install it. Thanks in advance!
Here are the files you requested. Is someone working on the source again with the updated kernel source? I linked that too for the sake of it. MM Kernel source https://mega.nz/#!k9JzgKgS
Milly7 said:
Here are the files you requested. Is someone working on the source again with the updated kernel source? I linked that too for the sake of it. MM Kernel source https://mega.nz/#!k9JzgKgS
Click to expand...
Click to collapse
Thanks man! . And a few friends and I are having a look at it. I have international.. With raymanfx latest changes to international. On github... He made changes to audio and media.. I was having issues and replacing them made my phone sound so so much better so I thought maybe the OMX would do something (battle hero removed them from a international release because of issues)
No problem. Hope something good develops.
Milly7 said:
No problem. Hope something good develops.
Click to expand...
Click to collapse
It still reboots unless I remove them. I was hoping they wouldn't :/ because there's two things I've noticed about cm and I thought maybe someone could shed some light onto it.
Its pretty much cm but it still thinks it an a Samsung galaxy device so I don't think the libs for apps are being downloaded properly as apps crash (if I remove the specific apps libs) they stop crashing. Maybe it's downloading Samsung specific libs for apps and not something for stock Android?
2. Maybe if I have just specific libs and 64 libs. Instead of everything.. They won't crash.... I have no idea. (the OMX ones I mean)

[KERNEL] [MTD] [TW/CM9/CM11] [DEV] Watson Kernel (MTD support on Gingerbread!)

Hello guys,
This is a project I was working on for a kernel for our SGY.
I made it with a few things in mind:
>Improve it's performance
>Be universally compatible (after I nearly given up on trying to get a snappier CM11 and after the need for a snappier SGY, I decided to go back to GB. However, BML is terrible, and it is annoying to come back to. I decided to build a MTD kernel for Gingerbread then, and it works!)
>Experiment and upgrade as much as I can (thanks @robcore!!!!)
But since I lost my device, I cannot continue developing it. I am then releasing the source code (sorry, no flashable stuff, I deleted it long ago ) for any of you to continue(?) my work if your heart so desires.
If I ever get myself another SGY (or another BCM21553 device), I will gladly continue development (and support whoever does it too), but before I lose all my data and the kernel code alongside it, I am making it available.
This kernel features:
-OC up to 1040MHz (It's questionable even today if the bcm21553 OCs really work, but I tried hacking a way that works very similarly to MarocOS's one, maybe even better. Be warned though, the source around it is messy)
-GPU hacks for performance (Again, even I don't know if they do work, probably the values are just there to be seen, I'm not sure. I do know though that increasing the CPU speed will much likely increase the speed of V3D too)
-DVFS disabled (I found out DVFS is mostly the culpirit in the "832MHz crisis" where the kernel would forcefully scale itself to 832MHz, so I eliminated any reference to it in kernel code. Apparently DVFS on the processor is only available under the bcm21553 governor, but it is present on the other drivers as well. The idea for disabling DVFS came from my friend @robcore)
-A few additional governors and a buggy interactive governor (which is the default xd)
-MTD support for Gingerbread (Thanks Samsung Epic 4G! Although it only works on TouchWiz (I tried it with SL v2 and v2.1 and it works, but under NougatME(CM7) I got no success and loads of segfaults), it works ALMOST perfectly. See bugs for details )
-Some scraped source code from Samsung's FSR I found on the internet (barely compilable, though)
Bugs:
>Gingerbread version:
-IMEI won't appear in the Status screen, I also faced problems with non-working radio for calls. Data works just fine, but calling and receiving calls is unavailable. I believe it is EFS-related. My suggestion is backing up the EFS partition's file structure, then converting it to MTD, then restoring the backup.
-TWRP will crash and panic when exiting, a workaround is force rebooting
>ICS version:
-TWRP will crash and panic when exiting (I believe fixing it here will fix the bug above too)
>KitKat version:
-Flashing images fail randomly, you may also be unable to reboot normally if you do so. I tried addressing this but I couldn't get anywhere.
DOWNLOAD THE SOURCE: Here!
Thanks to:
 @robcore - his development on the Snapdragon S4 breathes life on my dev soul!
 @zman0900 - I saw his thread on an MTD TW kernel for the Samsung Epic 4G, which led me to believe MTD on GB is possible.
nice kernel
It sound nice. I'm a newbie developer, I'm building a kernel to fix audio bug on cm9, hope it work. And thank you for the source
vdhero said:
It sound nice. I'm a newbie developer, I'm building a kernel to fix audio bug on cm9, hope it work. And thank you for the source
Click to expand...
Click to collapse
Have you gathered enough info on it? I would like to fix it too, but I couldn't get any info on whether if the audio bug is a kernel-side issue or an OS -side issue.
Best of luck for you
Building and fixing
sonickles9 said:
Have you gathered enough info on it? I would like to fix it too, but I couldn't get any info on whether if the audio bug is a kernel-side issue or an OS -side issue.
Best of luck for you
Click to expand...
Click to collapse
I don't sure so I decided to build a kernel from your source and another cm9 version from Mohamad.Afaneh's source and I'll merge the audio on both of them for the best think to fix the bug.Thank you .
Link for kernel?
(img files...)(stock/cm9/cm11)
TheRealModder said:
Link for kernel?
(img files...)(stock/cm9/cm11)
Click to expand...
Click to collapse
Compile one for yourself,man. It only takes like 15-25 mins
vdhero said:
Compile one for yourself,man. It only takes like 15-25 mins
Click to expand...
Click to collapse
I don't know how to compile....
TheRealModder said:
I don't know how to compile....
Click to expand...
Click to collapse
He wrote a script already, just add your toolchain and run the script. There's a guide in the readme
vdhero said:
He wrote a script already, just add your toolchain and run the script. There's a guide in the readme
Click to expand...
Click to collapse
Ok. The watson-kernel-bcm21553-src is used with other files?
Because i want to make cm9 mohhamad afaneh optimized version
TheRealModder said:
Ok. The watson-kernel-bcm21553-src is used with other files?
Because i want to make cm9 mohhamad afaneh optimized version
Click to expand...
Click to collapse
To make it, you have to sync the cm9 source code then add the files from his github to your localmanifest. This thing is not in anyway related to that except the MTD. This one is a kernel-compile only source
Oh man, i give up. I can't build a kernel from source, but i can modify a kernel.
Can someone give me the zimage for ics Please....
Sent from my Zenfone 2 Laser using XDA Labs
TheRealModder said:
Oh man, i give up. I can't build a kernel from source, but i can modify a kernel.
Can someone give me the zimage for ics Please....
Click to expand...
Click to collapse
zlimage? We don't have that here, we only have boot.img for kernel
vdhero said:
zlimage? We don't have that here, we only have boot.img for kernel
Click to expand...
Click to collapse
Or you can give me the extracted boot.img files. (ICS/KK)
I will rebuild it using dsixda's android kitchen.
Sent from my Zenfone 2 Laser using XDA Labs
TheRealModder said:
Or you can give me the extracted boot.img files. (ICS/KK)
I will rebuild it using dsixda's android kitchen.
Sent from my Zenfone 2 Laser using XDA Labs
Click to expand...
Click to collapse
Sorry but I can't because I'm bored of making ROMs so I switched back to Windows. I'm planning on making a ROM, I'll compile the kernel for you once I get linux installed
vdhero said:
Sorry but I can't because I'm bored of making ROMs so I switched back to Windows. I'm planning on making a ROM, I'll compile the kernel for you once I get linux installed
Click to expand...
Click to collapse
Ok. If you want to install linux i recommend using ubuntu or linux mint.
Ubuntu official website:https://www.ubuntu.com/
Linux mint official website:https://linuxmint.com/
Sent from my Zenfone 2 Laser using XDA Labs
VDHERO Please But a New Galaxy t Gt-S5360 and start the Development!
vdhero said:
To make it, you have to sync the cm9 source code then add the files from his github to your localmanifest. This thing is not in anyway related to that except the MTD. This one is a kernel-compile only source
Click to expand...
Click to collapse
VDHERO Please But a New Galaxy t Gt-S5360 and start the Development!
Assabtigle said:
VDHERO Please But a New Galaxy t Gt-S5360 and start the Development!
Click to expand...
Click to collapse
Sorry but I can't since my sgy is dead for a long time ago. I'll try to make one if I can find one. I've heard that there are some places that sell sgy for about 5 bucks, i'll find one ì possible
Be fast bro!!
vdhero said:
Sorry but I can't since my sgy is dead for a long time ago. I'll try to make one if I can find one. I've heard that there are some places that sell sgy for about 5 bucks, i'll find one ì possible
Click to expand...
Click to collapse
BE fast BRO Love U and Your WORK!!
All Your DEVELOPMENT are Faster than The ORIGINAL one Please Buy a NEW one!
and Yeah install the Stock Rom in your Phone by ODIN it will be fine!:laugh:

Categories

Resources