[rom][d2303] pac-rom - Sony Xperia M2

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

Related

[ROM][OCT 11] FirefoxOS 1.2 and 1.3

Introduction
Firefox OS, also known as Boot2Gecko, is a lightweight mobile OS made by Mozilla, based around HTML5. http://en.wikipedia.org/wiki/Firefox_OS
This is an unofficial build of FirefoxOS for flo and deb.
What does not work:
MTP
Mobile data (on LTE version of N7)
Not really smooth
Installation
These ZIP files act like an Android ROM, so the installation is the same as usual - do a factory reset in recovery and flash the ZIP file.​
Downloads
Version 1.2 (stable): b2g_flo_1.2_20131011-2.zip
Version 1.3 (in development): b2g_flo_1.3_20140207.zip​
Source code
All source code is from official B2G repositories.
Device folder: https://github.com/Tasssadar/android_device_asus_flo/tree/b2g-4.3_r2.1
Manifest for flo: https://gist.github.com/Tasssadar/6933349
Other than that, B2G sources are used.​
Sweet. Nice man!
Going in my multirom now!
Sent from my Nexus 7 using Tapatalk 4
any chance to support LTE version?
thanks
Thank you so much for this. I tried to look at doing it myself but had not had time to fully read and figure it out. Can't wait to see this in action.
hkfriends said:
any chance to support LTE version?
thanks
Click to expand...
Click to collapse
It supports DEB, there's just no LTE signal.
it won't boot. I get a pink screen. Could it be the host kernel I use? I thought this would load whatever kernel was in the new ROM. I use glitch kernel for latest CM nightly.
Sent from my Nexus 7 using XDA Premium HD app
Looks cool, downloading now!
Sent from my Nexus 7 using XDA Premium HD app
Cool !!!
Good job
Please continue this developement
and 1.2 not freeze soruce , it mean it will have new source come from mozilla if found bug
and buletooth work on this? fantastic how you do it?
----------------------------------------
about your file ? why you merge system and data in same file? (it a stupid question)
sorry for my bad english !
downloaded and installed with no problem...
by the way, how to take screenshot as there's no home button? :/
pureexe said:
Cool !!!
Good job
Please continue this developement
and 1.2 not freeze soruce , it mean it will have new source come from mozilla if found bug
and buletooth work on this? fantastic how you do it?
----------------------------------------
about your file ? why you merge system and data in same file? (it a stupid question)
sorry for my bad english !
Click to expand...
Click to collapse
No, bluetooth does not work. It acts as if it would, but it won't find any devices.
Why wouldn't I put system and data in one file? It belongs together, /system contains gecko.
lightson said:
downloaded and installed with no problem...
by the way, how to take screenshot as there's no home button? :/
Click to expand...
Click to collapse
Settings -> Device information -> More information -> Developer -> Enable software home button
Tasssadar said:
Settings -> Device information -> More information -> Developer -> Enable software home button
Click to expand...
Click to collapse
thanks, will try that again later :good:
Tasssadar said:
No, bluetooth does not work. It acts as if it would, but it won't find any devices.
Why wouldn't I put system and data in one file? It belongs together, /system contains gecko.
Click to expand...
Click to collapse
But webapps contain in /data/local/webapps ?
or /system/b2g/webapps on your build?
Those are just apps, gecko itself is in /system/b2g, and I suppose it differs between firefoxOS versions.
@Tasssadar
easier to make flashable zip
extract this file into B2G/out/host/linux-86
and run
Code:
./build.sh otapackage
Just got it running in multirom, works alot better then i expected! Thanks Tassadar, this will be fun to play around with :silly:
I too finagled this to work with MultiROM!! Thanks Tassadar, this is pretty baller.
Nice @Tasssadar !
I'll flash this once I get home and give her a whirl.
Tasssadar said:
Introduction
Firefox OS, also known as Boot2Gecko, is a lightweight mobile OS made by Mozilla, based around HTML5. http://en.wikipedia.org/wiki/Firefox_OS
This is an unofficial build of FirefoxOS for flo and deb.
What does not work:
Camera
MTP
Mobile data (on LTE version of N7)
Bluetooth
Not really smooth
Installation
These ZIP files act like an Android ROM, so the installation is the same as usual - do a factory reset in recovery and flash the ZIP file.​
Downloads
Version 1.2 (stable): b2g_flo_1.2_20131011-2.zip
Version 1.3 (in development): b2g_flo_1.3_20131010.zip​
Source code
Device folder: https://github.com/Tasssadar/android_device_asus_flo/tree/b2g-4.3_r2.1
Manifest for flo: https://gist.github.com/Tasssadar/6933349
Other than that, B2G sources are used.​
Click to expand...
Click to collapse
Don't know if anyone else said this but if you try to use the notification bar in 1.3, it will just stay down and won't go away. I know it is in development. Also can we flash a custom kernel for it that does not use the Kexec patch?
WeRSpecialPeople said:
Don't know if anyone else said this but if you try to use the notification bar in 1.3, it will just stay down and won't go away. I know it is in development.
Click to expand...
Click to collapse
Touch the notif bar (top of your screen) again to hide it.
Sent from my Nexus 7 using xda app-developers app

[DEV][ROM][31.12.] CAF Firefox OS 2.0 - B2G

NEWER version here
Thanks.
Any screenshots ??
Sent from my Moto G using XDA Free mobile app
Post updated
Definitely trying! Thanks
Awesome Firefox [emoji13]
hi
how come original post does not have link to this new build?
Gonna test this out on the xt1031 here in a little while, I'll report back on if the network is working or not here in a day or so for those other owners of the xt1031 ^.^
should i try it on dual sim
can't you read OP ?
sanwolverine said:
should i try it on dual sim
Click to expand...
Click to collapse
no u can't
Interesting firefox os under our device... I'll test surely due to my curiosity....
Edit,
My bad sorry thought you were a noob posting about a new KonstaT build , i just looked at the original Modaco thread and there hasn't been a new build since 26/08/2014 by KonstaT, So is this your build? I hope so as would love to see more people working on this ROM,
The op seems quite confusing as the first line says, originated posted by KonstaT??? Sorry for my mistake
Sent from my moto g using XDA Free mobile app
Will it work on Lollipop Bootloader?
sanwolverine said:
should i try it on dual sim
Click to expand...
Click to collapse
KonstaT say "dual sim won't work propely", but I don't now if he convert to gpe before.
plewis1981 said:
Edit,
My bad sorry thought you were a noob posting about a new KonstaT build , i just looked at the original Modaco thread and there hasn't been a new build since 26/08/2014 by KonstaT, So is this your build? I hope so as would love to see more people working on this ROM,
The op seems quite confusing as the first line says, originated posted by KonstaT??? Sorry for my mistake
Sent from my moto g using XDA Free mobile app
Click to expand...
Click to collapse
I use the last KonstaT build (26.8.), I download, build gecko (32.0a2 to 32.0), gaia (2.0.0-prerelease to 2.0.0) with more supported language and the kernel (latest source) but I don't modify gonk (some error on build).
TheKrates said:
Will it work on Lollipop Bootloader?
Click to expand...
Click to collapse
I have GPE 5.0.1 bootloader, I flash stock 4.4.4 rom (without bootloader, you can't) and it's work.
I tried the latest release . Not bad . But in the version of the KonstaT gps works, while in this no . For whatsapp what client do you use?
Anthony19915 said:
I tried the latest release . Not bad . But in the version of the KonstaT gps works, while in this no . For whatsapp what client do you use?
Click to expand...
Click to collapse
For me gps don"t wok with KonstaT rom.
I don't use whatsapp
Alright, so things for the xt1031, Sprint/Boost variant the network isn't working, it says to insert a SIM card. Everything else, with the exception of what's on the list, is working fine.
any chance of getting firefox os 2.2 @Quentinga?
The new one has tons of changes and bugs
abhifx said:
any chance of getting firefox os 2.2 @Quentinga?
The new one has tons of changes and bugs
Click to expand...
Click to collapse
I know nightly is better for ffos, but I don't have the skill to upgrade the device tree. And with caf, camera don't work, I think is better to rebase all source with cm repo.
I just shared my build with minor update.
Uh....I'll drop this, right here.
(comes from here www.modaco.com/topic/372487-devrom41-caf-firefox-os-b2g/page-6#entry2245701)
KonstaT said:
LOL, we have the history's first Firefox OS winzipper. XDA of course, who would have guessed...
http://forum.xda-developers.com/moto-g/development/dev-caf-firefox-os-2-0-b2g-t2989587
If someone makes a new build from my sources (this doesn't count as one though), I'd hope you'd at least have the courtesy of posting it here before posting it somewhere else. I've open sourced my work for a reason and I'd also hope that what ever changes/modifications made, are kept public in the spirit of open source (none of this would be possible without that in the first place).
Few notes on the aledged changes:
1. Update Gecko/Gaia with CAF LNX.LF.3.5.1-11900-8x10.0
2. Add more Gaia languages (ar, fr ,nl, ru, tr, zh-TW)
3. Update kernel with source
Click to expand...
Click to collapse
1. Sounds about right, but that's all that was changed (only system/b2g directory replaced from my latest build with your favorite zip tool ).
2. Some of these locales are already included by default (ar, fr, zh-TW). The rest won't be included unless you add them to the Gaia configuration (see here and here). I don't see any new locales in your Gaia.
3. Where is the kernel source (it's GPLv2, you're obligated to provide it)? If you're using my kernel source, there hasn't been any changes after my last build. In that case, another no op here.
Click to expand...
Click to collapse
Paul L. said:
Uh....I'll drop this, right here.
(comes from here www.modaco.com/topic/372487-devrom41-caf-firefox-os-b2g/page-6#entry2245701)
Click to expand...
Click to collapse
U beat me to this xD Move thread maybe to General?

BOOTING ! XPERIA Z5 Lollipop 5.1.1 Rom - Porting need help

EDIT : PROJECT DELAYED
Trying to port a custom Xperia Z1 Rom to Nexus 5.
This custom Rom has all features from Xperia Z5.
Here is base rom : http://forum.xda-developers.com/xperia-z1/development/rom-z5mx-rom7-5-0extended-battery-t3224245
Edit : Advanced, see logcat
Edit 2 : fixed mediadrm fatal crash. Now, i need to fix SDCARD
Edit 3 : seems i need to fix sound
Edit 4 : Booting, as logcat says. The problem is : Google Logo stays displayed. Bootanimation doesnt displays and so, it seems it prevents phone from displaying Setup Wizard, and Android UI. Maybe the problem is "libsecureui.so" dlopen failed. I still didnt found the solution and any help would be greatly apreciated.
Heres logcat
Thanks for any help
Getting advanced a little. Now, getting an issue with sdcard. See OP
You should try removing all links to sdcard and just make it internal only, Nexus 5 don't have externalsd
Also, you'll better off porting z5 stuff to a cm12.1 base, its easier.
The official sony roms have a lot of proprietary kernel stuff that can't be ported, stamina mode is one
besides, camera wouldn't work
Do try first tho
TakuyaZ said:
You should try removing all links to sdcard and just make it internal only, Nexus 5 don't have externalsd
Also, you'll better off porting z5 stuff to a cm12.1 base, its easier.
The official sony roms have a lot of proprietary kernel stuff that can't be ported, stamina mode is one
besides, camera wouldn't work
Do try first tho
Click to expand...
Click to collapse
I see, man, thanks !
I did "ro.build.characteristics=nosdcard" into build.prop. tried some other stuff and got as far as here : http://pastebin.com/bmHJQ0ke
I tried Cm12.1 and got so much other issues and inarborded cm12.1 to use UntouchedAOSP as base now.
Maybe I need to port Xperia kernel too, as Xperia z1 has kinda same hardware as Nexus 5, and that's the reason I used a custom Xperia z1 ROM
dekefake said:
I see, man, thanks !
I did "ro.build.characteristics=nosdcard" into build.prop. tried some other stuff and got as far as here : http://pastebin.com/bmHJQ0ke
I tried Cm12.1 and got so much other issues and inarborded cm12.1 to use UntouchedAOSP as base now.
Maybe I need to port Xperia kernel too, as Xperia z1 has kinda same hardware as Nexus 5, and that's the reason I used a custom Xperia z1 ROM
Click to expand...
Click to collapse
I mean making a entirely new rom using cm12.1 as a base and just port sony's launcher, systemui, lockscreen. etc
Reading the logcat, it said unknown permission for nearly all jars/apks. did you break the signature or something?
Sorry i cannot help much, its been years since i last ported a entirely new rom to a different device
TakuyaZ said:
I mean making a entirely new rom using cm12.1 as a base and just port sony's launcher, systemui, lockscreen. etc
Reading the logcat, it said unknown permission for nearly all jars/apks. did you break the signature or something?
Sorry i cannot help much, its been years since i last ported a entirely new rom to a different device
Click to expand...
Click to collapse
I see. I don't know at all why theses permissions are fcked up. No problem man. Lollipop seems way more tricky to port. Maybe because Apk/jar are odexed
Can i use this on my Nexus 5
Can i use this rom on my Nexus 5 ?
vk4111 said:
Can i use this rom on my Nexus 5 ?
Click to expand...
Click to collapse
Man are u kidding me ? Its a thread about getting a port booting. It doesnt even work, so, obviously, you cant get it working on your Nexus 5.
Got mediadrm fixed. Need to fix sdcard, for sure. See logcat.
dekefake said:
Got mediadrm fixed. Need to fix sdcard, for sure. See logcat.
Click to expand...
Click to collapse
I see a lot of the custom rom's theme's errors.
have you tried to port the bone stock Xperia rom before this?
TakuyaZ said:
I see a lot of the custom rom's theme's errors.
have you tried to port the bone stock Xperia rom before this?
Click to expand...
Click to collapse
Yeah, tried, a while ago, but sticked to google logo too but didn't remember how far I gone with the logcat
Restarted the project. Here's logcat : http://pastebin.com/ACkZRAzd
Got progress. Please see OP
ROM not installing
The base Rom does not install on my nexus 5. TWRP and CWM show error. Does it have to do something with logcat?

[ROM][D2303] Resurrection Remix

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?

[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