Firmware dump request - Honor 9 Lite Questions & Answers

Hi, I'm looking for someone willing to dump the firmware of the phone for me.
This will help development and I'm currently in need of this firmware, so if you have the phone and want to help, backup the "ODM, VENDOR and SYSTEM " partitions, upload them and send the link to me.
You can do so from TWRP or with an app like this one if you have root access.
Thanks!

There is no TWRP , so many didnt root Honor 9 Lite by taking risk using Kingroot, or some root tools including me. @XePeleato

Right, I'd release a TWRP for you to be able to do it but since there aren't any options to recover and I don't have a Honor 9 Lite myself I don't want to take the little risk.
Anyway I think it should be possible to do something like:
Code:
adb pull /vendor vendor
adb pull /odm odm
VigneshS007 said:
There is no TWRP , so many didnt root Honor 9 Lite by taking risk using Kingroot, or some root tools including me. @XePeleato
Click to expand...
Click to collapse

XePeleato said:
Right, I'd release a TWRP for you to be able to do it but since there aren't any options to recover and I don't have a Honor 9 Lite myself I don't want to take the little risk.
Anyway I think it should be possible to do something like:
Code:
adb pull /vendor vendor
adb pull /odm odm
Click to expand...
Click to collapse
Successfully pulled ODM and System. but vendor failed to get pulled. @XePeleato /vendor is Read only, so its not get pulled.

It's read only and you are reading it, there's another problem. Anyway don't worry, I got the partitions from the P Smart so they shouldn't be very different.
Thanks for your help!
VigneshS007 said:
Successfully pulled ODM and System. but vendor failed to get pulled. @XePeleato /vendor is Read only, so its not get pulled.
Click to expand...
Click to collapse

XePeleato said:
It's read only and you are reading it, there's another problem. Anyway don't worry, I got the partitions from the P Smart so they shouldn't be very different.
Thanks for your help!
Click to expand...
Click to collapse
U dont need my odm partition?

Yeah, why not, ODM is important for some services like the camera.
VigneshS007 said:
U dont need my odm partition?
Click to expand...
Click to collapse

XePeleato said:
Yeah, why not, ODM is important for some services like the camera.
Click to expand...
Click to collapse
Will upload it tonight or tomorrow bro... I am using limited data.. 1GB per day

XePeleato said:
It's read only and you are reading it, there's another problem. Anyway don't worry, I got the partitions from the P Smart so they shouldn't be very different.
Thanks for your help!
Click to expand...
Click to collapse
seems like u can't copy it without root access
folders are still visible due to shell group
but read is only allowed to root owner
adb pull not working.. neither is shell copy

XePeleato said:
Yeah, why not, ODM is important for some services like the camera.
Click to expand...
Click to collapse
Here it is bro https://androidfilehost.com/?fid=746010030569952479

@XePeleato any progress on the twrp ?
Sent from my Honor 9 Lite using XDA Labs

Related

[SHARE] TWRP 2.8.4.0 for galaxy prime

Hello guys this is not my work only a found it and i wanna share it
Bugs:
- the recovery dont mount the external sd-
anything else works fine
Is a tar file, you need to use odin to flash it to the device​
Download​
----->TWRP<-----​
Source : http://4pda.ru/forum/index.php?showtopic=647754&st=40
Thank!
one more hope for custom rom! ^^
flashing this trips knox?
yes. the counter will be trigger
Thanks! It works great...
Not for CRAP. On an encrypted phone will not mount the /data partition. Cant even tell what size it is-reports it as 0b. I have TWRP , the real version on a Note 8 encrypted. When entering recovery you are asked for the password. Whoever did this its probably ok for unencrypted devices but it is not what one expects from the actual program. It appears someone did the recoding without incorporating a very important feature i.e. dealing with encrypted partitions. Jesus what a waste of time. Also as advertised does not mount the external SD card. Garbage.
port to lollipop please
Yes..please port a known good TWRP to Lollipop..my SM-G531M is on 5.1.1
I'd gladly help test, and donate $ USD..
---------- Post added at 10:32 PM ---------- Previous post was at 10:31 PM ----------
expat42451 said:
Not for CRAP. On an encrypted phone will not mount the /data partition. Cant even tell what size it is-reports it as 0b. I have TWRP , the real version on a Note 8 encrypted. When entering recovery you are asked for the password. Whoever did this its probably ok for unencrypted devices but it is not what one expects from the actual program. It appears someone did the recoding without incorporating a very important feature i.e. dealing with encrypted partitions. Jesus what a waste of time. Also as advertised does not mount the external SD card. Garbage.
Click to expand...
Click to collapse
But ofcourse..development takes time..your words are harsh..and what does Jesus have to do with all this.? Please apply SOME kindness..
sent by my: SM-G531M Grand Prime
(Lollipop 5.1.1)
expat42451 said:
Not for CRAP. On an encrypted phone will not mount the /data partition. Cant even tell what size it is-reports it as 0b. I have TWRP , the real version on a Note 8 encrypted. When entering recovery you are asked for the password. Whoever did this its probably ok for unencrypted devices but it is not what one expects from the actual program. It appears someone did the recoding without incorporating a very important feature i.e. dealing with encrypted partitions. Jesus what a waste of time. Also as advertised does not mount the external SD card. Garbage.
Click to expand...
Click to collapse
I don't see you sharing anything dude... show some manners
Sent from my SM-G530H using XDA Free mobile app
Does this work for all models or a specific one
Sent from my SM-G530T1 using Tapatalk
will it work on model SM-G530H running Android 4.4? plus, any risk of bricking while flashing a ROM using it? I know its noobish but have to update to Lollipop by any means
tutibreaker said:
Hello guys this is not my work only a found it and i wanna share it
Bugs:
- the recovery dont mount the external sd-
anything else works fine
Is a tar file, you need to use odin to flash it to the device​
Download​
----->TWRP<-----​
Source : http://4pda.ru/forum/index.php?showtopic=647754&st=40
Click to expand...
Click to collapse
link says nothing found, can you change link for me
i am using SM g 530H
Hello there
Any update on this? the download link is missing :c
Thanks for the work!
Edit: i found an active link on the same rusian forum...
h t t p s : / / y a d i .s k / d/ Q C b aA 1 zL j 6 8 p t => remove spaces ;P
Compatible with SM-G530FZ ? And please update to 3.X.X.X !
link dead

TWRP, ROOT and disable Encryption for Yoga Tab 3 Plus (YT-X703F/L)

TWRP is an open source, community project. TWRP development is done by roughly 4 people at this point. We also have a large support community with many people who are willing to answer questions and help people with their devices either through our IRC channel or on forums like xda-developers.
Team Win was originally formed to work on porting WiMAX to CM7 for the HTC EVO 4G. After our work on the EVO 4G we wanted to work on a project that would work on more devices than just the EVO 4G and we settled on working on a recovery. Today TWRP is the leading custom recovery for Android phones.
A custom recovery is used for installing custom software on your device. This custom software can include smaller modifications like rooting your device or even replacing the firmware of the device with a completely custom "ROM" like OmniROM
Click to expand...
Click to collapse
WARNING!!! Be careful what you do here. One mistake and the device is soft-bricked. I take no responsibility for bricked devices, lost warranty or even OTAs not working!! Booting and/or flashing files from this post is on your own risk.
Requirements
Unlocked bootloader
Yoga Tablet 3 Plus with and without LTE (YT-X703L and YT-X703F) are supported
Known Issues
WARNING! Our device uses dm-verity (verified boot). The system partition should remain read-only. Otherwise a bootloop will occur. You can flash my modified kernel or SuperSU to resolve this but OTA's are no longer possible! You have to restore a factory image or clean system backup to receive OTAs
Potentially DRM keys are lost! Pure unlocking and rooting does not cause the issue. However, there have been reports of lost DRM keys by some unknown action. It is advised to act with caution. Losing your DRM keys can lead to issues with some apps which use DRM which could then have limited or no functionality. E.g. Netflix will only stream in SD (480p). You can check with DRM info if you still have L1 security level which means DRM keys are intact.
Download
Official TWRP for YT-X703F (Wifi): twrp.me
Official TWRP for YT-X703L (LTE): twrp.me
Instructions
Install fastboot and adb on your PC, e.g. from here
Enable developer options and in there select to unlock your bootloader by enabling OEM unlock and enable USB debugging
Connect your PC to your tablet and run
Code:
adb reboot bootloader
using adb on command line. The tablet will reboot into bootloader mode where you will only see the Lenovo logo. Now you use
Code:
fastboot oem unlock-go
to unlock. This will factory reset your device
Setup the tablet again and reboot again to the bootloader
Then run
Code:
fastboot boot twrp-3.2.1-0-yt_x703f.img
to temporarily boot into TWRP. You can also flash if you are sure
Select to keep system read only when TWRP starts to avoid modification which will make OTAs impossible
Optionally flash SuperSU or Magisk in TWRP which should install system less. Keep OEM unlock enabled if you flash or modify anything
Additional Downloads
Backup of original boot, recovery and system image for YT-X703F S000936: MEGA
Modified Boot image with forceencrypt disabled and it switches off CABC fully. You need to factory reset after flashing to format data without encryption boot_yt_x703f_s000963_noforceencrypt_cabc.img (YT-X703F S000963) / boot_yt_x703l_s000963_noforceencrypt_cabc.img (YT-X703L S000963) . Use
Code:
fastboot flash boot boot_yt_x703f_s000963_noforceencrypt_cabc.img
to flash the kernel in fastboot. SuperSU or Magisk should be flashed afterwards if root is desired.
Full factory images with flash tool and instructions YT_X703F_S000689, YT_X703L_S000704, YT_X703F_S000725, YT_X703L_S000725, YT_X703F_S000734, YT_X703L_S000734, YT_X703L_S000744, YT-X703F_S000744, YT-X703L_S000963, YT-X703F_S000963 and OTA updates: MEGA (These images contain the individual boot, recovery and system images that you need to restore from any modification mentioned above)
System Updates (OTA)
In order to successfully apply Lenovo system updates after root you have to restore the original boot, recovery (if you flashed TWRP) and system partitions from your current installed version (e.g. S000744) for your variant of the tablet. This will NOT delete your apps and data but will unroot. Note that OTAs are block based and always check the contents of most of the partitions. This means that all of these partitions (except your data) have to be original and have to be on the exact same version (e.g. S000734) for the update to succeed.
See here for instructions how to restore the partitions with fastboot.
Credits
@pogo1975 - for providing the factory images and fixing the AV sync issue
@launcher20 and @deecept - for testing the LTE version
TeamWin
Changelog
v4:
Now official TWRP with version 3.0.3-0
v3:
enable full disk encryption for access to the encrypted data partition
update TWRP kernel to latest S000725 version
v2:
add support for LTE variant (YT-X703L)
add further mount points to be able to backup more data
Thanks buddy! You are an absolute champion! Tell me what you need me to do and I'll do it before rooting and up load what you need.
Doing good work here.
Who wants to bet on a race between matshias and Lenovo support for who can fix the issues with this device first?
That's great and fast, I'm thinking tab 3 plus is getting hot now.
Great to see there is something moving for the yoga now. You think it will support the lte Version anytime? Or maybee even lineageos?
so you know, i've managed to install xposed thanks to this thread https://forum.xda-developers.com/xposed/unofficial-systemless-xposed-t3388268 and is working well.
wayney said:
Thanks buddy! You are an absolute champion! Tell me what you need me to do and I'll do it before rooting and up load what you need.
Click to expand...
Click to collapse
Well if you haven't modified anything yet then it'd be great if you can boot into TWRP with system read only and then connect via ADB to the tablet with a big SD card inserted which has enough free space (4 GB).
The run the following command
Code:
dd if=/dev/block/bootdevice/by-name/system of=/sdcard1/system.img
This will take a while. Then copy the file system.img from your SD card to a PC and zip it (or 7z, rar). Then upload it
Gogoho said:
Great to see there is something moving for the yoga now. You think it will support the lte Version anytime? Or maybee even lineageos?
Click to expand...
Click to collapse
The LTE variant is probably very similar and it wouldn't be much work. But I don't own the device, so I would need some help. So someone with the LTE variant who is not afraid to experiment with fastboot and adb and who can provide me with the details needed I am happy to compile a TWRP for it.
LineageOS is much much more work than TWRP. For an experienced cyanogenmod/LineageOS dev it is not much of a thing and would take only a few days, especially since it is a Qualcomm device and there are already ports for devices with SD 652. But for me this is new as well so it'll take much longer. As soon as I have time I'll look into it.
matshias said:
Well if you haven't modified anything yet then it'd be great if you can boot into TWRP with system read only and then connect via ADB to the tablet with a big SD card inserted which has enough free space (4 GB).
The run the following command
Code:
dd if=/dev/block/bootdevice/by-name/system of=/sdcard1/system.img
This will take a while. Then copy the file system.img from your SD card to a PC and zip it (or 7z, rar). Then upload it
Click to expand...
Click to collapse
You forgot to tell me to go to adb shell :silly:
DD is currently doing a dump, non interactive so I hope it is still alive, it has been close to 1 hour so far. I will upload the clean image once it is done and await further instructions from you. :good:
I'm in Perth, Western Australia (UTC +8:00), so we might be playing timezone tag.
wayney said:
You forgot to tell me to go to adb shell :silly:
DD is currently doing a dump, non interactive so I hope it is still alive, it has been close to 1 hour so far. I will upload the clean image once it is done and await further instructions from you. :good:
I'm in Perth, Western Australia (UTC +8:00), so we might be playing timezone tag.
Click to expand...
Click to collapse
I think I forgot one more thing. The external SD card needs to be mounted in the TWRP menu. I believe it's not mounted automatically. So the DD command does nothing. It shouldn't take that long. Sorry about that!
It's UTC +1:00 here in Germany
matshias said:
Well if you haven't modified anything yet then it'd be great if you can boot into TWRP with system read only and then connect via ADB to the tablet with a big SD card inserted which has enough free space (4 GB).
The run the following command
Code:
dd if=/dev/block/bootdevice/by-name/system of=/sdcard1/system.img
This will take a while. Then copy the file system.img from your SD card to a PC and zip it (or 7z, rar). Then upload it
Click to expand...
Click to collapse
matshias said:
I think I forgot one more thing. The external SD card needs to be mounted in the TWRP menu. I believe it's not mounted automatically. So the DD command does nothing. It shouldn't take that long. Sorry about that!
It's UTC +1:00 here in Germany
Click to expand...
Click to collapse
I was wondering why nothing was happening after 3 hours.
I have rared it and it is uploading at the moment, it is going to take 5 hours.
wayney said:
I was wondering why nothing was happening after 3 hours.
I have rared it and it is uploading at the moment, it is going to take 5 hours.
Click to expand...
Click to collapse
Wow ok. Well thanks a lot for your efforts. This will not just help me but anyone with modified system partition to get OTAs.
Unmodified System Image
Here is the vanilla image via DD of the system partition.
Software Version : YT-X703F_160817
Android Version : 6.0.1
Security Patch Level : 1 September 2016
Kernel Version : 3.10.84-perf
Build Number : YT-X703F_S000689_161105_ROW
Tablet purchased retail from Australia.
https://mega.nz/#!bos0GIjI!vcO9dpSJX...Grjb7k3z6mjnqA
wayney said:
Here is the vanilla image via DD of the system partition.
Software Version : YT-X703F_160817
Android Version : 6.0.1
Security Patch Level : 1 September 2016
Kernel Version : 3.10.84-perf
Build Number : YT-X703F_S000689_161105_ROW
Tablet purchased retail from Australia.
https://mega.nz/#!bos0GIjI
Click to expand...
Click to collapse
Perfect!!
Can you send me the key for the download via PM or post it?
matshias said:
Perfect!!
Can you send me the key for the download via PM or post it?
Click to expand...
Click to collapse
Let's try that again.
https://mega.nz/#!bos0GIjI!vcO9dpSJXp6cKtdH07Kt0RSaqpqQ7Grjb7k3z6mjnqA
matshias said:
Wow ok. Well thanks a lot for your efforts. This will not just help me but anyone with modified system partition to get OTAs.
Click to expand...
Click to collapse
Thank you guys for spending times on it, it would be wonderful if Lenovo people do thing like this way, too.
In the depths of the Russian Internet i have found this
YT-X703F_USR_S000689_1611051146_Q00237_ROW.zip
https://drive.google.com/drive/folders/0B_jGuhC9WsNfYUZzZmhRY2NhQlU?usp=sharing
it is supose to be complete image to Wifi-Version.
I HAVE NOT FLASHED THIS YET. Do it on your risk.
pogo1975 said:
In the depths of the Russian Internet i have found this
YT-X703F_USR_S000689_1611051146_Q00237_ROW.zip
https://drive.google.com/drive/folders/0B_jGuhC9WsNfYUZzZmhRY2NhQlU?usp=sharing
it is supose to be complete image to Wifi-Version.
I HAVE NOT FLASHED THIS YET. Do it on your risk.
Click to expand...
Click to collapse
Hahaha got to love the dark corner of the Russian internets :laugh:
pogo1975 said:
In the depths of the Russian Internet i have found this
YT-X703F_USR_S000689_1611051146_Q00237_ROW.zip
https://drive.google.com/drive/folders/0B_jGuhC9WsNfYUZzZmhRY2NhQlU?usp=sharing
it is supose to be complete image to Wifi-Version.
I HAVE NOT FLASHED THIS YET. Do it on your risk.
Click to expand...
Click to collapse
If that's real it would have saved me a lot of time finding the loophole in the system to extract the boot and recovery image. But still a great find which will rescue some soft-bricked devices.
matshias said:
If that's real it would have saved me a lot of time finding the loophole in the system to extract the boot and recovery image. But still a great find which will rescue some soft-bricked devices.
Click to expand...
Click to collapse
so long as it's safe and not loaded with malware...

[MOD][RECOVERY] Working TWRP recovery for Pixel on Android O

EDIT:
My mod is not needed anymore!
Everything is fine now, the TWRP guys made the decryption in their latest version (3.2.1 at the time of this post) possible, even with android 8.1.
Go ahead and download it from twrp.me. and don't forget to thank them, because it was a LOT of hard work! Google made big changes under the hood, and it took a lot of patience and endurance to adapt.
Big up to @Dees_Troy and the rest of the team!
Hey People! It seems, that after weeks of trying, hundreds of reboots, countless tests, I can present you a working version of TWRP 3.1. for the Pixel with Android O Developer Preview 4.
Edit: and it also works on the final Android O.
But let's not rush into things.. First of all a DISCLAIMER:
This is a TEST release, you are using it at your own risk. If your phone gets damaged in any way, nobody else but you can be held responsible. If you do not agree, stop reading and don't use this mod!
I would like to give credits to the people who helped me, and made all this possible:
First of all, @Chainfire, who did more then you would think Among other things, he was the one who showed me how to use tune2fs and reset quotas on /data, which makes it possible to mount it. Without this , I couldn't even start. So thank you very much!
Of course where would we be without @Dees_Troy and the other TWRP guys (i.e.: CaptainThrowback, nkk71, steadfasterX, _that...), who created and maintain TWRP, and demonstrated some serious patience on IRC , where I was asking them for help. For days. For weeks Thank you guys! You helped a lot!
What is this "mod"?
This is stock, normal TWRP 3.1 compiled from source, for the Google Pixel (sailfish) with some small tweaks to make it possible to mount /data, and decrypt it.
Can you use it on the Pixel XL (marlin)?
I don't know... I don't have a Pixel XL to test. If you want, you can buy me one and I'll be glad to compile, prepare, and test it for you.
EDIT: Chainfire "tested a few zip installs" and those were working for him on the Pixel XL, so maybe it is worth a try guys! - thanks for this CF! -
What happens behind the curtains?
I made some modifications to a script that prepared stuff to make the decryption of /data possible. Now it does a bit more... It copies libraries and binaries from /system and /vendor partitions to /system and /vendor folders, so they can be un-mounted (needed for backup). Basically, the recovery uses the real files/commands of the currently installed android os to prepare and mount /data partition (to make it ready for decrypting).
I updated the fstab file, so TWRP knows what to mount where.
I also changed a few things in the order how services are started during TWRP boot.
This is mostly everything. I was only changing external parts/files/tools of TWRP. The original code, the core is left intact.
How well was it tested?
I have only 1 phone, the pixel. I have only tested on this one phone, and it works for me. Of course I can't be certain it will for you, but you will see if you try it
I tested decrypting of /data, flashing a zip file, making a backup. Didn't dare to test restore yet
How can you try it?
This is not a flashable zip, this is a bootable image. So to use it, you have to put the phone into fastboot mode, and fastboot boot the image.
1. reboot the phone into fastboot mode
- if you have adb: adb reboot bootloader
- if you don't, then turn off the phone and press volume down while turning it on
2. open a terminal and issue the following command:
Code:
fastboot boot <path to your twrp image here>
(for example: fastboot boot /home/you/twrp-3-1-pixel-bootable-mod.img)
What about a flashable zip?
I had some quick test runs only for now, and it was working for me (flashing the zip, rebooting to recovery) until I flashed supersu, or rebooted the phone to android. I will need some more time to work on this, and see what is going wrong. So please be patient, I will try to do something, but can't guarantee it will work. Soon. Anytime.
Enough of the talk, you can download the image file from here:
https://www.androidfilehost.com/?fid=745425885120753892
Good luck and don't forget to report back!
I will try to do my best to help you, but I have a family and I inted to spend most of my time with them. Please be patient!
If you like my work, you can buy me a beer, it is damn hot here right now, and I would love to drink one
Edit: Because I'm a noob and couldn't push my changes to the gerrits, I created a diff file with all my changes.
If you are checking it, please take into account, that I was in a hurry, and there was a point where I said "F*** it!" and I copied ALL the libs and bins from /system and /vendor
Anyway, here it is : https://www.androidfilehost.com/?fid=817550096634795329
reserved...
I've only tested installing a few ZIPs but that seems to work fine (on Pixel XL).
I've looked at your modified script and I see the tune2fs commands and copying /system and /vendor files, but I don't see where you actually mount/decrypt /data. Or is this still handled by the TWRP binary?
Chainfire said:
I've only tested installing a few ZIPs but that seems to work fine (on Pixel XL).
I've looked at your modified script and I see the tune2fs commands and copying /system and /vendor files, but I don't see where you actually mount/decrypt /data. Or is this still handled by the TWRP binary?
Click to expand...
Click to collapse
Hi Chainfire!
I'm happy to hear, that it works on the Pixel XL
Thanks for the confirmation!
Yes, decrypting the data partition is still being handled by TWRP. I added some debug lines to the C code, you can see it in /tmp/recovery.log.
The main issue was mounting /data first, and I had to enable file based encryption instead of vold...
Thanks, I'll have to make time in the very near future to prep my phone for a fresh install.
I haven't had a need to host Android files since I moved on from LG devices before my HTC 10 and Pixel, but I highly recommend Android File Host with optional FTP access on request.
If you prefer a regular cloud service, I recommend Mega. They give 50GB for free and they have an Android app as well as Windows. Possibly others (Mac?), not sure.
My God this is amazing. Thank you so so much.
bbender716 said:
My God this is amazing. Thank you so so much.
Click to expand...
Click to collapse
You are welcome! Try to imagine how happy I was when I first succeeded At that time I had to issue 5 commands after boot, and restart it twice to make it work
But I was already able to flash ARISE sound mod and I almost cried of joy
roirraW "edor" ehT said:
Thanks, I'll have to make time in the very near future to prep my phone for a fresh install.
I haven't had a need to host Android files since I moved on from LG devices before my HTC 10 and Pixel, but I highly recommend Android File Host with optional FTP access on request.
If you prefer a regular cloud service, I recommend Mega. They give 50GB for free and they have an Android app as well as Windows. Possibly others (Mac?), not sure.
Click to expand...
Click to collapse
Ahh I haven't thought of Android File Host! Although I downloaded gigbytes of roms, and mods from there already
Thanks for the tip!
is my path is cd/adb what command i write before twrp.img
gubacsek said:
Hey People! It seems, that after weeks of trying, hundreds of reboots, countless tests, I can present you a working version of TWRP 3.1. for the Pixel with Android O Developer Preview 4.
But let's not rush into things.. First of all a DISCLAIMER:
This is a TEST release, you are using it at your own risk. If your phone gets damaged in any way, nobody else but you can be held responsible. If you do not agree, stop reading and don't use this mod!
I would like to give credits to the people who helped me, and made all this possible:
First of all, @Chainfire, who did more then you would think Among other things, he was the one who showed me how to use tune2fs and reset quotas on /data, which makes it possible to mount it. Without this , I couldn't even start. So thank you very much!
Of course where would we be without @Dees_Troy and the other TWRP guys (i.e.: CaptainThrowback, nkk71, steadfasterX...), who created and maintain TWRP, and demonstrated some serious patience on IRC , where I was asking them for help. For days. For weeks Thank you guys! You helped a lot!
What is this "mod"?
This is stock, normal TWRP 3.1 compiled from source, for the Google Pixel (sailfish) with some small tweaks to make it possible to mount /data, and decrypt it.
Can you use it on the Pixel XL (marlin)?
I don't know... I don't have a Pixel XL to test. If you want, you can buy me one and I'll be glad to compile, prepare, and test it for you.
EDIT: Chainfire "tested a few zip installs" and those were working for him on the Pixel XL, so maybe it is worth a try guys! - thanks for this CF! -
What happens behind the curtains?
I made some modifications to a script that prepared stuff to make the decryption of /data possible. Now it does a bit more... It copies libraries and binaries from /system and /vendor partitions to /system and /vendor folders, so they can be un-mounted (needed for backup). Basically, the recovery uses the real files/commands of the currently installed android os to prepare and mount /data partition (to make it ready for decrypting).
I updated the fstab file, so TWRP knows what to mount where.
I also changed a few things in the order how services are started during TWRP boot.
This is mostly everything. I was only changing external parts/files/tools of TWRP. The original code, the core is left intact.
How well was it tested?
I have only 1 phone, the pixel. I have only tested on this one phone, and it works for me. Of course I can't be certain it will for you, but you will see if you try it
I tested decrypting of /data, flashing a zip file, making a backup. Didn't dare to test restore yet
How can you try it?
This is not a flashable zip, this is a bootable image. So to use it, you have to put the phone into fastboot mode, and fastboot boot the image.
1. reboot the phone into fastboot mode
- if you have adb: adb reboot bootloader
- if you don't, then turn off the phone and press volume down while turning it on
2. open a terminal and issue the following command:
Code:
fastboot boot <path to your twrp image here>
(for example: fastboot boot /home/you/twrp-3-1-pixel-bootable-mod.img)
What about a flashable zip?
I had some quick test runs only for now, and it was working for me (flashing the zip, rebooting to recovery) until I flashed supersu, or rebooted the phone to android. I will need some more time to work on this, and see what is going wrong. So please be patient, I will try to do something, but can't guarantee it will work. Soon. Anytime.
Enough of the talk, you can download the image file from here:
(If you know a good file hosting service, please let me know):
https://drive.google.com/open?id=0BycCshQzwZmBaUtialo5Y01Dc3c
Good luck and don't forget to report back!
I will try to do my best to help you, but I have a family and I inted to spend most of my time with them. Please be patient!
If you like my work, you can buy me a beer, it is damn hot here right now, and I would love to drink one
Click to expand...
Click to collapse
Any help don't want reistall all again!!!!
is my twro .img is on cd/adb what command i write to flash this beauty?
Well, I was able to boot to TWRP, and successfully flashed WETA audio mod. However, upon rebooting, the V4A app wasn't there.
gubacsek said:
You are welcome! Try to imagine how happy I was when I first succeeded At that time I had to issue 5 commands after boot, and restart it twice to make it work
But I was already able to flash ARISE sound mod and I almost cried of joy
Click to expand...
Click to collapse
Hilariously, the ARISE sound mod is exactly why I had flashed back from DP4. I'm close with those guys and they know their stuff for sure.
mngdew said:
Well, I was able to boot to TWRP, and successfully flashed WETA audio mod. However, upon rebooting, the V4A app wasn't there.
Click to expand...
Click to collapse
Same here
I just tried ARISE. This one installs, but failed to update the driver.
mngdew said:
I just tried ARISE. This one installs, but failed to update the driver.
Click to expand...
Click to collapse
Interesting. I also tried side loading the v4a apk packaged in WETA, granted root permissions and it attempted to install drivers but failed.
mngdew said:
Well, I was able to boot to TWRP, and successfully flashed WETA audio mod. However, upon rebooting, the V4A app wasn't there.
Click to expand...
Click to collapse
maflin18 said:
Same here
Click to expand...
Click to collapse
mngdew said:
I just tried ARISE. This one installs, but failed to update the driver.
Click to expand...
Click to collapse
maflin18 said:
Interesting. I also tried side loading the v4a apk packaged in WETA, granted root permissions and it attempted to install drivers but failed.
Click to expand...
Click to collapse
Guys! Check the free space on /system! On Android O DP4 I had about 100MB free space, and I had to remove some **** before flashing anything. Try /system/app and Pinyin input, Chinese input apks....
The recovery is fine...
What? I don't know what I did differently this time, but the the app keeps asking to install the driver again and again everytime I open the app even though there was a successful driver installation notification.
gubacsek said:
You are welcome! Try to imagine how happy I was when I first succeeded At that time I had to issue 5 commands after boot, and restart it twice to make it work
But I was already able to flash ARISE sound mod and I almost cried of joy
Click to expand...
Click to collapse
Can u pls send link for arise which u have flash...
kiran8631 said:
Can u pls send link for arise which u have flash...
Click to expand...
Click to collapse
It was this one:
https://drive.google.com/file/d/0BycCshQzwZmBRFRJSXAwTDhHcm8/view?usp=drivesdk
At last! I got it working.
gubacsek said:
It was this one:
https://drive.google.com/file/d/0BycCshQzwZmBRFRJSXAwTDhHcm8/view?usp=drivesdk
Click to expand...
Click to collapse
Facing this issue...

[recovery] twrp 3.2.1-0 oreo

Team Win Recovery Project 3.2.1-0 for OREO only (fromfuture edition)
Hi there,
here my latest TWRP 3.2.1-0 Build for Oreo.
HOW-TO INSTALL:
1. Unlocked bootloader is required!
2. Download the TWRP recovery
3. Boot into fastboot and type : fastboot flash recovery_ramdisk TWRP_3.2.1-0_OREO.img
4. Type: fastboot reboot
Now you are able to backup and restore ramdisk,kernel or system
Download:
https://www.androidfilehost.com/?fid=962157660013071267
I'm not responsible for any bricks.
Thanks to:
@ante0 for testing
@Tkkg1994
Blackball said:
Team Win Recovery Project 3.2.1-0 for OREO only (fromfuture edition)
Click to expand...
Click to collapse
Thank you.
Any bugs?
Can it save settings (language, timezone and etc ) ?
Can it backup data and additional partitions?
Is it compatible with SuperSU package?
Is it compatible with Mate 9 Pro?
You can backup other partitions too. Maybe version doesn't work.
Data backup doesn't work right now (huawei encryption is hard to decrypt)
Wait for custom roms to backup data with twrp.
It's only tested with mate 9.
Gesendet von meinem VKY-L29 mit Tapatalk
Thanks download now
Oh, thanks a lot.
BTW, can you write a brief about how to compile twrp for huawei oreo devices? Since there are too many differences between this on huawei devices.(i.e. where's the BoardConfig.mk)
It's very hard to dig out each difference to make it work on huawei oreo devices.
You'll help us a lot to share your method to compile twrp for huawei oreo devices.
Anyway thanks a lot.
dawnc said:
Oh, thanks a lot.
BTW, can you write a brief about how to compile twrp for huawei oreo devices? Since there are too many differences between this on huawei devices.(i.e. where's the BoardConfig.mk)
It's very hard to dig out each difference to make it work on huawei oreo devices.
You'll help us a lot to share your method to compile twrp for huawei oreo devices.
Anyway thanks a lot.
Click to expand...
Click to collapse
It seems to go fine when the device has Twrp on Nougat, then you can use the same Twrp for Oreo (fstab.{device} and fstab.recovery needs updating if you want all previous features and you need to replace {filename}.img-zImage in the extracted split_img/ folder with an empty file). But if works even without updating fstab.
Devices that release with Oreo seem impossible to get a working Twrp.
To backup data you need to remove fileencryption in /vendor/etc/fstab.hi3660 and then format data in TWRP.
Code:
To build Twrp, example (Linux):
cd ~
mkdir twrp
cd twrp
repo init -u https://github.com/omnirom/android.git -b android-7.1
repo sync
mkdir devices
mkdir huawei
git clone https://github.com/Tkkg1994/android_device_hi3660
mv android_device_hi3660 hi3660
cd ~/twrp
. build/envsetup.sh
lunch omni_hi3660-eng && mka recoveryimage
ante0 said:
It seems to go fine when the device has Twrp on Nougat, then you can use the same Twrp for Oreo (fstab.{device} and fstab.recovery needs updating if you want all previous features). But if works even without updating fstab.
Devices that release with Oreo seem impossible to get a working Twrp.
To backup data you need to remove fileencryption in /vendor/etc/fstab.hi3660 and then format data in TWRP.
Click to expand...
Click to collapse
Honor View 10(V10) is released with oreo.
---------- Post added at 12:28 AM ---------- Previous post was at 12:25 AM ----------
ante0 said:
It seems to go fine when the device has Twrp on Nougat, then you can use the same Twrp for Oreo (fstab.{device} and fstab.recovery needs updating if you want all previous features). But if works even without updating fstab.
Devices that release with Oreo seem impossible to get a working Twrp.
To backup data you need to remove fileencryption in /vendor/etc/fstab.hi3660 and then format data in TWRP.
Click to expand...
Click to collapse
But i've found a twrp for mate-10 lite here, which was release here
But mate 10 is released with oreo.
dawnc said:
Honor View 10(V10) is released with oreo.
---------- Post added at 12:28 AM ---------- Previous post was at 12:25 AM ----------
But i've found a twrp for mate-10 lite here, which was release here
But mate 10 is released with oreo.
Click to expand...
Click to collapse
Mate 10 Lite (aka Nova i2, aka Honor 9i) came out with Nougat, so Twrp works fine on that phone).
Mate 10, and Pro, released with Oreo yes.
I've built Twrp for that but it just reboots right after the "Your device is unlocked" message.
See my updated post above if you want to test building for V10.
You will have to replace Image with an empty file named Image, as Oreo has kernel (zImage) in a separate partition.
ante0 said:
Mate 10 Lite (aka Nova i2, aka Honor 9i) came out with Nougat, so Twrp works fine on that phone).
Mate 10, and Pro, released with Oreo yes.
I've built Twrp for that but it just reboots right after the "Your device is unlocked" message.
See my updated post above if you want to test building for V10.
You will have to replace Image with an empty file named Image, as Oreo has kernel (zImage) in a separate partition.
Click to expand...
Click to collapse
Oh~
I'll give another try.
But where's BoardConfig.mk? Is it placed somewhere is the stock partition? I've unpacked ramdisk.img/recovery_ramdisk.img/vendor.img/system.img, but couldn't find it.
dawnc said:
Oh~
I'll give another try.
But where's BoardConfig.mk? Is it placed somewhere is the stock partition? I've unpacked ramdisk.img/recovery_ramdisk.img/vendor.img/system.img, but couldn't find it.
Click to expand...
Click to collapse
You make it. It's in the tree by Tkkg1994 but you need to edit it.
5[Strogino] said:
Thank you.
Any bugs?
Can it save settings (language, timezone and etc ) ?
Can it backup data and additional partitions?
Is it compatible with SuperSU package?
Is it compatible with Mate 9 Pro?
Click to expand...
Click to collapse
Actually. If you are encrypted, could you check if it decrypts correctly now in TWRP?
I'm encrypted and I'm backing up /data. Just want to see if it's just me...
False alarm. It got half way and stopped with error 255.
/data/data is still encrypted. /data/app is not.
/sdcard is encrypted.
My Twrp can't decrypt internal storage.
Next days I can test if it's work with your Tipp about vendor and fstab.
Blackball said:
My Twrp can't decrypt internal storage.
Next days I can test if it's work with your Tipp about vendor and fstab.
Click to expand...
Click to collapse
If you just format data, it stays decrypted until you reboot. So you need to remove fileencryption from /vendor/etc/fstab.yourDevice.
In Nougat this file was patched automatically by SuperSu 2.82 SR2+ and Magisk 13.x - 14.x. (can't remember exactly when it was removed from Magisk). Anyhow, the fstab was in the boot image then.
what's the difference for 3.0.3 and others twrp ?
Awesome! Thanks for your hard work man!
aureliomilitao said:
what's the difference for 3.0.3 and others twrp ?
Click to expand...
Click to collapse
Just newer versions. You could read TWRP changelog to see what's new. https://twrp.me
when i do this procedure i get this error what am i doing wrong?
c:\adb>fastboot flash recovery_ramdisk TWRP_3.2.1-0_OREO.img
target reported max download size of 471859200 bytes
sending 'recovery_ramdisk' (16494 KB)...
OKAY [ 0.591s]
writing 'recovery_ramdisk'...
FAILED (remote: partition length get error)
finished. total time: 0.867s
Thanks for the help
Ur running system is oreo?
Gesendet von meinem VKY-L29 mit Tapatalk
Blackball said:
Ur running system is oreo?
Gesendet von meinem VKY-L29 mit Tapatalk
Click to expand...
Click to collapse
not yet wanted to load that twrp so i could just do the update to oreo! without having to load a modified twrp to do the update
It's a oreo twrp.
You need a nougat twrp
Gesendet von meinem VKY-L29 mit Tapatalk

How to Install SM-N950F Custom ROM on SM-N950N?

Hey guys,
I'm looking to flash the unlocked and unbranded UK CSC (BTN I think it is) on my 256GB SM-N950N Note 8. However, doing that breaks Bixby (it'll keep say, "Ok, I canceled it") and other region-locked Samsung services as they detect my device model number is not in the region, and I wouldn't be able to get the version for the international (non-korean) region through the PlayStore/Galaxy App Store, again, due to my model number being SM-N950N. So, I was looking to just flash an SM-N950F ROM on it, which should address all of the region problems.
I tried doing exactly this with @_alexndr's latest SM-N950F Oreo (don't like Android pie) DevBase ROM in TWRP. Skipped the variant check (using the "skipvc" option on the ZIP file), however, I keep getting the following error message during the installation process
Code:
Installing system, please wait...
Failed to flash system.img -> /dev/block/sda15
Failed! Can't mount new /system, aborting!
[COLOR="Red"]Update process ended with ERROR: 1
Error installing zip file '/external_sd/Download/BTU_skipvc_N950FXXS5CSA1_DevBase_v6.0.zip'[/COLOR]
Updating partition details...
[COLOR="red"]Failed to mount '/system' (invalid argument)[/COLOR]
...done
_alexndr stated, here in that his DevBase thread, that flashing the SM-N950F ROM on the SM-N950N isn't that straight forward due to different system partition size. So, I thought if I manually resize my Note 8's partitions via TWRP, that should address the issue and wouldn't require any change on the devs part.
Please could someone kindly inform me of the proper procedure to resizing my SM-N950N partitions so that I can flash the latest SM-N950F Oreo (again don't like Android pie) DevBase ROM on it? Thanks in advance.
Bump
Bump^2, any suggestions?
MrElectrifyer said:
Bump^2, any suggestions?
Click to expand...
Click to collapse
Eeeh.. I wouldn't. But if you wanna know, here.
We did this for Team Pixel Pie for the G950N/955N.
-Unzip your desired ROM
- Go to META-INF/com/google/android
- Open updater-script and add your N950N model here. Where you put it I don't know, but I am sure you can figure it out.
- Re-zip and flash.
Just don't expect support from the ROM developer(s) if N models isn't officially supported. That should do the trick. Resizing your /system partition, I forgot.
Edit: I found the old method I did in adb shell for the Pixel 3 for A/B GSIs, making /system big enough to flash gapps. Don't guarentee this to work, and if you're unsure, don't do it.
adb shell
resize2fs /dev/block/by-name/system$(getprop ro.boot.slot_suffix)
Thanks for the response.
Visera said:
Eeeh.. I wouldn't. But if you wanna know, here.
We did this for Team Pixel Pie for the G950N/955N.
-Unzip your desired ROM
- Go to META-INF/com/google/android
- Open updater-script and add your N950N model here. Where you put it I don't know, but I am sure you can figure it out.
- Re-zip and flash.
Just don't expect support from the ROM developer(s) if N models isn't officially supported. That should do the trick.
Click to expand...
Click to collapse
The dev already allows simply skipping variant check to do this part. Thanks for the information though.
Visera said:
Edit: I found the old method I did in adb shell for the Pixel 3 for A/B GSIs, making /system big enough to flash gapps. Don't guarentee this to work, and if you're unsure, don't do it.
adb shell
resize2fs /dev/block/by-name/system$(getprop ro.boot.slot_suffix)
Click to expand...
Click to collapse
Hmm, yeah I'm not exactly sure of what size to increase it to, and where in the above ADB command do I input the size?
Bump, any other suggestions?
Updated original post with the specific error message I got after re-attempting again.
MrElectrifyer said:
Bump, any other suggestions?
Updated original post with the specific error message I got after re-attempting again.
Click to expand...
Click to collapse
Sounds more like /system than the rom.
OEM Deleted ?

Categories

Resources