ROMs y desarrollo Sony Xperia SP ROMs y desarrollo Sony Xperia SP

Respuesta
 
Herramientas
  #1  
Viejo 03/02/17, 12:06:17
Array

[xs_avatar]
tonormal tonormal no está en línea
Miembro del foro
 
Fecha de registro: jun 2011
Localización: Colombia
Mensajes: 257
Modelo de smartphone: Moto g5s Plus
Tu operador: Claro
[ROM][OFFICIAL][7.1] LineageOS 14.1 for Xperia SP



NOTA: Recomiendo hacer backup e instalación limpia. Es posible que no puedas volver al stock rom dado que unifica la memoria, pero, quien quiere volver. Se requiere bootloader abierto

Todos los créditos de AdrianDC

https://forum.xda-developers.com/xpe...ia-sp-t3529514

(Click para mostrar/ocultar)
 Cita: Originalmente Escrito por Adrian DC Ver Mensaje


Código:
#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.
 *


About LineageOS
LineageOS is a free, community built, aftermarket firmware distribution of Android 7.x (Nougat),
which is designed to increase performance and reliability over stock Android for your device.

All the source code for LineageOS is available in the LineageOS GitHub repo.
And if you would like to contribute to LineageOS, please visit our Gerrit Code Review.

Official LineageOS website : http://lineageos.org

Downloads Links
LineageOS 14.x (Unlocked Bootloader) :
Official : https://download.lineageos.org/huashan
Development : https://basketbuild.com/devs/AdrianD...LineageOS-14.x

Google Applications (optional) :
OpenGapps : http://opengapps.org (Use packages for ARM, Android 7.x, Micro or Pico)
Information : Flash the GApps before the first boot. If not, a clean flash is recommended.

Recommended Recovery (optional) :
TWRP 3.0 : http://forum.xda-developers.com/xper...overy-t3309938

About LineageOS updates : ChangeLog available on http://www.cmxlog.com/14.1/huashan
About LineageOS device side : See my GitHub trees linked below

Flashing and updating
LineageOS clean install :
- (Optional) Flash the boot.img kernel from the ROM zip with Fastboot or Flashtool
- (Optional) Wipe the data & cache (Backup to make sure not to loose data)
- Flash the LineageOS ROM zip from the Recovery
- (Optional) Flash the GApps to have the Google Applications
- (Optional) Every additional zip you want to flash
- Reboot

LineageOS update / upgrade :
- (Information) Don't wipe anything unless you want to
- (CM / UNOFFICIAL) Nothing to wipe when switching
- (FUTURE RELEASES) Might need clean, informations will be updated
- Flash the latest LineageOS ROM zip from the Recovery
- (Optional) Flash the GApps on first install / upgrade. Not required later, but do update sometimes
- (Optional) Every additional zip you want to flash
- Reboot

LineageOS official upgrade from older builds :
- (Information) Read the following post : Update & Build Prep
- (Optional) Backup your applications and / or ROM
- (CM / UNOFFICIAL) Flash the EXPERIMENTAL migration build and reboot to Android
- Flash the latest LineageOS ROM and reboot to Android

About the builds
Device tree : https://github.com/AdrianDC/android_...ommits/cm-14.1
Kernel sources : https://github.com/AdrianDC/android_...ommits/cm-14.1
Vendor blobs : https://github.com/AdrianDC/propriet...ommits/cm-14.1

Issues and reports
- Report issues only if you are using the ROM kernel
- If an additional mod is installed, make sure it's unrelated, and mention it
- Make sure the issue wasn't discussed earlier in the threads
- Share a log of the error with CatLog for example

Q&A - FAQ
LineageOS 14.1 Huashan Regular Questions and Answers : Q&A Thread

About LineageOS Legal : http://lineageos.org/legal

The LineageOS team would like to thank everyone involved
in helping with testing, coding, debugging & documenting! Enjoy!



LineageOS available for Huashan also thanks to :
- The LineageOS Team
- The CyanogenMod Team
- Everyone involved in working and testing

XDA:DevDB Information
LineageOS 14.1, ROM for the Sony Xperia SP

Contributors
Adrian DC
ROM OS Version: 7.x Nougat
ROM Kernel: Linux 3.4.x

Version Information
Status: Nightly

Created 2016-12-31
Last Updated 2017-01-30


Para dudas y preguntas genéricas, utilizad el foro correspondiente o aquí mismo
https://forum.xda-developers.com/xpe...ia-sp-t3529492

(Click para mostrar/ocultar)
 Cita: Originalmente Escrito por Adrian DC Ver Mensaje



Código:
#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.
 *


About this Q&A thread for LineageOS
Use this area to ask anything you want related to LineageOS,
but try not to spam everyone, always search for an answer before.


LineageOS 14.1 for Sony Xperia Huashan
Xperia SP (Huashan) : http://forum.xda-developers.com/-/-/-t3529514


General Questions & Answers
Is root access included into LineageOS ?
No longer included by default to improve user security.

An addon is shared to add SuperUser features : https://download.lineageos.org/extras.
It will survive to updates the same way GApps do.

Go into Settings, About Phone. Tap "Build number" 7 times.
Go back, open Developer options. Change "Root access" option.

Do not use SuperSU unless you are sure, creates booting issues.
Read more about it : Here.

Is the ROM suited for daily usage ? Google Apps compatible too ?
Yes but work in progress. OpenGApps recommended.

Can I flash LineageOS on official and development builds, or even on CM without wipes ?
Migrations from unofficial to official, and from CM builds, are allowed with an experimental migration.
Read more about it here : http://lineageos.org/Update-and-Build-Prep

Always remember to do backups before doing such changes.

Is the device encryption supported ?
State unknown. If you're coming from an older ROM
please read the details here : a07afb9660a86f702066003b8e81ab63789d1660

When USB connected to a computer, I can't access the storage ?
The phone is in charge-only mode by default on Nougat,
due to a stronger security logic regarding unauthorised data access.
Swipe down the notifications and change the USB mode.

I can't access the ROM's recovery with Volume-
You can either flash the boot.img from the newer Releases with "fastboot flash boot boot.img" or FlashTool,
or follow the instructions of the TWRP Recovery installation to update from TWRP.

Against advice, I upgraded without GApps and now it crashes. Any way without factory reset ?
Yes there is, but nothing assures you'll manage to do it fully & preserve all your data...
Once booted, keep saying Ok to all "Unfortunately, ... has stopped",
pull-down the notifications panel, press the Settings icon,
go in Apps, menu, Show System, scroll to Setup Wizard (green Android logo),
Permissions, and activate Contacts + Telephone.
Later, some Play Store apps may need reinstalling.
If not working, then I advise a clean factory-reset reinstallation...

The AOSP Keyboard does not support swipe gestures ?
Unfortunately the sources for swipe gestures are not available
and Google still requires their prebuilt library to be there for AOSP Keyboard.
Download the following libjni_latinimegoogle.so API 23 from OpenGApps
and push it to /system/lib/libjni_latinimegoogle.so.


Tenía TWRP + Marshmallow, pero Nougat es una delicia. NOTA: he hecho una instalación limpia de Nougat.

0. Yo tenía simunlock y bootloader abierto, por supuesto

1. Tener en cuenta que: ha integrado los 8Gb para aplicaciones y datos

2. Si usáis la guía de Sam Liddicot para tu tarjeta SD podéis tener almacenamiento de sobra.

(Click para mostrar/ocultar)


Como utilizar la guía de Sam desde tu Xperia SP Nougat para hacer semi adoptable storage en tu tarjeta SD (recomiendo mínimo una tarjeta SD de categoría 10): Cuando recién instale, expulsar la tarjeta SD (EJECT) habilitar el acceso root y habilitar el terminal(estos dos en ajustes de desarrollador) y ejecutar con mucho cuidado desde la aplicación terminal

2.1. sm list-disks adoptable NOTA: devuelve algo como 179_64, se usa en el paso 2.3 tal como le aparece, a cada uno puede aparecer algo diferente, la mía es de 64GB
2.2. su NOTA: da derechos de root, por lo tanto, habilitarlos
2.3. sm partition disk:179_64 mixed xx NOTA: Cambiar 179_64 por lo que devolvió en el paso 2.1, y xx por el porcentaje que deseas para el internal storage (música, vídeos, fotos, etc.).
2.4. pm set-install-location 2 NOTA Ajusta la localización por defecto a la Tarjeta Samsung (parte de la sd que es adoptable storage) para aquellas aplicaciones que lo permiten, es decir, cuyo atributo android:installLocation así lo define
2.5. sm set-force-adoptable true NOTA Forza que se habilite el adoptable storage

NOTA: En vez de hacer el proceso manual, lo puedes hacer con https://play.google.com/store/apps/d...rootessentials


3. Ya tiene Modo cafeina y el icono de NFC

4. Busco como instalar QuickSupport de TeamViewer. Solucionado

5. Cambiar en la cámara el lugar donde se almacenan las fotos...

6. Aun no hay Xposed para Nougat, si lo necesitas, instala marshmallow + http://forum.xda-developers.com/show...postcount=4556

7. Reconocimiento de voz sin conexión activado y descargados los lenguajes para el teclado de voz de Google

8. Google Maps sin conexión a la tarjeta SD

9. Mixplorer es el mejor explorador de archivos: http://forum.xda-developers.com/show....php?t=1523691

10. Un buen cliente de Facebook y Twitter: https://play.google.com/store/apps/d...pper&hl=es_419

Última edición por tonormal Día 23/05/17 a las 02:24:27.
Responder Con Cita
Gracias de parte de:


  #2  
Viejo 10/04/17, 13:55:36
Array

[xs_avatar]
aml80 aml80 no está en línea
Miembro del foro
 
Fecha de registro: ene 2012
Mensajes: 335
Modelo de smartphone: HTC Saga
Tu operador: Orange
Que tal va en cuanto a estabilidad, fluidez y bateria esta rom?
Responder Con Cita
  #3  
Viejo 23/05/17, 02:23:38
Array

[xs_avatar]
tonormal tonormal no está en línea
Miembro del foro
 
Fecha de registro: jun 2011
Localización: Colombia
Mensajes: 257
Modelo de smartphone: Moto g5s Plus
Tu operador: Claro
 Cita: Originalmente Escrito por aml80 Ver Mensaje
Que tal va en cuanto a estabilidad, fluidez y bateria esta rom?
Va fantástica y pronto Android O
Responder Con Cita
Gracias de parte de:
  #4  
Viejo 24/06/17, 17:10:27
Array

[xs_avatar]
danistov danistov no está en línea
Usuario muy activo
 
Fecha de registro: may 2014
Mensajes: 1,166
Tu operador: Movistar

 Cita: Originalmente Escrito por tonormal Ver Mensaje
Va fantástica y pronto Android O
en serio tendremos Android 0 para el SP?
Responder Con Cita
  #5  
Viejo 27/07/17, 18:18:28
Array

[xs_avatar]
danistov danistov no está en línea
Usuario muy activo
 
Fecha de registro: may 2014
Mensajes: 1,166
Tu operador: Movistar

solucionado mas abajo

Última edición por danistov Día 28/07/17 a las 13:42:23.
Responder Con Cita
  #6  
Viejo 28/07/17, 01:22:33
Array

[xs_avatar]
danistov danistov no está en línea
Usuario muy activo
 
Fecha de registro: may 2014
Mensajes: 1,166
Tu operador: Movistar

 Cita: Originalmente Escrito por danistov Ver Mensaje
@tonormal @aml80


he conseguido instalarla pero tengo un par de problemas

primero que despues de instalar la rom el twrp desaparece y solo aparece el recovery por defecto
si intento flashear las gapps desde el otro recovery me da error
he preguntado en xda con mi ingles lamentable (danistov)
https://forum.xda-developers.com/xpe...1#post73194921

a ver si podeis ayudarme
pd: tampoco puedo instalar una apk, me sale visor de html
me cito a mi mismo porque ya he conseguido hacerlo

para quien no lo tenga muy claro:

desbloquear bootloader
instalar twrp-3.1.1-20170520-boot-huashan.img por fastboot
una vez arrnca y entra en twrp hay que instalar twrp-3.1.1-20170520-fota-huashan.zip
y despues la rom con sus correspondientes wipes cache y dalvik, las gapps y lo que se quiera y luego reiniciar


para tener root lo mejor es seguir estos pasos
https://forum.xda-developers.com/cro...y-elf-t3506883

yo lo he hecho con magisk y se instala perfectamente a traves de twrp


El telefono nunca ha ido tan bien como ahora, casi 4 años despues de comprarlo. Acojonante pero cierto

Última edición por danistov Día 30/07/17 a las 01:38:50.
Responder Con Cita
  #7  
Viejo 07/11/17, 06:04:18
Array

[xs_avatar]
tonormal tonormal no está en línea
Miembro del foro
 
Fecha de registro: jun 2011
Localización: Colombia
Mensajes: 257
Modelo de smartphone: Moto g5s Plus
Tu operador: Claro
Y quien desee, ya funcionando AOSP Oreo
Responder Con Cita
Respuesta

Estás aquí
Regresar   Portal | Indice > Foros Sony > Otros smartphones antiguos de Sony > Sony Xperia SP > ROMs y desarrollo Sony Xperia SP

Herramientas


Hora actual: 22:24:19 (GMT +1)



User Alert System provided by Advanced User Tagging (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.

Contactar por correo / Contact by mail / 邮件联系 /