Advanced Stock Kernel and TWRP for Xperia X Compact - Sony Xperia X Compact ROMs, Kernels, Recoveries, &

I made advanced stock kernel and TWRP for Xperia X Compact.
I don't have X Compact, so there will be no further update.
Please don't ask for update.
Advanced stock kernel
-For 34.1.A.1.198
-ric, dm-verity disabled
-DRM patch from tobias.waldvogel
-SELinux Permissive
-Load recovery from recovery (FOTAKernel) partition
Download:
https://drive.google.com/open?id=0B0j3VJ1Xp5N8bl9xbEFxN1N1Vkk
TWRP 3.0.2
-Fully supports decryption
Download:
https://drive.google.com/open?id=0B0j3VJ1Xp5N8M1ZGbzBBMTdyRnM
1. Reboot into recovery or bootloader
2. Extract boot.img from zip and run this command in fastboot mode:
fastboot flash boot boot.img
If you have no recovery, you also need to flash recovery by this command:
fastboot flash recovery TWRP-3.0.2-2-F5321.img
3. Reboot
4. Done!
* Press volume up or down key when LED is orange to enter into recovery
Kernel source:
https://github.com/AndroPlus-org/android_kernel_sony_msm8956/tree/34.1.A.1.198
Device tree for TWRP:
https://github.com/AndroPlus-org/android_device_sony_kugo
PayPal:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=S2LALLRARKTKC
Credit:
tobias.waldvogel for awasome DRM patch,
nilezon for boot script
Snow_Basinger for testing
and big thanks to other people involved including Sony and TeamWin

AndroPlus said:
I made advanced stock kernel and TWRP for Xperia X Compact.
I don't have X Compact, so there will be no further update.
Please don't ask for update.
Advanced stock kernel
-For 34.1.A.1.198
-ric, dm-verity disabled
-DRM patch from tobias.waldvogel
-SELinux Permissive
-Load recovery from recovery (FOTAKernel) partition
Download:
https://drive.google.com/open?id=0B0j3VJ1Xp5N8bl9xbEFxN1N1Vkk
TWRP 3.0.2
-Fully supports decryption
Download:
https://drive.google.com/open?id=0B0j3VJ1Xp5N8YWJsVGZTc0ZhZUE
1. Reboot into recovery or bootloader
2. Extract boot.img from zip and run this command in fastboot mode:
fastboot flash boot boot.img
If you have no recovery, you also need to flash recovery by this command:
fastboot flash recovery TWRP-3.0.2-2-F5321.img
3. Reboot
4. Done!
* Press volume up or down key when LED is orange to enter into recovery
Kernel source:
https://github.com/AndroPlus-org/android_kernel_sony_msm8956/tree/34.1.A.1.198
Device tree for TWRP:
https://github.com/AndroPlus-org/android_device_sony_kugo
PayPal:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=S2LALLRARKTKC
Credit:
tobias.waldvogel for awasome DRM patch,
nilezon for boot script
Snow_Basinger for testing
and big thanks to other people involved including Sony and TeamWin
Click to expand...
Click to collapse
this is only for unlocked bootloader?

x10isrooted said:
this is only for unlocked bootloader?
Click to expand...
Click to collapse
yes.

I've unlocked the bootloader and have access to recovery. Am I able to root this thing then?

mesajoejoe said:
I've unlocked the bootloader and have access to recovery. Am I able to root this thing then?
Click to expand...
Click to collapse
To root, just install SuperSu zip in TWRP (search it)

mesajoejoe said:
I've unlocked the bootloader and have access to recovery. Am I able to root this thing then?
Click to expand...
Click to collapse
So I think you unlocked the boot loader using the service delivered by Sony, correct? Okay...
But how did you deal with the DRM security keys (TA partitions)? If I get that right within the TA partition there might be some key information which could affect advanced camera functionality? Did you get a backup of the TA partition before unlocking the bootloader?
Thank you for support!

fl3xx said:
So I think you unlocked the boot loader using the service delivered by Sony, correct? Okay...
But how did you deal with the DRM security keys (TA partitions)? If I get that right within the TA partition there might be some key information which could affect advanced camera functionality? Did you get a backup of the TA partition before unlocking the bootloader?
Thank you for support!
Click to expand...
Click to collapse
You don't need to backup TA (at least when you are using) since DRM patch solves camera functionality problem.

has anyone tested this? It basically means we can:
1. unlock the bootloader
2. flash twrp recovery
3. flash this kernel
4. flash superuser
and we have a rooted x compact with working drm (at least some of it).
Is that correct?

charliebigpot said:
has anyone tested this? It basically means we can:
1. unlock the bootloader
2. flash twrp recovery
3. flash this kernel
4. flash superuser
and we have a rooted x compact with working drm (at least some of it).
Is that correct?
Click to expand...
Click to collapse
In theory yes. Though I cannot flash the superuser zip, nor can I mount anything in TWRP at the moment. Before unlocking boot loader and flashing this, I flashed UK for fingerprint sensor so that may be the reason. Tomorrow I plan on testing more.
Sent from my HTC 10

mesajoejoe said:
In theory yes. Though I cannot flash the superuser zip, nor can I mount anything in TWRP at the moment. Before unlocking boot loader and flashing this, I flashed UK for fingerprint sensor so that may be the reason. Tomorrow I plan on testing more.
Sent from my HTC 10
Click to expand...
Click to collapse
Good luck and keep us posted!

charliebigpot said:
Good luck and keep us posted!
Click to expand...
Click to collapse
No luck. It won't install the superuser.zip. In TWRP everything is red, can't mount anything. Can't see internal SD from TWRP, can't format anything. I went back to Customized US from xperifirm and re-flashed kernel and TWRP. Not sure what to do.
{
"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"
}

mesajoejoe said:
No luck. It won't install the superuser.zip. In TWRP everything is red, can't mount anything. Can't see internal SD from TWRP, can't format anything. I went back to Customized US from xperifirm and re-flashed kernel and TWRP. Not sure what to do.
Click to expand...
Click to collapse
hmm, can you upload full log (tmp/recovery.log)?
I confirmed this works on F5321 but maybe there's some difference in US.

AndroPlus said:
hmm, can you upload full log (tmp/recovery.log)?
I confirmed this works on F5321 but maybe there's some difference in US.
Click to expand...
Click to collapse
Here ya go.

mesajoejoe said:
Here ya go.
Click to expand...
Click to collapse
Can you check if there is /dev/block/platform/soc/7824900.sdhci ?
e.g.
Code:
ls -l /dev/block/platform/soc/7824900.sdhc

AndroPlus said:
Can you check if there is /dev/block/platform/soc/7824900.sdhci ?
e.g.
Code:
ls -l /dev/block/platform/soc/7824900.sdhc
Click to expand...
Click to collapse
Two things exist there. 7824900.sdhci and 7864900.sdhci Thank you BTW for looking into this. Root access is the only thing holding me back from using this device.
Sent from my HTC 10

mesajoejoe said:
Two things exist there. 7824900.sdhci and 7864900.sdhci Thank you BTW for looking into this. Root access is the only thing holding me back from using this device.
Sent from my HTC 10
Click to expand...
Click to collapse
Thank you, I'll rebuild TWRP later with "7864900.sdhci".
I don't know why there are two path, but 7864900.sdhci should be right path for your device.
oops it was for sdcard...

AndroPlus said:
Thank you, I'll rebuild TWRP later with "7864900.sdhci".
I don't know why there are two path, but 7864900.sdhci should be right path for your device.
oops it was for sdcard...
Click to expand...
Click to collapse
Let me know if there's anything I can assist with.

mesajoejoe said:
Let me know if there's anything I can assist with.
Click to expand...
Click to collapse
Can you try this version?
https://drive.google.com/open?id=0B0j3VJ1Xp5N8M1ZGbzBBMTdyRnM

AndroPlus said:
Can you try this version?
https://drive.google.com/open?id=0B0j3VJ1Xp5N8M1ZGbzBBMTdyRnM
Click to expand...
Click to collapse
Appears to be working. I have mounting access in TWRP, flashed superuser.zip without issue. Thanks!
Well it was kind of working. On US firmware root was functioning but when switching over to UK it stopped. Since then I have not been able to regain root access on US or UK. After flashing the superuser.zip it just hangs on the Sony logo. I've gone back and forth between US and UK, but no luck. TWRP is having issues unmounting /system... not sure if that gives anyone any insight. I'm probably just going to leave it without root access for now. Appreciate your help!

Does it work on CE version
Hey everyone
Can anyone confirm that it works on CE software Version.
Unlock BL is allowed.
Thanks in advance.

Related

[TOOL] Lock/Unlock Bootloader + Remove Tampered | Aroma GUI

This tool will allow you remove the Tampered flag from your bootloader. It will also allow you to easily Lock and Unlock your Bootloader directly from recovery.
No root required since it is run in recovery, however you still must be S-OFF.
Before using this tool you need to be sure you are using the latest version of recovery as the M7 U/UL TWRP requires at least version 2.6.3.3 for this package to work. The current downloads for both CWM and TWRP can found below:
The latest M7 U/UL TWRP can be downloaded HERE.
The latest M7 U/UL CWM can be downloaded HERE.
***[UPDATE] - It seems that the latest TWRP 2.6.3.3 has been pulled due to some minor issues. If your TWRP version doesn't work please use CWM for now until a updated TWRP release is made.
This will work for Verizon and Sprint as well, however they have different versions of these recoveries, so please make sure you are using the correct recovery for your device.
Saying this again in case you missed it: YOU MUST BE S-OFF!
To use the tool simply copy the zip file to your phone and then boot to your custom recovery and choose install. Then browse to where you copied the file and select it. The aroma installer will begin. Follow the steps outlined in the pictures below and choose the options you want to run.
{
"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"
}
Now you can just keep this file on your phone and Lock and Unlock at anytime without a PC and without losing data.
***Credits***
S-trace for originally discovering the location of the lock status flag. See this thread.
scotty1223 for his ADB shell commands. Threads HERE and HERE. Scotty was also very helpful to me in understanding some of the default values.
Just to be clear I did not just copy and paste scotty1223's commands into a aroma installer. The echo command can be problematic in aroma, so I developed original code for all four commands. The end result is the same in that the data in the partitions is changed as needed.
***Download***
Guru Bootloader Reset Tool
md5: fdb8264a8f4741bae22939cd7734f7c2
Enjoy!
If this helped you out please consider a small donation or just a thanks would be great.
Demo and Troubleshooting
Demo Video:
***Troubleshooting***
If the installer stays on this screen fore more than a few seconds, then it means you need to delete/format cache. This can be done within both recoveries. You may need to reboot recovery after clearing cache and begin the installer again. This seems to happen more on CWM than TWRP.
If the installer runs but your bootloader doesn't change, it is proably one of these things:
You are not S-Off
You do not have the latest version of recovery (I recommend TWRP)
+ 1
+1
Worked on int. m7 with hboot version 1.55.
Now have removed my tampered flag :victory:
thx
pOpY
Oh yeah..thanks..a handy tool..
Sent from my HTC One using XDA Premium 4 mobile app
Nice Thanks @crushalot
Quick question (if you have time): why do we need latest recovery? what would happen on an older recovery?
Will this work on Rumrunners custom HBOOT or is a stock HBOOT only recommended?
Sent from my HTC One using Tapatalk
nkk71 said:
Nice Thanks @crushalot
Quick question (if you have time): why do we need latest recovery? what would happen on an older recovery?
Click to expand...
Click to collapse
On older recoveries, the worst that could happen is that it may not work. It won't hurt to try.
The reason you need an updated recovery is because on TWRP before version 2.6.3.3 the partition wasn't writable so the actions didn't work. Older CWM should be ok but I only tested the latest.
Evil-Dragon said:
Will this work on Rumrunners custom HBOOT or is a stock HBOOT only recommended?
Sent from my HTC One using Tapatalk
Click to expand...
Click to collapse
It will work on any firmware. Hboot is not touched. This only modifies partitions mmcblk0p3 and mmcblk0p7.
crushalot said:
On older recoveries, the worst that could happen is that it may not work. It won't hurt to try.
The reason you need an updated recovery is because on TWRP before version 2.6.3.3 the partition wasn't writable so the actions didn't work. Older CWM should be ok but I only tested the latest.
Click to expand...
Click to collapse
Noted. Thanks
Sent from my HTC One using Tapatalk
Awesome!
I was looking for this... it worked great! Thanks man!
crushalot said:
On older recoveries, the worst that could happen is that it may not work. It won't hurt to try.
The reason you need an updated recovery is because on TWRP before version 2.6.3.3 the partition wasn't writable so the actions didn't work. Older CWM should be ok but I only tested the latest.
Click to expand...
Click to collapse
Hi crushalot, I just noticed TWRP version 2.6.3.3 was pulled and back to 2.6.3.0, just FYI
Awesome that this can be done fron recovery, let alone in an Aroma install! Looks good! :good:
But I am having trouble seeing the use for me personally? Is this so that Ican lock my botloader and download Official OTAs (if thats required)? Or is this just something in case I have to send it off for service?
Or am I missing something here?
DaringDomino3s said:
Awesome that this can be done fron recovery, let alone in an Aroma install! Looks good! :good:
But I am having trouble seeing the use for me personally? Is this so that Ican lock my botloader and download Official OTAs (if thats required)? Or is this just something in case I have to send it off for service?
Or am I missing something here?
Click to expand...
Click to collapse
. Warranty purposes. Or for example in my case if I decided to upgrade my phone with jump, I can make everything look like never even happened. It's quite useful.
Sent from my HTC One using XDA Premium 4 mobile app
nkk71 said:
Hi crushalot, I just noticed TWRP version 2.6.3.3 was pulled and back to 2.6.3.0, just FYI
Click to expand...
Click to collapse
Yeah, seems like it was pulled because the charging while in recovery doesn't work correctly.
It still works for everything else. Not sure if they will just re-release 2.6.3.3 when fixed or make a new version.
I will update the link and info in the OP.
Thanks
DaringDomino3s said:
Awesome that this can be done fron recovery, let alone in an Aroma install! Looks good! :good:
But I am having trouble seeing the use for me personally? Is this so that Ican lock my botloader and download Official OTAs (if thats required)? Or is this just something in case I have to send it off for service?
Or am I missing something here?
Click to expand...
Click to collapse
Also sometimes a locked bootloader is needed for promotions like the 25 GB of Google Drive space.
There can be a variety of reasons one might need to toggle it.
Looking and unlocking won't wipe data? Like a typical htcdev unlock does?
Sent from my HTC One using xda app-developers app
crushalot said:
Yeah, seems like it was pulled because the charging while in recovery doesn't work correctly.
It still works for everything else. Not sure if they will just re-release 2.6.3.3 when fixed or make a new version.
I will update the link and info in the OP.
Thanks
Click to expand...
Click to collapse
I'm still on CWM 6.....2 (the old one, but with updated ts drivers) gonna test ur tool on friday.
Will let u know.
Btw, thanks for all your guru site, I refer to it a lot; PayPal doesn't work in my country so can't contribute. But thanks !!
Love ur work.
Sent from my HTC One using Tapatalk
joho5 said:
Looking and unlocking won't wipe data? Like a typical htcdev unlock does?
Sent from my HTC One using xda app-developers app
Click to expand...
Click to collapse
No, my tool doesn't wipe data during a lock or unlock.
It directly modifies the partitions that conatin the bootloader status, without touching /data or /system

Flash TWRP using Flashify App - No PC Needed (Dev ROM only)

For those who are having a hard time flashing TWRP using a PC, I just wanna share it to you guys! I have tested this myself on my Mi-4c
Note: This will not might not work if you are using stable/dev rom version 6.14 or higher due to locked bootloader. Please unlock your bootloader first
Requirements:
Mi-4c device
Full Developer ROM pack for our phone ( make sure you install GApps too)
TWRP image (TWRP 2.8.7.1 with English and Chinese V2 & V3)
TWRP Recovery 2.8.7.0 Dev ROM (Most Stable)
Flashify App
**And of course, courage and common sense
Disclaimer: Don't blame me if you brick your device, do it at your own risk.
1. Download a developer ROM from the official download page: Click Here or use this Developer ROM [/B]Note: This method might not work if you are using dev rom version 6.14 or higher due to locked bootloader. Please unlock your bootloader first[/B]
2. Flash the Developer ROM from the updater app and install GApps of course. Now, you should have root access on your phone.
3. Download the flashable TWRP zip from the original thread or below - Original TWRP Thread --- Thanks to 油炸包子-
TWRP Recovery 2.8.7.0 Dev ROM (Most stable especially for touch issues)
TWRP V2 Dev ROM Only
TWRP V3 Dev ROM or Stable
4. Open the TWRP .zip or .7z file you downloaded using an Archiver app or ES Explorer and you will find a recovery.img inside.
4.1 Extract the recovery.img to the root of your SDCard (you can rename it to anything you like just make sure the extension stays as .img)
{
"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"
}
5. Install Flashify from Playstore.
5.1 Launch the app, accept disclaimer then you will get a message that it needs root access.
5.2 Launch the Security app and provide root permission to Flashify.
6. After providing root permission to flashify, launch the app again and select Recovery image from the Flash tab, choose the extracted ".img" file that you have extracted to your SDCard then flash.
7. There should be a success "Flash complete" message then select "Reboot now" to reboot your phone.
Congratulations!! You should now have TWRP after reboot.
*****Access TWRP by powering the phone off, turn it back on by holding the power together with the volume up (+) button and it should take you to the TWRP screen if a few sec.*****
Want to update to TWRP V3? Follow the steps below:
Do this if you have the previous version (TWRP V2) installed, else, follow the steps above to get V3 directly.
Should you wish to update to the latest TWRP from the original thread: http://en.miui.com/thread-169401-1-1.html
1. Download the latest TWRP from your mobile: -
TWRP V3 Dev ROM or Stable
2. Extract the ".img" file, depends which ROM you're on if Developer or Stable.
3. Save it to the root of your SDCard
4. Boot your phone to recovery (Power & Volume (+) Up
5. Once on TWRP screen, select Install, from there you will need to select "Install Image" lower right, navigate to the root of your SDCard and select the ".img" you have previously extracted (TWRP V3), select "recovery" not boot, then Slide to Flash the new version.
Congrats! You have successfully updated your TWRP to V3.
Disclaimer: Don't blame me if you brick your device, do it at your own risk.
My original thread: Flash TWRP using Flashify App - No PC Needed (Dev ROM only)
great ! this is really easy even for noobs like me
ps2lover said:
great ! this is really easy even for noobs like me
Click to expand...
Click to collapse
Let us know if it works for you too. Thanks!
I flashed the TWRP, thanks for the help (Y). But where or how can I install GApps?
gmark247 said:
I flashed the TWRP, thanks for the help (Y). But where or how can I install GApps?
Click to expand...
Click to collapse
Just download the google apps from the mi store if u r using miui rom.
Hey! tnx 4 twrp, but touchscreen do not respond in recovery at all.
Is there anyway to fix it?
ILLnar said:
Hey! tnx 4 twrp, but touchscreen do not respond in recovery at all.
Is there anyway to fix it?
Click to expand...
Click to collapse
You'll have to wait about 2 mins then it starts working
You'll have to wait about 2 mins then it starts working
Click to expand...
Click to collapse
So, you mean this is normal behavior?
In my opinion, it's not.
ILLnar said:
So, you mean this is normal behavior?
In my opinion, it's not.
Click to expand...
Click to collapse
It shouldn't be like that, but that's how it is right now. I'm not sure if there's any fix available, but I guess an updated version of the recovery will be released soon, that has this problem fixed..
Yeah this method works I have done it and easy as drinkin beer
Sent from my Mi-4c using Tapatalk
Same here. Tested and working. I am on Mokee rom now.
Thanks for the guide but I found something wierd happening. After succesfully flashing twrp and rebooting it goes in twrp when I restart after that and try to go in recovery with volume up +power it takes me to stock recovery? Any ideas??:/
So version 3 works without any touch problems?
ermacwins said:
So version 3 works without any touch problems?
Click to expand...
Click to collapse
I'm using the v3 linked in this thread and the touch problem still exists. I have to wait 2-3 minutes before it works.
I tested the 2.8.7.0 version from miui.com and touch screen worked immediately. I'm not sure if it was just lucky or not, because I only tested it once. Maybe worth trying it and see how it works?
It'd weird because the one I have some times freezes and some times doesn't
b3ava said:
Thanks for the guide but I found something wierd happening. After succesfully flashing twrp and rebooting it goes in twrp when I restart after that and try to go in recovery with volume up +power it takes me to stock recovery? Any ideas??:/
Click to expand...
Click to collapse
Just reflash TWRP then reboot to TWRP, it should ask you if you want to either use it as read only or allow modification, select allow modification. Hope that helps.
Yes with the modded version on xiaomi.eu the touch works!
Bazzu said:
Yes with the modded version on xiaomi.eu the touch works!
Click to expand...
Click to collapse
Hm, I can't seem to find it. Do you mind posting the link to it?
Flaxe said:
Hm, I can't seem to find it. Do you mind posting the link to it?
Click to expand...
Click to collapse
https://mega.nz/#!VB02nZhQ!Slu89_5CHV-5WnH3hBVNlrKB9uqZv-pS3Kmgmtmaw48
Sent from my Xiaomi-mi4c
If i've been useful > "Thanks" ^^
Bazzu said:
https://mega.nz/#!VB02nZhQ!Slu89_5CHV-5WnH3hBVNlrKB9uqZv-pS3Kmgmtmaw48
Sent from my Xiaomi-mi4c
If i've been useful > "Thanks" ^^
Click to expand...
Click to collapse
Yup, this version of TWRP 2.8.7.0 should be fine with touch problems, this one i'm using now.

Installed Nougat, trying to re-root, TWRP reboots halfway when installing SuperSU

I updated to EMUI 5 with nougat, i think i lost my root. Went back to TWRP and about 60% of the way through the install phone reboots by itself with the phone not being rooted. Tried different superSU versions along with an adb sideload, same thing. Anyone have any idea what i'm doing wrong?
richbumx said:
I updated to EMUI 5 with nougat, i think i lost my root. Went back to TWRP and about 60% of the way through the install phone reboots by itself with the phone not being rooted. Tried different superSU versions along with an adb sideload, same thing. Anyone have any idea what i'm doing wrong?
Click to expand...
Click to collapse
twrp is not yet able to flash supersu successfully, if u want to root then flash a patched boot.img from here https://mega.nz/#!69IlASwI!FjF5rhALGGA_tusum7FdXgnO1R45ZIpdrahNa0UXT-8
Root working with B360 (L09 only at the minute)
thanks to @Atarii
Reboot into bootloader mode
Extract files and "fastboot flash boot boot.img"
Reboot into system
Install phh's SuperUser app from Play Store
OR
if u have twrp flash it thru twrp
raza3434 said:
twrp is not yet able to flash supersu successfully, if u want to root then flash a patched boot.img from here https://mega.nz/#!69IlASwI!FjF5rhALGGA_tusum7FdXgnO1R45ZIpdrahNa0UXT-8
Root working with B360 (L09 only at the minute)
thanks to @Atarii
Reboot into bootloader mode
Extract files and "fastboot flash boot boot.img"
Reboot into system
Install phh's SuperUser app from Play Store
OR
if u have twrp flash it thru twrp
Click to expand...
Click to collapse
Hello I have B380 and just tried this, flash the modified boot.img, and install the phh's su but still not rooted, do you have an idea?
remi13014 said:
Hello I have B380 and just tried this, flash the modified boot.img, and install the phh's su but still not rooted, do you have an idea?
Click to expand...
Click to collapse
(for L09)
u didn't mention u are on b380, anyways here is the boot.img for b380,
https://mega.nz/#!ekJVzLyY!pOhWHYpdhuRSFtBvxGYlMMFH5hFg0TG8bG17D13ZohM
raza3434 said:
(for L09)
u didn't mention u are on b380, anyways here is the boot.img for b380,
https://mega.nz/#!ekJVzLyY!pOhWHYpdhuRSFtBvxGYlMMFH5hFg0TG8bG17D13ZohM
Click to expand...
Click to collapse
i'm on L-04.. would this not work for me then?
richbumx said:
i'm on L-04.. would this not work for me then?
Click to expand...
Click to collapse
i dont know its atariis work you can ask there, @Atarii go to his profile search for b378, actually this boot.img is for p9 but due to same kernel it works on h8
richbumx said:
i'm on L-04.. would this not work for me then?
Click to expand...
Click to collapse
Try this boot image. You can flash it from twrp. Do not clear the cache or davlik. Reboot and install the phh super user apk.
https://forum.xda-developers.com/attachment.php?attachmentid=4070615&d=1489245825
https://forum.xda-developers.com/showpost.php?p=71382542&postcount=85
Parleyp
parleyp said:
Try this boot image. You can flash it from twrp. Do not clear the cache or davlik. Reboot and install the phh super user apk.
https://forum.xda-developers.com/attachment.php?attachmentid=4070615&d=1489245825
https://forum.xda-developers.com/showpost.php?p=71382542&postcount=85
Parleyp
Click to expand...
Click to collapse
I just tried this and it WORKS! I'm on EMUI 5 with my L-04. Now I can FINALLY block ads! Thanks for the info!
richbumx said:
i'm on L-04.. would this not work for me then?
Click to expand...
Click to collapse
parleyp said:
Try this boot image. You can flash it from twrp. Do not clear the cache or davlik. Reboot and install the phh super user apk.
https://forum.xda-developers.com/attachment.php?attachmentid=4070615&d=1489245825
https://forum.xda-developers.com/showpost.php?p=71382542&postcount=85
Parleyp
Click to expand...
Click to collapse
skrapmetal said:
I just tried this and it WORKS! I'm on EMUI 5 with my L-04. Now I can FINALLY block ads! Thanks for the info!
Click to expand...
Click to collapse
So we know it works on the L04 and L14. Does not work on L09.
L09 works
parleyp said:
So we know it works on the L04 and L14. Does not work on L09.
Click to expand...
Click to collapse
Wrong
{
"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"
}
Thanks for the update. I am happy is is working on yours.
skrapmetal said:
I just tried this and it WORKS! I'm on EMUI 5 with my L-04. Now I can FINALLY block ads! Thanks for the info!
Click to expand...
Click to collapse
I am also trying to get root on an H8 FRD-L04. So does this boot.img file get flashed in twrp like any other zip file or do I need to choose different options in twrp to write it to the correct place?
Also can you tell me which version of twrp you are using? There seem to be several floating around on xda.
Have you had any other issues with apps that need root since you did this? I'd like to get my favorite xposed mods working on my H8.
vouty said:
I am also trying to get root on an H8 FRD-L04. So does this boot.img file get flashed in twrp like any other zip file or do I need to choose different options in twrp to write it to the correct place?
Also can you tell me which version of twrp you are using? There seem to be several floating around on xda.
Have you had any other issues with apps that need root since you did this? I'd like to get my favorite xposed mods working on my H8.
Click to expand...
Click to collapse
Unzip the file first, that should leave you with bootr.img I think it's called. Make a backup just in case, but yes, flash it just like you would anything else, no need to wipe anything and no I did not change any settings.
I'm using TWRP 3.0.3 found here https://forum.xda-developers.com/honor-8/development/twrp-t3566563
I have tried at least 5 apps that have needed root and have not had any issues. I haven't tried xposed yet though.
skrapmetal said:
Unzip the file first, that should leave you with bootr.img I think it's called. Make a backup just in case, but yes, flash it just like you would anything else, no need to wipe anything and no I did not change any settings.
I'm using TWRP 3.0.3 found here https://forum.xda-developers.com/honor-8/development/twrp-t3566563
I have tried at least 5 apps that have needed root and have not had any issues. I haven't tried xposed yet though.
Click to expand...
Click to collapse
And so the bootr.img is 'pre-rooted" so I don't then need to flash "SuperSU-v2.79-201612051815-EMUI5.0.zip" or any other SU zip file, or format the Data partition as some other threads have mentioned, to get root, is that correct?
vouty said:
And so the bootr.img is 'pre-rooted" so I don't then need to flash "SuperSU-v2.79-201612051815-EMUI5.0.zip" or any other SU zip file, or format the Data partition as some other threads have mentioned, to get root, is that correct?
Click to expand...
Click to collapse
I did not format or wipe anything. I simply backed up my boot.img and flashed bootr.img. I did not flash anything else. After that, I rebooted and installed phh Superuser from the play store. That's it.
skrapmetal said:
I did not format or wipe anything. I simply backed up my boot.img and flashed bootr.img. I did not flash anything else. After that, I rebooted and installed phh Superuser from the play store. That's it.
Click to expand...
Click to collapse
Sounds easy enough. I'll give it a try. Then I'm gonna go for getting xposed and adaway working.
hi, i confirm the modified boot.img (b378) and root works with b380 rom ?
Thanks
Jsbcterpper said:
You are right , i agree with you
Click to expand...
Click to collapse
No.
It does work in the L09, check my post on the previous page.

TWRP for LG Aristo 2

{
"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"
}
Warning: Make a backup of your current stock recovery and data! As always I'm not responsible for bricks.
This is twrp version 3.2.1-0 and has finally been ported to the LG Aristo 2!
To flash:
1. Make sure your bootloader is unlocked
2. Download recovery.img from below
3. Boot phone into fastboot mode using "adb reboot bootloader" without quotations
4. Flash using "fastboot flash recovery recovery.img" without quotations
5. Once it is done, disconnect the phone and reboot into recovery
6. Wipe /data and /cache
7. Flash no verity zip from https://build.nethunter.com/android-tools/no-verity-opt-encrypt/ (Get latest version)
8. Flash magisk zip from https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445
9. Reboot and Enjoy!
Thanks to @brad2192 for flashing experimental builds for me!
*UPDATE 2-Fixed time bug, so now backups can be identified by date: https://www.androidfilehost.com/?fid=5862345805528064784*
TWRP DEVICE TREE: https://github.com/armandopartida0/android_device_lge_cv1
Donate here --------> https://paypal.me/APartida332
Works great, was a fun night of figuring this out together glad it worked out! Everything is functioning properly!
Just remember when you first load into TWRP you will need to go to wipe > format data and type yes.
This will erase all data so be sure to backup all your personal files to your SD card using the phone before you format. Then proceed to use the above instructions!
I got it flashed successfully and can get to it but it's asking for a decrypt password. I never set one up, so I'm not sure what to do. I still tried to format but it gives an error about inability to mount.
Edit - even with the error, it still has me set up Android again but it still wants a decrypt password and I can't mount.
tge101 said:
I got it flashed successfully and can get to it but it's asking for a decrypt password. I never set one up, so I'm not sure what to do. I still tried to format but it gives an error about inability to mount.
Edit - even with the error, it still has me set up Android again but it still wants a decrypt password and I can't mount.
Click to expand...
Click to collapse
hmmm. Can you provide a picture of the error please?
armandop_ said:
hmmm. Can you provide a picture of the error please?
Click to expand...
Click to collapse
I got it figured out. I rebooted directly back to TWRP after formatting the data and it mounted.
tge101 said:
I got it figured out. I rebooted directly back to TWRP after formatting the data and it mounted.
Click to expand...
Click to collapse
ah ok. Thanks for letting me know
Its normal. look at the other threads for twrp they always say to format the data after a reboot. Maybe add it to your tutorial thingy.
Edit: Thanks a lot guys its a lot more fun with root and TWRP. (>^.^)>
armandop_ said:
Warning: Make a backup of your current stock recovery and data! As always I'm not responsible for bricks.
This is twrp version 3.2.1-0 and has finally been ported to the LG Aristo 2!
To flash:
1. Make sure your bootloader is unlocked
2. Download twrp.img from below
3. Boot phone into fastboot mode using "adb reboot bootloader" without quotations
4. Flash using "fastboot flash recovery twrp.img" without quotations
5. Once it is done, disconnect the phone and reboot into recovery
6. Wipe /data and /cache
7. Flash no verity zip from https://build.nethunter.com/android-tools/no-verity-opt-encrypt/ (Get latest version)
8. Flash magisk zip from https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445
9. Reboot and Enjoy!
Thanks to @brad2192 for flashing experimental builds for me!
TWRP 3.2.1-0 (tested and working): https://drive.google.com/open?id=1XDQ01-OTloDd1e-uhfU3La5XzsVbPZmH
Click to expand...
Click to collapse
Thank you for this! Once my sata cables come in the mail and I get my Windows copy up and running on my second hard drive I need to create an ISO .img from the KDZ file you gave me. Need to get my phone back to stock, and im thankful you guys got TWRP working on this great phone.
Create a IMG from kdz? Don't you just use the kdz in lg up or something to reflash?
teknoweanie said:
Create a IMG from kdz? Don't you just use the kdz in lg up or something to reflash?
Click to expand...
Click to collapse
That sounds like allot less pain in the ass. Can you give me a quick breakdown of how to reset into stock using the KDZ. Dont need go type paragraps or anything just a brief summary this is all new to me.
Heres a tutorial. Its made for the aristo 1 but im sure it should work with the aristo 2. Use the lg up program.here
Just make sure to use the kdz made for the aristo 2 that you already have.
Forgot you may need uppercut aswell. here sometimes it gives a error which uppercut fixes.
Has anyone tried any other cameras with this phone? I was thinking of trying to flash CameraNext or SnapDragon but I've never tried either on a stock rom, so I'm not sure whether I'd bootloop.
tge101 said:
Has anyone tried any other cameras with this phone? I was thinking of trying to flash CameraNext or SnapDragon but I've never tried either on a stock rom, so I'm not sure whether I'd bootloop.
Click to expand...
Click to collapse
I don't have the phone so I can't test that. Mabe someone here with the phone can test?
tge101 said:
Has anyone tried any other cameras with this phone? I was thinking of trying to flash CameraNext or SnapDragon but I've never tried either on a stock rom, so I'm not sure whether I'd bootloop.
Click to expand...
Click to collapse
I love the Google Camera, just sucks that it saves strictly to Internal.
brad2192 said:
I love the Google Camera, just sucks that it saves strictly to Internal.
Click to expand...
Click to collapse
It only works up to be version 3 right? That's the last one I could find for non arm64.
tge101 said:
It only works up to be version 3 right? That's the last one I could find for non arm64.
Click to expand...
Click to collapse
Yeah, exactly. But it records really nicely
i have trouble booting in to recovery.... it takes me back to fastboot... Also I tried to revert to flash the root_boot and that does not work for me... pls help
Hey guys quick question... So I accidentally wiped system and didn't make a backup. I can get into twrp but have no os to flash. What can I do to get my phone working again? Sorry and thanks!
tge101 said:
Has anyone tried any other cameras with this phone? I was thinking of trying to flash CameraNext or SnapDragon but I've never tried either on a stock rom, so I'm not sure whether I'd bootloop.
Click to expand...
Click to collapse
I am trying to find good camera apps for this phone because the stock one is not that good. I will try those two that you have just posted.
Xsavi said:
I am trying to find good camera apps for this phone because the stock one is not that good. I will try those two that you have just posted.
Click to expand...
Click to collapse
I've tried finding other LG camera apps but none would work. Let me know how CameraNext works (if it does).
OpenCamera is giving me terrible quality.
Bacon Camera seems ok.
Google Camera is ok, but limited.
That's all I've tried. I know this camera should be capable of some good pictures.
Edit - I found an APK only install for CameraNextMod v10. This might be the best we can get with this camera unless the zip versions are compatible. Here's a link https://drive.google.com/file/d/1aLdiT1B2TcDFL0vfcmwYz6L7EdxqgFKj/view?usp=sharing
---------- Post added at 07:09 PM ---------- Previous post was at 06:26 PM ----------
armandop_ said:
ah ok. Thanks for letting me know
Click to expand...
Click to collapse
So, I just went back into TWRP for the first time since and it's still asking for a password to decrypt. I don't want to wipe everything again. Any ideas? Nothing is mounted and I can't mount without the password.

[TOOL][DAISY] TOOL ALL IN ONE (Drivers|Unlock|TWRP|Factory Image|Stock Recovery)

This is the Xiaomi Mi A2 Lite's TOOL ALL IN ONE Discussion Thread more info and download go to the Original Thread
TOOL ALL IN ONE
{
"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"
}
ADVANCED OPTIONS
FUNCTIONS
Install Drivers
Install Drivers
Unlock Bootloader
Lock Bootloader (use carefully)
Flash TWRP Recovery
Flash Stock Recovery
Flash Stock Factory Image
Automatic ROOT
Install APKs
Uninstall APKs
Take a Screenshot
Take a Screen Reocrd
Flash Partitions
Erase All Data (This function can decrypt the phone)
Reboot Phone
Update the Tool to latest version
Update Adb and Fastboot to latest version
Set Adb and Fastboot priviliges in system wide
Install Zip directly from PC (Required TWRP on phone)(These functions work perfectly on my pc but i have perfect adb drivers on my pc and perfect TWRP on my phone)
Flash Fastboot ROM
Delete downloaded files
ADB File Manager
DEVICE LIST
If you want you can send a request to add a new device here:
New Device Request Form
Device List
DOWNLOAD
Original Thread
DONATE LINK
If you want to support the project please consider making a donation, thanks.
​
Yay ^_^ Thanks for the efforts Respected devs. Hope it makes life way easier for people here at the community ^_^
unlock bootloader and root still delete all of my files right?
machine1104 said:
unlock bootloader and root still delete all of my files right?
Click to expand...
Click to collapse
Yes
Xiaomi Mi A2 Lite got messed up
Hi there!
I have just received my new Xiaomi Mi A2 Lite phone and wanted to pass all of my data from my old phone to it in a way that it was required to be rooted.
KingRoot didn't work on this new phone, so I unlocked bootloader and tried to install TWRP recovery on my phone.
Installing to the recovery partition did not work. I searched the error it gave me and found a thread saying that flashing it to the boot partition worked for them. So I did. Next thing that happened is that my phone did not boot into the OS (operating system) ever again. It only booted TWRP.
I have since been able to remove TWRP (though I made a back up of it) but the phone still stays on just the loading part before going to the OS.
I have since been able to get back the fastboot and stock recovery, but the phone will not start into the OS anymore.
How can I fix this?
I have been searching for ways to restore my android to the 8.1 Oreo version that it was.
Can I do it with this Tool All In One? Please help! Thank you in advance!! Much appreciated!!
hello
i have unlocked bootloader and wait for TWRP and want to root my phone.
Can I flash TWRP and root with this tool easy? And will I lost all data if do that?
chillout23 said:
hello
i have unlocked bootloader and wait for TWRP and want to root my phone.
Can I flash TWRP and root with this tool easy? And will I lost all data if do that?
Click to expand...
Click to collapse
If you need to flash twrp and root.no, you will not lose data
Ok. Thank you very much for answer
Then will try
chillout23 said:
Ok. Thank you very much for answer
Then will try
Click to expand...
Click to collapse
I would suggest using the root method mentioned here
https://forum.xda-developers.com/mi-a2-lite/how-to/guide-install-magisk-proper-support-ota-t3836952
Twrp does not have good results for most people.
With this method I will lost all data on my phone and I do not want to setup phone 1 more time. Twice was just enough
I know that already but thank you anyway
chillout23 said:
With this method I will lost all data on my phone and I do not want to setup phone 1 more time. Twice was just enough
I know that already but thank you anyway
Click to expand...
Click to collapse
If your bootloader is unlocked, you should not lose any data just installing magisk
Yes...my fault. My BL is unlocked already.
But I posted in that thread...because of some reason does not work. But this is not thread about it
Thanks for help
So...Installed TWRP but does not recognize anything in internal storage. Not recognize SD card.
When boot again to TWRP goes to "something"...some kind of empty stock recovery with android logo and nothing more.
Oh man...that will be interesting ride...to put TWRP or root device
chillout23 said:
So...Installed TWRP but does not recognize anything in internal storage. Not recognize SD card.
When boot again to TWRP goes to "something"...some kind of empty stock recovery with android logo and nothing more.
Oh man...that will be interesting ride...to put TWRP or root device
Click to expand...
Click to collapse
Because your not supposed to install the twrp image just boot from it and if you do install it then you have to flash the original boot image for which ever 8.1 update your on to get rid of it.
This is explained on the team win page for daisy wish i had read that first after re flashing my os twice and boot image once trying to install this am just using the phone as is for now until i get the urge to try again
uptowner said:
Because your not supposed to install the twrp image just boot from it and if you do install it then you have to flash the original boot image for which ever 8.1 update your on to get rid of it.
This is explained on the team win page for daisy wish i had read that first after re flashing my os twice and boot image once trying to install this am just using the phone as is for now until i get the urge to try again
Click to expand...
Click to collapse
This tool can only boot the recovery or can boot the recovery and automatic flash the installer, i'm not udnerstanding which is the problem
uptowner said:
Because your not supposed to install the twrp image just boot from it
Click to expand...
Click to collapse
Installed TWRP image. I know what is .img
mauronofrio said:
This tool can only boot the recovery or can boot the recovery and automatic flash the installer, i'm not udnerstanding which is the problem
Click to expand...
Click to collapse
oops sorry i should check what thread this is before trying to answer a question i blame alcohol .
Thing is there are posts out on the net that advices people with the a2 lite to install the twrp image to their inactive slot and not to just boot it and that's where things seem to start going wrong.
This has absolutely nothing to do with this tool and sorry i just dived in here and confused people.
maybe some kind passing mod will get rid of the post apologies again
Hi, I bought this device one weeks ago. I wanna flash new android pie OTA update. I dont know how to use this program exactly and I dont wanna lose my data and deal with brick risk.
I understood only one thing from other websites:I must use sideload method .Can someone guide me?Actually I have experience from my old devices(Note 4, Lg optimus, Xperia P) but this is new. I dont wanna broke it immediately .XD.
mesuahas said:
Hi, I bought this device one weeks ago. I wanna flash new android pie OTA update. I dont know how to use this program exactly and I dont wanna lose my data and deal with brick risk.
I understood only one thing from other websites:I must use sideload method .Can someone guide me?Actually I have experience from my old devices(Note 4, Lg optimus, Xperia P) but this is new. I dont wanna broke it immediately .XD.
Click to expand...
Click to collapse
Read the op follow it exactly how it says if u don't know something research it.i have root with no problems if u do as the op says u shouldn't have no problems
Will this work on pie at all?

Categories

Resources