XperiaSP Locked Bootloader (LBL) Cyanogenmod 12.0 - Xperia SP Android Development

{
"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"
}
translated by Kizsde :highfive:
I would like to ask everbody not to send me PMs with questions about the installation, that is what the forum is here for. Also everbody should do this at their OWN RISK!
If you already have recovery installed, go to step (3) and continue from there.
(1): As a first step, we should "root" our stock 4.3, so later on we can install a recovery tool:
- a: Download the towelroot apk and click on the Lambda icon
- b: On the phone, navigate to Settings > Security and check the Unknown Resources checkbox
- c: Copy the tr.apk to your phone's SD card and install it
- d: Estabilish an active internet connection on your phone
- e: Run the towelroot app and once it loaded, tap on the "make it ra1n" button. This should "root" your phone.
**The reason why the word "root" is between quotation marks, is because the towelroot app doesn't actually root your phone, but allows a superuser application to be installed on it. We don't actually need an SU app, but "root" is needed for the installation of the recovery.
(2): Installing the Recoveries (source: [link])
-a: On the phone, navigate to "Settings > Developer Options" and check the "USB Debugging" checkbox. If you don't have it listed, just tap the "Build Number" within "Settings > About Phone" 4-5 times.
-b: Connect your phone to the PC
-c: Download the recovery pack created by dssmex
-d: Extract the CWM_SP_4.4.1.zip file to your computer and depending on your operating system run the appropriate install***** file (install_mac.sh= MAC OSx; install_linux.sh= Linux; install.bat= Windows) **(On Windows a menu will appear, where you need to choose option "1" and the rest will be done automatically)
-e: If the installation is successful and you see no errors, you can reboot your phone. Otherwise repeat the installation until it is completely error-free
-f: After reboot, the phone indicates with some blinking lights and a slight vibration that you are now able to select from the recoveries (volume rocker down=TWRP recovery; volume rocker up=Philz recovery; camera button=CWM recovery). It is up to you which one you select, as all of them should be able to do the job just fine. Personally I recommend CWM and the guide will follow this method. IMPORTANT: During the recovery selection, the idle time is 2 seconds and if no button is pressed, the phone will boot normally.
(3): Installation of the CM12 rom:
-a: Download the newest rom from here: [link]
-b: Copy the cm-12-201*****-UNOFFICIAL-lbhuashan.zip to your phone, preferrably to the external SD card. (This can be performed during recovery too, but copying to the SD card is significantly slower this way, so before you do that please read section (4))
-c: During recovery selection, choose CWM
(Quick CWM navigation guide: With physical buttons: Volume down=move down; Volume up=move up; On/off button=Enter/select menu option; || With swipe gestures: Swipe down: move down; Swipe up=move up; Swipe right=Enter/select menu option; Swipe left=back)
-d: Make a backup of your current system, by going to "backup and restore" and selecting the "backup to /storage/sdcard1" option. This will create a "clockworkmod" folder on your SD card and the dated backups will be stored here.
-e: Now go to "Wipe data/factory reset" and select the "Yes-Wipe All user data" option. This will erase the /Data /Cache partitions and delete the ".android_secure" folder on the SD card. IMPORTANT: This may take several minutes to complete.
It is advised to do the following when performing a clean install:
It may happen that the installer is unable to format the system, so it needs to be perfomed manually by going to "mount and storage" and selecting the "format /system" option.
-f: Navigate to "install zip->choose zip from /storage/sdcard1" then browse to and select the previously copied CM11 rom
-g: The CM12 rom should now be installed. If you don't prefer to install the Gapps pack, then reboot your phone with the "reboot system now" option, otherwise go to step (4)
(4): Installation of the google apps (Gapps):
-a: Download the newest CM12 gapps from this list
-b: Copy it to the external SD card
-c: Go to CWM recovery again (camera button)
-d: Navigate to "install zip->choose zip from /storage/sdcard1" and select the Gapps pack you just copied to the SD card
(5): Installation of the SuperSU app:
-a: Download the newest UPDATE-SuperSU-v2.**.zip
-b: Copy it to the external SD card
-c: Go to CWM recovery again (camera button)
-d: Navigate to "install zip->choose zip from /storage/sdcard1" and select the UPDATE-SuperSU-v2.**.zip you just copied to the SD card
-e: Once installation is done, reboot the phone
What works:
USB Charging : Ok
USB ADB : Ok
USB MTP : Ok
Video : Ok
Audio : Ok
Sensors : Ok
Screen rotation : Ok
WLAN : Ok
WLAN Hotspot : Not tested
GPS : Ok
GSM : Ok
GSM Data : Not tested
GSM Voice : Not tested
GSM SMS : Not tested
Bluetooth : Ok
NFC : Ok
Camera : Ok
FM Radio : Ok
Keyboard : Ok
MHL : Not tested
OTG : Not tested
What doesn't work:
???
----------------------------------------------------------------------------------------------------------------------​
Frequently Asked Questions + Useful info:
- The first boot will always be slow. This is because once you enter your google account details it starts updating the google apps and your personal details, while downloading your own applications as well
- The rom does not include Sony's own services and user interface
- The rom is rooted by default
- You cannot apply any custom kernels as the bootloader is locked
- After first boot, turn off NFC (or at least try to remove the check from the checkbox, it will not be possible due to a bug), then reboot the phone. After this you will be able to turn it on/off as per usual.
- The rom contains CWM and Philz recovery too (camera button=CWM; volume up=Philz)
- Glove mode is turned on by default, but if you would like to turn it off, go to "Settings->Language & Input" and remove the check from the "High Touch Sensitivity" checkbox
- To enable "Developer Tools" & "Performance" menu options, navigate to "Settings->About Phone" and tap "Build number" 4-5 times
- Hijack is a script that enables useres to boot not only stock roms on a locked bootloader, but custom ones too like Cyanogenmod, aopk, pa, pac, slimkat, omni etc...
- It is not possible to update a rom OTA, only from recovery. The method of updating the rom is the same as installing it from step (3), the only difference is that the "-d: wipe data/factory reset" part needs to be skipped
- If you want to play games, it is a good idea to change the "Profile" to "Performance" under the "Performance" menu option for the duration of play
- You can make the Google search bar disappear from the home screen by opening the settings menu of the Trebuchet launcher via long press. Then expand the advanced settings by swiping up the grey bar of Wallpapers Modules Themes. Here look for the Search bar and switch it off.
ROM: cm-12-20160130-UNOFFICIAL-lbhuashan
GAPPS: gapps-502-base-********-1-signed.zip
SuperSU: You need to install SuperSU !!!!
Changes:
cm-12-20160130-UNOFFICIAL-lbhuashan:
-CyanogenMod update-source (nighty)
-RIL source code update
-Selinux disabled
-Wifi mac loader fix
-Audio fix
-Audio vendor blobs update
-glove mod settings fix
-Adreno driver update
-Add some tweaks
cm-12-20150120-UNOFFICIAL-lbhuashan:
-GSM fix
-WIFI fix
-BT fix
-GPS fix
-Camera fixed (1080p video recording OK)
-FM radio fix
-NFC fix
-Hot reboot fixed
----------------------------------------------------------------------------------------------------------------------​
Source codes:
CyanogenMod
Device tree:
android_device_sony_lbhuashan
android_device_sony_lbqcom-common
android_device_sony_lbcommon
android_vendor_lbsony
hijack-ramdisk-huashan
Kernel Source:
android_kernel_sony_lbmsm8960t
Screenshots:
Credits:
-MrSteve555
-neXusPRIME
-dh.harald
-KeiranFTW
-cray_Doze
-davidmarco
-dssmex
-DooMLoRD
-Cyanogenmod
XDA:DevDB Information
XperiaSP Locked Bootloader (LBL) Cyanogenmod 12.0, ROM for the Sony Xperia SP
Contributors
bagyusz
ROM OS Version: 5.0.x Lollipop
ROM Kernel: Linux 3.4.x
Based On: CyanogenMod
Version Information
Status: Nightly
Created 2014-11-20
Last Updated 2016-01-30

Thanks for rom
I will try it soon. Hope you will be fix the reboot problem and camera soon.

Downloading and testing. How about GPU, performance and battery?

Vivaz90197 said:
Downloading and testing. How about GPU, performance and battery?
Click to expand...
Click to collapse
ROM is in testing. Don't do these questions

Wow bagyusz. Thank you so much. You are our only hope after Sony abandoned Xperia SP.

Downloading and testing! Thank You bagyusz Waiting for fully working version

i have 20-30 KB/s download speed...is that normal...??? and my network speed is 31 Mbps....

Brilliant job just to get this far so soon! cant wait for a bit more stable version. Hope the testing goes well.

Great job! Waiting for the version with working wi-fi and camera.

Slow download
Gara91 said:
i have 20-30 KB/s download speed...is that normal...??? and my network speed is 31 Mbps....
Click to expand...
Click to collapse
Quite normal.. the server is really slow... I'm using a 1Gbps (1000mbps) server to download this and I get only 50+kb/s...
OP, I got a server that can be used as a mirror for your ROM. If you are interested in hosting your ROM on my servers then do PM me!

Will try it bro
Downloading now

u are awesome Bagyusz !
my nexus 7 just even get the update, and then a non supported by the manufacturer with locked bootloader unbelievable , thx a lot !

Error during installing
during the installation me aparece esto "mount: failed to mount /dev/block/plataform/msm_sdcc.1/by-name/Userdata at /data: Device or resource busy"
"Script succeeded: result was [0. 200000]"
i dont know if it is normal but instalation do not cancel

Wow great job! This source code is far more advanced than mine! I'll try to contribute to the code (I don't think that'll be a problem? I'm just saying ).
It wouldn't hurt you if I were to modify and improve your ROM and release it separately with credits or would you prefer I don't?
And Huge thanks to the others who pitched in! You guys seem to never fail to be a great source of help. Were all in this together so pat yourself on the back because you've just raised the hearts of millions of Xperia SP users worldwide!
And another note, i would be happy to improve the thread further
(Do pm me separately if you're not comfortable talking on the forums )
Cheers!
I bet the code and RIL errors gave you a headache!

For all: Install via Philz Recovery

Nice job !
Wait for the ubl version

TsunaH said:
Nice job !
Wait for the ubl version
Click to expand...
Click to collapse
It will work if you're on unlocked boot loader by theory

DanielZRK said:
For all: Install via Philz Recovery
Click to expand...
Click to collapse
i try installing with philz before and same result to mi
i will try another time and if i can't install y will restore my previous rom

Furrydaus said:
It will work if you're on unlocked boot loader by theory
Click to expand...
Click to collapse
Really ?
I'm gonna wait before testing the rom

TheWolfer22 said:
during the installation me aparece esto "mount: failed to mount /dev/block/plataform/msm_sdcc.1/by-name/Userdata at /data: Device or resource busy"
"Script succeeded: result was [0. 200000]"
i dont know if it is normal but instalation do not cancel
Click to expand...
Click to collapse
On my phone i saw same error but everything works good after reboot

Related

(ROM)(08-05-15)(UNOFFICIAL)(4.4.4)CyanogenMod 11.0(GPL)(HYBRID)

Please Observe the Note about Gapps/Recoveries in the Downloads Section.
GSM'rs Please read message 1977 BEFORE complaining about SMS Texting. Thanks​
{
"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"
}
CyanogenMod 11.0 is a free, community built distribution of Android 4.4 (Kit Kat) which greatly extends the capabilities of your phone and increases performance and reliability over "stock Android" for your device.​
Code:
* Your warranty is now void.
* We are not responsible for bricked devices, dead SD cards,
* 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 us for
* messing up your device, we will laugh at you.
CyanogenMod is based on the Android Open Source Project with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed. Linked near the bottom of this post is a package that has come from another Android project that restores the Google parts. CyanogenMod does still include various hardware-specific code, which is also slowly being open-sourced anyway.​
Features:
CM11.0
Koush's SuperUser as default (built in)
Android KitKat 4.4.4
Root
Apollo
CM's "File Manager"
cLock Widget
Quick Settings Panel
Swipe option for Quick Settings
Quick Pull-down option for Quick Settings
Notification Drawer Quick Access Ribbon
New CM Wallpapers
Theme Engine
Scroll typed text with vol -/+
Multi Language Support
Whisper Push
Zipaligned
All images optimized
Whats Working:
Alarm/Clock/Countdown Timer/Stop Watch
Audio (alarm, music, ringtones, ui)
Automatic Screen Rotation
Battery Stats
Bluetooth Calling and Streaming
Bluetooth Tethering
Camcorder - see below
Camera
Count Down Timer
Data (3g/4g LTE)
Data Transfer Arrows
Developer Options
Display (for the most part. See not working for further details)
Exchange E-Mail
Google Sync: Account/Calendar/Contacts
Gallery
Google Voice Typing
GPS
Hangouts (Gtalk replacement)
HD Video Playback
LEDs
Mms (sending/receiving)
Performance Controls
Phone (making/receiving calls)
ScreenShot
Security (Blacklisting /Privacy guard /Screen Lock)
Signal Bars and dBm signal strength
Simultaneous Voice and Data
Sms (receiving /sending)
Sms messaging via hangouts (new integrated sms ability)
Sound Recorder
Stereo Sound Headphones (some static present when screen comes on and goes off)
Stereo Sound (rear speaker)
Storage (external /internal)
Superuser
Swipe Keyboard and Auto Correct
Terminal Emulator
Torch/Torch Toggle
USB Mass Storage (Access via pc connection): External /Internal
USB Tethering
Vibration (calls , haptic feedback, notifications)
Vibrator Intensity settings
Video Chat (ie: Skype, Hangouts, etc.)
Video Playback (Youtube, Camcorder)
Voice Dialer
Voice Search
Live Wallpapers /Wallpapers
Weather from network location
Widgets
WiFi
WiFi Hot Spot (native WiFi tethering)
Youtube App/streaming video
What's Not Working:
Netflix: However, there is a workaround for this via use of the Xposed module: [Xposed][HACK] Workaround for Netflix This was discovered by member @hochoch. Thanks be to him. I have attempted to place the install instructions here. However, IF you feel confused please refer to the Workaround site.
To install:
Download and Install the Xposed Installer APK http://dl.xposed.info/latest.apk.
... > move to the dir containing the file
... > adb install de.robv.android.xposed.installer_v32_de4f0d.apk
You will be asked if you will allow this. Say yes.
Switch to the phone and the app directory. Install the Xposed framework:
... Find Xposed Installer... Tap it... Tap Frameworks... Tap ok... Tap Install/Update...
. . select Remember choice forever... Tap Allow... Tap ok to ReBoot
Download and Install the APK linked in this post: linked apk
... > move to the dir containing the file
... > adb install XposedCM10.1NetflixWorkaround.apk
Startup the Xposed Installer... Tap Modules.. Tap the check box.. Tap ret key twice
After enabling the module in Xposed Installer ... Reboot your phone. Enjoy Netflix.
If your PC hangs on one of the adb install commands... look at your phone and Tap the OK.
And this works on our CM11.0 (4.4.4) xposed-framework
Click to expand...
Click to collapse
Bluetooth Calling: It's hit or miss. Either doesn't work for some, or has bad quality for others.
Bluetooth will NOT "turn on" our ReZounds. Hardware is not designed for it. In order to make a "Hands free call" you must at least "Activate" the phone. Only has to show the "Lock Screen". Then your Bluetooth must be of the type that has a "Button" you can press to activate voice calling. Mine is a Plantronics Pro and the sequence goes like this:
Naturally your Bluetooth and phone have to be paired.
Push Power Button on Phone.
Push or Press your Bluetooth button.
Listen for command request.
Recite the name in your call list you desire to call.
Hope that the voice to text translation was correct...
MHL/HDMI: This most likely will never work on AOSP and should be considered a "don't hold your breath"
Camcorder: Built in one will scramble the pic IF started in portrait mode. Horizontal mode works ok. However, in both modes you can only get 3 video saves and then you have to reboot to get another 3. Repeat.
Installation InstructionsI recommend users of this rom to be on the latest firmware and Hboot with an s-off device. If you are not on the latest global firmware: Here or Here.
NOTE: For recovery I use CWM Touch 6.0.3.6 but you can also use TWRP. Some wipe options below may not be included in other recovery options. Still wipe what is available the best you can.
1. Put the Rom on the root of your SD Card
2. Compare MD5 Sum
Windows: MD5 Calculator
LINUX: Open Terminal and type: md5sum [path to the rom on your sd card]
Mac: Open a terminal and type: md5 [path to the rom on your sd card]
3. Reboot to Recovery
4. Scroll down and select "Wipe"
5. Wipe the following:
Wipe ALL data/factory reset
Wipe /data
Wipe /cache
Wipe Dalvik-cache
Wipe /boot
Wipe /system
Optionally wipe:
Wipe battery stats
Wipe rotate settings​6. Scroll to and press return
7. Install Rom from SD Card
8. Reboot and enjoy!
​Further questions about the ROM
Please check the FAQ in the second post.​
Note: Please do not mirror the Rom. Thanks.​NOTICE: I do not provide a changelog. However, you may view the official CM changelog by clicking CHANGELOG (Not yet available for cm-11.0)​​To those complaining about Battery usage, please view message: 2429
The Battery tests have been updated: Sep 7th, 2014​Downloads:
ROM: DOWNLOAD
----------------------------------------------------------------------------------------
4.4.4 GApps: gapps-kk-20140620-signed.zip
4.4.4 BaNkS GApps: GApps from BaNkS
4.4.3 GApps: gapps-kk-20140606-signed.zip
4.4.3 BaNkS GApps: GApps from BaNkS
​Check out the message 2322 for a proper TWRP and CWM to install the "Standard" Gapps.​
Thank You to the following individuals for their heavy involvement in making Kit Kat possible for the HTC Rezound and for their continued efforts to improving the platform (in Alphabetical Order):
Flyhalf205 -Donate
kkozma - Donate
_litz - Donate
REV3NT3CH - Donate
Snuzzo - Donate
TheBr0ken - Donate​Source:
Google - Android
Cyanogen - Source
Vigor - Beta builds
Vigor - Kernel
Please note that CM-11.0 is super fresh and no where ready for prime time action. However, it is stable enough to use daily. Over time, the CyanogenMod team will add back features that are currently missing and adding some never before available as development continues.
Please see post two for additional notes.​
Frequently Asked Questions
HTC Rezound UNOFFICIAL CM11.0 (KK-4.4.4)​
This is a short list of Q&A that should help you find answers to the questions you might have concerning flashing and using this ROM.​
[SIZE=+1]Q1: What version of Android is this?[/SIZE]
This Rom is CM11.0 which is currently built on Android 4.4 "Kit Kat"​
[SIZE=+1]Q2: Lost root?!? Built in Superuser doesn't work?[/SIZE]
Go into Developer options and change Root access to "Apps and ADB"​
[SIZE=+1]Q3: Is this ROM S-On compatible?[/SIZE]
By default, no. Follow these instructions to flash on an S-On device:
NOTE:
You must have the Android SDK downloaded and installed onto your computer.
You must be familiar with the SDK's install directory structure.
You must be familiar with using terminal and know how to cd to the platform-tools folder of the Android SDK's install directory.
1. Open the Rom zip with an archive tool such as 7zip and extract the boot.img from it.
2. Place the boot.img into the platform-tools folder of the Android SDK's install directory.
3. Put the Rom and GAPPS on the root of your SD Card
4. Compare MD5 Sum
Windows: MD5 Calculator
LINUX: Open Terminal and type: md5sum [path to the rom on your sd card]
Mac: Open a terminal and type: md5 [path to the rom on your sd card]
5. Reboot to Recovery
6. Scroll down and select "Wipe"
7. Wipe the following:
Wipe ALL data/factory reset
Wipe /data
Wipe /cache
Wipe Dalvik-cache
Wipe /boot
Wipe /system
Optionally wipe:
Wipe battery stats
Wipe rotate settings
Click to expand...
Click to collapse
8. Scroll to and press return
9. Install Rom and gapps (in that order) from SD Card
11. Return to the main menu of the recovery and select "Developer Menu".
12. Select "Reboot to bootloader
13. Ensure your device is connected to your computer and that your device is now in fastboot mode. This is a white screen and it says fastboot on it.
14. Open a Terminal (OSX or Linux) or CMD window (Windows) and cd to the platform-tools directory of the Android SDK's install directory.
15. Issue this command to flash the boot.img we placed in the platform-tools folder earlier:
Code:
fastboot flash boot boot.img
16. Watch the output of the terminal, it should say something like "sent successfully".
17. Finally send this command:
Code:
fastboot reboot
This command reboots your device into Android. Wait for it to boot up and enjoy your new freshly installed CM10.12
Note: If you are having issues connecting your device to your windows computer in fastboot, please insure the drivers are up to date by installing the latest version of HTC Sync for the Rezound.​
[SIZE=+1]Q4: Where did the Developer options in settings go?[/SIZE]
Google/Android has hidden this feature in JB 4.x+ and up. Follow these steps to re-enable the feature:
Go to settings > about phone. Tap Build Number 7 times. Tapping Build Number 7 times re-enables the Developer Options in settings.​
[SIZE=+1]Q5: Where did the reboot menu go?[/SIZE]
In Android 4.4 this menu is hidden by default in CM11.0 and must be enabled.
Step 1: Enable Developer options using the method described in Q4.
Step 2: Go to Developer options and check the Advanced reboot box.
Step 3: Go to System settings > System > power menu. Insure the Reboot menu box is checked.
Click to expand...
Click to collapse
[SIZE=+1]Q6: What is the recommended HBOOT and Radio for this ROM?[/SIZE]
RADIO: 2.23.10.0123r, 2.23.10.0124r
HBOOT: 2.28
Click to expand...
Click to collapse
If your device is not using this firmware and HBOOT, its very simple to update. Just follow the guide [URL=" http://forum.xda-developers.com/showthread.php?t=2509770 [/URL] to get updated.​
[SIZE=+1]Q7: Is this ROM GSM compatible?[/SIZE]
Yes. You must enter Mobile Networks and change preferred network list to GSM.​
[SIZE=+1]Q8: Why isn't my WiFi working?[/SIZE]
You're most likely s-on then. You must flash the boot.img that comes with the .zip inside of fastboot.​
[SIZE=+1]Q9: What recovery is recommended?[/SIZE]
ClockworkMod 6.0.3.6 or higher... TWRP 2.6.0.1 or higher...​
[SIZE=+1]Q10: I can't mount my phone to my computer as a mass storage device. How can I manage my internal/external storage with my computer?[/SIZE]
If you have the most recent HTC drivers installed and are still experiencing issues, reboot into your recovery, and try mounting your storage that way. If you are still having issues, try a different cable, USB port, or computer. Lastly, try to avoid using an external USB hub. Those may cause issues, as well.​
Please be smart and use the search bar first before posting any questions...​
【ROM】【4.4.4】【UNOFFICIAL】CyanogenMod 11.0【06-30-14】【GPL】【HYBRID】
Reserved
Thank you!!
Flashing with twrp is ok?
Sent from my ADR6425LVW using Tapatalk
For those of you who wish to contribute to it's progress and may not be as code or tech savvy, feel free to look over the things that are "untested" in post number 1 and let the rest of us know if it works or not!
This helps a lot so thank you.
-Neo
bbgreen said:
Thank you!!
Flashing with twrp is ok?
Sent from my ADR6425LVW using Tapatalk
Click to expand...
Click to collapse
I believe so. Although I'm unsure of what version may/may not be compatible as I do not use it. FlyHalf would be the best person to answer this.
IAmTheOneTheyCallNeo said:
I believe so. Although I'm unsure of what version may/may not be compatible as I do not use it. FlyHalf would be the best person to answer this.
Click to expand...
Click to collapse
I use 2.6.3.0 with no issues
kkozma said:
I use 2.6.3.0 with no issues
Click to expand...
Click to collapse
as i used 2.6.3.3
I want to try it so bad, but I need the browser and camera... I'll wait until it's awesome!
Sent from my Rezound using Tapatalk
I used 2.6.3.0 from here : http://goo.im/devs/OpenRecovery/vigor
Just make sure you properly wipe/etc if doing a clean install, and after any "dirty flash", wipe dalvik and cache before you reboot.
Is this ion based?
Sent from my ADR6425LVW using Tapatalk
mavpts said:
Is this ion based?
Sent from my ADR6425LVW using Tapatalk
Click to expand...
Click to collapse
No
---------- Post added at 09:00 PM ---------- Previous post was at 08:51 PM ----------
For any and all gsm users installing this...there is a few trick to get things working and we are still working on this. I may also do my best to release a pure gsm version of 4.4 for our device
does art work or are we to stay on dalvik?
PMEM vs. ION
mavpts said:
Is this ion based?
Sent from my ADR6425LVW using Tapatalk
Click to expand...
Click to collapse
Forgive my ignorance on this one, but I simply don't know enough about it to reason this out for myself. Can you guys get an ION version booting? The reason I ask is because I remember the reason you guys stuck with PMEM was because you still had the ability to use the camera/camcorder with that type of memory management. Would building with ION alleviate any of the existing problems since that's more or less the direction that Android wants to take memory management? I'm sure you guys had already thought of all of this, just curious if there was any advantage in trying to get it built with ION (and admittedly it's a selfish "want to know" on by behalf). Congrats and thanks to Fly, Litz, Rev, Neo, KKozma, TheBroken and everybody else responsible for getting this done. It's been awesome to watch you guys work.
Also Bluetooth streaming works. Not sure about bluetooth calling though.
I don't think any of us have tried ion with cm11 yet. I did build cm10.2 ion and it boots, but the camera doesn't work at all.
That said, I am going to give the old college try on using a different display hal for cm11 which requires ion. There's a very small chance it could help with the camera, but don't hold your breath.
iamwalterwhite said:
Forgive my ignorance on this one, but I simply don't know enough about it to reason this out for myself. Can you guys get an ION version booting? The reason I ask is because I remember the reason you guys stuck with PMEM was because you still had the ability to use the camera/camcorder with that type of memory management. Would building with ION alleviate any of the existing problems since that's more or less the direction that Android wants to take memory management? I'm sure you guys had already thought of all of this, just curious if there was any advantage in trying to get it built with ION (and admittedly it's a selfish "want to know" on by behalf). Congrats and thanks to Fly, Litz, Rev, Neo, KKozma, TheBroken and everybody else responsible for getting this done. It's been awesome to watch you guys work.
Click to expand...
Click to collapse
As this is still very new even to the cyanogen source...many things are still being pushed to cm11 as well as commits...it will all be ironed out in PMEM soon...ION will take some time
Doh. Stupid double post
So far so good, usb tethering works, alarm, stopwatch and countdown timer work as well.
i have noticed if i change runtime to art i get fc of gmail, gapps and a few other apps, it is in a loop to so only fix was to turn back runtime to dalvik.
other than that keep up the great work! all the devs here are a joy to be apart of this community
update - Also i have been a rom toolbox user since the beginning and it has always worked, but in this rom i am unable to uninstall apps, i can freeze them tho, just thought id share
mavpts said:
Also Bluetooth streaming works. Not sure about bluetooth calling though.
Click to expand...
Click to collapse
Blue tooth calling works.
Sent from my ADR6425LVW using Tapatalk

XperiaSP Locked Bootloader (LBL) Slimkat

{
"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"
}
translated by Kizsde :highfive:
I would like to ask everbody not to send me PMs with questions about the installation, that is what the forum is here for. Also everbody should do this at their OWN RISK!
If you already have recovery installed, go to step (3) and continue from there.
(1): As a first step, we should "root" our stock 4.3, so later on we can install a recovery tool:
- a: Download the towelroot apk and click on the Lambda icon
- b: On the phone, navigate to Settings > Security and check the Unknown Resources checkbox
- c: Copy the tr.apk to your phone's SD card and install it
- d: Estabilish an active internet connection on your phone
- e: Run the towelroot app and once it loaded, tap on the "make it ra1n" button. This should "root" your phone.
**The reason why the word "root" is between quotation marks, is because the towelroot app doesn't actually root your phone, but allows a superuser application to be installed on it. We don't actually need an SU app, but "root" is needed for the installation of the recovery.
(2): Installing the Recoveries (source: [link])
-a: On the phone, navigate to "Settings > Developer Options" and check the "USB Debugging" checkbox. If you don't have it listed, just tap the "Build Number" within "Settings > About Phone" 4-5 times.
-b: Connect your phone to the PC
-c: Download the recovery pack created by dssmex
-d: Extract the CWM_SP_4.4.1.zip file to your computer and depending on your operating system run the appropriate install***** file (install_mac.sh= MAC OSx; install_linux.sh= Linux; install.bat= Windows) **(On Windows a menu will appear, where you need to choose option "1" and the rest will be done automatically)
-e: If the installation is successful and you see no errors, you can reboot your phone. Otherwise repeat the installation until it is completely error-free
-f: After reboot, the phone indicates with some blinking lights and a slight vibration that you are now able to select from the recoveries (volume rocker down=TWRP recovery; volume rocker up=Philz recovery; camera button=CWM recovery). It is up to you which one you select, as all of them should be able to do the job just fine. Personally I recommend CWM and the guide will follow this method. IMPORTANT: During the recovery selection, the idle time is 2 seconds and if no button is pressed, the phone will boot normally.
(3): Installation of the Slimkat rom:
-a: Download the newest rom from here: [link]
-b: Copy the Slim-4.4.*.build.*.*-2014****-UNOFFICIAL-lbhuashan.zip to your phone, preferrably to the external SD card. (This can be performed during recovery too, but copying to the SD card is significantly slower this way, so before you do that please read section (4))
-c: During recovery selection, choose CWM
(Quick CWM navigation guide: With physical buttons: Volume down=move down; Volume up=move up; On/off button=Enter/select menu option; || With swipe gestures: Swipe down: move down; Swipe up=move up; Swipe right=Enter/select menu option; Swipe left=back)
-d: Make a backup of your current system, by going to "backup and restore" and selecting the "backup to /storage/sdcard1" option. This will create a "clockworkmod" folder on your SD card and the dated backups will be stored here.
-e: Now go to "Wipe data/factory reset" and select the "Yes-Wipe All user data" option. This will erase the /Data /Cache partitions and delete the ".android_secure" folder on the SD card. IMPORTANT: This may take several minutes to complete.
It is advised to do the following when performing a clean install:
It may happen that the installer is unable to format the system, so it needs to be perfomed manually by going to "mount and storage" and selecting the "format /system" option.
-f: Navigate to "install zip->choose zip from /storage/sdcard1" then browse to and select the previously copied Slimkat rom
-g: The Slimkat rom should now be installed. If you don't prefer to install the Gapps pack, then reboot your phone with the "reboot system now" option, otherwise go to step (4)
(4): Installation of the google apps (Gapps):
-a: Download the newest Slimkat Gapps from this list
-b: Copy it to the external SD card
-c: Go to CWM recovery again (camera button)
-d: Navigate to "install zip->choose zip from /storage/sdcard1" and select the Gapps pack you just copied to the SD card
-e: Once installation is done, reboot the phone
What works:
USB Charging : Ok
USB ADB : Ok
USB MTP : Ok
Video : Ok
Audio : Ok
Sensors : Ok
Screen rotation : Ok
WLAN : Ok
WLAN Hotspot : Ok
GPS : Ok
GSM : Ok
GSM Data : Ok
GSM Voice : Ok
GSM SMS : Ok
Bluetooth : Ok
NFC : Ok (After first boot uncheck NFC and reboot the phone, otherwise you will not be able to use it)
Camera : Ok
FM Radio : Ok
Keyboard : Ok
MHL : Ok
OTG : Ok
ART MOD : Ok
What doesn't work:
???
----------------------------------------------------------------------------------------------------------------------​
Frequently Asked Questions + Useful info:
- The first boot will always be slow. This is because once you enter your google account details it starts updating the google apps and your personal details, while downloading your own applications as well
- The rom does not include Sony's own services and user interface
- The rom is rooted by default
- You cannot apply any custom kernels as the bootloader is locked
- After first boot, turn off NFC (or at least try to remove the check from the checkbox, it will not be possible due to a bug), then reboot the phone. After this you will be able to turn it on/off as per usual.
- The rom contains CWM and Philz recovery too (camera button=CWM; volume up=Philz)
- Hijack is a script that enables useres to boot not only stock roms on a locked bootloader, but custom ones too like Cyanogenmod, aopk, pa, pac, slimkat, omni etc...
- It is not possible to update a rom OTA, only from recovery. The method of updating the rom is the same as installing it from step (3), the only difference is that the "-d: wipe data/factory reset" part needs to be skipped
ROM: Slim-4.4.4.build.8.14-20141120-UNOFFICIAL-lbhuashan
GAPPS: Slimkat Gapps
Changes:
Slim-4.4.4.build.8.14-20141120-UNOFFICIAL-lbhuashan:
-Slimkat update-source(8.14)
Slim-4.4.4.build.8.10-20141109-UNOFFICIAL-lbhuashan:
-Slimkat update-source(8.10)
-zram dual core use
-HDR support
Slim-4.4.4.build.8.9-20141101-UNOFFICIAL-lbhuashan:
-Slimkat update-source(8.9)
-fm radio poor reception fix
-Fm transmitter support
-FM Transmitter use the default headset antenna (15-50 meters range)
-hijack & ramdisk permission fix
-glove mod permission fix
-zRam support (size: 256MB) (tested)
-add conservative governor
Slim-4.4.4.build.8.8-20141021-UNOFFICIAL-lbhuashan:
-Slimkat update-source(8.8)
-add torch app
-12.1.A.1.207 update vendor blob files
-add native fm radio
-remove internal sd card (data partition fix 5.4GB)
-UMS support
-add new cwm and philz recovery
-more volume on the headset
-eMMC tweak
-add new adreno libs thx MrSteve555
-rare mic fix thx MrSteve555
-fm radio poor reception fix thx mikereidis
Changelog Slim-4.4.2.build.5.4_LBL-UNOFFICIAL-20140527:
-Slimkat update-source(5.4)
- /storage/sdcard0 permission fix
-add lionheart governor
-voip mic fix
-Enable use of FFMPEG codecs for extended formats (Gallery can play these formats:avi,mkv,wmv,mp4)
Changelog PATCH_Slim-4.4.2.build.4.8_LBL-UNOFFICIAL-20140503:
- /storage/sdcard0 permission fix
Changelog Slim-4.4.2.build.4.8_LBL-UNOFFICIAL-20140503:
-Slimkat update-source
-Some games app crash fix
-enabled glove mod
-stability problem fix
-boot up fix
-PhilZ touch system mount fix
-128kbps audio recording, video mode
- ART mode optimization of applications reboot always fixed
- Selinux permissions fixed
- ++ Little kinder surprise
Changelog PATCH_Slim-4.4.2.build.4.8_LBL-UNOFFICIAL-20140429:
-boot up fix
-PhilZ touch system mount fix
----------------------------------------------------------------------------------------------------------------------​
Source codes:
Slimkat
Device tree:
android_device_sony_lbhuashan
android_device_sony_lbqcom-common
android_device_sony_lbcommon
android_vendor_lbsony
hijack-ramdisk-huashan
Kernel Source:
android_kernel_sony_lbmsm8960t
Screenshots:
Credits:
-MrSteve555
-neXusPRIME
-dh.harald
-KeiranFTW
-cray_Doze
-davidmarco
-dssmex
-DooMLoRD
-slimroms
CM11
CM 11 is coming soon
Good job! Gotta test ASAP!
Downloaded installed and using.
Calls texting internet all good so far.
Sent from my C5303 using Tapatalk
great job thanks:laugh:
@bagyusz Forgot ask does Art work?
Sent from my C5303 using Tapatalk
Treboeth said:
@bagyusz Forgot ask does Art work?
Sent from my C5303 using Tapatalk
Click to expand...
Click to collapse
Yes it works.
Is HALO and other features like active display are available in this ROM??
bagyusz said:
Yes it works.
Click to expand...
Click to collapse
Apologies missed that on the OP, too excited by your creating SlimKat
Sent from my C5303 using Tapatalk
Thanks for ur work. One question when I flash ur rom like ur how to my phone stay unlock? Thanks
Gesendet von meinem Xperia SP
Tnx, It's my lovely ROM
I got this error:
Symlinks and permissions..
set_metadata_recursive: some changes failed
E:Error in /storage/sdcard1/Slim-4.4.2.build.4.8
(Status 7)
Installation aborted
*Fixed with install .201 kernel and slim 4.3 version android and than isntalled 4.4 and now work perfect.
Slim 4.3 is only for ULB which means I can't install this ROM as my bootloader is locked. Any way around this?
Buleste said:
Slim 4.3 is only for ULB which means I can't install this ROM as my bootloader is locked. Any way around this?
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=2727557
http://d-h.st/Z12
Hey guys, so the edit today for mounting system, etc fixed the error 7 I assume?
:victory:
vwadam said:
http://forum.xda-developers.com/showthread.php?t=2727557
http://d-h.st/Z12
Click to expand...
Click to collapse
:good:
Sorry for my ignorance but what is ART?
ART: https://source.android.com/devices/tech/dalvik/art.html
any idea how to add back energy saving funktion from 4.3?
Ok!
So, now, we can call you LBL MASTER!! ^^
I'm running this awesome Slimkat since this morning, nearly perfect!
No freeze, no lag, no touch problems...
The only problem i encountred is the LTE tile: after disabling it, i'm not able to enable it again.
Anyone got this problem?

XperiaSP Locked Bootloader (LBL) Cyanogenmod 12.1

{
"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"
}
translated by Kizsde :highfive:
I would like to ask everbody not to send me PMs with questions about the installation, that is what the forum is here for. Also everbody should do this at their OWN RISK!
If you already have recovery installed, go to step (3) and continue from there.
(1): As a first step, we should "root" our stock 4.3, so later on we can install a recovery tool:
- a: Download the towelroot apk and click on the Lambda icon
- b: On the phone, navigate to Settings > Security and check the Unknown Resources checkbox
- c: Copy the tr.apk to your phone's SD card and install it
- d: Estabilish an active internet connection on your phone
- e: Run the towelroot app and once it loaded, tap on the "make it ra1n" button. This should "root" your phone.
**The reason why the word "root" is between quotation marks, is because the towelroot app doesn't actually root your phone, but allows a superuser application to be installed on it. We don't actually need an SU app, but "root" is needed for the installation of the recovery.
(2): Installing the Recoveries (source: [link])
-a: On the phone, navigate to "Settings > Developer Options" and check the "USB Debugging" checkbox. If you don't have it listed, just tap the "Build Number" within "Settings > About Phone" 4-5 times.
-b: Connect your phone to the PC
-c: Download the recovery pack created by dssmex
-d: Extract the CWM_SP_4.4.1.zip file to your computer and depending on your operating system run the appropriate install***** file (install_mac.sh= MAC OSx; install_linux.sh= Linux; install.bat= Windows) **(On Windows a menu will appear, where you need to choose option "1" and the rest will be done automatically)
-e: If the installation is successful and you see no errors, you can reboot your phone. Otherwise repeat the installation until it is completely error-free
-f: After reboot, the phone indicates with some blinking lights and a slight vibration that you are now able to select from the recoveries (volume rocker down=TWRP recovery; volume rocker up=Philz recovery; camera button=CWM recovery). It is up to you which one you select, as all of them should be able to do the job just fine. Personally I recommend CWM and the guide will follow this method. IMPORTANT: During the recovery selection, the idle time is 2 seconds and if no button is pressed, the phone will boot normally.
(3): Installation of the CM12.1 rom:
-a: Download the newest rom from here: [link]
-b: Copy the cm-12.1-201*****-UNOFFICIAL-lbhuashan.zip to your phone, preferrably to the external SD card. (This can be performed during recovery too, but copying to the SD card is significantly slower this way, so before you do that please read section (4))
-c: During recovery selection, choose CWM
(Quick CWM navigation guide: With physical buttons: Volume down=move down; Volume up=move up; On/off button=Enter/select menu option; || With swipe gestures: Swipe down: move down; Swipe up=move up; Swipe right=Enter/select menu option; Swipe left=back)
-d: Make a backup of your current system, by going to "backup and restore" and selecting the "backup to /storage/sdcard1" option. This will create a "clockworkmod" folder on your SD card and the dated backups will be stored here.
-e: Now go to "Wipe data/factory reset" and select the "Yes-Wipe All user data" option. This will erase the /Data /Cache partitions and delete the ".android_secure" folder on the SD card. IMPORTANT: This may take several minutes to complete.
It is advised to do the following when performing a clean install:
It may happen that the installer is unable to format the system, so it needs to be perfomed manually by going to "mount and storage" and selecting the "format /system" option.
-f: Navigate to "install zip->choose zip from /storage/sdcard1" then browse to and select the previously copied CM11 rom
-g: The CM12 rom should now be installed. If you don't prefer to install the Gapps pack, then reboot your phone with the "reboot system now" option, otherwise go to step (4)
(4): Installation of the google apps (Gapps):
-a: Download the newest CM12.1 gapps from this list
-b: Copy it to the external SD card
-c: Go to CWM recovery again (camera button)
-d: Navigate to "install zip->choose zip from /storage/sdcard1" and select the Gapps pack you just copied to the SD card
-e: Once installation is done, reboot the phone
What works:
USB Charging : Ok
USB ADB : Ok
USB MTP : Ok
Video : Ok
Audio : Ok
Sensors : Ok
Screen rotation : Ok
WLAN :Ok
WLAN Hotspot : Not tested
GPS : Not tested
GSM : Not work
GSM Data : Not work
GSM Voice : Not work
GSM SMS : Not work
Bluetooth : Ok
NFC : Ok
Camera : Ok
FM Radio : Ok
Keyboard : Ok
MHL : Not tested
OTG : Not tested
What doesn't work:
-GSM
----------------------------------------------------------------------------------------------------------------------​
Frequently Asked Questions + Useful info:
- The first boot will always be slow. This is because once you enter your google account details it starts updating the google apps and your personal details, while downloading your own applications as well
- The rom does not include Sony's own services and user interface
- The rom is rooted by default
- You cannot apply any custom kernels as the bootloader is locked
- After first boot, turn off NFC (or at least try to remove the check from the checkbox, it will not be possible due to a bug), then reboot the phone. After this you will be able to turn it on/off as per usual.
- The rom contains CWM and Philz recovery too (camera button=CWM; volume up=Philz)
- Glove mode is turned on by default, but if you would like to turn it off, go to "Settings->Language & Input" and remove the check from the "High Touch Sensitivity" checkbox
- To enable "Developer Tools" & "Performance" menu options, navigate to "Settings->About Phone" and tap "Build number" 4-5 times
- Hijack is a script that enables useres to boot not only stock roms on a locked bootloader, but custom ones too like Cyanogenmod, aopk, pa, pac, slimkat, omni etc...
- It is not possible to update a rom OTA, only from recovery. The method of updating the rom is the same as installing it from step (3), the only difference is that the "-d: wipe data/factory reset" part needs to be skipped
- If you want to play games, it is a good idea to change the "Profile" to "Performance" under the "Performance" menu option for the duration of play
- You can make the Google search bar disappear from the home screen by opening the settings menu of the Trebuchet launcher via long press. Then expand the advanced settings by swiping up the grey bar of Wallpapers Modules Themes. Here look for the Search bar and switch it off.
ROM: cm-12.1-20160124-UNOFFICIAL-lbhuashan-alpha
GAPPS: CM12.1 gapps
Changes:
cm-12.1-20160124-UNOFFICIAL-lbhuashan-alpha
-first build
----------------------------------------------------------------------------------------------------------------------​
Source codes:
CyanogenMod
Device tree:
android_device_sony_lbhuashan
android_device_sony_lbqcom-common
android_device_sony_lbcommon
android_vendor_lbsony
hijack-ramdisk-huashan
Kernel Source:
android_kernel_sony_lbmsm8960t
Screenshots:
Credits:
-Cyanogenmod
-dh.harald
XDA:DevDB Information
XperiaSP Locked Bootloader (LBL) Cyanogenmod 12.1, ROM for the Sony Xperia SP
Contributors
bagyusz
ROM OS Version: 5.1.x Lollipop
ROM Kernel: Linux 3.4.x
Based On: CyanogenMod
Version Information
Status: Alpha
Created 2016-01-24
Last Updated 2016-01-24
What a beautiful sunday morning it is. :victory:
Well done bagyusz!
Best regards from "SONY XPERIA SP : Development and Discussion" group on facebook!
Keep up the great work
perfect job !!! thank's @bagyusz
Bagyusz you sir are a legend!!!! #LBL heaven
Sent from my Xperia SP using XDA Premium 4 mobile app
ooo Thank you Bagyusz I look forward to continue work
Hey!! When i saw the title i tought that i was dreaming... Actually not!! Great! Thanks dude!!
hey, thanks for the good work!
Thank you bro
You are the man bro big ups to you on this i've got a few ideas to get the signal up but i'm gonna try first and report back later.
Thanks man you are awesome
#Bagyusz Legend
I tried it out for the entire day and tried every fix I could find, mind you I'm not a dev but damn its smooth, can't wait for the Sim function to get fixed.
OMG!!!
Sent from my Xperia SP using Tapatalk
LOL This is unbelievable, i must check myself.
And @pmaioli pls do not quote all the OP.
very perfect just gsm sim not detect !!!
C-Apps http://builds.cyngn.com/capps/capps-release.zip
@xrenoix GSM bug is mentioned in the OP
@bagyusz I think brightness bar doesn't work
TheWolfer22 said:
@xrenoix GSM bug is mentioned in the OP
@bagyusz I think brightness bar doesn't work
Click to expand...
Click to collapse
it works, just turn off adaptive brightness in options (not the swipe down menu)
Looks amazing. I'll try it later. Thanks bagyusz !
I was getting Error 963 codes on a few apps from Play Store.
If anyone else has a similar issue please follow the instructions from
http://forum.xda-developers.com/htc-one-m8/help/getting-error-code-963-907-play-store-t3119007
thank you @TheWolfer22 I always read op just feedback for @bagyusz !!!
Tried some fixes from the previous Rom CM 12 by @bagyusz to fix no SIM but this fixes are outdated and doesn't work.
Enviado desde mi LG-D855 mediante Tapatalk
that's awesome, can't wait to try it

[RECOVERY][OFFICIAL] TWRP for Galaxy S8 and S8+ (Exynos)

Team Win Recovery Project 3.1.1
Exynos ONLY.
In NO way it is compatible with Snapdragon variants including but not limited to American(U/A/T/P/V), Chinese(0/8/6), Hong Kong(0), Japanese(SC-*), Canadian(W) variants.
{
"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"
}
#include <std_disclaimer.h>
Special Notes:
1. DON'T FORGET TO ENABLE "OEM UNLOCK" (located in Developers options).
2. KNOX will be tripped once you flashed custom binaries to your phone.
(Your warranty may be voided. However this may not affect you if your country, European Union for example, forces Samsung to provide hardware warranty regardless of software status.)
More Infos: https://en.m.wikipedia.org/wiki/Rooting_the_Android_operating_system
3. Samsung Firmware OTA (aka System Updates) will no longer work once you flashed custom binaries.
(You can flash custom ROMs if you want to keep the OS up-to-date.)
4. It is HIGHLY UNRECOMMENDED to purchase any access to any kind of private forums, ROMs or Kernels.
(DO NOT GET FOOLED.)
Download:
Galaxy S8 (dreamlte - Exynos vaiants - G950F/FD/N/X)
https://twrp.me/devices/samsunggalaxys8.html
Galaxy S8+ (dream2lte - Exynos variants - G955F/FD/X/N)
https://twrp.me/devices/samsunggalaxys8plus.html
Sources:
https://github.com/TeamWin
Changelog:
Check #2.
Guide:
Check #3.
Official Telegram Group: - General Discussion
Join to get quick support (when you find my guide confusing or meet any unexpected problem).
You can also discuss about ROMs(this group is "neutral" so you can discuss about or review any ROM. Note: Devs: Do NOT aggressively advertise your work.), get latest updates from developers or report possible bugs.
Invite Link
Show your appreciation:
Click Thanks!, Rate 5-star or/and Donate to me.
XDA:DevDB Information
TWRP for Galaxy S8 and S8+, Tool/Utility for the Samsung Galaxy S8
Contributors
jesec
Source Code: https://github.com/TeamWin
Version Information
Status: Beta
Created 2017-04-24
Last Updated 2018-07-22
Changelog:
Aug. 02:
Merged AQG kernel updates from Samsung.
NOTE: AQG or later bootloader is supported and REQUIRED from this version.
May. 30:
Possible fix for I/O problems.
Backported latest F2FS from Linux 4.12.
Minor kernel updates.
Apr. 27:
Problems Solved:
1. MTP
2. ADB
3. External SD Mount
Features Added:
F2FS - Note: This change ONLY makes it possible to operate F2FS in TWRP. You still need a F2FS-compatible KERNEL to boot into system with F2FS.
Note: As MTP and ADB are available now, flashable zips will no longer be included. Please download them by yourself and transfer them from your computer to phone if you need them.
Useful Links:
Disable dm-verity and make encryption optional: https://build.nethunter.com/android-tools/no-verity-opt-encrypt/
Magisk: https://forum.xda-developers.com/apps/magisk
Apr. 24:
Initial Release
Guides:
Notice: It may wipe all your data including those in internal storage.
Part 1 - HOW-TO FLASH TWRP:
1. In your ROM, go to Settings -> About device. Tap 7 times on Build number to enable Developer options.
2. Go to Settings -> Developer options and enable OEM Unlock option.
3. Download and Install Samsung Mobile Phones Drivers.
- Option 1: Download and Install Smart Switch for PC.
- Option 2: Download and Install standalone driver package.
4. Download and extract Odin (Samsung's Flash Tool) to your computer.
5. Download a .tar image of TWRP.
6. Reboot your device to download mode.
- Hold [VOLUME DOWN] + [BIXBY] + [POWER] for approx. 15 seconds.
- Read the warning carefully.
- If you agree, press [VOLUME UP] to get into Download mode. If you don't agree, STOP.
7. Open Odin and place that TWRP tar file in the [AP] slot.
8. Connect your phone.
9. Hold [VOLUME UP] + [BIXBY] + [POWER] on your phone and then press start on Odin.
10. Wait for the phone to reboot. DO NOT release [VOLUME UP] + [BIXBY] + [POWER] or you may not reboot into TWRP.
Part 2 - HOW-TO INITIALIZE TWRP: (for new phones)
1. If you completed Part 1 successfully, you should be in TWRP now. At this point, you will reach the screen asking you if you want to allow system modifications.
2. Select "Keep /system RO". (Don't swipe right or you may not be able to boot into system if you failed to complete next steps. However, you can swipe right to allow modifications if you are confident that you can complete next steps.)
3. Go to "Wipe" menu of TWRP and you will find "Format Data". Press "Format Data" and type "yes" to continue.
4. Go to "Reboot" menu and Press "Recovery" to reboot TWRP.
5. Download the latest dm-verity and force encryption disabler zip on your computer.
6. Transfer the zip to your phone.
- Option 1: MTP: Connect your phone with computer and just copy the zip to internal storage. (similar to how you transfer files when in system.)
- Option 2: ADB: Connect your phone with computer and run command "adb push /path/to/zip /sdcard/".
- Option 3: External SD: Copy the zip to an external SD and then insert the card to your phone.
7. Go to "Install" menu of TWRP and flash the zip.
TWRP is initialized and fully functional at this stage. Now you can either reboot into system or root, flash custom ROMs via TWRP.
Part 3 - HOW-TO ROOT:
1. Download the flashable zip.
- Option 1: Magisk
- Option 2: SuperSU (untested)
2. Transfer the zip to your phone.
3. Go to "Install" menu of TWRP and flash the zip.
Part 3a - HOW-TO FLASH CUSTOM ROMS:
1. Download the flashable zip.
2. Transfer the zip to your phone.
3. Go to "Install" menu of TWRP and flash the zip.
Simple.
Awesome
Great work thank you very much
Sent from my SM-G955F using Tapatalk
if i wipe data partition in order to disable encryption - is that like erasing my phone and starting from scratch? will i lose all my data?
nk33 said:
if i wipe data partition in order to disable encryption - is that like erasing my phone and starting from scratch? will i lose all my data?
Click to expand...
Click to collapse
Yes you will, make sure you've backed-up as much as you can to your Google Cloud Storage. I promise, it's worth it.
Many Thanks
Kevin_R said:
Yes you will, make sure you've backed-up as much as you can to your Google Cloud Storage. I promise, it's worth it.
Click to expand...
Click to collapse
Thanks.
And if i just install TWRP, and then the root zip file to give me root will it all work ok? will i achieve root ok?
I spent ages getting this phone just like i want it and seriously cant be bothered to do it all again - will i be ok keeping encryption on if all i want to achieve is root?
what will i lose out on if i dont disable encryption?
nk33 said:
Thanks.
And if i just install TWRP, and then the root zip file to give me root will it all work ok? will i achieve root ok?
I spent ages getting this phone just like i want it and seriously cant be bothered to do it all again - will i be ok keeping encryption on if all i want to achieve is root?
what will i lose out on if i dont disable encryption?
Click to expand...
Click to collapse
I found that if I didn't disable the encryption, root wouldn't work as it couldn't mount the file system to make the relevant changes
---------- Post added at 02:19 PM ---------- Previous post was at 02:14 PM ----------
Anyone managed to get Samsung Pass and Secure Folder working? I have Magisk Hide running and Knox Trip is emulated to 0x0. Other apps that would normally detect root don't detect it but Samsung Pass and Secure Folder still can.
Is superSU SR3 working??
its a great work
anyone tried if Samsung Pay still works after this? I have not got my phone yet.
Just for info tried installing the SuperSU binary through TWRP but, as TWRP seems to have no access to the SD card, the flash failed and left me in a boot loop.
Reinstalling TWRP from Odin and reflashing Magisk solved the Boot loop issue.
SuperSU did kill the Knox processes for me though to stop the annoying nagging notifications.
If after flashing from Odin, phone says that needs restore, Just press volume up Bixby Power, wait, then format data, Power off. Now ho back in download mode, reflash with odin, done.
It works all', except personal area and Samsung health
would this work on the SM-G950FD?
if i use this method i lose warranty ? is it possible to do evrything later on normal without having any trouble ?
Phone brick...LOL...
help : just tried to root my g950f Uk 02 - i've flashed it a few times and used the two flash but im getting verification failed and it wont erase anymore when i try use the recovery flash i get invaled mount /data when using that decrypt .zip in flashables do i need to redo the stock firmware and start again?
i am still waiting for my S8(exynos) to arrive and here comes the twrp i did not even wished yet....

[GUIDE/TUTORIAL/HOWTO] LG G2 D802 stock to Android 11

[GUIDE/TUTORIAL/HOWTO] LG G2 D802 stock to Android 11
[GUIDE/TUTORIAL/HOWTO] LG G2 LG-D802 (Unlocked/International) stock to Android 11 R/LineageOS 18.1 with all files included
This detailed step-by-step guide helps you transform your LG G2 D802 to a powerful one with Android 11.
I wrote this because everything I read was incomplete or outdated.
Make sure your phone is a compatible LG G2. In Android, go to Settings > General > About phone > Hardware information > Model number is LG-D802.
If not, quit this tutorial.
### I'll make a few comments like this, PLEASE READ THEM !
### DO NOT CHECK FOR ANDROID UPDATES (we'll see this later).
### Netflix and Disney+ won't work.
CHANGELOG
v1. Initial release for Android 11
1) DOWNLOAD
- djibe LG G2 d802 pack: https://bit.ly/djibe-lgg2-d802-pack
(contains LG USB drivers + LG UP firmware flash tool + LGG2-D802-OneClickRootRecoveryV1.1 by somboons + TWRP 3.3.1-0 by blastagator + Magisk root).
Unzip files.
+ ROM LineageOS 18.1 Official: https://forum.xda-developers.com/t/rom-lineageos-18-1-official-d80x-unofficial-ls980-vs980.4186013/
Download latest build here: https://download.lineageos.org/d802
+ BiTGapps Package ARM 11: https://github.com/BiTGApps/BiTGApps-Release/releases
or MindTheGApps ARM 11: http://downloads.codefi.re/jdcteam/javelinanddart/gapps
+ Charge phone to 100%
No command line will be used ! No need to be a geek.
2) INSTALL USB DRIVERS
Install LG USB drivers (you unzipped earlier).
Then plug phone to PC in File transfer mode (Media device MTP option).
Collect all .jpg or .mp4
Use an app like Backupyourmobile to backup texts, contacts, etc.
Make sure Google account is synced, WhatsApp backups etc...
Check that backup is located on microSD card.
Then copy the backup on your PC.
Go to Settings > General > About phone > Status > IMEI.
Note EMEI (15 digits, just in case) !
3) UPGRADE TO ANDROID 5 LOLLIPOP
Check OS version: go to Settings > General > About phone > Software information
- If Android is 4.4.2: follow this chapter
- If Android is already 5: move to next chapter
Note down Software version. Mine is D80220g-208-01
Download firmware from: https://lg-firmwares.com/lg-d802-firmwares/
Download firmware for Android 5.0.x Lollipop having the generic Region (and no brand) for your country.
UK or English spoken (use this by default): https://lg-firmwares.com/downloads-file/1176/D80230d_00
France: https://lg-firmwares.com/downloads-file/680/D80230d_00
Germany: https://lg-firmwares.com/downloads-file/572/D80230d_00
Italy: https://lg-firmwares.com/downloads-file/1289/D80230d_00
During download, go to folder LGUP_LG/ and install LGUP_Install_Ver_1_14_3.msi.
Then install LGUP_8974_DLL_Ver_0_5_CODEFIRE.msi
Back to the phone: power it off.
Enter Download Mode: hold Volume+ and plug USB into your PC,
### Or try with Volume+ + Power. Hold both 3 seconds, connect to USB and release.
release buttons when Download mode screen is displayed on phone.
### If Download mode is missing, you'll have to use AutoRec (thx @lgkar): https://forum.xda-developers.com/t/autorec-kitkat-recovery-installer.2715496/
### Warning all data will be erased from phone, make sure to backup everything.
Launch LGUP from Windows Start menu.
It will detect D802.
Click on UPGRADE and in File Path select the firmware with *.kdz extension you downloaded.
Click on Start.
Don't touch anything. Lock the kids in the basement during flash.
Phone will restart automatically to ... Android 5 !
Disconnect phone from USB and close LGUP.
3) ROOT LG G2 AND FLASH TWRP 2.8 RECOVERY
We need root to flash a custom recovery.
No bootloader unlock is needed on LG G2.
Enable USB debugging: go to Settings > General > About phone > Software info.
Tap 7 times on Build number to unlock Developer options.
Back to Settings > General > Developer options.
Check ON USB debugging option.
Connect phone to USB again.
I prefer to disable antivirus for root (we never know about false positives).
Go to folder LGG2-D802-OneClickRootRecoveryV1.1/
and double click on OneClick_ROOT_RECOVERY.bat (by awesome @somboons).
When Windows command is displaying:
Code:
Waiting for device...
Allow USB debugging from the phone and check Always allow from this computer.
Root will continue.
When command prompts: Please press Ctrl+C ...
From keyboard, press Ctrl + C combo.
Then: N
### If you exit command or fail at this step, like me, just power phone off (long press Power).
When phone restarts, you will see that SuperSU app is installed. Phone is rooted.
7) UPDATE TWRP RECOVERY TO 3.3
Reboot to recovery: power off phone.
Then hold Power + Volume down until LG logo shows up, release buttons and then press again until recovery shows up.
### Like me you fail booting to Recovery ? Let phone start.
### Go back to LGG2-D802-OneClickRootRecoveryV1.1/ folder.
### In the Windows address bar, enter: cmd and press Enter.
### It will launch a command prompt in the active directory.
### Then enter:
Code:
adb reboot recovery
### Phone will restart to recovery.
Welcome to TWRP 2.8.
Normaly you can see LG-D802 device from Windows explorer (besides your hard drives).
### If not, go to Mount, check Data and tap on Enable MTP.
Copy twrp-3.3.1-0-d802-bump-blastagator-signed.zip to root folder of phone (called Internal Storage).
From TWRP recovery, go to Install > twrp-3.3.1-0-d802-bump*.zip and Swipe to Flash.
Go back to Home menu > Reboot > Recovery.
Recovery restarts to brand new 3.3 version.
Check Never show this screen during boot again and Swipe to Allow Modifications.
Go to Settings > General (first tab).
Make sure 3rd option "Use rm -rf instead of formatting" is UNCHECKED.
9) WIPE PARTITIONS
Disconnect phone from PC.
Now go to Wipe > Advanced Wipe.
Select Dalvik / ART Cache, System, Data, Internal Storage and Cache and Swipe to Wipe.
Go to Wipe > Format Data.
Type: yes and confirm with bottom right icon.
Tap on Home button > Reboot > Recovery > Swipe to Reboot.
### Always uncheck "Install TWRP app" options.
10) FLASH ANDROID, GAPPS AND MAGISK ROOT
On restart, check Never show this screen during boot again and Swipe to Allow Modifications.
Connect phone to PC.
Copy ROM + BITGAPPS + Magisk on Internal Storage folder.
Disconnect phone.
Go to Install > select lineage-18.1*.zip, and Add More Zips,
then bitgapps*.zip and Swipe to confirm Flash
Be patient.
### If it fails, install zips 1 by 1.
Then back to Home > Reboot > Recovery.
### Always uncheck "Install TWRP app" options.
OPTIONAL: go back to TWRP Install > Magisk*.zip
When done message prompts, tap on Wipe Cache/Dalvik and Swipe to Wipe, wait.
Disconnect phone from PC.
Then tap on Reboot System.
Let the phone boot (about 5 minutes).
11) ANDROID 11
Configure Android as you like.
### Over The Air (OTA) updates: download file > reboot to recovery > flash ROM and GApps > Wipe cache > Reboot
Reflash BitGApps after each update. Not needed with BitGApps. Thx to @Pierfai
- Netflix and Disney+ don't work
- Go to Settings > About.
At bottom, tap 7 times on Build number. You activated Developer options.
Go to Settings > System > Avdanced > Developer options.
Set Windows animation scale, Transition animation scale and Animator duration scale to 0.5x.
- Double Tap to Wake (D2W)
Go to Settings > Display > Advanced and activate Tap to wake.
- Tap to Sleep
Go to Settings > Display > Advanced and activate Tap to sleep.
Double tap on status bar to sleep.
- Pixel gestures
Go to Settings > System > Advanced > Gestures > System navigation, select Gesture navigation.
Enjoy,
djibe
Thanks: @aleasto, @somboons, @blastagator, LG Fans site, LineageOS team, BiTGapps team, TWRP team, topjohnwu
Thank you very much for the guide!
Walden0 said:
Thank you very much for the guide!
Click to expand...
Click to collapse
Hi, glad you liked it !
Hi djibe,
thank you for this great guide. I followed it with a little extra work: I had to run AutoRec once to re-enable the download mode on the LG G2 d802 which was on stock 4.4.2 (also LGUP was not detecting my device: used Uppercut to got it recognized correctly). Second issue might be due to my own stupid way of trying all kind of tools to get the download mode working (again Autorec helped me --> Just in case someone else has similar issues).
Only real problem I had with your guide was at point 11 after installing LineageOS: The device got stuck in a bootloop to TWRP. I guess I solved it following this note:
https://forum.xda-developers.com/t/...thermal-f2fs-2019-12-23.2898705/post-55892416
WARNING 2: DO NOT ENCRYPT F2FS - ROM and RECOVERY will BOTH bootloop and you'll be doing back to stock method!!!
If you want to use F2FS:
1) Make sure your kernel and ramdisk support f2fs (the dev of your ROM/kernel should have f2fs support noted). Dorimanx stock kernel as well as many AOSP kernels have full f2fs support.
2) Install and boot into my recovery.
3) Go to Wipe, Advanced Wipe, select /data, then click Change Partition Type. Select f2fs, and it will convert. Repeat this process for /cache.
4) Reboot the recovery, NOT reboot to system. DO NOT DO ANYTHING ELSE UNTIL YOU REBOOT RECOVERY!!!
5) Reboot OS. That's it! You're ready to go.
Click to expand...
Click to collapse
Actually I didn't want to encypt anything (not sure where I should have done this???) or have a clue what are the pros/cons of using F2FS but I converted the mentioned partitions and installed LineageOS agian: Working without boot loop!
What I recognized during the installation in TWRP: I got a red error message "E:Unable to decrypt FBE device" do I need to worry about this (basically I just want a fresher Android and the usual Gapps on the device than 4.4, nothing fancy)? Or did I miss an important point in you guide?
Thank you!
Edit: I guess I forgot to reboot between installing Lineage, Bitgapps and Magisk! --> no need to format the /data and /cache partition
I found that at step 10
"Install > Magisk*.zip
When done message prompts, tap on Wipe Cache/Dalvik and Swipe to Wipe, wait.
Disconnect phone from PC.
Then tap on Reboot System."
When we choose Reboot System, we have to uncheck those two boxes and click DO NOT INSTALL. Otherwise it will do a TWRP bootloop.
After I figure this out, I can successfully install Android 11 on my G2.
Thank you for your guide~
Hi guys, is this guide fully working ? I've just bought an old Lg G2 for my dad and I'd like to try flash android 11.
TapaSte said:
Hi guys, is this guide fully working ? I've just bought an old Lg G2 for my dad and I'd like to try flash android 11.
Click to expand...
Click to collapse
Yes it works. But you may have to take note of my previous message.
I just flashed two LG G2 last week. Happily using now.
Psix73 said:
Yes it works. But you may have to take note of my previous message.
I just flashed two LG G2 last week. Happily using now.
Click to expand...
Click to collapse
Thanks guy, which recovery Have been you using ?
For what concerns bitgapps is it ok to download the 11.0.0 R45 ?
Hi, just updated tutorial thx to your reports.
djibe89 said:
Hi, just updated tutorial thx to your reports.
Click to expand...
Click to collapse
Thanks, well done.
One question: my G2 is a D80220h-EUR-XX
Which offical LG firmwares have I to download among the several options ?
TapaSte said:
One question: my G2 is a D80220h-EUR-XX
Which offical LG firmwares have I to download among the several options ?
Click to expand...
Click to collapse
Is it Austrian ?
You can grab an English one: UK or English spoken: https://lg-firmwares.com/downloads-file/1176/D80230d_00
Ok... after a few problems to enter in download mode (it is needed to press only up volume and then connect to pc, not power button + up volume) I've succesfully flashed Android 5 and I'm ready to follow the sequent steps...
djibe89 said:
Is it Austrian ?
You can grab an English one: UK or English spoken: https://lg-firmwares.com/downloads-file/1176/D80230d_00
Click to expand...
Click to collapse
Bought in Italy but 6NE version (North Europe).
Now I can root, install twrp and then try to flash android 11...
Cool. Enjoy
It seems I'm unable to root...
{
"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"
}
TapaSte said:
It seems I'm unable to root... View attachment 5530665
Click to expand...
Click to collapse
It looks like computer is searching an USB device.
Go to Windows Device Manager to check if drivers are correctly installed.
djibe89 said:
It looks like computer is searching an USB device.
Go to Windows Device Manager to check if drivers are correctly installed.
Click to expand...
Click to collapse
How can be a driver issue if before files has been successfully pushed in phone and that it is correctly rebooted ?
The COM port can be tricky.
See Windows Device Manager
djibe89 said:
The COM port can be tricky.
See Windows Device Manager
Click to expand...
Click to collapse

Categories

Resources