Related
Hi guys, I have got a very urgent problem right now, and hope someone can help me out...I am currently using a HTC One M7, and I used the TWRP recovery and the official bootloader or something rooted my phone, the reason why I need root it is that i need a app move into the system apps which may be easier in using it. And after I moved the app into the system apps using Root Explorer and then reboot my phone, the app just disappeared. After tried many times...I think it is because of the twrp just wipe it... do u guys have a method to solve this problem?...really...pls help me out!!
luvu4evermore said:
Hi guys, I have got a very urgent problem right now, and hope someone can help me out...I am currently using a HTC One M7, and I used the TWRP recovery and the official bootloader or something rooted my phone, the reason why I need root it is that i need a app move into the system apps which may be easier in using it. And after I moved the app into the system apps using Root Explorer and then reboot my phone, the app just disappeared. After tried many times...I think it is because of the twrp just wipe it... do u guys have a method to solve this problem?...really...pls help me out!!
Click to expand...
Click to collapse
This is not a twrp issue, /system partition is write-protected by the stock kernel, every changes made in the /system partition will be reverted after a reboot. If you want to be able to write to /system when booted in the rom, you'll need a custom kernel with write-protection disabled (pretty much all custom kernels here have this). The other option is to make the changes you want in your /system partition before the stock kernel boots, so using the embedded file manager of twrp recovery for example.
If you want to use a custom kernel, you must choose one that works with your rom type and version. For example, ElementalX kernel will only works for Sense or GPE rom (stock or custom). The version of ElementalX required depends on your android version so newer doesn't mean better, you need the right one. Flashing a custom recovery is done using twrp recovery. When installing the custom kernel, you can choose the features you want to be installed so if you don't want a specific feature that the kernel offers, its not a problem. The write-protection is removed by default.
If using the twrp file manger, boot in twrp select "advanced" ---> "file manager"
Then to move a file, select it (tap on it) then it will open another menu. Select "move" then select the location you want to move it to. There is also a chmod menu to edit the files permissions.
alray said:
This is not a twrp issue, /system partition is write-protected by the stock kernel, every changes made in the /system partition will be reverted after a reboot. If you want to be able to write to /system when booted in the rom, you'll need a custom kernel with write-protection disabled (pretty much all custom kernels here have this). The other option is to make the changes you want in your /system partition before the stock kernel boots, so using the embedded file manager of twrp recovery for example.
Click to expand...
Click to collapse
Oh, thanks for answering me~ uh, can u be more specific about how to do that? about the kernel thing? I never did this before and actually this is just my second time to root a phone and try to move an app into system app (as last time i did so there is no such a problem...) Also, about the twrp recovery file manager, tried that one yesterday, and it did not show the " app" folder under the system one, which means i just cannot move it using the twrp file manager...
luvu4evermore said:
Oh, thanks for answering me~ uh, can u be more specific about how to do that? about the kernel thing? I never did this before and actually this is just my second time to root a phone and try to move an app into system app (as last time i did so there is no such a problem...) Also, about the twrp recovery file manager, tried that one yesterday, and it did not show the " app" folder under the system one, which means i just cannot move it using the twrp file manager...
Click to expand...
Click to collapse
see my post above (edited while you were replying)
You can also use aroma file manager within twrp recovery
here a nice xda-video about both twrp file manger and aroma file manager
alray said:
see my post above (edited while you were replying)
You can also use aroma file manager within twrp recovery
here a nice xda-video about both twrp file manger and aroma file manager
Click to expand...
Click to collapse
OMFG!!! Finally I made it! I watched the video and find out that I did not mount the permission to the TWRP file manager! Thank you so much!!!
luvu4evermore said:
OMFG!!! Finally I made it! I watched the video and find out that I did not mount the permission to the TWRP file manager! Thank you so much!!!
Click to expand...
Click to collapse
Yep sorry, should have mentioned that, you always have to mount the partition you want to access when using a recovery. Some are mounted by default, but /system isn't.
alray said:
Yep sorry, should have mentioned that, you always have to mount the partition you want to access to when using a recovery.
Click to expand...
Click to collapse
Nah, still thanks a lot,
luvu4evermore said:
Nah, still thanks a lot,
Click to expand...
Click to collapse
you're welcome :good:
Twrp Backup Process Steps:
1. Download TWRP.7z
2. Unzip Twrp with 7zip program then make sure the pathway looks like this D:\TWRP\BACKUPS\LGMP26016c6f013\2016-12-31--20-18-59_NRD90U basically put it on the root of the sdcard or if you don't have one just connect phone in twrp mode by putting it on mtp and put it on the root of your internal storage and then go to restore in twrp
TWRP BACKUP Contains:
1. UI, Ringtones, Notification Sound Changes (Apple Sounds & Emojis iOS 10.2)
2. Boot Animation Is Google
3. Google Assistant Added As Well As The Pixel Launcher And Other Features
4. Removed Most Bloatware And Some Other Apps
6. For Those That Have That Message When You Download Supersu App And Says Root Not Detected or Something Like That Download These Two Files To Properly Install Root On It https://mega.nz/#!tYlyGQKS!F2UEnS-Sy1_Z16tbY20RZvIhU12r3tT2flc0HX6HZnY https://mega.nz/#!hY1hXKBa!DBDSmqNTE3FJBp1yiIqEAm9yv37f0B1vuzZEq4mYEhY
7. Install UPDATE-unSU-signed.zip first then reboot system to check if it boots normally after that just take the battery out put it back in and hold the power button and volume down and wait for the lg logo and release power button and hold it again and install SR5-SuperSU-v2.78-SR5-20161130091551.zip and then you have root!
5. Let Me Know What You Think I Wish I Could Have Made A ROM But I Need System.img
Details: When You Are Done Going Through The Setup Hold The Screen or Go To Settings To Change Launcher To Pixel & To See All The Emojis With The Color Support Download Gboard From The Play Store
Twrp Link: https://mega.nz/#!IEEHiTQJ!T__o91ZFLIY4X46ZBQMIDf41yPMxSwk4_wzJqwR0YxE
Will this work for the T-Mobile variant of the LG K20 Plus?
iiphanaticx said:
Will this work for the T-Mobile variant of the LG K20 Plus?
Click to expand...
Click to collapse
I Mean It Definitely Would Restore On Your Device However Your Data Connection Wouldn't Work Because It's A Metro Modem Flashed Instead Of T-Mobile
What kind of apps were removed? and can I go back to normal if I dont want this backup anymore? will it erase all my data?
my worthless T-mobile one refuses to enter recovery
wont work too vague
the 2nd step is too vague. Iam trying to follow step to but it isn't very specific. can you explain it with a little more detail. please
System image
TheAmbition215 said:
Twrp Backup Process Steps:
1. Download TWRP.7z
2. Unzip Twrp with 7zip program then make sure the pathway looks like this D:\TWRP\BACKUPS\LGMP26016c6f013\2016-12-31--20-18-59_NRD90U basically put it on the root of the sdcard or if you don't have one just connect phone in twrp mode by putting it on mtp and put it on the root of your internal storage and then go to restore in twrp
TWRP BACKUP Contains:
1. UI, Ringtones, Notification Sound Changes (Apple Sounds & Emojis iOS 10.2)
2. Boot Animation Is Google
3. Google Assistant Added As Well As The Pixel Launcher And Other Features
4. Removed Most Bloatware And Some Other Apps
6. For Those That Have That Message When You Download Supersu App And Says Root Not Detected or Something Like That Download These Two Files To Properly Install Root On It https://mega.nz/#!tYlyGQKS!F2UEnS-Sy1_Z16tbY20RZvIhU12r3tT2flc0HX6HZnY https://mega.nz/#!hY1hXKBa!DBDSmqNTE3FJBp1yiIqEAm9yv37f0B1vuzZEq4mYEhY
7. Install UPDATE-unSU-signed.zip first then reboot system to check if it boots normally after that just take the battery out put it back in and hold the power button and volume down and wait for the lg logo and release power button and hold it again and install SR5-SuperSU-v2.78-SR5-20161130091551.zip and then you have root!
5. Let Me Know What You Think I Wish I Could Have Made A ROM But I Need System.img
Details: When You Are Done Going Through The Setup Hold The Screen or Go To Settings To Change Launcher To Pixel & To See All The Emojis With The Color Support Download Gboard From The Play Store
Twrp Link: https://mega.nz/#!IEEHiTQJ!T__o91ZFLIY4X46ZBQMIDf41yPMxSwk4_wzJqwR0YxE
Click to expand...
Click to collapse
I did a full system backup with twrp would it help if I gave that to you for rom building
I can try
Thomas080808 said:
I did a full system backup with twrp would it help if I gave that to you for rom building
Click to expand...
Click to collapse
I have built a stock rooted rom, but it will not complete the initial setup. Its as if there is no data when it shows 4g lte of wifi, strange.
And what about sim lock? Is this ROM unlocked?
arcos said:
And what about sim lock? Is this ROM unlocked?
Click to expand...
Click to collapse
Your asking 2 questions thinking they are related. The rom is unlocked meaning you can change it if there was a rom for it bootloader is unlocked so tou can modify the recovery bit sim lock is another thing they are not related in any way shape or form. If tour asking id it can be sim unlocked then yes it can be but that proceas is not like flashing a new rom to make that part work sim unlocking would work on the ohone on stock or not that just depends on who you got the phone feom like tmobile or metro tjey have presequets on how to sim unlock or you pay someone to do it for you
So in other words just because you have custom recoveey or rom or not sim unlocking is another process that has nothing to do with the phone being stock or not if that makes any sense
Thanks for the answer. Do you know how or who can remove sim lock from a K20 Plus? The original network is MetroPCS.
arcos said:
Thanks for the answer. Do you know how or who can remove sim lock from a K20 Plus? The original network is MetroPCS.
Click to expand...
Click to collapse
Yes you can either pay for it now or wait the 3 months or so and metro unlocking app will do it free the option is yours
---------- Post added at 08:04 PM ---------- Previous post was at 08:00 PM ----------
Esin8785 said:
Yes you can either pay for it now or wait the 3 months or so and metro unlocking app will do it free the option is yours
Click to expand...
Click to collapse
Herea metropcs sim unlock policy 90 days of active aervice amd they will unlock free if not then you need to find someone on the net or here on xda and pay for someone to unlock to for you
https://www.metropcs.com/terms-conditions/phone-unlock-policy.html
Has this worked for anyone? I tried it, I extracted the TWRP folder and all its contents on the sdcard went into restore (in twrp) but nothing was found.
New Optimus said:
Has this worked for anyone? I tried it, I extracted the TWRP folder and all its contents on the sdcard went into restore (in twrp) but nothing was found.
Click to expand...
Click to collapse
Backups need to be i in twrp/Backups/LGxxxxxxxxxx (model/serial of phone) folder for twrp to see them, not on root of sd card.
If you haven't made a twrp backup, just do a backup of boot to create the proper folder and copy the 2016-12-31--20-18-59_NRD90U folder from the downloaded zip into it.
Thanks, now I am having another issue, I think I can resolve it I can't get twrp to mount /system rw so restoring backups is failing.
Is anyone else having this problem? What I did to fix it was open terminal in twrp, and type "mount -o rw,remount,rw /system" which seems to have worked, this was after installing the no-verify and a SU
New Optimus said:
Thanks, now I am having another issue, I think I can resolve it I can't get twrp to mount /system rw so restoring backups is failing.
Is anyone else having this problem? What I did to fix it was open terminal in twrp, and type "mount -o rw,remount,rw /system" which seems to have worked, this was after installing the no-verify and a SU
Click to expand...
Click to collapse
You have to create a new backup folder , containing only one item. And then take the file that you have of all your real backups , and put it in that spot , if ur backup location is SD card , then this can easily be done useing Sun 3.0 micro SD card reader , or other method. The TWRP will see the file then. If ur backup is in internal memory , u just do the same thing. Useing minimal adb and fastboot (fromXDA). Otherwise TWRP will not see the backup file. There r a couple of videos on Utube as well , that cover this process.
williamacker77 said:
You have to create a new backup folder , containing only one item. And then take the file that you have of all your real backups , and put it in that spot , if ur backup location is SD card , then this can easily be done useing Sun 3.0 micro SD card reader , or other method. The TWRP will see the file then. If ur backup is in internal memory , u just do the same thing. Useing minimal adb and fastboot (fromXDA). Otherwise TWRP will not see the backup file. There r a couple of videos on Utube as well , that cover this process.
Click to expand...
Click to collapse
Yes did that, got that sorted, thank you, I was asking specifically about if anyone else had system that was Read Only, would not allow Read write.
Is this based on a stock Google rom? I'm about to be getting this phone tomorrow through Metro, but I hate the LG UX UI and would rather it be vanilla Android 7.
Worked for mine but xposed makes it boot loop...
[How To Root] Huawei P smart - Android 8 - EMUI 8.0.0
The Rooting was tested by me on this device:
Model: FIG-LX1
Board: FIG-L31
Build No.: 8.0.0.128(C432)
EMUI 8 - Android 8
"free device"
Whether the following instructions are based on provider-branding is applicable, I could not test
and therefore advise against it.
Warning: Rooting will void the device warranty. Be careful with the newly acquired root rights.
I recommend this only to users who are fit in handling a custom recovery.
This TWRP is not yet perfect and should be used with caution.
Make sure to backup all data on the SD card. (PC, stick, or HD)
Create a backup with the Huawei Backup App.
Make sure the bootloader is open.
OEM and FRP unlocked,
in the device settings, OEM unlock and USB debugging enabled.
The stock kernel is mandatory.
This is flashed in fast boot mode/ bootloader:
If the device is unroot, it does not need to be done.
fastboot flash kernel kernel.img
(KERNEL.img.header must also be in the adb folder.)
This steps must be followed exactly:
Factoryreset in recovery.
Flashing TWRP in the bootloader: fastboot flash recovery_ramdisk FIGO.img
Boot to TWRP and change the file system of the external SD card:
Wipe> Advanced Wipe> Micro SD card> Repair or Change File System> Change File System> FAT:
Execute with "Swipe to Change".
This change deletes all data on the SD card.
Switch to the Mount menu and unmount all partitions. (remove all hooks)
On the internal and external memory.
Then create a backup:
Backup> Select Storage> Micro SD card> select all partitions,
except cache. Then reboot the device into the system and copy the Magisk Zip to the SD card.
Then install in TWRP: Install> Select Storage> Micro SD card> Magisk-v16(1600).zip> Swipe to confirm Flash.
Is there an error message, installing this Zip via MagiskManager App.
Reboot and if not available, install the MagiskManager App and check the root.
The routing is now complete.
Install Magisk modules only with the app; never with TWRP.
Important:
Never wipe the cache or perform a factoryreset.
[*]Please do not experiment with Xposed. This leads to the bootloop and the Firmware must be completely reinstalled.
[*]Please with each backup, make sure to unmount all partitions again. (internal and external)
Update via Firmwarefinder:
Start Firmwarefinder App and select the appropriate update.
Then on GET AN UPDATE THROUGH DNA.
Then on WITHOUT IMEI.
Availability is displayed.
Now click on REGISTER UPDATE and the registration is displayed.
Then click IN-APP PROXY.
Now activate DNS in the router, enter 81.177.139.39 as addresses and save.
Now go to the WLAN settings on the phone, touch and hold the active connection.
Then change to Network in the menu.
Under Proxy-manual, enter localhost and port 8080 as host names for extended options.
Now only set the IP setting to DHCP. Now start the eRecovery.
Vol.+ and Power with PC connection
There on "Download latest version and recovery".
Then click on "Download and recovery" and register there under Select WIFI.
Now the update is displayed and can be started.
When rebooting, the device lands in the bootloop,
execute a factoryreset in the recovery.
After the update reboot and all changed WLAN settings, also in the router
and reboot it again. If you don't, it'll be over by the time
next OTA update is displayed again and again, since the authorization remains in memory.
Themes-Fix, How to Unbrick, FRP-Unlocking and Bootloader Unlocking I described here. Or follow this thread.
https://www.android-hilfe.de/forum/...t-how-to-root-twrp-root-anleitung.866625.html
It is easy to translate with: https://www.deepl.com/translator
All downloads are here: http://www.mediafire.com/folder/7qdu5je08caya/FIGO
Attention: Changing the oem.info can
cause the phone to lock. OEM/FRP=LOCK
Thread Update 2017-03-28:
A new TWRP is now available. It is version 3.2.1-0.
Original Chinese developer version.
Instructions:
First perform the Huawei data backup.
Flash TWRP per Adb as usual.
Then switch from Chinese to English.
Then assign write and read rights by removing the hook in wipe menu.
Now for security, create a backup without data.
Then Format Data.
Create a new full backup including data. This is possible now that the
formatting is the size of Data = 0.
Now reboot the device and set it up completely new.
Now there is a new and configured data partition.
Then turn OEM and USB back on and boot to TWRP.
Then create a new full backup.
TWRP is now fully functional. Only the MTP mode does not work.
http://www.mediafire.com/file/icpfjhw9eysjlao/FIGO321.img
Good luck!
My special thanks for this original Chinese TWRP for free use,
goes to: "weibo.com/xinkid520", FIRE Team(Developer) and "Team Win Recovery Project".
Despite careful elaboration, I cannot guarantee that the execution of this manual will not cause any damage to the device or operating system and therefore I do not assume any liability for any damage or malfunction of the hardware and software! If you are still unsure, follow these steps: Follow the instructions only if you or your device is subject to any conditions (model number, Android version, etc.). Read the instructions carefully and completely, look up unknown terms. Check downloaded files for viruses. Make a backup of important settings and data. Do not follow the instructions if you do not know what you are doing.
These warnings must be logical. Please process my comments correctly.
Many thanks to: funkyhuawei.club, Jrummy, Chainfire, Stephen (Stericson) +
Jmz Software, TWRP, osmOsis,Topjohnwu and Huawei Technologies Co., Ltd 华为技术有限公司
it's alive!!! FIGO-LX1C10B120
Men I love you!!!
Thank you monster!!!! [emoji8]
thanks !! are we getting a Huawei P smart forum here soon ??
Themes
I cannot apply themes after Root ?
Hello,
could you also provide the vendor.img?
Would be really nice.
Thx in advance
@enjac
Forum habe ich beantragt.
I have applied for a new forum.
@JahSound77
Flash the cust.img. Then it works.
@Destroyer706
Vendor kannst Du nicht mit adb flashen.
You cannot flash Vendor with adb.
Hey, guys, I got a brick. Can someone save/extract the "kernel. img"
from the 122. Or can someone from the sources compose a kernel. img? I don't have a linux pc.
:crying:
I know I can't flash with adb, but fastboot. I made some changes and want to role back easily.
I try to provide you the kernel img
Themes
I followed your instructions.... fastboot flash cust cust. img
But no luck, after reboot... still can't apply themes from the store .
Destroyer706 said:
I know I can't flash with adb, but fastboot. I made some changes and want to role back easily.
I try to provide you the kernel img
Click to expand...
Click to collapse
I uploaded it now. :good:
https://mega.nz/#F!EplhBBzS!UUgXBRC9DRaExP9HY57FKQ
JahSound77 said:
I followed your instructions.... fastboot flash cust cust. img
But no luck, after reboot... still can't apply themes from the store .
Click to expand...
Click to collapse
You must be logged in to the google account and huawei id. Outside Asia. If it doesn't work, wait one or two days. It'll probably work then. It was like that with me.
Thx. I am already compiling the kernel from source
Destroyer706 said:
Thx. I am already compiling the kernel from source
Click to expand...
Click to collapse
This has never happened to me before. I have always been able to rely on TWRP backups. But without.....
ChinHon said:
This has never happened to me before. I have always been able to rely on TWRP backups. But without.....
Click to expand...
Click to collapse
The thing, I didn't think about, is, I don't know how to repack the image.gz after compiling to flashable boot.img as I don't have a existing boot.img.
Maybe you can advice me.
Can you upload oeminfo file for FIG-LX1 8.0.0.122 (C432) please?
I would like to rebrand my Chinese version (FIG-AL10).
Destroyer706 said:
The thing, I didn't think about, is, I don't know how to repack the image.gz after compiling to flashable boot.img as I don't have a existing boot.img.
Maybe you can advice me.
Click to expand...
Click to collapse
There is no boot. img in the 121 firmware anymore. Only the kernel. img. I flashed that. So I have the bootloop and need the img from 122, so I thought you might be able to extract it from your device.
steveleg said:
Can you upload oeminfo file for FIG-LX1 8.0.0.122 (C432) please?
I would like to rebrand my Chinese version (FIG-AL10).
Click to expand...
Click to collapse
Not included in the UPDATE. APP anymore.
See filelist:
Here is the extracted kernel.img. Hope it helps.
https://mega.nz/#!auo2TAaC!7009dtrK8-uBR39s9fNFf2xCQkEzR1EXURSLBabkuk8
steveleg said:
Can you upload oeminfo file for FIG-LX1 8.0.0.122 (C432) please?
I would like to rebrand my Chinese version (FIG-AL10).
Click to expand...
Click to collapse
I found another update in the net. Here the oeminfo as a self-extracting archive.
https://mega.nz/#!5gcygYLL!Wdlvg5jUo2hv6L7DBtAVT1-0z_WRmSBLuBin7iUGjig
Destroyer706 said:
Here is the extracted kernel.img. Hope it helps.
https://mega.nz/#!auo2TAaC!7009dtrK8-uBR39s9fNFf2xCQkEzR1EXURSLBabkuk8
Click to expand...
Click to collapse
Hey bro, FIGO's alive again. Thanks a million. You're the best.
:good::good:
- T W R P 3.2.3-0L [Labs Mod] -
The Swiss Army Knife TWRP Mod for the Axon 7
INTRODUCTION
This was a long term project that I have been using for a long time. I created some scripts to make it easier and faster to flash new roms and quickly restore the daily driver configuration after a testing session. For easier access I modified the TWRP interface to add direct access to the scripts. They had many problems but they were good to me since I created them and I knew how to used them well, but they were not ready for other users.
But the time has come and I have cleaned up most of the annoyances in the tools and in the UI. I have named it "Labs Mod" since it allows me to have my flashing lab on the go, making it extremely easy to switch to different configurations, or recover the daily driver configuration in a few minutes. I believe it is free of major bugs and now I can concentrate on adding new scripts, and more options to the current scripts.
FEATURES
On top of the latest improvements introduced in the official TWRP 3.2.3-0, this mod offers the following added features:
Full vendor partition support (mount, format, wipe, partition image flash, TWRP backup and restore).
Integrated Bootstack backup and restore.
Modem firmware image flash
Reboot to EDL
Button to enable device mapper verity (DM-Verity) enforcing
Button to disable the eMMC write protection (disemmcwp)
Backup/Restore internal storage to the TWRP Backup folder in the external SD. Ensure you have enough free space, free space check is not yet implemented.
EDL backup zip creation. Dual zip use since the resulting zip can be installed using TWRP from the phone or using MiFlash from the computer. It offers the following package creation options:
OS: Operating system (boot, vendor and system).
GPT: Partition table only.
CONFIG: Device config data (IMEI, SN, MAC, etc).
BOOTSTACK: Boot firmware without modem.
MINIMAL: Includes GPT+bootstack+modem+recovery.
EMERGENCY: Minimal + device config.
FULL: Minimal + OS.
FACTORY: Includes Full + config.
Integrated Treble PARTY tool for creating and removing the vendor partition. Vendor partition is required for Treble ROMs. Removal is required for flashing old non-treble roms.
Lockscreen security removal. Removes password, pattern, fingerprint, etc... (in case you forget your password or the security descriptor gets corrupted).
Google account binding removal (in case you want to wipe from within recovery and test with different google accounts).
Bootloader unlock message removal.
New! Expand OS partitions (Vendor and System) to fit the whole partition. Useful for expanding the GSI filesystem for having space for adding GApps or moving apps to system.
New! Deep Wipe function performs a low level wipe of the partition data, erasing the remaining the portions of the eMMC that stored the partition information.
REQUIREMENTS
You need an unlocked Axon 7
INSTALLATION
WARNING, THIS SOFTWARE COULD WIPE ALL THE DATA IN YOUR DEVICE, INCLUDING THE INTERNAL STORAGE.
IT REQUIRES TWRP CUSTOM RECOVERY IN AN UNLOCKED DEVICE, OTHERWISE YOUR DEVICE COULD BE BRICKED.
!!! Whatever you do, it is at your own risk !!!
Follow these steps:
1. Download the TWRP Labs Mod image to your External SD card.
2. Boot to TWRP and select the Install option in the main manu.
3. Tap on the install image button and select your external SD. select the image file you downloaded, select the recovery partition and confirm.
4. Reboot to recovery again to ensure the changes are applied properly.
DOWNLOAD
TWRP_3.2.3-0L_v1.3-Axon7-Labs_Mod.img Flavor of the mod using the official TWRP 3.2.3-0 Kernel binary (Quick boot even when using F2FS, full ADB support, NO B12 Oreo encryption). Use this if you do not plan on using device encryption. Please note that you won't be able to use any tool of this version if your device is encrypted.
TWRP_3.2.3-0L_v1.3.B12-Axon7-Labs_Mod.img Device encryption enabled flavor of the Labs mod. It use the 3.2.1-8 TWRP Kernel binary (Long boot when using F2FS, NO ADB support, B12 Oreo encryption). Use this one if you use device encryption. Please note that this flavor doesn't support adb interface.
NOTES
1. I do not have the time and expertise to dig into kernel hack so this is why I do not provide a unified kernel with fast F2FS boot, ADB and B12 encryption. Probably people developing kernels could help on this issue. It would be nice having a kernel with proper F2FS boot support, B12 encryption and ADB interface. Until then, there is no other way than having 2 flavors depending on the features we require.
SOURCES
C'mon, all of them are scripts!!! the sources are at glance. Use them in your projects but don't forget to give credit to the source !!!
CREDITS
@NFound for the recovery kernel binary supporting Oreo B12 encryption.
@someone755 for the keycheck binary I use in my scripts.
@Chainfire for the TWRP install script hacks.
I hope you enjoy it as much as I did creating and learning throughout the enlightenment journey.
Nice.
Any info on the scripts that are included?
voetbalremco said:
Nice.
Any info on the scripts that are included?
Click to expand...
Click to collapse
Well, all of them are Bourne shell scripts. Some of them are stupidly simple such as those in the Reboot menu, and others in the Advanced > Oki Labs menu are very elaborated, specially:
- PARTY tool: for creating and removing the vendor partition. I released it a few days ago as a separated tool that could well work in other devices.
- EDL backup: for creating EDL flashable backups of a configuration. This tool will probably require a full thread due to the concepts involved. The big feature is that the generated zip can be also flashed using any TWRP.
- Internal Storage Backup/Restore: TWRP doesn't offer a straightforward solution for backing up the internal storage, since it is excluded from the data backup, now it is possible to create a backup and restore the contents of the internal SD in case you want to mess up with the userdata partition. Now this script creates a set of files under the TWRP/backup folder. I am planning to add the possibility of having different backup folders, the same way the GUI treats the data partition.
That is looking very sweet!!!
I'm excited, nice work man!
This is just fantastic!
Well, the non b12 version can't decrypt my device, running los 15.1
also, the lab options did nothing, and when I pressed on PARTY the recovery froze on me.
Hmm.
nfsmw_gr said:
Well, the non b12 version can't decrypt my device, running los 15.1
also, the lab options did nothing, and when I pressed on PARTY the recovery froze on me.
Hmm.
Click to expand...
Click to collapse
Well, that's why in the OP I provide 2 flavors of the mod. If you require decrypt then you have to use the B12. PARTY will not work either if your device is encrypted and you are using the 3.2.3-0L. In your case, using device encryption, you have to use the 3.2.3-0L(B12). You will have all the functions except for ADB. PARTY will work fine too.
Oki said:
Well, that's why in the OP I provide 2 flavors of the mod. If you require decrypt then you have to use the B12. PARTY will not work either if your device is encrypted and you are using the 3.2.3-0L. In your case, using device encryption, you have to use the 3.2.3-0L(B12). You will have all the functions except for ADB. PARTY will work fine too.
Click to expand...
Click to collapse
Got it.
I thought the B12 version was for stock-based ROMs.
Okay I'll flash the other one once I get home, thanks.
nfsmw_gr said:
Got it.
I thought the B12 version was for stock-based ROMs.
Okay I'll flash the other one once I get home, thanks.
Click to expand...
Click to collapse
I'll clarify it a bit more to avoid any misunderstanding. Sorry about that.
Oki said:
I'll clarify it a bit more to avoid any misunderstanding. Sorry about that.
Click to expand...
Click to collapse
Thnx for this tool ! I'll test that this weekend.
It would be great if you'd make a small guide on this with a couple of situations / a possible indepth review with screens / what's possible and what's definitely not possible with this twrp tool.
Anyway seems very promising :good:
Sheesh...i have no external sd card
I have garde flashed your TWRP_3.2.3-0L (B12) -Axon7-Labs_Mod.img but this version says when starting in twrp that my password is wrong. the version 3.2.1.8 of nfound unlocks my password quite normal
Excellent Job! I can't wait to get back my Axon 7 from RMA Services. I'm just going to need sometime to get this running coming from stock MIflavor.
Found bug. Installed the ADB version (thanks Cthulu!), wanted to check the functionality.
Went into the Storage Backup and my phone froze. Rebooting from ADB worked.
EDIT: tried to reproduce the issue - same thing happened 2nd time.
EDIT2: It freezes at any option in Oki Labs
docentore said:
Found bug. Installed the ADB version (thanks Cthulu!), wanted to check the functionality.
Went into the Storage Backup and my phone froze. Rebooting from ADB worked.
EDIT: tried to reproduce the issue - same thing happened 2nd time.
EDIT2: It freezes at any option in Oki Labs
Click to expand...
Click to collapse
I can't duplicate the issue. Are you sure you downloaded it properly? Do you have an SD card? The backup requires an SD card with enough space. Checking for free space is in the todo list for this weekend.
raystef66 said:
Thnx for this tool ! I'll test that this weekend.
Anyway seems very promising :good:
Click to expand...
Click to collapse
Not good enough!
It is downloaded properly. SD card has more than 100gb free space.
As mentioned in edit it is any option that I used in Oki Labs menu that froze my phone
docentore said:
It is downloaded properly. SD card has more than 100gb free space.
As mentioned in edit it is any option that I used in Oki Labs menu that froze my phone
Click to expand...
Click to collapse
What option are you testing? the Storage Backup? What format are you using in your SDCard? Does it happen at the beginning or after a while? Is there any file under TWRP/BACKUPS/STORAGE in your Micro SD after the failure?
@Oki this is amazing. Thank you.
Is it possible to use the recently released kernel sources from los15 to solve the issue of needing two revisions?
Greetings everyone, i go by the name Ainz Ooal Gown. Here i bring you the a guide to flash GSI roms to your V40
Fist things first if you try this and end up with a brick or your device transforms and tries to take over the world; it's not my fault you messed up not me. So just read all of this thread not just the O.P to, and get out of a bind if you reply with "the thread is too long i wont read it please help" don't expect anything short of "there's a search bar use it"
Requirements
Unlocked bootloader
TWRP
Installation guide:
You need to download Lineage OS 16 by Xsavi i recommend the build "lineage-16.0-20190914-UNOFFICIAL-judypn(More LG Stuff use this).zip". Put into your external SD
You need to download a GSI from here https://forum.xda-developers.com/project-treble/trebleenabled-device-development i personally recommend Havoc OS 2.9 and Resurrection Remix 7.0 download the Arm 64 A/B Variant and what ever recommended Gapps Package is linked.
Extract the GSI you downloaded and copy the extracted Folder into your external SD.
Boot into TWRP and check your active Slot in the reboot menu.
Flash LOS 16 Install -> select the ROM zip -> tick Inject TWRP -> Swipe for install (if you're on a, it will be installed to b, and vice versa).
Go to and select Reboot Menu -> select your inactive slot -> select recovery and you should reboot into your inactive slot.
Go to and select Wipe Menu -> Swipe to factory reset
Select install and navigate to your downloaded GSI -> select install image -> select the GSI image -> select the bubble next to "System Image" -> Swipe to Custom Flash.
Select the wipe menu -> select advanced wipe -> select the square next to "System" -> select "Repair or Change File System" -> select Resize File System -> Swipe to Resize.
Install any Gapps and/or Magisk and reboot.
You will probably have to add your Carriers APN settings for Data and MMS to work.
Thanks to: @SGCMarkus @Xsavi
Ainz_Ooal_Gown said:
Hello here i will be uploading the instructions for running GSI Treble Oreo and Pie roms.
At the moment i'm making sure everything is working before i upload those instructions and links please be patient last thing i want to do is make you device a fancy brick.
Click to expand...
Click to collapse
Hello!
Maybe you have a dump system or stock firmware for twrp?
Or maybe there is an instruction for unpacking the kdz firmware
scrubber said:
Hello!
Maybe you have a dump system or stock firmware for twrp?
Or maybe there is an instruction for unpacking the kdz firmware
Click to expand...
Click to collapse
GSI would be without KDZ...
Ainz_Ooal_Gown said:
GSI would be without KDZ...
Click to expand...
Click to collapse
I know this :fingers-crossed:
I really need a dump to port the sound equalizer of the LGv40
Help me please
Here we go??
The Guide is Finished
scrubber said:
Hello!
Maybe you have a dump system or stock firmware for twrp?
Or maybe there is an instruction for unpacking the kdz firmware
Click to expand...
Click to collapse
To unpack a kdz use SALT on linux, works best for me
When I flash LOS16 into my inactive B slot, I am unable to boot into TWRP on slot B because there's some Lineage recovery in place and no option to flash anything and the sideload option doesn't work; I am checking inject TWRP. Am I missing something?
grandomegabosses said:
When I flash LOS16 into my inactive B slot, I am unable to boot into TWRP on slot B because there's some Lineage recovery in place and no option to flash anything and the sideload option doesn't work; I am checking inject TWRP. Am I missing something?
Click to expand...
Click to collapse
If you injected TWRP and made sure it was checked it should've given you TWRP in slot b I'll pm you with what to do give me a sec
On step 9, I get a failed error on resize. The error is:
Code:
/sbin/e2fsck -fp /dev/block/bootdevice/by-name/
system_b process ended with ERROR: 1
Unable to repair system
Anyone know how to fix this?
EDIT: I tried to install gapps after this, but it failed because of insufficient space. Went to check the /system partition size, and it only has 65MB free out of 1637MB. Is there a way to restore the original partition size and start from scratch?
xPreSiDenT said:
On step 9, I get a failed error on resize. The error is:
Anyone know how to fix this?
EDIT: I tried to install gapps after this, but it failed because of insufficient space. Went to check the /system partition size, and it only has 65MB free out of 1637MB. Is there a way to restore the original partition size and start from scratch?
Click to expand...
Click to collapse
You have 2 things to try, 1st. resize again and see if the error happens again... 2nd. Reboot recovery and try once more I've had this happen to me.
Ainz_Ooal_Gown said:
You have 2 things to try, 1st. resize again and see if the error happens again... 2nd. Reboot recovery and try once more I've had this happen to me.
Click to expand...
Click to collapse
I already booted into the rom. Would that affect anything? I'm gonna try anyway.
Edit: It worked. Gapps flashing now. Hopefully all will be well.
xPreSiDenT said:
I already booted into the rom. Would that affect anything? I'm gonna try anyway.
Edit: It worked. Gapps flashing now. Hopefully all will be well.
Click to expand...
Click to collapse
You can always factory reset after flashing gapps to get all your stuff synced and what not...or just add your account after and it may tell you to finish setting up.
Ooo interesting guide. Nice one :good:
Hey guys any workaround to get pie ? For at&t unlocked v40, currently in malaysia , dont have at&t carriers here .
So this would work with havoc 3 probably? I look forward to trying in a little.
Would this guide work with LOS17 that is currently in the ROMs section?
cavcagamgee said:
Would this guide work with LOS17 that is currently in the ROMs section?
Click to expand...
Click to collapse
If you mean Los 17 from SGC Markus? Then nope his rom has its own instructions and if you mean as a base for GSI well you can try but I haven't had any luck.
Is there a way to remove the GSI without reflashing the whole thing? RR is having an issue with the camera that is still in development. Is there any way to revert to the LOS 16 without losing my data?
cavcagamgee said:
Is there a way to remove the GSI without reflashing the whole thing? RR is having an issue with the camera that is still in development. Is there any way to revert to the LOS 16 without losing my data?
Click to expand...
Click to collapse
Restoring a back up would do it...if you made one...