AOSP Building - Xperia Z4/Z3+ General

Update from jerpelea
jerpelea said:
sorry for forgetting this info
i have updated the build guide
to flash system you have to use
fastboot -S 256M flash system system.img
br
J
Click to expand...
Click to collapse
This is now booting for me.
This thing flies on AOSP but there appears to be something wrong with the baseband info / wifi info as neither of them are working

Now Booting
Once I figure out why Cell Service / WiFi doesn't work I'll post a flashable zip or systme img

ChrisJ951 said:
Now Booting
Once I figure out why Cell Service / WiFi doesn't work I'll post a flashable zip or systme img
Click to expand...
Click to collapse
I just built an image as well. Do you want to try the version I built to rule out any possible issues in the build environment? I don't want to unlock my bootloader yet...

dl12345 said:
I just built an image as well. Do you want to try the version I built to rule out any possible issues in the build environment? I don't want to unlock my bootloader yet...
Click to expand...
Click to collapse
It's okay, jerpelea said it's because they haven't released the kernel wireless driver or GSM:
jerpelea said:
This is normal for an initial release
We have not added yet kernel wireless driver or GSM
Br
J
Click to expand...
Click to collapse

dl12345 said:
I just built an image as well. Do you want to try the version I built to rule out any possible issues in the build environment? I don't want to unlock my bootloader yet...
Click to expand...
Click to collapse
Do you think following parts of these guides:
http://forum.xda-developers.com/showthread.php?t=2475352
http://forum.xda-developers.com/crossdevice-dev/sony/guide-porting-custom-roms-t2828854
We may be able to get Wifi/cell working with the stock ROM libraries? We may be better off going to CM 5.0.1 isntead of AOSP 5.1.1 if we do this

Related

Lots of news on xda.Cn

Hi all,
I see a lot of things on xda.cn for the htc photon... But, i'm french and google's translate is not very good for china..
what do you think about that ?
http://bbs.xda.cn/forum.php?mod=forumdisplay&fid=260&page1
actually nothing special on there...there're only some "modified" versions from schlund's release...
They have some very active rom development (one of them has a wifi fix, battery saving algorithms and a gps fix). It should be interesting if someone skilled can apply this to schlund's release, so we have an english version of it
speedfreak007 said:
They have some very active rom development (one of them has a wifi fix, battery saving algorithms and a gps fix). It should be interesting if someone skilled can apply this to schlund's release, so we have an english version of it
Click to expand...
Click to collapse
for battery saving, it only removes a lot of systematic apps from the install zip
you could also do it by using "SystemApp Remover"
Remove some unnecessary apps from the system partition
peter08po said:
actually nothing special on there...there're only some "modified" versions from schlund's release...
Click to expand...
Click to collapse
Not just that ... they try replacing schlund's kernel with a Russian one.
xnym said:
Not just that ... they try replacing schlund's kernel with a Russian one.
Click to expand...
Click to collapse
you just have to perform this in the fastboot mode of schlund's release:
Code:
fastboot flash boot boot.img
*the boot.img is extracted from russian's release
and then reboot the phone
I have not read it wrong, it seems that Schlund has said that in the coming days will release a new kernel because of the problem of battery power ...
xnym said:
Not just that ... they try replacing schlund's kernel with a Russian one.
Click to expand...
Click to collapse
What should be better in that russian kernel?
speedfreak007 said:
What should be better in that russian kernel?
Click to expand...
Click to collapse
the black screen of incoming calls won't happen in russian's kernal
I install the xda.cn Version
Hi I installed android 2.3 and 2.2 but my wifi don't work, installed the xda.cn version and not see much diference and my wifi dont work.
Anyone can help me ?
osmarsilva said:
Hi I installed android 2.3 and 2.2 but my wifi don't work, installed the xda.cn version and not see much diference and my wifi dont work.
Anyone can help me ?
Click to expand...
Click to collapse
did you use the new lkbootloader? (the out.nb)
if not, wifi won't work. make sure you flash the correct out.nb for your corresponding rom.
I tried two Versions
HI I tried the two versions, lk-photonic.nb and out.nb but my wifi doesn't work.
How do I know the correct version for my correspondent rom ?
osmarsilva said:
Hi I installed android 2.3 and 2.2 but my wifi don't work, installed the xda.cn version and not see much diference and my wifi dont work.
Anyone can help me ?
Click to expand...
Click to collapse
I've already installed Chinese Roms and my WiFi worked as well as others, so the problem must be something especial for you.

[mod][PATCH][AROMA] ROM_PATCH v1.2 for ics- full freedom

thanks a lot to amarullz for providing aroma installer, and thanks to nightshack0 I have taken his installer and modded to work according to my need but dont think that I have just copied and pasted the installer
had you ever feel that another galaxy s variant's forum have a ics rom which suits all your need but you cannot flash it because it is not yet ported to your device but now all this will not happen again with this patch you can install which ROM you want to flash there will be no boundation for you.
if you are getting status 7 or getprop error then a little work from your side is needed
extract the rom to a folder then go to /extracted folder/META - INF/com/Google/Android
from there open updater-script and remove all getprop lines
come back to META - INF folder and delete all three files
zip the file and flash it in recovery
NOTE:- to edit updater script use jota text editor(android), notepad++(windows)
Click to expand...
Click to collapse
this patch will let you flash other I9000 or t959 roms I have not tried it on other variant but you can try and let me know if it works, I have tried to flash a nexus s rom and it was not flashing so just flash and let me know there is no harm no soft brick no hard brick just physical button will not work until you flash this patch or another rom
Click to expand...
Click to collapse
how to use this patch:- first flash the rom you wanted then this patch and if rom is not flashing read the FAQ
Click to expand...
Click to collapse
download link
*AROMA compatible v1.2:- http://bit.ly/rompat12 (39mb)
* AROMA compatible v1.1:- http://bit.ly/JpHy83 (41mb)
* CAPRIVATE patch v1.0:- http://db.tt/35H5A9mH
Click to expand...
Click to collapse
PROS:- 1.flash which ics rom you want
2. new world with more rom have been revealed
3. rom chefs work have been reduced because now they do not need to port their rom.
4. small size just 12mb
5. TWRP kernel is pre bundled thanks to KRARVIND
Click to expand...
Click to collapse
CONS:- 1. you cannot get the build properties(build.prop) of the rom you are flashing instead you will get the build property which will not be related to any ics rom
Click to expand...
Click to collapse
the patch do not contains any file which can cause a bug and patch will only work on ics roms not gb
For further clarification read FAQ on second post
update:- keep the thanks coming guys and I will add the support of aroma installer and new things just keep me encouraged by pressing thanks
Click to expand...
Click to collapse
update 2:- hi all if you like my work please rate this thread with 5 stars and also submit it as news tip
Click to expand...
Click to collapse
update:- flashed fascinate rom by editing updater script and without resigning got it booted up but it cleared my efs folder so was not getting any network coverage, I got very depressed tried cleared data restore nandroid but nothing works then I thought about efs and with the backup I copy imei files to efs folder and after reboot I got coverage now I will not flash any fascinate rom just for testing but I can say that fascinate rom are working
Click to expand...
Click to collapse
PATCH FAQ
FAQ
Q.:- how to use this installer
Ans:- don't worry about this all the instruction have been given in the installer you just need to flash the package in recovery it is just like installation wizard of windows
Click to expand...
Click to collapse
Q.:- will this also work on gb rom
Ans:- no the patch contains a kernel which cannot work with gb rom
Click to expand...
Click to collapse
Q:- while flashing a galaxy s ics rom I got an error of assert failed what to do.
Ans:- first flash this patch then go to advance and select reboot recovery with new TWRP recovery flash the rom then again flash patch
Click to expand...
Click to collapse
Q.:- why you provided custom build.prop.
Ans:- if build.prop will not be provided then rom's build.prop will change you device's build properties which will not letyou flash files specially created for captivate
Click to expand...
Click to collapse
Q.:- can I flash another captivate ics kernel
Ans:- yes you can flash
Click to expand...
Click to collapse
Q.:- can I flash a kernel I9000 or T959
Ans:- no you cannot flash
Click to expand...
Click to collapse
Q.:- can you give some info about TWRP kernel
Ans:- a bigmem kernel with 720p recording patch originally can be found in Slim Ice rom thanks KRARVIND for this
Click to expand...
Click to collapse
Q.:- what can happen if I forgot to flash this patch
Ans:- nothing serious just the physical keys (menu, back etc.) will not work except this everything will be normal just boot to recovery and flash the patch and keys will work again
Click to expand...
Click to collapse
Q.:- I like your work where can I donate you
Ans:- my work is not that much to be donated and I got pocket money from my father I am just a teenager of seventeen just press thanks button and rate this thread with 5 stars, I will be happy
Click to expand...
Click to collapse
Q.:- Is there any modem provided Ans:- no, there is no modem in the package and will be provided in next update following in 3-5 days
Click to expand...
Click to collapse
WHAT'S NEW
v1.2
1. added bootanimation support
2. removed 30 data fix script
3. added vold.fstab
4. added shutdown charging animation files
5. only single modem is there to decrease size of the patch
6. added a new splash screen
v1.1
1. Added support of AROMA INSTALLER (thanks AMARULLZ)
2. Updated Semaphore kernel
3. Removed some unwanted files
4. Added some Init Scripts
5. Removed Lib files
6. Added Modem.bin
tested roms
a list of tested roms is here
1. infinitum (currently ported)
2. myics ultimate fusion
3. galaxy s cm9 kang build
4. team icssgs
Interesting. Will check it out
Sent from my SGH-I897 using xda premium
Interested to try this out... waiting for link. I'm feeling daring today.
edit: thread updated while I was posting- I'll report back when I try it out.
cool... So where is the link?
Sent from my SGH-I897 using XDA
guys I have just created the thread it will take time to complete link have been added
oooh whats this lol
sorta like Hellraiser from the infuse forum
Cool it's there yeah let's see )))))
Sent from my SGH-I897 using XDA
Really? Wow! that sounds awesome!! Gonna try it for sure.
Any feedback? Lol
Just to clarify
I flash this after ANY ICS rom on Any(galaxy s) Phone?(Such as Galaxy s II) Or Just for vibrant?
Also I flash the patch first then the rom Of My choice? Or what o.o
[email protected]$$ GONNA TRY THIS OUT NOW!
Sent from my SGH-I897 using xda premium
Can somebody explain how the hell I use this o.o Im confused
patrick8996 said:
Can somebody explain how the hell I use this o.o Im confused
Click to expand...
Click to collapse
Hi confused! I'm perplexed. Would like to this as well.
Sent from my SGH-I897 using xda premium
shaker2k said:
Hi confused! I'm perplexed. Would like to this as well.
Sent from my SGH-I897 using xda premium
Click to expand...
Click to collapse
Lol Guess Im gonna try it o.o
Gonna flash this patch and find advanced(wherever that may be) and then flash an SGSII Rom
patrick8996 said:
Lol Guess Im gonna try it o.o
Gonna flash this patch and find advanced(wherever that may be) and then flash an SGSII Rom
Click to expand...
Click to collapse
I think it's just i9000 and i9020 (google nexus). Not sure though.
swayjd said:
I think it's just i9000 and i9020 (google nexus). Not sure though.
Click to expand...
Click to collapse
damn it o.o
so i can flash a nexus one ics rom on my cappy? i dont get it
@OP, can you explain us what this does?

Radio issue (not recognised) Find5 4.4 build

Hello Entropy & Omni team,
I have an issue when building find5 KK. In fact no really building as i manage to get the homemade zip file, manage to flash it, it boots ok, everything is working except that my radio is not recognised so no IMEI and no mobile network, wifi is ok. Here is a link to my own build witch has exactly the same size in KB that the official nightly. Strange stuff is that if i flash the official nightly over my build then no issue, and the radio is recognised.
Blobs are coming from donkey github
I tried to flash from aokp 4.3 build, then also from Color OS, same result.
Flashed maxwen radios 4.1 and 4.2 over my build same issue
I'm building from virtual box ubuntu 12.04, JDK 1.6 update 45, on a Mac.
The only thing i see that may be wrong is that at the end of each build before the package is delivered i see no radio.img found, skipping install, but i've read that it was coming without radio.
Tried to add a line in the build.prop to disable selinux "ro.boot.selinux=disabled" i did not help.
I use maxwen TWRP patched recovery, but also tried with last cwm recovery and same result.
With the same build environment i manage to build I9300 omni kitkat without issue.
Any idea what could be wrong?
Many thanks in advance, and also thanks for the great job you all with Omni
Do you have logs?
I did not search for logs as everything is working fine except the fact it boots without baseband but I can search for it. What kind of logs?
Thanks.
Sent from my GT-I9505 using xda app-developers app
jejecule said:
What kind of logs?
Click to expand...
Click to collapse
logcat -b radio
maxwen said:
logcat -b radio
Click to expand...
Click to collapse
Thanks Maxwen! I've built today again...and it's working now, no issue anymore, my baseband is recognised after flashing 04/12 build. Were there some sources changes yesterday?
I will build again tomorrow morning to check if it's definitely solved.
Thanks a lot guys for your great job and support:good:
jejecule said:
Thanks Maxwen! I've built today again...and it's working now, no issue anymore, my baseband is recognised after flashing 04/12 build. Were there some sources changes yesterday?
I will build again tomorrow morning to check if it's definitely solved.
Thanks a lot guys for your great job and support:good:
Click to expand...
Click to collapse
Nothing I know of... Maybe something in your build system temporarily derped.

Sailfish OS on the bullhead

edit: latest 14.1 base out with fixed camera and booting
edit: alpha6 is out, sensors fixed, but camera is completely broken
So I finally have a decent enough port of SFOS on bullhead
https://www.youtube.com/watch?v=OKWHeTUiU34
Thats an old video but a quick demo.
http://images.devaamo.fi/sfe/bullhead/
images can be retrieved from the above
Flash the latest stock image for your base and boot into it. for android 7 thats 7.1.2 (N2G48C, Aug 2017) and android 6 thats 6.0.1 (MTC20K)
Reboot to twrp
Format data
Reboot to twrp again
copy over the zips
flash cm or lineage from prefered base, but 14.1 is better.
Flash sfos zip
Working
Audio
Calls
Texts
Data
Wifi
Camera
Sensors
Not Working :~( :
Fingerprint scanner
Bluetooth
Click to expand...
Click to collapse
Issue with install apps from the app store or warehouse?
need to setup password in developer options
devel-su pkcon refresh
Click to expand...
Click to collapse
also since store is sometimes a bit meh, you can use
https://openrepos.net/content/basil/warehouse-sailfishos
best way to copy files onto device is through ssh, setup password in developer options
store is sometimes broken, you need to do devel-su pkcon refresh in terminal, need to set password up in developer options.
OTA - Over the Air update
Best way to update SailfishOS is by using an ssh connection to the phone.
Disable all patches and Openrepos repositories before updating.
Before updating use
Set desired release version, for example 2.2.0.29:
ssu release 2.2.0.29
Click to expand...
Click to collapse
Refresh the package cache:
devel-su pkcon refresh
Click to expand...
Click to collapse
Upgrade SailfishOS:
version --dup
Click to expand...
Click to collapse
Reboot the phone and enjoy the new release.
this wouldnt of been possible from the immense amount of help from the guys @freenode#sailfishos-porters
Really nice job! hope we can get all working in near future
Awesome cant wait to see stable build!
Sent from my Nexus 5X using Tapatalk
Can this be installed with multirom as secondary rom?
m4r0v3r said:
So I finally have a decent enough port of SFOS on bullhead
https://www.youtube.com/watch?v=OKWHeTUiU34
Thats an old video but a quick demo.
http://images.devaamo.fi/sfe/bullhead/
images can be retrieved from the above
Click to expand...
Click to collapse
Nice job, fingers crossed for getting other features to work!
btw. which vendor to use with it?
latest 6.0.1
fnldstntn said:
Can this be installed with multirom as secondary rom?
Click to expand...
Click to collapse
never tried it, didnt know we had a multirom stable.
on hammerhead it works fine as 2nd rom.
Holy crap this is awesome! I was waiting for a sailfish os port since I switched from my nexus 4. Is there a way for me (as an non-coder) to help you out somehow?
Oh and do you think it is possible that camera will work in the future or is this a missing driver code thing?
m4r0v3r said:
never tried it, didnt know we had a multirom stable.
on hammerhead it works fine as 2nd rom.
Click to expand...
Click to collapse
Yes there is a stable multurom on jolla kernel tread but in that case probably i will need to use the cm13 as primery rom to becouse of the vendor.
OMG a New Rom i don't know sailfish Os wow i go to try it
Thank you very much for your work
Really nice, sadly i need the camera for my work so i cant use as DD
Renaf2 said:
OMG a New Rom i don't know sailfish Os wow i go to try it
Thank you very much for your work
Click to expand...
Click to collapse
Not a rom, it is a completely different operating system so no android apps.
giantflash said:
Holy crap this is awesome! I was waiting for a sailfish os port since I switched from my nexus 4. Is there a way for me (as an non-coder) to help you out somehow?
Oh and do you think it is possible that camera will work in the future or is this a missing driver code thing?
Click to expand...
Click to collapse
the camera thing is a 32bit/64bit issue atm so i'll see were I get with it, am also messing around trying to get sfos working on a Huawei P9
No android apps at all, we have sfdroid, but its not working on cm13 as far as I know.
Very cool indeed, def hope this goes further. Remember it on N5 and was awesome
It's a nice ROM. But on my N5X the WiFi and Data isn't working.So sad.
justf0127 said:
It's a nice ROM. But on my N5X the WiFi and Data isn't working.So sad.
Click to expand...
Click to collapse
That was my fault, issue with PARANOID_ANDROID. New image thats been upped should fix the issue
Ah... So it seems that its source is based on cm13 built in 161222, then should I use December mm vendor or January mm vendor?
(Sorry for my bad English...)
Riskypedia said:
Ah... So it seems that its source is based on cm13 built in 161222, then should I use December mm vendor or January mm vendor?
(Sorry for my bad English...)
Click to expand...
Click to collapse
December probably.
And I know I'm bothering, but another question...
Is this rom doesn't contain boot animation? Cuz I saw cm13 booted well, but after flashing this over cm13 I can't see anything except google logo. Should I set my bootloader to the latest one?
6.0.1 (MTC20L) is what am using

Custom ROM for the Galaxy A20

We currently don't have a custom ROM for the A20,
but it would be the next logical step.
If someone could develop a custom ROM it would raise our status in the xda community.
Useful links.
1. Android ROM development from source to end.
https://forum.xda-developers.com/chef-central/android/guide-android-rom-development-t2814763
2. Building AOSP.
https://source.android.com/setup/build/requirements
3. Easy guide?
https://forum.xda-developers.com/showthread.php?t=2195858
4. Custom Rom Builder
https://forum.xda-developers.com/chef-central/android/tool-custom-rom-builder-t3947779
5. Android Kitchen.
https://forum.xda-developers.com/showthread.php?t=633246
6. SuperR's Kitchen.
https://forum.xda-developers.com/ap...dows-linux-superr-s-kitchen-v3-0-0-0-t3601702
Post 3
physwizz said:
We currently don't have a custom ROM for the A20,
but it would be the next logical step.
If someone could develop a custom ROM it would raise our status in the xda community.
Click to expand...
Click to collapse
Without the support from USA device owners and them being left out from rooting played a huge factor.
The Motog7power just got Lineage OS 16.
Twrp was done weeks ago. Buy a Motorola.
jhjhjhjhjhjh said:
Without the support from USA device owners and them being left out from rooting played a huge factor.
The Motog7power just got Lineage OS 16.
Twrp was done weeks ago. Buy a Motorola.
Click to expand...
Click to collapse
Yes. It has left us at a great disadvantage without you guys.
I tried Android Kitchen.
https://forum.xda-developers.com/showthread.php?t=633246
Made a ROM zip from my system.img and boot.img
Got updater error when installing.
physwizz said:
I tried Android Kitchen.
https://forum.xda-developers.com/showthread.php?t=633246
Made a ROM zip from my system.img and boot.img
Got updater error when installing.
Click to expand...
Click to collapse
Last update seems to be from 2013, i don't think that is compatible with Android Pie.
I recommend you to use SuperR's Kitchen (free version is only available for Linux, to use it on Windows you need to buy the full version).
TBM 13 said:
Last update seems to be from 2013, i don't think that is compatible with Android Pie.
I recommend you to use SuperR's Kitchen (free version is only available for Linux, to use it on Windows you need to buy the full version).
Click to expand...
Click to collapse
Should work on my Mac
TBM 13 said:
Last update seems to be from 2013, i don't think that is compatible with Android Pie.
I recommend you to use SuperR's Kitchen (free version is only available for Linux, to use it on Windows you need to buy the full version).
Click to expand...
Click to collapse
Couldn't execute binary on the Mac, but I got it running on a Linux virtual box.
physwizz said:
Couldn't execute binary on the Mac, but I got it running on a Linux virtual box.
Click to expand...
Click to collapse
Cool ... please keep us posted on any progress you make I will also take a look into a possible build for our phone.
Peace
....The box said to install under Windows 2000 or better ... so I installed it on Linux
Thibor69 said:
Cool ... please keep us posted on any progress you make I will also take a look into a possible build for our phone.
Peace
....The box said to install under Windows 2000 or better ... so I installed it on Linux
Click to expand...
Click to collapse
I just flashed a zip I cooked that was made from the patched boot and the stock system.img
No luck there.
Back to the drawing board.
physwizz said:
I just flashed a zip I cooked that was made from the patched boot and the stock system.img
No luck there.
Back to the drawing board.
Click to expand...
Click to collapse
Stuck at boot animation?
Any logs?
TBM 13 said:
Stuck at boot animation?
Any logs?
Click to expand...
Click to collapse
I'm going to try a non-stock system.img
physwizz said:
I'm going to try a non-stock system.img
Click to expand...
Click to collapse
How is it going for you, i try modding a GSI System.img but it also bootloops, i also try creating a EXT4 Img but it gives me system partition sizes error.
LietRell said:
How is it going for you, i try modding a GSI System.img but it also bootloops, i also try creating a EXT4 Img but it gives me system partition sizes error.
Click to expand...
Click to collapse
still working on it.
No luck yet
physwizz said:
still working on it.
No luck yet
Click to expand...
Click to collapse
Were all hoping to get a working custom rom for this device, Keep up bro. Thanks for trying
Seems like all the GSI ROMs break some hardware functionality at this stage so the best option for now is to root and debloat stock and load your own preferred apps in place of the Samsung / Google ones. Not quite a "Custom" ROM but makes for a pleasant enough phone that you can tolerate much more than the horror of stock.
Now a custom kernel to clock our severely crippled SoC back to its full glory would be a thing to smile about
LietRell said:
How is it going for you, i try modding a GSI System.img but it also bootloops, i also try creating a EXT4 Img but it gives me system partition sizes error.
Click to expand...
Click to collapse
My GSI based ROM gives me an error:7 during installation
physwizz said:
My GSI based ROM gives me an error:7 during installation
Click to expand...
Click to collapse
I think that's because you have to add the device in 8)Room tools, 4)Asserts menu, 1)Add/remove device, then try adding the device, in my case i added "a20,a205g", i don't really know what device name TWRP reads
LietRell said:
I think that's because you have to add the device in 8)Room tools, 4)Asserts menu, 1)Add/remove device, then try adding the device, in my case i added "a20,a205g", i don't really know what device name TWRP reads
Click to expand...
Click to collapse
When I flashed as A20, it told me the device was a20.
I added just a20. It flashed but froze on the Samsung screen.
Progress.
It's all a learning experience.
I also found this on GitHub.
https://github.com/alwayslivid/android_kernel_samsung_a202f
https://github.com/alwayslivid/android_platform_samsung_a202f
From Open Source Samsung.
http://opensource.samsung.com/reception/receptionSub.do?method=sub&sub=F&searchValue=A20

Categories

Resources