[5.1.1][E2303] AOSP by Beta Team [WIP] - Sony Xperia M4 Aqua

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Features
- Pure AOSP (Stock Android, just like on the Nexus devices)
- No bloatware
- No extra features, just as clean as possible
Review Video
What's Working
- Display
- Wi-Fi
- Vibration
- Camera Button (Due to some reason the camera app isn't there :\ )
- Adaptive Brightness
- And more...
What Isn't Working
- Notification Light
- Sound
- Camera
- External SD
- Sim
- Rotation
- Bluetooth
- Maybe more...
Downloads
DOWNLOAD HERE
How To Install It
1. Be sure that the bootloader is unlocked!
2. Download the zip from the downloads
3. Download the Google SDK (fastboot, adb and etc)
4. Extract the zip in the same folder as the fastboot.exe (for example like this, C:/SDK/fastboot.exe | C:/SDK/system.img and etc)
5. Hold shift and right click somewhere in the folder (in an empty space)
6. Click open command prompt here...
7. Put the device in fastboot
8. Type "fastboot flash boot boot.img" and hit enter
9. Type "fastboot flash system system.img" and hit enter
10. Type "fastboot flash userdata userdata.img" and hit enter
11. Type "fastboot reboot" and hit enter
12. Enjoy it
Thanks To
Google - For Android
@jeffreyvh - That's me
Sony - For the source of the kernel and for the device
XDA:DevDB Information
AOSP 5.1.1 - E2303, ROM for the Sony Xperia M4 Aqua
Contributors
jeffreyvh
ROM OS Version: 5.1.x Lollipop
ROM Kernel: Linux 3.10.x
ROM Firmware Required: Unlocked bootloader
Based On: AOSP
Version Information
Status: Testing
Created 2015-09-04
Last Updated 2015-09-16

Reserved

I hope all works.
Later you can also create a Version for the E2333 (M4 Aqua Dual)?

HeliosXenon said:
I hope all works.
Later you can also create a Version for the E2333 (M4 Aqua Dual)?
Click to expand...
Click to collapse
As i already said, requests are welcome... But i can not guarantee that it will work as expected since i dont have the device.
Sent from my E2303 using XDA Forums

Sorry if this question is absurd, but will this kind of ROM come with Overclock? Your webpage suggests something on 'More overclock' so I guess the ROM may come with it. Just curious, sorry >.<

AndyPhoenix9879 said:
Sorry if this question is absurd, but will this kind of ROM come with Overclock? Your webpage suggests something on 'More overclock' so I guess the ROM may come with it. Just curious, sorry >.<
Click to expand...
Click to collapse
As I wrote in the OP, no features will be added. But you can vote the poll of this thread
STATUS of the compilation :
Kernel can't be compiled
I will make a daily status post from now on
Wish me success

Why kernel cannot be compiled?

alby_var said:
Why kernel cannot be compiled?
Click to expand...
Click to collapse
It says,
"No rule to make 'out/target/product/tulip/boot.img' needed by 'out/target/product/tulip/boot.img' "
I build the kernel appart but I mis the needed .dtb file, anyone who can tell me how I can make it?
If not, I will try it myself
Sent from my E2303 using XDA Free mobile app

I not know how to compile..... can you give me the complete name of the .dtb file?

alby_var said:
I not know how to compile..... can you give me the complete name of the .dtb file?
Click to expand...
Click to collapse
Already fixed it, the dtb was in the 32bit out folder. That was not where I expected it to be, but anyways now I can continue with the rom
Sent from my E2303 using XDA Free mobile app

Perfect!!

I need help
The black display is a kernel issue, I have not much experience in kernels.
Anyone, please help me!!!

jeffreyvh said:
Already fixed it, the dtb was in the 32bit out folder. That was not where I expected it to be, but anyways now I can continue with the rom
Sent from my E2303 using XDA Free mobile app
Click to expand...
Click to collapse
Can you upload the dtb, please? I want to try to compile twrp one last time, and the dtb was my problem
Sent from my Xperia M4 Aqua

husam666 said:
Can you upload the dtb, please? I want to try to compile twrp one last time, and the dtb was my problem
Click to expand...
Click to collapse
I extracted the dtbs from the ftf and they are available in my github repo together with the decompiled dts:
https://github.com/zw3n/android_device_sony_tulip/tree/cm-12.1_preComp

zw3n said:
I extracted the dtbs from the ftf and they are available in my github repo together with the decompiled dts:
https://github.com/zw3n/android_device_sony_tulip/tree/cm-12.1_preComp
Click to expand...
Click to collapse
Thanks, I managed to compile successfully, but couldn't boot the image stuck in fastboot mode and when flashing it, got stuck on the sony logo :/

@husam666 Mine passes the Sony logo, but after that... Screen is black but vibration, usb mass storage, adb, and maybe more is still working. Looks like sony isnt yet done with our kernel, is here anyone with kernel experiences? I really need some help, I am good in device tree's but not in kernels... Btw, my device tree completely works! I compiled with success, i tried booting with stock kernel: resulted on Sony boot logo loop... My own kernel: resulted in black screen after sony logo, but as I can see using adb: it boots successful, vibration also works. When i click the power button for 2 secs.
So the screen is the only bug i know so far.
Anyone, please contact me if u think that u can help with the kernel
Kind regards,
Jeffrey

If you have a log, I can try to find something

S7relok said:
If you have a log, I can try to find something
Click to expand...
Click to collapse
As I thought, Sony isn't yet done with our kernel.
I got confirmation on github :
https://github.com/sonyxperiadev/kernel/commit/e06bc517f65d4bb9adfbd18f030f252dd7a27d99
Logcat.log

jeffreyvh said:
@husam666 Mine passes the Sony logo, but after that... Screen is black but vibration, usb mass storage, adb, and maybe more is still working. Looks like sony isnt yet done with our kernel, is here anyone with kernel experiences? I really need some help, I am good in device tree's but not in kernels... Btw, my device tree completely works! I compiled with success, i tried booting with stock kernel: resulted on Sony boot logo loop... My own kernel: resulted in black screen after sony logo, but as I can see using adb: it boots successful, vibration also works. When i click the power button for 2 secs.
So the screen is the only bug i know so far.
Anyone, please contact me if u think that u can help with the kernel
Kind regards,
Jeffrey
Click to expand...
Click to collapse
If it boots that's really good news, I don't know anything about kernels, sorry. Anyway twrp has an adb command line interface, which means we don't need the screen in order to flash zips, atm I'm only interested in flashing supersu in order to root the phone.
So can you upload the kernel, please zImage and DTBs?
Thank you for your work
Sent from my Xperia M4 Aqua

Does your recovery work with stock rom? Can you give me the .img file?

Related

[TOOL] [DISCONTINUED] Nexus 5 Multi-tool 3, UNLOCK, CWM/TWRP, ROOT, RESTORE, DRIVERS

Nexus 5 Multi-Tool
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
me and kwongger are putting together a new tool, its one of the first that supports windows/linux/mac AND ANDROID! thats right, the tool can be used on your device!
FEATURES
Unlock bootloader
Install CWM
Install TWRP
Add root permissions
Add build.prop tweaks
Backup device
Flash a custom recovery
Flash a custom kernel
Revert device to stock out-of-box state
Pull device information
Install drivers
Find custom kernels, recoveries and roms
Click to expand...
Click to collapse
Due to my cousin having this device(not me) i would appreciate someone to help me with testing new features?
DOWNLOAD LINK
INSTRUCTIONS ARE SIMPLE
All activities take place with the device on and you will endup back with the device on.
Download
Extract
Run Tool.exe as administrator
Install device drivers(included)​
Click to expand...
Click to collapse
FAQ
Q. After trying to revert to stock state(out of the box) my device is stuck in a bootloop?
A. Boot into recovery, wipe data/factory reset. Your prayers have beey answered
Q. After the tool flashes recovery, it doesnt seem to stick. why?
A. This is not an error with the tool or recovery, its just.. a nexus thing...
Flash it a few more times and eventually it will stick!
Q. Why is the file only 1.5 MB?
A. All files are stored on server and pulled only when needed with a utility
Q. Will the tool download all the files everytime i wanna perform an option?
A. No. it downloads the file once and detects that its already there the second time.
Q. Is this tool worth my time?
A. Who would think a 10 minute toolkit could hit the portal?
Q. Are the drivers included?
A. Yes but no. the application downloads the drivers only if you want to install them via my tool
Q. Who's yo daddy?
A. Idk, son.
Click to expand...
Click to collapse
CHANGELOG
3.0
Added CWM
Updated TWRP
Added "Where to find custom..." in flash options
2.4
Fixed menu error
Changed file type to executable
Added logo
Added root options menu
Changed root method
All processes are now verbal
No wait-for-device command
2.0
All files stored on server
Cut the tool size down to 1.5 MB
Added restore to stock state
Added install drivers+guide
Added get device info
Fixed minor error
1.0
Initial release
Click to expand...
Click to collapse
Credits
Chainfire
PlayfulGod
Cwm
Twrp​
Click to expand...
Click to collapse
NOTE: what you do with this tool is your responsibility, use it at you own risk.​
Hello,
Good work!
Published on HTCMania :good:
http://www.htcmania.com/showthread.php?t=711894
David_Vaz said:
Hello,
Good work!
Published on HTCMania :good:
http://www.htcmania.com/showthread.php?t=711894
Click to expand...
Click to collapse
Thanks
You show it as note 3 multi tool, need to change that
jd1639 said:
You show it as note 3 multi tool, need to change that
Click to expand...
Click to collapse
whopps will fix that now
Used the tool - now phone will not restart. It is stuck on the four colours that move about. Has been stuck on this now for about 5 minutes.
Any suggestions? I am able to get into twrp recovery no problems.
Ian
irhut said:
Used the tool - now phone will not restart. It is stuck on the four colours that move about. Has been stuck on this now for about 5 minutes.
Any suggestions? I am able to get into twrp recovery no problems.
Ian
Click to expand...
Click to collapse
You will have to Restore your phone.
My kit will have recovery functions monday.
http://forum.xda-developers.com/showthread.php?t=2508817
irhut said:
Used the tool - now phone will not restart. It is stuck on the four colours that move about. Has been stuck on this now for about 5 minutes.
Any suggestions? I am able to get into twrp recovery no problems.
Ild.pro
Ian
Click to expand...
Click to collapse
what function did you use?
Kwongger said:
You will have to Restore your phone.
My kit will have recovery functions monday.
http://forum.xda-developers.com/showthread.php?t=2508817
Click to expand...
Click to collapse
Also no he doesnt, the only thing that could cause this is the build.prop tweaks, whitch can be reverted by pushing the backup back to /system/ Aldo mine will Also include restore options soon
What tweaks are in this?
Sent from my Nexus 4 using Tapatalk
crackmulah said:
What tweaks are in this?
Sent from my Nexus 4 using Tapatalk
Click to expand...
Click to collapse
Battery saving deepsleep quickbook scrolling enhancement better touch responde better jpeg quality better picture quality better internet and connection speed, googles sms Server and overall smootheness
Does this tool install the official TWRP release for the N5?
ricky310711 said:
Battery saving deepsleep quickbook scrolling enhancement better touch responde better jpeg quality better picture quality better internet and connection speed, googles sms Server and overall smootheness
Click to expand...
Click to collapse
That's quite something to say, better all these things for a new device and software.
Sent from my Nexus 4 using xda app-developers app
Synyster06Gates said:
Does this tool install the official TWRP release for the N5?
Click to expand...
Click to collapse
Yes!
also people reading the article on the portal, the tool does not use fast flash commands, it uses the dd method for those flashes, when i add kernel flashing and backing up your device as .img files then i will be adding fastboot flash commands, so yes, the flashes occur when your device is booted!
Can I ask what version of TWRP is installed, is it the latest?
ItzMar said:
Can I ask what version of TWRP is installed, is it the latest?
Click to expand...
Click to collapse
there is only one version of TWRP compiled for the N5 and yes its the latest! update coming soon!
Ok thanks man. Can I also ask where to find the device drivers?
ItzMar said:
Ok thanks man. Can I also ask where to find the device drivers?
Click to expand...
Click to collapse
i am almost finished updating the tool i will include it in the next update!! but you could more then likely find them in the general section!
ok cheers, no problem. Will wait for the new version to be up, no rush. Thanks for your commitment to provide a tool for us noobs/lazy people!
Would you recommend running your tool before first boot?
Just a few questions: when there is <waiting for device> for 5 minutes, that seems like my drivers are wrong? It was possible to unlock, but not to install a recovery, so i am trying to update my drivers...
And can i run the tool and select unlock, install recovery and root even when my device is already unlocked?

Aosp 6.0 - e2303 / e2306

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Features
- Pure AOSP (Stock Android, just like on the Nexus devices)
- No bloatware
- No extra features, just as clean as possible
What's Working
- Wi-Fi
- Boot
- Screen
- Vibration
What Isn't Working
- Everything else
Downloads
DOWNLOAD HERE
How To Install It
1. Be sure that the bootloader is unlocked and that you are on official firmware : 26.1.A.1.128 (Here is the ftf)!
2. Download the 3 files from the 6.0 release (e.g. "6.0-#1") the files you need are ( boot.img , system.img , userdata.img )
3. Download the Google SDK (fastboot, adb and etc)
4. Extract the zip in the same folder as the fastboot.exe (for example like this, C:/SDK/fastboot.exe | C:/SDK/system.img and etc)
5. Hold shift and right click somewhere in the folder (in an empty space)
6. Click open command prompt here...
7. Put the device in fastboot
8. Type "fastboot flash boot boot.img" and hit enter
9. Type "fastboot flash system system.img" and hit enter
10. Type "fastboot flash userdata userdata.img" and hit enter
11. Type "fastboot reboot" and hit enter
12. Enjoy it
If something went wrong...
Here is how to recover your phone
Thanks To
Google - For Android
@jeffreyvh - That's me
Sony - For the source of the kernel and for the device
XDA:DevDB Information
AOSP 6.0 - E2303, ROM for the Sony Xperia M4 Aqua
Contributors
jeffreyvh
Source Code: http://github.com/AOSPERIA
ROM OS Version: 6.0.x Marshmallow
ROM Kernel: Linux 3.10.x
ROM Firmware Required: Unlocked Bootloader, 26.1.A.1.128
Based On: AOSP
Version Information
Status: Testing
Created 2015-12-15
Last Updated 2015-12-16
Really really thanks for the rom.
Will OTG work on this rom?
Thanks for your hard work as well.
Finally! Thank you for your hard work!!
I hope will be fixed some major things...!
newsony said:
Really really thanks for the rom.
Will OTG work on this rom?
Thanks for your hard work as well.
Click to expand...
Click to collapse
OTG will work
alby_var said:
Finally! Thank you for your hard work!!
I hope will be fixed some major things...!
Click to expand...
Click to collapse
I am working very hard, it's hard to make AOSP when Sony didn't release their vendor blobs
jeffreyvh said:
OTG will work
I am working very hard, it's hard to make AOSP when Sony didn't release their vendor blobs
Click to expand...
Click to collapse
So have you tried it , otg ?
Thanks for the great work.
I will flash and check it out tommorrow.
Thanks for releasing the rom . Would this rom possibly work on other firmwares and variants, and is adb force enabled? I'll test the rom when I get home in 3 hours
ardentis said:
Thanks for releasing the rom . Would this rom possibly work on other firmwares and variants, and is adb force enabled? I'll test the rom when I get home in 3 hours
Click to expand...
Click to collapse
It already boots, so force adb isn't needed anymore. And yes, I think it should work on other variants as well.
report it
Btw, flashing it on an other model isn't really tricky, if it doesn't work you can just unbrick
jeffreyvh said:
It already boots, so force adb isn't needed anymore. And yes, I think it should work on other variants as well.
report it
Btw, flashing it on an other model isn't really tricky, if it doesn't work you can just unbrick
Click to expand...
Click to collapse
Flashing is not the problem, but force enabling adb would be nice if there are problems with setup or touch
Good work as always! I will try it soon
Okay here's my report.
1) WiFi appears to work fine
2) Sound does not work
3) Camera does not work and neither does the camera button
4) Rotation does not work
5) Browser fails to download anything so I cant install apps
6) There is no file manager
7) Everything looks fine so far
Good work! But another thing is that I didnt realize that installing this rom would wipe my data. That would have been nice to know
Now when I go to TWRP to flash a new zip or restore a backup, it says there is no OS installed.
It seems that this isnt an issue anymore but it was weird.
Nope nevermind. Everytime it tries to boot up, I see the same boot screen as I saw with your rom. This is just getting weirder and weirder...
I figured it out Im totally fine. Sorry if I scared anyone during this adventure.
Screenshots
I've added a screenshot now
jeffreyvh said:
Features
- Pure AOSP (Stock Android, just like on the Nexus devices)
- No bloatware
- No extra features, just as clean as possible
What's Working
- Wi-Fi
- Boot
- Screen
- Vibration
What Isn't Working
- Everything else
Downloads
DOWNLOAD HERE
How To Install It
1. Be sure that the bootloader is unlocked and that you are on official firmware : 26.1.A.1.128 (Here is the ftf)!
2. Download the 3 files from the 6.0 release (e.g. "6.0-#1") the files you need are ( boot.img , system.img , userdata.img )
3. Download the Google SDK (fastboot, adb and etc)
4. Extract the zip in the same folder as the fastboot.exe (for example like this, C:/SDK/fastboot.exe | C:/SDK/system.img and etc)
5. Hold shift and right click somewhere in the folder (in an empty space)
6. Click open command prompt here...
7. Put the device in fastboot
8. Type "fastboot flash boot boot.img" and hit enter
9. Type "fastboot flash system system.img" and hit enter
10. Type "fastboot flash userdata userdata.img" and hit enter
11. Type "fastboot reboot" and hit enter
12. Enjoy it
Thanks To
Google - For Android
@jeffreyvh - That's me
Sony - For the source of the kernel and for the device
XDA:DevDB Information
AOSP 6.0 - E2303, ROM for the Sony Xperia M4 Aqua
Contributors
jeffreyvh
Source Code: http://github.com/AOSPERIA
ROM OS Version: 6.0.x Marshmallow
ROM Kernel: Linux 3.10.x
ROM Firmware Required: Unlocked Bootloader, 26.1.A.1.128
Based On: AOSP
Version Information
Status: Testing
Created 2015-12-15
Last Updated 2015-12-16
Click to expand...
Click to collapse
I like that someone is work on a Rom. Not many for this device.
boho555 said:
I like that someone is work on a Rom. Not many for this device.
Click to expand...
Click to collapse
i tried on E2363 (26.1.B.2.129), it boots and then boot loops, it get to Android is starting, optimizing 1 of 64 and boot loops.
is it possible to create a 16Gb userdata.img (i think its 12213813248 bytes), just a request.
RohitBopnna said:
i tried on E2363 (26.1.B.2.129), it boots and then boot loops, it get to Android is starting, optimizing 1 of 64 and boot loops.
is it possible to create a 16Gb userdata.img (i think its 12213813248 bytes), just a request.
Click to expand...
Click to collapse
Hmm, probably the rom won't work on your model.
I can make a 16GB userdata, yeah.
But first let me fix the most bugs (Random reboots, Ril, Bluetooth)
After that I fixed those I will surely make a 16GB userdata.img
A new build should be up in max. 3 hours.
I don't know if I fixed stuff, but I tried it
I will update the op(First post) once my tester tested it.
ardentis said:
Okay here's my report.
1) WiFi appears to work fine
2) Sound does not work
3) Camera does not work and neither does the camera button
4) Rotation does not work
5) Browser fails to download anything so I cant install apps
6) There is no file manager
7) Everything looks fine so far
Good work! But another thing is that I didnt realize that installing this rom would wipe my data. That would have been nice to know
Now when I go to TWRP to flash a new zip or restore a backup, it says there is no OS installed.
It seems that this isnt an issue anymore but it was weird.
Nope nevermind. Everytime it tries to boot up, I see the same boot screen as I saw with your rom. This is just getting weirder and weirder...
I figured it out Im totally fine. Sorry if I scared anyone during this adventure.
Click to expand...
Click to collapse
The problem with the browser is caused by the permissions of Android 6.0
New build
The new build takes quite long, much longer then the previous ones.
But I am afraid that it's up within some hours (Max. 8, I think maybe next hour)
Anyone who wants to help testing,
Message me on Telegram : +31642056201
Message me on Hangouts : [email protected]
or Pm me (I don't like pm because you are not talking the way you do on the others)
Thanks for your support
work on e2333 dual???
Martia.Qa said:
work on e2333 dual???
Click to expand...
Click to collapse
Try it by yourself, it isn't too difficult to unbrick it
jeffreyvh said:
Hmm, probably the rom won't work on your model.
I can make a 16GB userdata, yeah.
But first let me fix the most bugs (Random reboots, Ril, Bluetoot
Click to expand...
Click to collapse
A 16gb userdata.img would be good for the 16gb devices. I'm not exactly sure but I think that the 8gb userdata.img limited my storage but unfortunately I can't fix it in TWRP. Diskinfo lists 16gb but Storage settings list only 8gb. Also do you mind if I text you over SMS and what timezone are you in?
ardentis said:
A 16gb userdata.img would be good for the 16gb devices. I'm not exactly sure but I think that the 8gb userdata.img limited my storage but unfortunately I can't fix it in TWRP. Diskinfo lists 16gb but Storage settings list only 8gb. Also do you mind if I text you over SMS and what timezone are you in?
Click to expand...
Click to collapse
I need to pay for sms, so I'd rather like to use whatsapp or telegram.
Ps, what theme are you using. I'm loving it

[UNSUPPORTED] [KERNEL] ON-OR Kernel for STOCK H7 (GCC Linaro 4.9.3) [PLK-L01]

Development and support ceased.
For further explaination, see this post.
Proudly announcing the first custom kernel for the Huawei Honor 7 PLK-L01!
ON-OR H7 Kernel
(yeah, terrible name!)
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
​
Features:
CPU Governor
bluactive - courtesy eng.stk
TCP Congestion Algorithms
enabled westwood, bic, hybla, vegas, veno, yeah, illinois
I/O Schedulers
added bfq and fiops
Built for use with STOCK ROMS - it's all we have right now
Built with gcc-linaro-4.9-2014.11-x86_64_aarch64-linux-gnu
Instructions:
you need an unlocked bootloader!
you need TWRP recovery!
you need to be running B140*
you need to know how to get back to a stock boot image, should you need to! - stock B140 boot attached.
if you don't know what all that means, find out, there's plenty of threads on it!
download UPDATE-ON-OR-Kernel.zip
install via TWRP
reboot
Kernel features can be enabled by apps such as Kernel Adiutor (ROOT)
If you want to enable settings on boot, you'll have to add the app to the protected apps and startup manager in system setting.
Notes:
please do not post elsewhere, link to this post.
i did not break your device, i never touched it!
this is my first publicly released kernel (i built some sony ones back in 2012 for my own usage) - i am not a dev, i am a linux admin by trade
a number of other governors were tried, none would compile "out of the box"
* tested on B140 only by me - if you want to test it on another system version just make sure you have a stock boot.img and know how to get back via fastboot!
edit: added attachment - stock B170 boot as someone will probably need it.
edit: the install method is not what i wanted. it's a crude hack, just like our twrp! it turns out the twrp version we are using is for the GRACE handset, so i've had to fudge the installer script to verify that device name. Please do not run this on a GRACE, it will break it!
GNU GPL Compliance:
Original Source
http://download-c.huawei.com/downlo...oadId=62086&version=204465&siteCode=worldwide
My GIT
https://github.com/sminki/android_kernel_honor7_plk-l01/tree/LP1/
enjoy.. :fingers-crossed:
All stock recovery and boot images for PLK-L01 can be found here: http://forum.xda-developers.com/honor-7/general/stock-plk-l01-boot-recovery-images-t3290348
Added the [EXPERIMENTAL] tag - woke this morning and phone was in unwake-able sleep! - seems to be related to bluactive, so avoid using that governor!
Development ceased.
For those who are not aware of my troubles over the last month, I had to get a warranty replacement phone. Since receiving it, I have been completely let down by huawei who are unable to supply a bootloader unlock code by any means, or for that matter any genuine customer service. Due to this I can no longer continue to work on this device
My humble apologies to all you on this sub-forum. I was really enjoying learning and posting stuff for you guys to mess around with, although ultimately it's the manufacturer that has really let us down.
Great, good job !!! First etape for a custom ROM without the fu...ing EMUI
I can't test because I'm in B170
JRC said:
I can't test because I'm in B170
Click to expand...
Click to collapse
technically it's the same kernel version - 3.10.61
i need a volunteer with 170 who can load the zip, and if it fails to boot, reflash the stock B170 (both in the first post) - preferably someone who knows their way around fastboot and isn't going to panic
Great works!!
Can you post screenshot of dailyuse deepsleep with bluactive governor?
Seems that in stock kernel freq 400 mhz is slow to go on sleep.
Kernel set default cpu freq like mpdecision on qualcomm or there is a hotplug?
last question with kernel setting apk can you see core to 2200 mhz?
Sorry for question list.
Many thanks.
Tried without luck.
It says: unsupported device
Usin' the chinese twrp linked somewhere on xda honor7.
and my fw is b170
Sent from my PLK-L01 using XDA Premium HD app
sminki said:
technically it's the same kernel version - 3.10.61
i need a volunteer with 170 who can load the zip, and if it fails to boot, reflash the stock B170 (both in the first post) - preferably someone who knows their way around fastboot and isn't going to panic
Click to expand...
Click to collapse
On my H7 B170 when I install this kernel TWRP says "unsupported device"
Hi sminki, just installed, no problèm,gona dl K adiutor to explore a little
Thank you !
Thanks a lot for your hard work !
c0llal0 said:
Tried without luck.
It says: unsupported device
Usin' the chinese twrp linked somewhere on xda honor7.
and my fw is b170
Click to expand...
Click to collapse
JRC said:
On my H7 B170 when I install this kernel TWRP says "unsupported device"
Click to expand...
Click to collapse
OK, thanks.
One more favour then
can one of you boot into TWRP, connect USB then from your PC do this..
Code:
adb shell
in the shell, get the results from these two commands:
Code:
~ # getprop ro.product.device
~ # getprop ro.build.product
must be from within TWRP
thank you
I've make a thread on FrAndroid (here : http://forum.frandroid.com/topic/236632-kernellpstock-on-or-kernel/?p=3545366) in order that the community can improve their Honor 7.
If you want, i can delete it.
First Step to an Custom Rom. Thanks looks great.
sminki said:
OK, thanks.
One more favour then
can one of you boot into TWRP, connect USB then from your PC do this..
Code:
adb shell
in the shell, get the results from these two commands:
Code:
~ # getprop ro.product.device
~ # getprop ro.build.product
must be from within TWRP
thank you
Click to expand...
Click to collapse
Possibly answering my own question.. I pulled apart the Chinese TWRP from piskr's thread.
Code:
ro.product.device=gem703l
ro.build.product=gem703l
So, this recovery was built from the MediaPad X2 TWRP
Would be nice if someone can confirm this is what you're using.
I think what we really need is a proper recovery, get everyone standard instead of trying to work around inconsistent hacks!
sminki said:
Possibly answering my own question.. I pulled apart the Chinese TWRP from piskr's thread.
Code:
ro.product.device=gem703l
ro.build.product=gem703l
So, this recovery was built from the MediaPad X2 TWRP
Would be nice if someone can confirm this is what you're using.
I think what we really need is a proper recovery, get everyone standard instead of trying work work around inconsistent hacks!
Click to expand...
Click to collapse
Hi , i tried but device not found in recovery mode
here is the twrp i use, no bootloop
https://www.dropbox.com/s/n50okepdvljglk2/TWRP_Honor7_EN.img?dl=1%22
samcro94 said:
Hi , i tried but device not found in recovery mode
here is the twrp i use, no bootloop
https://www.dropbox.com/s/n50okepdvljglk2/TWRP_Honor7_EN.img?dl=1%22
Click to expand...
Click to collapse
That's the one I've got, and yours flashed ok, right?
sminki said:
That's the one I've got, and yours flashed ok, right?
Click to expand...
Click to collapse
yes flashed ok
sminki said:
That's the one I've got, and yours flashed ok, right?
Click to expand...
Click to collapse
Hi
Battery drain problèm,tried to flash the stock kernel, ''failed',' any solution ?
samcro94 said:
Hi
Battery drain problèm,tried to flash the stock kernel, ''failed',' any solution ?
Click to expand...
Click to collapse
fastboot flash boot boot.img
sminki said:
fastboot flash boot boot.img
Click to expand...
Click to collapse
Ok thank you , will try tomorow
samcro94 said:
Ok thank you , will try tomorow
Click to expand...
Click to collapse
sorry, I wasn't really clear.
download the STOCK_B140_BOOT.zip from the first post. extract it, plug the phone in
then run:
Code:
fastboot flash boot boot_140.img
fastboot reboot
as for the battery drain, what are the high users of battery?
mine has been mostly idle (using the G4 as my main), but it's still at 45% after 2 days 11 hrs

[RECOVERY][tulip][3.10] TWRP Touch Recovery 3.1.1-0

Unofficial TWRP 3.1.1-0 Recovery for Xperia M4 Aqua for unlocked bootloaders
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
​A custom recovery is used for installing custom software on your device. This custom software can include smaller modifications like rooting your device or even replacing the firmware of the device with a completely custom “ROM”
Some features:
Built with the AOSP 3.10 kernel
The latest twrp version
fiops i/o scheduler: don't know if this makes an actual improvement, but I just wanted to add it
Fixed the clock
Really fast and cooler
Notes, current issues:
When entering the recovery, the screen will be black, then flicker but after that it will work flawlessly. This is a mdss bug, but I don't know how to fix this
There is no support for encryption, as I don't use it, and I think neither do you
Though I added 'support' for f2fs, it didn't work the time I tried to format my cache, if you want to test it, use the SkyMelon kernel
Any other issues:
You tell me
How to install:
method 1:
flash it using adb fastboot:
install adb and Xperia m4 Aqua drivers
download the recovery.img and put it in adb folder
1- turn off the phone
2- press volume up and connect the usb cable
3- open cmd and type fastboot flash recovery recovery.img
method 2:
Use Flashify from the Play Store to flash it.
method 3:
flash it using older twrp (that support flashing img files)
Screenshots:
Download link:
Google Drive folder
Special thanks to:
@CodeZero for the initial twrp tree
@Mark.05 for making this thread
GitHub users:
bartcubbins, erikcas, pablomh
XDA:DevDB Information
TWRP recovery for the Xperia M4 Aqua, Tool/Utility for the Sony Xperia M4 Aqua
Contributors
dani020110
Source Code: https://github.com/dani020110/twrp_device_sony_tulip
Version Information
Status: Stable
Created 2017-07-15
Last Updated 2017-07-14
Reserved
Reserved
Not working on My M4 Aqua (E2312). I can flash recovery via fastboot. But when I enter recovery by volume down + power, it is not reach recovery and go to system.
not working in my e2333 , when i enter recovery , it is going to system
99poison said:
Not working on My M4 Aqua (E2312). I can flash recovery via fastboot. But when I enter recovery by volume down + power, it is not reach recovery and go to system.
Click to expand...
Click to collapse
fadyzico said:
not working in my e2333 , when i enter recovery , it is going to system
Click to expand...
Click to collapse
I think I know why your variants don't want to boot, it's because the Image.gz-dtb thingy
I'll try to use the uncompressed one
99poison said:
Not working on My M4 Aqua (E2312). I can flash recovery via fastboot. But when I enter recovery by volume down + power, it is not reach recovery and go to system.
Click to expand...
Click to collapse
fadyzico said:
not working in my e2333 , when i enter recovery , it is going to system
Click to expand...
Click to collapse
I uploaded a fixed one in here or in the google drive link in the op, you have to extract it with 7zip or a similar program
the initial release works perfectly on my e2333
When I enter recovery the touch is not functioning at all
DavidMKD said:
When I enter recovery the touch is not functioning at all
Click to expand...
Click to collapse
Really weird lol
Please tell me your variant and try to grab a dmesg
Doesnt work for my E2303 device. İ cant access recovery mode. Whenever i try phone open normally.
Note: Sorry for my bad english.
Please, what is current status of this recovery, is it safe to flash it?
Aqua E2303, MM modded, SkyMelon
ivy.lally said:
Please, what is current status of this recovery, is it safe to flash it?
Aqua E2303, MM modded, SkyMelon
Click to expand...
Click to collapse
Its Working For Me, You Can Test it...
demirdagli said:
Doesnt work for my E2303 device. İ cant access recovery mode. Whenever i try phone open normally.
Note: Sorry for my bad english.
Click to expand...
Click to collapse
The following works:
http://www.recovery-mode.com/android/sony-xperia-m4-aqua-e2303.html
?
zacharias.maladroit said:
The following works:
http://www.recovery-mode.com/android/sony-xperia-m4-aqua-e2303.html
?
Click to expand...
Click to collapse
On powered off phone:
Volume Up + USB cable enters fastboot
Volume Down + USB cable enters flashmode
Volume Down+Power Button enters recovery
If you ask if the phone has default recovery, it doesn't
Thank you to the author of the project
TWRP Recovery in this version on m4 Aqua E2303 works as it should.
Dear friend or you can help the developers who are working on
This project> https://forum.xda-developers.com/m4...ia-m4-aqua-ss-ds-t3558111/page40#post73418908
I am Yours Author of this TWRP greetings very warmly
From the heart box I send the energy of harmony and well-being
whitewolf1608
works well on E2306. Good work!!
Good Work
Hey,
I'm having some problems with this. I've tried to boot into the bootloader using adb and the button sequence and that doesn't look to be working.
I've tried to flash it using the latest flashify but the file explorer just crashes when trying to select a file.
I've also tried to flash it using TWRP 2.8 but that after rebooting back into recovery it remains on 2.8
I've been trying to do this on a bootloader unlocked and rooted e2303 running stock 5.0, any idea as to what other methods I can try?
Edit: Fixed, took some doing!
Hi, do you know if some twrp 3.1.1 exists for M4 aqua locked bootloader? E2303
I have this device root-ed + twrp2.8 installed but I want to put twrp 3.1.x
I would need some kind of pack as in this thread https://forum.xda-developers.com/m4...-twrp-touch-recovery-bl-locked-t3257430/page1
This kind of file package with install.bat
M4Aqua-lockedTWRP-0.1-installer
https://goo.gl/4iN07G
Tx

[ROM][G8231][G8232] AOSP 9.0 Pie for Xperia XZs

I made this custom ROM project based from Sony Xperia AOSP project. Despite Sony will never release a Pie update for Xperia XZs, Sony still provides some stuffs for building Pie ROMS. However, installing this ROM will never get any kind of benefits similar to its official ROM counterparts. This custom ROM was built with Windows Subsystem For Linux for its very first version. Later version will be built on actual Ubuntu OS later on.
Installing this custom required a device with an unlocked bootloader and here, you will need to perform these guides carefully before doing so. Please note that unlocking the device will voiding the warranty (well who cares? It's a 2-year-old device) and also its DRM key which used for HD content, camera image optimization, 4K recording, etc.
[Official Sony guide on unlocking bootloader]
Download links:
G8231 (version 0.5) - [Google Link]
G8232 (version 0.5) - [Google Link]
TWRP - [Official TWRP Link]
OpenGapps - [Official Link]
Magisk - [Google Link]
Instructions:
STEP 1: Flashing ROM Images:
fastboot erase userdata
fastboot erase cache
fastboot flash boot boot.img
fastboot flash system system.img
fastboot flash cache cache.img
fastboot flash userdata userdata.img
fastboot flash oem SW_binaries_for_Xperia_Android_9.0_2.3.2_v8_tone.img
fastboot flash recovery twrp-3.3.0-0-kagura.img
STEP 2: Installing Google apps (Magisk required):
1. Disconnect the USB cable from the device.
2. Enter TWRP recovery by pressing Power button + volume down untill Sony logo appeared first instead of warning bootlodader unlocked message.
3. Go to Install and select opengapps zip from memory card or USB OTG and install.
4. Also install Magisk zip as well. You will use this to enable Google apps functionality on custom rom and also root functionalities as well.
5. Reboot the device.
Changelogs:
(version 0.5)
- Fixing warning message appeared every time device switched on. Added latest software binaries from Sony.
(version 0.4)
- Fixing building issues, speeding up device booting.
(version 0.3).
- Adding G8232 ROM variant
( version 0.02):
- Fixing building issues
Bugs:
- [G8231] Device going reboot after shutdown button is pressed. You will need to press power button + volume up until feel the vibration 3 times.
- [G8231] Device reboots when performing file transfer from PC to device's sd card.
- [BOTH ROM] Warning message appears when booting into the device (fixed when installing latest version of software binaries)
- [BOTH ROM] Powering Off while charging will reboot the device but in abnormal state, launcher stops working.
- [BOTH ROM] Pixel Launcher from gapps stops working. Stick it to its default launcher and install other 3rd party launcher.
WARNING!: DO IT AT YOUR OWN RISK. BACKUP ALL OF YOUR DATA FIRST BEFORE DOING SO. YOU WILL NOT BE ENTERTAINED IF YOU ASKED SILLY QUESTIONS WHICH PEOPLE KNOWING THAT YOU DID NOT READ THE INSTRUCTIONS!
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Sounds good...
Did this rom fit on G8232 ?
akheljava said:
Did this rom fit on G8232 ?
Click to expand...
Click to collapse
Not really as this ROM would only fit on G8231 model. You can try if you wish.
Attempted to build a second one on Xubuntu 18.04 and although no issues like stalling while compiling but turns out my device can't boot after that.
Surprisingly, developing custom rom on Windows Subsystem on Linux only requires 2-3GB of source code while developing it on Ubuntu could slapped it with 30GB of source code!
Volte supported? For Indian users.. What about dual sim still working? Xperia XZs Dual
XtremE16 said:
Volte supported? For Indian users.. What about dual sim still working? Xperia XZs Dual
Click to expand...
Click to collapse
VolLTE support? Not tested because not available on my mobile carrier and this rom only suitable for single sim model. Installing this rom on dual sim model might bricking your device but if you want to try it out by becoming a fearless tester, go on.
I can't just blindly build a custom rom on a device which I don't have and then ended up having a bad reputation because people think I published a broken ROM. I had been made a second build of custom ROM on Xubuntu 18.04 and ended up producing a very broken ROM that can't boot at all, stuck at Sony logo for a very long time.
Okay...rebuilding it again inside WSL with some functions below:
export WITH_DEXPREOPT=false
export DISABLE_DEXPREOPT=true
Enabling these might help to overcome building process from stalling when it comes to dexpreopt the library file.
Also, I'm found the line like this : build/soong/scripts/toc.sh: fork: Invalid argument which happens when setting make -j8 and opening chrome browser in same time with 9-10 tabs, thus the compiler with crash. Turning off cpu-intensive activities including antivirus real-time scanner might help or perhaps just tune it lower at least 2-4 cores.
EDIT: Uh oh...HDD is now full!!! Gotta clear up some spaces and have to disable ccache...
amirzaim said:
I made this custom ROM project based from Sony Xperia AOSP project. Despite Sony will never release a Pie update for Xperia XZs, Sony still provides some stuffs for building Pie ROMS. However, installing this ROM will never get any kind of benefits similar to its official ROM counterparts. This custom ROM was built with Windows Subsystem For Linux for its very first version. Later version will be built on actual Ubuntu OS later on.
Please note that you cannot install any kind of Google apps on this ROM. Please backup all of your data first before doing so. After installing this ROM, please install 3rd party app store like APKPure, Amazon App Store etc in order to download apps. This ROM only suitable for Xperia XZs G8231 model.
Download links:
v0.01 - [Google Link]
Instructions:
fastboot erase userdata
fastboot erase cache
fastboot flash boot boot.img
fastboot flash system system.img
fastboot flash oem SW_binaries_for_Xperia_Android_9.0_2.3.2_v7_tone.img
WARNING!: DO IT AT YOUR OWN RISK. YOU WILL NOT BE ENTERTAINED IF YOU'RE ASKING HERE ON HOW TO UNLOCK BOOTLOADER!
Click to expand...
Click to collapse
Could someone help me in the fastboot part? My computer is not recognizing my device in fastboot mode (and i have all the drivers installed)
Guhl0rd64 said:
Could someone help me in the fastboot part? My computer is not recognizing my device in fastboot mode (and i have all the drivers installed)
Click to expand...
Click to collapse
Did you install xperia drivers provided via sony flashtool package?
UPDATE: Second build is success...just need a time to test it before uploading it...
Later on I will publish on how to build Pie AOSP custom ROM for Xperia devices...
Please anyone upload Sony Xperia XZs 41.3.a.2.192 firmware india... Or Global firmware Sony Xperia XZs dual
XtremE16 said:
Please anyone upload Sony Xperia XZs 41.3.a.2.192 firmware india... Or Global firmware Sony Xperia XZs dual
Click to expand...
Click to collapse
You are going off-topic here. Please go to this site for downloading its flash file here: http://www.flashtool.net/downloads.php
Hi all...
The updated second ROM build is now live. You can try it out but only for device model G8231 for now.
amirzaim said:
Hi all...
The updated second ROM build is now live. You can try it out but only for device model G8231 for now.
Click to expand...
Click to collapse
Thank you for your support.. I'm waiting for Xperia XZs Dual
amirzaim said:
Did you install xperia drivers provided via sony flashtool package?
Click to expand...
Click to collapse
Yes, I installed, all xperia drivers are installed, even the flash mode!!
Guhl0rd64 said:
Yes, I installed, all xperia drivers are installed, even the flash mode!!
Click to expand...
Click to collapse
Installed but not detected? You might need to enable the "Test mode" on Windows 10 if you're using it and perform special boot by disabling the driver digital signature enforcing. Then, reinstall the xperia driver.
ROM UPDATE: Added G8232 ROM variant...
Because I don't have a device of particular model, I need some ROM testers here to check whether the ROM is now able to boot or else.
XtremE16 said:
Thank you for your support.. I'm waiting for Xperia XZs Dual
Click to expand...
Click to collapse
Okay...I'm update the ROM by adding the G8232 variant here. You can try to test it because I don't have that device.
Bug found on G8231 ROM - Restart happens when phone is shut down. This shouldn't happening when the process isn't stalled!...
Right now, you will need to press power button + volume up in a same time until you will feel 3x vibration and then release it.
amirzaim said:
Installed but not detected? You might need to enable the "Test mode" on Windows 10 if you're using it and perform special boot by disabling the driver digital signature enforcing. Then, reinstall the xperia driver.
Click to expand...
Click to collapse
I was able to resolve it, the drivers were installed on the wrong partition, I had to uninstall all of them so that I could install again.
And I was able to install the ROM, it was a great job
---------- Post added at 06:51 PM ---------- Previous post was at 06:49 PM ----------
Just a question, why does initialization take so long?

Categories

Resources