[ROM][PORT][MAKO > HUASHAN]PA 3.99 (currently not booting!) - Xperia SP Android Development

Hello everyone!
I present to you a paranoid android 3.99 port for our Xperia SP
Changelog:
V2: Device no longer hard reboots on bootanimation
V1: initial release
BUGS:
V2: Device doesn't boot (stuck on bootanimation and ADB offline)
V1: Device doesn't boot (hard reboot after 10 seconds of showing splash screen)
Download: PA_HUASHAN_V2
Now as you can see this ROM port is not booting but at least it doesn't do a hard reboot anymore! Currently I have no ADB access as it is listed as offline when doing: ADB devices of course I can't figure out the problem myself so I'm asking you guys for help. Since there is no logcat I know that it might be nasty to determine the problem and where the phone stops booting. I hope you guys can help me get this ROM to boot so we will finally have a working PA rom
thanks to: @-NickHalden- for his nice guide on how to port ROM's
@FXP for the base rom (cm10.2)
and the paranoid android team for the ROM that was ported (pa 3.99 from nexus 4)

Why don't you simply build from source?

kamarush said:
Why don't you simply build from source?
Click to expand...
Click to collapse
I'm trying that as well but i'm having some issues getting these files working
<device>.adds
<device>.removes
pa_<device>.conf
pa_<device>.mk
If I could easily get/make these files a source build would already be here
Do you have a idea on how to create these files? or where I can get them?
for example for the .adds file I need something like this (this comes from nexus 4)
https://github.com/ParanoidAndroid/android_vendor_pa/blob/jb43/manifests/mako.adds

It's pretty simple
Adds and removes are the repos what you need and don't need. About the makefiles. You can simple use the mako files as base, only need to change the values to match for our device.

kamarush said:
It's pretty simple
Adds and removes are the repos what you need and don't need. About the makefiles. You can simple use the mako files as base, only need to change the values to match for our device.
Click to expand...
Click to collapse
OK this is the .adds file I just made can you take a look at it?
huashan.adds

kamarush said:
Why don't you simply build from source?
Click to expand...
Click to collapse
A long ago, i dont have see you on xda....
now you've back....great master

OK guys PA is currently building from source! now let's prepare to wait a long time xD

noahvt said:
OK this is the .adds file I just made can you take a look at it?
huashan.adds
Click to expand...
Click to collapse
This file will be almost the same as the cm dependencies. So this isn't good.
Levered said:
A long ago, i dont have see you on xda....
now you've back....great master
Click to expand...
Click to collapse
Yeah was long time ago i just bought this device a week ago. I just came back to Sony from Samsung

noahvt said:
OK guys PA is currently building from source! now let's prepare to wait a long time xD
Click to expand...
Click to collapse
@kamarush
damn I ran into some building issues already (hopefully nothing to serious)
Lunching device
build/core/product_config.mk:231: *** device/sample/products/pa_huashan.mk: PRODUCT_NAME must be defined.. Stop.
Device huashan not found. Attempting to retrieve device repository from ParanoidAndroid Github (http://github.com/ParanoidAndroid).
Repository for huashan not found in the ParanoidAndroid Github repository list. If this is in error, you may need to manually add it to your local_manifest.xml.
build/core/product_config.mk:231: *** device/sample/products/pa_huashan.mk: PRODUCT_NAME must be defined.. Stop.
** Don't have a product spec for: 'pa_huashan'
** Do you have the right repo manifest?
i'll upload my "pa_huashan.mk" file: https://mega.co.nz/#!gZESjTKQ!ESlhCwWQROoh53SFYJ5vqyA177o5jqZdy9V688BWUNs
EDIT: I modified my huashan.adds file
EDIT2: I really needs some help with this! I'm familiar with the compiling process of cyanogenmod but this is a whole new story

I'm a huge fan of PA, I hope this one for our SP will progress nicely. Keep up the good work devs. Currently on CM coz stock is too laggy on my one.
Tapatalked from my Xperia P

noahvt said:
@kamarush
damn I ran into some building issues already (hopefully nothing to serious)
Lunching device
build/core/product_config.mk:231: *** device/sample/products/pa_huashan.mk: PRODUCT_NAME must be defined.. Stop.
Device huashan not found. Attempting to retrieve device repository from ParanoidAndroid Github (http://github.com/ParanoidAndroid).
Repository for huashan not found in the ParanoidAndroid Github repository list. If this is in error, you may need to manually add it to your local_manifest.xml.
build/core/product_config.mk:231: *** device/sample/products/pa_huashan.mk: PRODUCT_NAME must be defined.. Stop.
** Don't have a product spec for: 'pa_huashan'
** Do you have the right repo manifest?
i'll upload my "pa_huashan.mk" file: https://mega.co.nz/#!gZESjTKQ!ESlhCwWQROoh53SFYJ5vqyA177o5jqZdy9V688BWUNs
EDIT: I modified my huashan.adds file
EDIT2: I really needs some help with this! I'm familiar with the compiling process of cyanogenmod but this is a whole new story
Click to expand...
Click to collapse
Just need to update/add pa_huashan to the pa vendor makefiles.

@kamarush
Remember you in developing the Xperia line 2011. Glad to see it with our Xperia SP. Some project in mind?

[QOUTE]Yeah was long time ago i just bought this device a week ago. I just came back to Sony from Samsung [/QUOTE]
Great, i really want rom by you. i hope you can make it soon..:good:

OK guys the build has started again! All my previous problems were caused by syncing the old repo (github.com/paranoidandroid) instead of the new one (github.com/AOSPA-legacy) if you get errors like I did try and use the new source (repo init -u git://github.com/AOSPA-legacy/manifest.git -b kitkat)
Just letting you guys know that this project isn't dead

noahvt said:
OK guys the build has started again! All my previous problems were caused by syncing the old repo (github.com/paranoidandroid) instead of the new one (github.com/AOSPA-legacy) if you get errors like I did try and use the new source (repo init -u git://github.com/AOSPA-legacy/manifest.git -b kitkat)
Just letting you guys know that this project isn't dead
Click to expand...
Click to collapse
When you port AOSPA to unlocked Bl's, could you make a version for locked BL's?

MrSteve555 said:
When you port AOSPA to unlocked Bl's, could you make a version for locked BL's?
Click to expand...
Click to collapse
I'm already using the locked bootloader vendor blobs
Sent from my C5303 using XDA Free mobile app

noahvt said:
I'm already using the locked bootloader vendor blobs
Sent from my C5303 using XDA Free mobile app
Click to expand...
Click to collapse
That's really good. :thumbsup: One last question, why aren't you porting the latest PA(4+)?

MrSteve555 said:
That's really good. :thumbsup: One last question, why aren't you porting the latest PA(4+)?
Click to expand...
Click to collapse
I am now! I forgot to tell you that the version updated this ROM will now be 4.4.2 kitkat!
@kamarush still getting product name not defined but build started! I'll finish it tomorrow
Sent from my C5303 using XDA Free mobile app

noahvt said:
I am now! I forgot to tell you that the version updated this ROM will now be 4.4.2 kitkat!
@kamarush still getting product name not defined but build started! I'll finish it tomorrow
Sent from my C5303 using XDA Free mobile app
Click to expand...
Click to collapse
It's really good! If you finish the build tomorrow, I'll flash it right away . I loved PA on my N7, and I think it's the one of the best ROM's on xda. Hopefully PA won't have that annoying freeze bug.

MrSteve555 said:
It's really good! If you finish the build tomorrow, I'll flash it right away . I loved PA on my N7, and I think it's the one of the best ROM's on xda. Hopefully PA won't have that annoying freeze bug.
Click to expand...
Click to collapse
Unfortunately it probably will have the freeze bug as it's based on the vendor blobs that bagyusz uses
Sent from my C5303 using XDA Free mobile app

Related

PAC ROM

Is there a simple way I could port the lastest PAC ROM to the atrix i am aware that th3bill has a 4.1.2 version up, but i would perfer a 4.2.2 with the new kernel and Halo (From PA)
Anybody know a way to port, or can port it across the Atrix 4G ?
Good way: Await for new kernel and port
Another Way: follow this mini-guide made to an HTC Pyramid user. You can build from source. -> http://forum.xda-developers.com/showthread.php?t=2008344
Make sure you build a repo sync with repo init -u git://github.com/PAC-man/android.git -b <branch>
Then well, maybe it'll work. Other way to port is with rom porting tool; but its a non-guaranteed porting --> http://forum.xda-developers.com/showthread.php?t=2196491
jhonnyx said:
Good way: Await for new kernel and port
Another Way: follow this mini-guide made to an HTC Pyramid user. You can build from source. -> http://forum.xda-developers.com/showthread.php?t=2008344
Make sure you build a repo sync with repo init -u git://github.com/PAC-man/android.git -b <branch>
Then well, maybe it'll work. Other way to port is with rom porting tool; but its a non-guaranteed porting --> http://forum.xda-developers.com/showthread.php?t=2196491
Click to expand...
Click to collapse
Right thank you I will look into it, I was thinking more of a natve port but I guess all the work to being put on the kernel at the moment.
kingbobski said:
Right thank you I will look into it, I was thinking more of a natve port but I guess all the work to being put on the kernel at the moment.
Click to expand...
Click to collapse
I think you can try porting something from Infuse -> http://forum.xda-developers.com/showthread.php?t=2038579 but I think you cannot post if you manage to get it working.
I might try to get it booting, if possible; but I encourage you to wait for sources to the kernel to be available; then building PAC ROM from source.
I'll keep you updated if I get it booting at least (I hightly doubt I get it working)
jhonnyx said:
I think you can try porting something from Infuse -> http://forum.xda-developers.com/showthread.php?t=2038579 but I think you cannot post if you manage to get it working.
I might try to get it booting, if possible; but I encourage you to wait for sources to the kernel to be available; then building PAC ROM from source.
I'll keep you updated if I get it booting at least (I hightly doubt I get it working)
Click to expand...
Click to collapse
Right thanks alot I'm new to whole building the sources, I will figure it out eventually I just really want Halo so much on the Atrix but no ROM has it yet !
kingbobski said:
Right thanks alot I'm new to whole building the sources, I will figure it out eventually I just really want Halo so much on the Atrix but no ROM has it yet !
Click to expand...
Click to collapse
That makes us two
The closest PACROM we have is by th3bill but it's android 4.1.2 without the halo and i like the 4.2 Quick setting and lockscreen D: but i like the DPI setting in PA, so PACROM running at 4.2.2 with new kernel is ideal !

[ROM][4.2.2][WIP]Galaxy Star CM-10.1[Unofficial]

CyanogenMod is a free, community built, aftermarket firmware distribution of Android 4.2.2 JB, which is designed to increase performance and reliability over stock Android for your device.
Code:
#include <std_disclaimer.h>
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/
CyanogenMod is based on the Android Open Source Project with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed. Linked below is a package that has come from another Android project that restore the Google parts. CyanogenMod does still include various hardware-specific code, which is also slowly being open-sourced anyway.
All the source code for CyanogenMod is available in the CyanogenMod Github repo. And if you would like to contribute to CyanogenMod, please visit out Gerrit Code Review. You can also view the Changelog for a full list of changes & features.
Downloads
Latest Build:
2/9/14
Link Removed
Gapps - Not needed until build is completely fixed.
Installation
- First time flashing CM-10.1 ROM?
Download Rom to sdcard.
Reboot into Recovery
WIPE: (wipe data/factory reset + wipe cache + dalvik cache partition)
Install the ROM
Working
Gralloc is currently crashing surfaceflinger
Not working
Almost everything due to force closes.
Changelog:
20140209
Updated device tree.
Built hwcomposer and gralloc from source code based on comoyo device tree.
20140208
Initial release with significant changes.
Previous builds:
Taking a logcat on these builds:
As soon as the bootanimation begins to play execute below command via terminal
or command prompt with adb installed for Windows. Upload the file it makes which is logcat.txt
Code:
adb logcat -d > logcat.txt
Special Thanks
Comoyo https://github.com/comoyo for commits for spreadtrum
batman38102 , sambathpkr , and Archit
This is a test build thanks to everyone for helping me
Source (Branch cm-10.1)
https://github.com/CM-SPRD
https://github.com/CyanogenMod
Dude i will help u as much i can. Currently i even didnt own this device Feel free to ask for any support.
Sent from my GT-9505i using Tapatalk
Building now hopefully it boots with more working things after some massive changes I've did a lot of research about this stuff
https://github.com/TeamRegular/android_device_samsung_mint/commits/cm-10.1
Unjustified Dev said:
Building now hopefully it boots with more working things after some massive changes I've did a lot of research about this stuff
https://github.com/TeamRegular/android_device_samsung_mint/commits/cm-10.1
Click to expand...
Click to collapse
Hoping For a Stable Build......:good:
yup we are with u
just keep up the work we really need a cm for our phones by now
let us know for any help ofcourse:laugh::good:
And it's off to building again build had failed previously and now I am able to produce a working cwm as well .
Here's a little surprise same instructions from DOC thread
cm-10.1
http://goo.gl/ZoIYcr
Unjustified Dev said:
And it's off to building again build had failed previously and now I am able to produce a working cwm as well .
Here's a little surprise same instructions from DOC thread
cm-10.1
http://goo.gl/ZoIYcr
Click to expand...
Click to collapse
So for which version of cwm u r porting for s5282
Sent from my GT-9505i using Tapatalk
rahulsinghal said:
So for which version of cwm u r porting for s5282
Sent from my GT-9505i using Tapatalk
Click to expand...
Click to collapse
Same one. My issue was my kernel . I did not want to release a build that would get stuck on bootlogo I had batman test recovery to make sure it worked we got it working by pulling defconfig from the device.
https://github.com/TeamRegular/andr...mmit/e8bb5520806d9028a50acf03daf3a1a29a1de8f5
Now I am actually porting twrp since they added a new 240 theme
Unjustified Dev said:
Same one. My issue was my kernel . I did not want to release a build that would get stuck on bootlogo I had batman test recovery to make sure it worked we got it working by pulling defconfig from the device.
https://github.com/TeamRegular/andr...mmit/e8bb5520806d9028a50acf03daf3a1a29a1de8f5
Now I am actually porting twrp since they added a new 240 theme
Click to expand...
Click to collapse
Nice work. Keep it up
Sent from my GT-9505i using Tapatalk
rahulsinghal said:
Nice work. Keep it up
Sent from my GT-9505i using Tapatalk
Click to expand...
Click to collapse
No ones going to test my cm build?
Unjustified Dev said:
No ones going to test my cm build?
Click to expand...
Click to collapse
Dude i will surely test your cm build but i cant bcoz i dont own this device now. Let me ask from @batman38102
Sent from my GT-9505i using Tapatalk
Unjustified Dev said:
No ones going to test my cm build?
Click to expand...
Click to collapse
Hey i'm going to test it.but downloading is not working.it says some 509 error
sambathpkr said:
Hey i'm going to test it.but downloading is not working.it says some 509 error
Click to expand...
Click to collapse
Go for it dude. Hope it works better than previous one
Sent from my GT-9505i using Tapatalk
rahulsinghal said:
Go for it dude. Hope it works better than previous one
Sent from my GT-9505i using Tapatalk
Click to expand...
Click to collapse
DONT FLASH IT. It boots but everything force closing so PLEASE DO NOT FLASH IT
problem
I tested it.it booted successfully.but it has issues
1. systemui unfortunately stopped.
2. Unfortunately cyanogenmod cannot be created.
it does not even goes to launcher.:crying:
Unjustified Dev said:
Hi , I am developer I do not own this device. I will attempt at my best to provide a working build on cm-10.1 and maybe we can go even further. If you are able to donate a phone that will speed up the process if not it's ok . I will only work on this on weekends. I ask that anyone interested in helping me please PM me and get on hangouts. I will not be able to chat much nor always answer post. I am not the best developer , but i should be able to fix some things even without the device.
Device source same as the one used to build booting cm-10.1 soon to be rewritten
https://github.com/TeamRegular/android_device_samsung_mint
Kernel source
https://github.com/TeamRegular/android_kernel_samsung_mint
vendor
https://github.com/TeamRegular/android_vendor_samsung_mint
Click to expand...
Click to collapse
Dude note that only deodexed rom seems to work fine on this device
Sent from my GT-9505i using Tapatalk
rahulsinghal said:
Dude note that only deodexed rom seems to work fine on this device
Sent from my GT-9505i using Tapatalk
Click to expand...
Click to collapse
I am using odexed like DOC. Look at my commit. I am not using software rendering. I have the actual egl and gpu blobs working. I added audio blobs and more. Doc had no proprietary files and it had no reason to force close.
https://github.com/TeamRegular/android_device_samsung_mint/blob/cm-10.1/BoardConfig.mk#L111
Unjustified Dev said:
I am using odexed like DOC. Look at my commit. I am not using software rendering. I have the actual egl and gpu blobs working. I added audio blobs and more. Doc had no proprietary files and it had no reason to force close.
https://github.com/TeamRegular/android_device_samsung_mint/blob/cm-10.1/BoardConfig.mk#L111
Click to expand...
Click to collapse
so r we at a dead end??
hey and i checked the link you sent me
and m not a develpoer so i dint understand a thing:silly:
but some data as i understand it is probably wrong
for eg the device resolution is 240x320
u mite have written it for a reason but i thot i should point out
again i am no developer i just want to help
@rchit said:
so r we at a dead end??
hey and i checked the link you sent me
and m not a develpoer so i dint understand a thing:silly:
but some data as i understand it is probably wrong
for eg the device resolution is 240x320
u mite have written it for a reason but i thot i should point out
again i am no developer i just want to help
Click to expand...
Click to collapse
That's correct unless you were looking at twrp they don't have a 240x320 theme yet. I am not working on this as it's a school day I will only work on free days and weekends.
Sent from my SPH-D710 using Tapatalk
Unjustified Dev said:
That's correct unless you were looking at twrp they don't have a 240x320 theme yet. I am not working on this as it's a school day I will only work on free days and weekends.
Sent from my SPH-D710 using Tapatalk
Click to expand...
Click to collapse
ok cool do u think u can build us a stable recovery and cm
and i know you might be getting a lot of msgs but can u give us an estimate time for a stable build??
thanks a lot for ur help really appreciate it

[ROM][KVT49L]AOSP 4.4.2 from source (Alpha 01)

The reason I post my ROM here is because I'm soon starting with a new rom, broodROM KitKat which will also be available for the Note 3, So I figured why not test it on my current AOSP ROM (to see if there is any trouble on compiling, but no!). This AOSP is based on the real Google AOSP, no real further modifications (only thing is that it includes DeviceSettings from the S4 currently), and AppOps is exposed. that's all.
It includes the stock CM11 kernel (which is kinda crappy). but I don't have the device so cannot make decent kernel myself without testing. Also the ROM is 100% untested. but it compiled without any error with my sources (www.github.com/AOSP-S4-KK) so I think it's alright.
Working List
- You tell me I have no idea :silly:
Download Alpha 1
www.broodplank.net/files/AOSP-442-N9005-Alpha-1.zip
on alpha 01 you need to flash a custom kernel
SEND ME LOGCAT! BECAUSE CURRENTLY IT SEEM TO BOOTLOOP
The device name is listed as hlte in settings / build.prop, don't worry this is actually hltexx
Download Gapps Lite + SuperSU (yes it's not rooted by default, I recommend installing this package)
http://broodplank.net/files/gapps-4.4.2-lite-with-supersu-1.86.zip
Sources
- https://github.com/aosp-s4-kk
Download:
Code:
mkdir ~/AOSP
cd ~/AOSP
repo init -u git://github.com/AOSP-S4-KK/platform_manifest -b kk-4.4
repo sync
Building:
Code:
. build/envsetup.sh
lunch
make otapackage
reserved1
Sweet man!! Thanks always looking for something new to flash lol downloading now
Sent from my iPad using Tapatalk
Downloading!
Sent from my SM-N9005 using XDA Premium 4 mobile app
Thankyou OP
anybody that has tried this, can you let me know if the temp/humidity sensors are still working after a few hours? as with other cm roms they stop working for me
Awesome Broodplank! Just switched from the Galaxy S Plus to the Note 3, always enjoyed your roms on there. Will try out this one! Keep up the good work
Sent from my SM-N9005 using xda app-developers app
Flashed and it went straight into Odin mode and said "Could not do normal boot" - I'm on the new Kitkat bootloader.
radicalisto said:
Flashed and it went straight into Odin mode and said "Could not do normal boot" - I'm on the new Kitkat bootloader.
Click to expand...
Click to collapse
Lol what the hell, that's almost impossible that my rom triggered download mode XD.
But it could be true, I have no clue since I do not have the device. what you could try is using the boot.img & /system/lib/modules from CM11 nightly.
btw, just downloaded CM11 and noticed there are NO modules in the kernel of hltexx. this means the kernel I added will not boot most likely.
So please install this zip after installing the rom:
www.broodplank.net/files/aosp-442-hltexx-kernel.zip
broodplank1337 said:
Lol what the hell, that's almost impossible that my rom triggered download mode XD.
But it could be true, I have no clue since I do not have the device. what you could try is using the boot.img & /system/lib/modules from CM11 nightly.
btw, just downloaded CM11 and noticed there are NO modules in the kernel of hltexx. this means the kernel I added will not boot most likely.
So please install this zip after installing the rom:
www.broodplank.net/files/aosp-442-hltexx-kernel.zip
Click to expand...
Click to collapse
OK - will try again now and let you know :good:
and new bootloader ?
Just bootloops with that .zip you added.
I did however change your kernel zip after the bootloop and used - temasek's HLTE custom kernel - I am now on the Android start up screen you have added but it is stuck on there.
radicalisto said:
Just bootloops with that .zip you added.
I did however change your kernel zip after the bootloop and used - temasek's HLTE custom kernel - I am now on the Android start up screen you have added but it is stuck on there.
Click to expand...
Click to collapse
ok good, could you open up adb shell, and send me the logcat, since I have no idea what actually could be the cause atm.
Yup will do it shortly, just heading home now
Sent from my CM11 Kitkat powered N9005
radicalisto said:
Yup will do it shortly, just heading home now
Sent from my CM11 Kitkat powered N9005
Click to expand...
Click to collapse
Ok thank you very much, without some proper logcat I cannot fix anything since I don't have the device :silly:
Anyways, I think the problem won't be a serious one, since the rom has msm8974 support
www.broodplank.net/logcat for uploading logcats pls
broodplank1337 said:
Ok thank you very much, without some proper logcat I cannot fix anything since I don't have the device :silly:
Anyways, I think the problem won't be a serious one, since the rom has msm8974 support
www.broodplank.net/logcat for uploading logcats pls
Click to expand...
Click to collapse
Sorry I couldn't manage to get a logcat via ADB due to some kernel issues with connecting to the PC - I'll try again today. - Is It possible you are using the old CM sources rather than the unified build sources? - device changed from HLTEXX to HLTE
radicalisto said:
Sorry I couldn't manage to get a logcat via ADB due to some kernel issues with connecting to the PC - I'll try again today. - Is It possible you are using the old CM sources rather than the unified build sources? - device changed from HLTEXX to HLTE
Click to expand...
Click to collapse
This ROM is built from pure AOSP sources not CM.
Hope a working build comes up soon, really like pure AOSP ROMs!
gianton said:
This ROM is built from pure AOSP sources not CM.
Hope a working build comes up soon, really like pure AOSP ROMs!
Click to expand...
Click to collapse
Ah I dropped the herp a derp then hahah, Nah reason I thought that was because of the CM kernel used to boot it up. Thanks for correcting :good:
---------- Post added at 08:56 AM ---------- Previous post was at 08:55 AM ----------
@gianton it'll boot into splash screen with temasek's kernel, if you wanna try and grab an ADB Logcat? - I'm having issues getting one :crying:
Sorry for not providing a good kernel, the thing is I cannot compile it decently with the ROM. it says I have to add module support and recontinue, thing is, the note 3 does not use it. but my build forces it.. Anyone have experience on CM with compiling the kernel? (the kernel is from CM after all)
You could try temasek or Yank555 or wootever for help with kernels as they're pretty decent at them - civato knows his stuff also, however I believe he has only worked with Stock samsung kernels and not CM stuff.
Still cannot get ADB logcat, phone won't recognise in PC

[WIP][DEV] Ubuntu Touch for Sony Xperia Z Ultra

Hi folks,
I just started to port UbuntuTouch for the Sony Xperia Z Ultra and I think I should have a *.zip ready for testing in 2 weeks.
Until then, I will use this thread as a scrap book to document all the troubles I run into, all the things that needed my special attention and fixes that are not that obvious. I hope there will be some fellas brave enough to test everything and report back or even to join me with the development.
Best regards,
Kalle
First Update:
I found that the Ubuntu Touch version that ist based on CyanogenMod was not updated to a more recent version. This means that I have to either look into AOSP or backport everything to CM-10.1. I think backporting is kinda stupid because newer we are writing new software to improve things. Sadly I don't have much experiance with AOSP so I will have to find out how everything works and what the differences to CyanogenMod are.
The good news is, that I'm catching up with the mailing list, which means I'll have a place to call for help.
Also I'm in the progress to start a git repo, but I'm unsure what I will need to add, maybe some common stuff from sony does not need to be changed.
So long,
Kalle
Update!
There is a new porting guide! See here
I already freed some space for it and ordered a bit more ram so after my exam next week, I'll pick this up/Start all over.
Hope you are as excited as I am,
Kalle
XDA:DevDB Information
Ubuntu Touch for Sony Xperia Z Ultra, ROM for the Sony Xperia Z Ultra
Contributors
KalleEatingBrain, Kohelet
ROM OS Version: 4.4.x KitKat
ROM Kernel: Linux 3.4.x
ROM Firmware Required: Unlocked Bootloader
Based On: AOSP
Version Information
Status: Testing
Created 2014-05-14
Last Updated 2015-02-24
freaking awesome!
freaking awesome!
i would like to test. maybe i can help with developing/porting
Thank you for your efforts. I will test if needed.
Sent from my C6806 using XDA Premium 4 mobile app
Great this would be awesome if you can make it happen. I'm here for testing if required.
Sent from my C6833 using XDA Premium 4 mobile app
In also here for testing... Ubuntu Touch has intruiged me, I would love to try it out.
Thx... (thread bookmarked)
Sent from my C6833 using Tapatalk
I keep meaning to reply to this thread... Thanks for putting the effort in to get this working. If you want any hints/tips etc from my experience in getting slim and carbon built for the ZU just ask, I'll be willing to test aswell
iBuzman said:
Thx... (thread bookmarked)
Sent from my C6833 using Tapatalk
Click to expand...
Click to collapse
+1
Nice.ill be watching out everyday
Sent from my C6833 using XDA Premium 4 mobile app
blueether said:
I keep meaning to reply to this thread... Thanks for putting the effort in to get this working. If you want any hints/tips etc from my experience in getting slim and carbon built for the ZU just ask, I'll be willing to test aswell
Click to expand...
Click to collapse
Cool, thanks can you give me a hint on how to deal with new targets in Aosp? I mean setting up the files in a way "lunch" is able to find the right target.
Sent from my C6833 using XDA Free mobile app
vendersetup.sh file in vender/ might be what you are looking for?
have a gander at this http://www.kandroid.org/online-pdk/guide/build_new_device.html
How are you doing on this? I've just started working on this as well and am curious to know how far along you've gotten/what issues you've run into.
Sent from my Nexus 7 using XDA Free mobile app
So I've gotten the build to start, but I'm running into issues with libhybris:
ubuntu/hybris/compat/media/media_codec_layer.cpp:51:40: fatal error: gui/IGraphicBufferProducer.h: No such file or directory
compilation terminated.
make: *** [out/target/product/togari/obj/SHARED_LIBRARIES/libmedia_compat_layer_intermediates/media_codec_layer.o] Error
I'll post here once I've found a solution.
Kohelet said:
So I've gotten the build to start, but I'm running into issues with libhybris:
ubuntu/hybris/compat/media/media_codec_layer.cpp:51:40: fatal error: gui/IGraphicBufferProducer.h: No such file or directory
compilation terminated.
make: *** [out/target/product/togari/obj/SHARED_LIBRARIES/libmedia_compat_layer_intermediates/media_codec_layer.o] Error
I'll post here once I've found a solution.
Click to expand...
Click to collapse
Yeah, thats as far as I got, too. :-/ I tried removing all different libs or compiling different parts and leaving others out but I couldn't get any futher. Also I saw your post to the mailing list but it seems like you wont get a helpful reply either. As far a I could track this problem is the incompatibility of togari CM-11 and the ubuntu AOSP source tree. On xda-university there is a guide for porting from CM to AOSP which I will try but maybe you should take a look, too. Anyways: Great to see there is someone else except lazy me working on this.
Best regards,
Kalle
KalleEatingBrain said:
Yeah, thats as far as I got, too. :-/ I tried removing all different libs or compiling different parts and leaving others out but I couldn't get any futher. Also I saw your post to the mailing list but it seems like you wont get a helpful reply either. As far a I could track this problem is the incompatibility of togari CM-11 and the ubuntu AOSP source tree. On xda-university there is a guide for porting from CM to AOSP which I will try but maybe you should take a look, too. Anyways: Great to see there is someone else except lazy me working on this.
Best regards,
Kalle
Click to expand...
Click to collapse
I actually got past the libhybris issue. The problem was that the porting guide is out of date. It's based on using cm-10.1 whereas the current source for Ubuntu is based on cm-11.0. So if you use 4.4.2 instead instead of 4.2.2 then it works. But there are so many other issues and the documentation for fixing them is so poor. I've kept a running list of problems I've come across and the solutions for them (it's below).
Also they dropped the whole UCM thing so you should be able to get sound working once you actually get a working build, but I couldn't get it to build. The error that is currently in my way has to do with "No rule to make target signapk.jar needed by com.qualcomm.location" or something or other. And I found nothing on how to solve that online.
At this point I've decided to take a short break from the whole thing because it's so frustrating.
Once I get motivated to work on it again, I'll probably start from scratch.
Issues List (I apologize for not being specific about the errors, I didn't write them down verbatim):
If you get an error about libelf you need to add CyanogenMod/android_external_elfutils to your local_manifests/roomservice.xml and also add external/elfutils under subdirs in build/core/main.mk
Don't forget to also add device/sony and vendor/sony to build/core/main.mk as well.
The build will complain about not having a rule to make android-boot.img. To fix you have to go to device/sony/fusion3-common/custombookimg.mk and change boot.img to android-boot.img. You need to make the same change in device/sony/rhine-common/custombootimg.mk
I got an error about android.hardware.bluetooth_le.xml. If you just restart the build it doesn't complain, but I didn't find a proper solution to that.
If you get the libhybris error you have the wrong version of the Ubuntu source. Make sure you're using 4.4.2 when you phablet-dev-botstrap. It should be phablet-dev-bootstrap --sources aosp --repo-branch phablet-4.4.2_r1 [target_directory]
You might get an error about a product_config.mk and how it's missing a makefile for togari. You have to make sure that in device/sony/togari Android.mk, cm.mk, full_togari.mk, and vendorsetup.sh PRODUCT_NAME is the same. I solved this by changing PRODUCT_NAME to cm_togari in all of them and then renamed full_togari.mk to cm_togari.mk
You might get an error like MODULE.TARGET.SHARED_LIBRARIES.libOmxCore already defined in hardware/qcom/media. You should have CyanogenMod/android_hardware_qcom_media-caf-new in your repo manifest with a path of android/qcom/media-caf-new so you can safely rm -rf the hardware/qcom/media directory to get past this error.
If you get an error about dtbToolCM, add /device/qcom/common/dtbtool to your subdirs in build/core/main.mk
You may get an error about mkbootimg, that's because Sony uses a different version of mkbootimg. The only option I found was to download it from the internet (Thanks DooMLorD!). Once you get that version edit device/sony/rhine-common/custombootimg.mk and replace $(MKBOOTIMG) with the path to your downloaded mkbootimg binary.
You might get an error about no rule to make target something/something/signapk.jar needed by something/something/com.qualcomm.location. I didn't find a solution to this error.
Click to expand...
Click to collapse
Thanks for that list, it's sure to help some one. I think I have had most of those errors in trying to get aosp to build.
Can I copy those errors to my [DEV]Random thoughts thread?
blueether said:
Thanks for that list, it's sure to help some one. I think I have had most of those errors in trying to get aosp to build.
Can I copy those errors to my [DEV]Random thoughts thread?
Click to expand...
Click to collapse
Sure, feel free. I built CM for all my devices and regretted not keeping such a list when I did that. So now every time I work on a build I keep lists like that. Eventually, when I have a working build, I'll post a guide for how to build following the same steps I took.
Kohelet said:
Sure, feel free. I built CM for all my devices and regretted not keeping such a list when I did that. So now every time I work on a build I keep lists like that. Eventually, when I have a working build, I'll post a guide for how to build following the same steps I took.
Click to expand...
Click to collapse
Yeh carbon and slim were easy to build, and simple fixes. AOSP on the other hand I wish I had kept a build log
Ah nice, when I last checked CM-11.0 was not working with the 4.4.2r2 branch. I think I know how to fix the problem with the *.apk. Basically you have to remove all java dependencies from all the makefiles. I will look it up, so I can tell you what to grep for. Do you have a git repo we can work on, or should I add you to mine (which is just a fork of the CM-repos)? I will take a look at the sound in the next days. Thanks for you list!
Keep it up,
Kalle
Sent from my C6833 using XDA Free mobile app
KalleEatingBrain said:
Ah nice, when I last checked CM-11.0 was not working with the 4.4.2r2 branch.
Click to expand...
Click to collapse
That could potentially be a major source of my problems. i wasn't aware of that.
I think I know how to fix the problem with the *.apk. Basically you have to remove all java dependencies from all the makefiles. I will look it up, so I can tell you what to grep for. Do you have a git repo we can work on, or should I add you to mine (which is just a fork of the CM-repos)? I will take a look at the sound in the next days. Thanks for you list!
Keep it up,
Kalle
Sent from my C6833 using XDA Free mobile app
Click to expand...
Click to collapse
All I have at the moment is a fork of the CM repos. Feel free to add me to your repo. My username on Github is Kohelet as well. I can start to look into removing java dependencies as well.
As for the sound, the mailing list made it appear as if it was a simple matter of running
Code:
$ sudo apt-add-repository ppa:ci-train-ppa-service/landing-018
$ sudo apt-get update
$ sudo apt-get dist-upgrade
$ sudo apt-get install pulseaudio-module-droid
I could be wrong though.

[Development] Desire 820 (htc_a51ul/a51tuhl) device tree

Hello there.
Here is device tree:
DOWNLOAD from My github.
It is in Alpha (developers) release as probably You will need to fix few errors by hand....but, anyway, someone must to start with something....
Kernel is in this moment not released by HTC, but We can do some things with prebuilt kernel.
PREPARATION:
Please, after You pull it inside cm-13 source, GET VENDOR FILES by cd into device/htc/htc_a51ul and
Code:
./extract-files.sh
(with connected phone in adb enabled mode)
Second, please comment out in BoardConfig.mk following line:
Code:
TW_THEME := pure4
and uncomment:
Code:
TW_THEME := portrait_hdpi
as I wasn't release yet pure4 design skin to github.
Third, if You cannot handle "BSP" (and it's about 99% that You can't ) comment out:
Code:
TARGET_USES_QCOM_BSP := true
and remove flag
Code:
-DQCOM_BSP
from COMMON_GLOBAL_CFLAGS
Then You are ready to build (until first error come)
PLEASE, don't take advantage with this if You really don't know how to handle errors as I will NOT help or respond on PM's regarding help about building this.
When something come up, will make post/and/or attach possible working image.
Cheers
EDIT1: dts is attached, so if someone like to play with kernel... Check it out. I will put changes to 64bit kernel on My github soon with this device tree.
EDIT2: kernel is updated. You can grab it on MY GITHUB
EDIT3: BoardConfig.mk is changed, so no need to change twrp skin and BSP (steps second and third).
Thank you, btw. great job!
Great beginning!
So, things changed... Kernel updated, device tree updated, read.me updated.
Please be free to pull Kernel and make changes so We can got it working. I was made first steps and don't have so much time to make all this together work but if few of dev's come aboard and take work, We can make it work soon.
So i am quite interested in this device, don't own it yet so @fergy would appriciate it, if you could push vendor (too much work to do it all manually, especially the makefile ).
Thanks.
List of vendor files are under my github device tree... When you extract files, makefile will be builded under vendor/htc/devicename
fergy said:
List of vendor files are under my github device tree... When you extract files, makefile will be builded under vendor/htc/devicename
Click to expand...
Click to collapse
I know that, but since i don't own the device i can't pull blobs using the script (obviously), so it would be awesome if you could create the vendor (run the script), git init and push
btw i remade the device tree based on the htc a5, looks much better now: https://github.com/Thecrazyskull/device_htc_a51ul
Thanks.
Thecrazyskull said:
I know that, but since i don't own the device i can't pull blobs using the script (obviously), so it would be awesome if you could create the vendor (run the script), git init and push
btw i remade the device tree based on the htc a5, looks much better now: https://github.com/Thecrazyskull/device_htc_a51ul
Thanks.
Click to expand...
Click to collapse
https://github.com/Skorupa123/vendor_htc_htc_a51ul
Recently I uploaded it, so, enjoy!
Skorupa123 said:
https://github.com/Skorupa123/vendor_htc_htc_a51ul
Recently I uploaded it, so, enjoy!
Click to expand...
Click to collapse
Thanks a damn lot!!!
@Thecrazyskull Do you make cyanogenmod?
@Thecrazyskull
I know that fergy aboneded our project.. But you.. Do you continue? Can i help you?
Dragonfail said:
@Thecrazyskull
I know that fergy aboneded our project.. But you.. Do you continue? Can i help you?
Click to expand...
Click to collapse
I pretty much lost interest, especially since i dont want to develop without owning the device.
Thecrazyskull said:
I pretty much lost interest, especially since i dont want to develop without owning the device.
Click to expand...
Click to collapse
I can help you.. please.. continue...
Sent from my HTC Desire 820 using XDA Free mobile app
Dragonfail said:
I can help you.. please.. continue...
Sent from my HTC Desire 820 using XDA Free mobile app
Click to expand...
Click to collapse
Its a pain for myself, and i don't wanna go through that so i won't be developing for this device anymore unless i can get my hands on one (very unlikely)
What is thts device tree not understanding
chitranjn_k said:
What is thts device tree not understanding
Click to expand...
Click to collapse
This is not really the place to ask...
chitranjn_k said:
What is thts device tree not understanding
Click to expand...
Click to collapse
If you don't understand it you don't need it.
Wysłano z Tapatalk / Sent with Tapatalk
Any idea about htc desire 826 dual sim i.e. a52_dtul device tree ?

Categories

Resources