[ROM][NDE63P][7.1.0_r4] AOSP Nougat for Xperia L [BETA1]

Search This thread

Lorenz15

Senior Member
Apr 5, 2015
742
337
Germany
My original question was there was an error when I tried to install it.

---------- Post added at 11:26 AM ---------- Previous post was at 11:25 AM ----------

I think Alpha 2

---------- Post added at 11:26 AM ---------- Previous post was at 11:26 AM ----------



Hey guys, I tried to upgrade to the alpha 2 of Android N using twrp recovery. I did a back up of my system then pressed the install button. I selected the Android N/aosp_taoshan-ota-eng.agentfabolous_1309_b4.zip on my external sd card. Then I encountered ths error
" E: unknown command
E: Error executing updater binary in zip '/external_sd/Android N/aosp_taoshan-ota-eng.agentfabolous_1309_b4.zip"
Error flashing

Please help
You don't have to send your message twice...we all have eyes in our head(I hope so!) so everybody can read this. So now to your question:
Why do you want to flash a complete new ROM CM --> AOSP and a complete new Android version 6.0.1 --> 7.0 without wiping anything? There shouldn't be a problem of you wipe /system, /data, /cache and /dalvik cache and flash the ROM after that.
 
  • Like
Reactions: Agent_fabulous

jaydu

Member
May 26, 2016
30
3
Dubai
Hehe! sorry, my bad. I already wiped the system, data, cache and dalvik cache of the phone then tried to install the rom but that error prevented that. I completely lost you. I want to experience Android N that's why I tried to install the rom. I tried to just upgrade the marshmallow rom from cynanogenmod but it failed. Then I tried to do a clean install but the same error prevented that. Can you help me?
 

Agent_fabulous

Recognized Developer
Apr 24, 2014
496
5,202
Bangalore

Oh forgot to mention, latest tree is at branch nougat2. Kernel is at nougat. In case I haven't stated already,
Device tree
Kernel

Btw, haven't had any luck booting CM14 yet. Will try again soon :p

My original question was there was an error when I tried to install it.

---------- Post added at 11:26 AM ---------- Previous post was at 11:25 AM ----------

I think Alpha 2

---------- Post added at 11:26 AM ---------- Previous post was at 11:26 AM ----------



Hey guys, I tried to upgrade to the alpha 2 of Android N using twrp recovery. I did a back up of my system then pressed the install button. I selected the Android N/aosp_taoshan-ota-eng.agentfabolous_1309_b4.zip on my external sd card. Then I encountered ths error
" E: unknown command
E: Error executing updater binary in zip '/external_sd/Android N/aosp_taoshan-ota-eng.agentfabolous_1309_b4.zip"
Error flashing

Please help

"E: unknown command [log]" is normal
"E: Error executing updater binary" isn't.
Update twrp.
Oh and about FM radio, either AOSP doesn't have a FM app or I simply forgot to include it. Haven't gotten to test FM yet :3

Anyone knows how to root it?
Use chainfire's latest SuperSU flashable. After flashing the phone will reboot itself once or twice. It's normal.
This seemed to work fine: SuperSU
 
Last edited:

H2h133

Senior Member
Aug 22, 2016
65
6
Thanks for aosp 7 alpha2.
Everything ok but:chrome skip to out and sound in handsfree is low and changing is not fix on power off.
I can install more app on aosp 7 alpha2.
Im waiting for next update aosp7.thanks.
 

Agent_fabulous

Recognized Developer
Apr 24, 2014
496
5,202
Bangalore
Thanks for aosp 7 alpha2.
Everything ok but:chrome skip to out and sound in handsfree is low and changing is not fix on power off.
I can install more app on aosp 7 alpha2.
Im waiting for next update aosp7.thanks.

I'm aware of the low headphone audio. I'll update when I find a fix for it. And, offline charging does work. While charging, if you tap the power button, it may show "Charging ??/100". Don't mind that, it's just some missing charger images. Your phone will still charge the way it's supposed to.
 

ConceptBR

Member
Aug 1, 2016
26
4
I have a simple idea for the space problem for aplications.
Simply replace "date" with "SD 0" at the time of installation of partitions.
This does not alter the structure of partitions and would give the 4 GB device for apps installation.
I've done tests. It's easy to format using the TWRP "SD 0" as EXT4.
The same process is easy to reverse.
It is safe because it does not change the structure of the partitions. If there is any problem just restore the Stock ROM.
Soon just need help to know which Android configuration files need to change mount "SD 0 in EXT4" like the DATA unit.

The Xperia L pass from 1,57GB to 4 GB !!!

sdcard -> /dev/block/mmcblk0p32
Userdata-> /dev/block/mmcblk0p31

CHANGE

sdcard -> /dev/block/mmcblk0p31
Userdata-> /dev/block/mmcblk0p32

Is Simple and possible.
 
  • Like
Reactions: jaydu

Agent_fabulous

Recognized Developer
Apr 24, 2014
496
5,202
Bangalore
I have a simple idea for the space problem for aplications.
Simply replace "date" with "SD 0" at the time of installation of partitions.
This does not alter the structure of partitions and would give the 4 GB device for apps installation.
I've done tests. It's easy to format using the TWRP "SD 0" as EXT4.
The same process is easy to reverse.
It is safe because it does not change the structure of the partitions. If there is any problem just restore the Stock ROM.
Soon just need help to know which Android configuration files need to change mount "SD 0 in EXT4" like the DATA unit.

The Xperia L pass from 1,57GB to 4 GB !!!

sdcard -> /dev/block/mmcblk0p32
Userdata-> /dev/block/mmcblk0p31

CHANGE

sdcard -> /dev/block/mmcblk0p31
Userdata-> /dev/block/mmcblk0p32

Is Simple and possible.
I'll try this later maybe. Thanks for the suggestion ^.^

Step by step? Please... Thanks!
Not sure what you want step by step, but here's installation from start to end.
1. Getting a recovery
You need twrp. Use the recovery installer app to get to twrp. Alternatively, you could download it off the link in op and copy to your adb folder. Then execute the following in your adb directory
Code:
adb root
adb wait-for-device
adb push PathToRecoveryImage.img /tmp/twrp.img
adb shell dd if=/tmp/twrp.img of=/dev/block/platform/msm_sdcc.1/by-name/FOTAKernel
If you don't have access to a computer, download terminal emulator and execute these:
Code:
su
dd if=PathToRecoveryImageOnPhone.img of=/dev/block/platform/msm_sdcc.1/by-name/FOTAKernel
2. Install the rom
Well, this is self explanatory I guess :p
Boot to recovery (vol up = fota) and install.
3. Install Gapps (Optional)
4. Install SuperSU (Optional)
5. Reboot
 

luq_

Member
Apr 16, 2014
13
2
I did a clean flash from Slim6, everything works except mobile data. When it's turned off I see the cross (X symbol above signal icon), but when it's on there isn't any indicator (i.e. no E, H, H+) and it doesn't work. Pinging from terminal emulator gives message "connect: Network is unreachable".
Other minor annoyances include "Preferred network type" label which is always the opposite from radio box (so if 2G is selected in the dialog, it displays 3G in settings, and I'm not sure which one to trust) and manual network search always yields an error after searching for roughly a minute.
 

Aenadon

Senior Member
May 14, 2014
398
147
Geheimstadt
I'll try this later maybe. Thanks for the suggestion ^.^


Not sure what you want step by step, but here's installation from start to end.
1. Getting a recovery
You need twrp. Use the recovery installer app to get to twrp. Alternatively, you could download it off the link in op and copy to your adb folder. Then execute the following in your adb directory

If you don't have access to a computer, download terminal emulator and execute these:

2. Install the rom
Well, this is self explanatory I guess :p
Boot to recovery (vol up = fota) and install.
3. Install Gapps (Optional)
4. Install SuperSU (Optional)
5. Reboot

So you mean the FOTAtwrp I am flashing will take care of swapping the partitions automatically? That's insanely great!!!

Sent from my taoshan using XDA Labs
 
  • Like
Reactions: jaydu

Agent_fabulous

Recognized Developer
Apr 24, 2014
496
5,202
Bangalore
So you mean the FOTAtwrp I am flashing will take care of swapping the partitions automatically? That's insanely great!!!

Sent from my taoshan using XDA Labs

Right now, there's nothing in place to swap partitions. If I do add swapping partitions, it'll happen while the rom flashes. Not sure how twrp will work with swapped partitions. My previous post was just a tiny guide to flash the rom :3
Before swapping partitions, I'm gonna focus on getting stable. :)
 
  • Like
Reactions: Option58 and jaydu

Top Liked Posts

  • There are no posts matching your filters.
  • 48
    DgRXL6J.png

    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.
     */

    Now that I'm done saving my butt, let's proceed :D

    Flashing and updating

    Clean Install
    - Backup all your data (Important)
    - Wipe /system, /data and cache.
    - Flash the ROM + GApps (Download link below)
    - Reboot

    Updates
    - Wipe anything you want to (Optional)
    - Install ROM + GApps
    - Reboot

    Getting a recovery
    Since many people have trouble installing recovery, I might as well add it up here.
    Use the recovery installer app to get to twrp. Alternatively, you could download it off the link below and copy to your adb folder. Then execute the following in your adb directory
    Code:
    adb root
    adb wait-for-device
    adb push PathToRecoveryImage.img /tmp/twrp.img
    adb shell dd if=/tmp/twrp.img of=/dev/block/platform/msm_sdcc.1/by-name/FOTAKernel
    If you don't have access to a computer, download terminal emulator and execute these:
    Code:
    su
    dd if=PathToRecoveryImageOnPhone.img of=/dev/block/platform/msm_sdcc.1/by-name/FOTAKernel

    Downloads
    ROM: BETA1
    GApps: OpenGapps (Use nano or pico)
    FOR ANDROID 7.1 USE THIS
    OpenGapps (Patched): https://www.androidfilehost.com/?fid=457095661767103604
    Recommended Recovery (optional) : TWRP 3.0.2-0

    About the builds
    Device Tree: https://github.com/AgentFabulous/android_device_sony_taoshan
    Kernel Sources:https://github.com/AgentFabulous/android_kernel_sony_msm8930
    AOSP Sources : Repositories available on https://android.googlesource.com/

    Huge thanks to :
    - AOSP and CodeAurora Forums
    - The CyanogenMod Team
    - @STRYDER~007
    - @corphish
    - @olivier
    - All testers involved
    Thanks to @Adrian DC for thread layout and working on Sony Devices ^-^


    XDA:DevDB Information
    AOSP Nougat 7.0, ROM for the Sony Xperia L, ROM for the Sony Xperia L

    Contributors
    Agent_fabulous
    ROM OS Version: 7.x Nougat
    ROM Kernel: Linux 3.4.x
    Based On: AOSP

    Version Information
    Status: Alpha

    Created 2016-09-02
    Last Updated 2016-10-25
    28
    What's working?
    Code:
    - [B]Bootanimation[/B] 
    - [B]Boot[/B] 
    - [B]Offline Charging[/B] 
    - [B]Kernel[/B] 
    - [B]WiFi[/B] 
    - [B]Bluetooth[/B] 
    - [B]NFC[/B] (thanks @xJohn)
    - [B]RIL[/B] (Phone, data, messaging)
    - [B]Ambient Display[/B] 
    - [B]Audio[/B] 
    - [B]Video Playback[/B] 
    - [B]LEDs[/B] 
    - [B]App install[/B]
    - [B]Storage[/B] 
    - [B]Camera[/B] 
    - [B]Sensors[/B] 
    - [B]Rotation[/B] 
    - [B]GPS[/B] (thanks @xJohn)
    - [B]SELinux[/B] (Permissive, for now)

    What's not working?
    Code:
    - [B]Camcorder[/B]
    - [B]You tell me :P [/B]

    Changelog:
    0209
    - Initial release
    0609
    - Fixed Storage.
    1209 (Alpha)
    - Fixed Camera
    - Fixed audio playback
    - Fixed In-call audio
    - Fixed Rotation
    - Added Ambient Display
    - Disabled Strict mode
    1309 (Alpha 2)
    - Fixed Video Playback
    - Fixed Bootanimation
    - Added KSM to improve RAM usage.
    1310 (Alpha 3)
    - Enabled Doze
    - Fixed low headphone audio (thanks to Olivier and Stryder)
    - NRD90M → NBD90Z (7.0.0_r1 → 7.0.0_r14)
    2510 (Beta 1)
    - Upgraded to Android 7.1.0_r4 (NDE63P)
    - Fixed FM Radio
    - Added a more functional browser
    22
    Reserved
    To build, use the local_manifest here.
    Android 7.0
    Android 7.1
    After you sync the sources, run
    Code:
     . device/sony/taoshan/source-patch.sh
    Then the usual, lunch and make otapackage.
    21
    ROM Updated
    2510 (Beta 1):
    Updated to Android 7.1.0_r4 (NDE63P)
    Fixed FM Radio.
    Added Browser.
    Download
    Link in OP Updated.
    Since we now have everything working other than Camcorder, the ROM is now marked BETA. FM Radio works fine now and I've added the Browser app.
    NOTE: In my testing, OpenGapps had Setup Wizard constantly crashing. Using these patched gapps seemed to work fine.
    Gapps (Nano, patched): https://www.androidfilehost.com/?fid=457095661767103604
    You will have to force stop and enable permissions for Google Play Services after getting through setup wizard.
    I haven't tested root yet.
    Let me know if there's any other issues :D

    EDIT: SuperSU seems to be working fine. It breaks FM though.

    Here's some screenshots:
    18
    ROM Updated
    Alpha is here!
    1209:
    Fixed Camera
    Fixed audio playback
    Fixed In-call audio
    Fixed Rotation
    Added Ambient Display
    Disabled Strict mode​
    Download
    Link in OP Updated.

    Note: Video playback and camcorder are still broken
    More screenshots :D