yashsingh1/xdaforums huggingface dataset:
[Lenovo Legion Y700] rwan:
Hi,

I have a problem when flashing.

2023-06-09 19:04:27.039 ************************************************
2023-06-09 19:04:27.039 C:\Program Files (x86)\Qualcomm\QPST\bin\fh_loader.exe --port=\\.\COM6 --sendxml=contents.xml --search_path=C:\Users\rwan0\Downloads\Nouveaudossier\TB-9707F_CN_OPEN_USER_Q00235.1_R_ZUI_13.0.586_ST_220222_qpst --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs
2023-06-09 19:04:27.040 ************************************************
2023-06-09 19:04:27.041
2023-06-09 19:04:27.041 19:04:27: INFO: Current working dir (cwd): C:\Users\rwan0\AppData\Roaming\Qualcomm\QFIL\COMPORT_6\
2023-06-09 19:04:27.042 19:04:27: INFO: Showing network mappings to allow debugging
2023-06-09 19:04:27.042 19:04:27: INFO:
2023-06-09 19:04:27.042
2023-06-09 19:04:27.043
2023-06-09 19:04:27.043
2023-06-09 19:04:27.044 19:04:27: INFO: Trying to store 'contents.xml' in string table
2023-06-09 19:04:27.044 19:04:27: INFO: Looking for file 'contents.xml'
2023-06-09 19:04:27.045 19:04:27: INFO: **INFO Unrecognized tag 'product_flavors', so I will simply look for ACK or NAK
2023-06-09 19:04:27.046
2023-06-09 19:04:27.046
2023-06-09 19:04:27.047 _____
2023-06-09 19:04:27.047 | ___|
2023-06-09 19:04:27.048 | |__ _ __ _ __ ___ _ __
2023-06-09 19:04:27.048 | __| '__| '__/ _ \| '__|
2023-06-09 19:04:27.048 | |__| | | | | (_) | |
2023-06-09 19:04:27.049 \____/_| |_| \___/|_|
2023-06-09 19:04:27.049
2023-06-09 19:04:27.049
2023-06-09 19:04:27.050 19:04:27: {ERROR: XML not formed correctly!!
2023-06-09 19:04:27.050
2023-06-09 19:04:27.051
2023-06-09 19:04:27.051 You probably have *extra* spaces near _
2023-06-09 19:04:27.051 in your XML file
2023-06-09 19:04:27.052
2023-06-09 19:04:27.052 ** You need to manually edit this file and correct this **
2023-06-09 19:04:27.053
2023-06-09 19:04:27.053
2023-06-09 19:04:27.054 NOTE: The XML parsing is limited.
2023-06-09 19:04:27.054
2023-06-09 19:04:27.056 attribute="value" <--- This program expects this
2023-06-09 19:04:27.057 attribute = "value" <--- Not this (Notice the *extra* spaces here)
2023-06-09 19:04:27.057
2023-06-09 19:04:27.057 }
2023-06-09 19:04:27.057
2023-06-09 19:04:27.059 Writing log to 'C:\Users\rwan0\AppData\Roaming\Qualcomm\QFIL\COMPORT_6\port_trace.txt', might take a minute
2023-06-09 19:04:27.059
2023-06-09 19:04:27.060
2023-06-09 19:04:27.060 Log is 'C:\Users\rwan0\AppData\Roaming\Qualcomm\QFIL\COMPORT_6\port_trace.txt'
2023-06-09 19:04:27.061
2023-06-09 19:04:27.061 Download Fail:FireHose Fail:FHLoader Fail:Process fail
2023-06-09 19:04:27.062 Finish Download

Do you have a solution ?
[Lenovo Legion Y700] vulinhlc:
How to flash this rom? Can you give me link rom? Please
[Lenovo Legion Y700] adek89:
Hello, I am planning to buy this tablet but I have a few questions.

1 - if I buy a global rom, will I be able to do root immediately, or will I have to upload the original Chinese soft first?

2 - after uploading this cdroid 8.5,

I will have the Polish language and I will not have any bushes? could someone check it for me? having a swiftkey keyboard, and writing in Polish (pl) will it underline the text in red or not?
[Lenovo Legion Y700] mkaiser2:
Can someone please pin a post to the top of this thread, that contains links to the latest roms?

e.g. crDroid and Elixir
[Lenovo Legion Y700] adek89:
I enter the command fastboot flash system and nothing happens, what should I still add? i have adb and fastboot installed in pc, tablet has global rom unlocked
[Lenovo Legion Y700] adek89:
Does anyone using cdroid have this too? I use nova launcher and it shows me something from stock launcher, like I turn off stock launcher before adb, then the bottom gesture doesn't work. and with this launcher stock I have something like this at the bottom ...
[Lenovo Legion Y700] king-totti85:
Does anyone have link to stock global rom, my tablet is bricked I tried to flash Chinese rom, flashed successfully but the device doesn't boot system.. it goes back to edl
[Lenovo Legion Y700] adek89:
The second link is probably Global Rom, at least that's what the name suggests to me

Lenovo Legion Y700 TB-9707F Stock Firmware ROM (Flash File)

Download the official Lenovo Legion Y700 TB-9707F Stock Firmware ROM (Flash File) for your Lenovo Mobile. We also provide all other Lenovo Stock Firmware for free.

firmwarefile.com
[Lenovo Legion Y700] king-totti85:
thanks will check it tomorrow
[Lenovo Legion Y700] stokedcrf:
I'm still rocking crdroid for many months now, it's great.

However, does anyone else have some weird black screen issues when the device battery dies and you plug it in to charge? My screen goes black but the back light is still on.

Requires a hard reset to fix?
[Lenovo Legion Y700] adek89:
Does anyone else have that? I can not select any symbol type dot, or, question mark because the transition between applications is enabled, you can, somehow turn off? The same I have as, turn on an online movie, it's a bar, to scroll is not usable because it turns on the transition of the application. How do I turn it off?

And in addition, every few hours I have to allow again, for example, installing applications from unknown sources or other options such as for, ampre applications, although the permissions were dale it is reset, reset.
[Lenovo Legion Y700] jonsnow69:
Edit: Got it running on 8.13 crDroid, rooted with Magisk. So far so good.

---

I am new to Y700. It's an 8/128 (2022). I have so called Global FW due to cheaper price, so need to flash FW.

I have read through most of the Y700 posts. I plan to install cdDroid because I want all round tablet and don't need cutting edge performance. Also privacy, keeping background apps alive etc.

I have a few questions. I understand I should flash China FW before crDroid. Should I just flash original China FW (13.0.586), and none of the updates?

What about crDroid? Is there an older version that tends to still work best? Is face unlock still an issue with v9.*? Should I install an older 8.* and then dirty flash to 8.13 to avoid face unlock issues?

I read that HDMI out audio was an issue for some, can anyone confirm it works OK on external device? Does crDroid have a "PC Mode" or does it just mirror screen?

From my reading the main downsides are losing Widevine L1 which can be restored at the expense of DTTW. And losing optimization. Anything else particularly bothersome?

Any input is welcome but my main questions are:

Is base China FW OK to flash or should I go with higher?

Which nazim cdDroid version do you recommend? Save me a search with a link to it?

Which magisk modules recommended?
[Lenovo Legion Y700] Xssia:
Hello can anyone help me unlock bootloader on my y700 my serial number is : HA1RQPLY
[Lenovo Legion Y700] Isrgish:
Did you try fastboot?
[Lenovo Legion Y700] Xssia:
I don't have the sn.img the zui site is not working for me it keeps saying that i ve reached the limits of requests
[Lenovo Legion Y700] Isrgish:
I had no problem unlocking without it. Try it in fast boot.

Do the following

1. adb devices

If you see your device then continue.

2. adb reboot bootloader

When it reboots

3. fastboot devices

If you see your device

4. fastboot flashing unlock

There are other fastboot commands they may work if this last one doesn't. I have never needed them so I'm no very familiar with them you search online for them.
[Lenovo Legion Y700] Xssia:
How is that is it really possible to unlock bootloader without sn.img ?
[Lenovo Legion Y700] Isrgish:
I'm not sure if everyone can but I've heard from many that have been able to. Try and you will see if you can. There is nothing to lose by trying. (As long as you are willing to unlock it in the first place).

You do need to be aware that whichever way you unlock it you will lose all data currently on the device.
[Lenovo Legion Y700] Xssia:
I just did and it worked thank you so so much
[Lenovo Legion Y700] scarbutt11:
I've seen conflicting reports but can anyone confirm if widevine L1 still works after loading a custom ROM?
[Lenovo Legion Y700] adek89:
I also had a global rom, and just turned on the developer options, gave oem unlock, then before adb I did a format and uploaded a custom rom also with the command before adb, here you have everything

Put the tablet in Fastboote"d" mode. I usually enter this mode by pressing and holding the volume down and the power button to activate fastboot mode, then selecting "Enter Fastboot" from the recovery menu.

③You have to download the arm64 version from the CrDroid GSI link that the text my first post in this thread. I recommend arm64-BgN-vndklite.

④I will assume that you have already configured Android Studio. Start a command prompt and type the command fastboot flash system (the img file you downloaded and unzipped) You can also do this by dragging and dropping the img file into the window before flashing system.

⑤Operate the tablet; proceed to Enter recovery→Wipe data/factory reset to initialize the tablet's data. Otherwise, it will freeze at the title.

⑥Reboot system now and after a while CrDroid will start.

I uploaded cdroid 8.x on android 12l
[Lenovo Legion Y700] ichomi:
Why android 12L over android 13

Here are all the gsi ROMs

Generic System Image (GSI) list - phhusson

Are you looking for a GSI ROM for your Android device? If so, you have come to the right place! GSI stands for Generic System Image, and it is a pure Android

magiskzip.com
[Lenovo Legion Y700] adek89:
because I'm not chasing a change of numbers, I would upload 10 if I could hehe, and 13 probably has some errors still, and the issue is kept on the battery
[Lenovo Legion Y700] rwan:
Bonjour,

I tested the GSI images from GOOGLE which work quite well but they are developer versions.

I compiled a version of AOSP as described on android.com.

But when flashing via adb, the system does not start.

Anyone have any suggestions ?

Link:

Generic System Image releases | Platform | Android Developers

developer.android.com

Legion Y700にAndroid 12L/13のGSIを導入する方法、不具合の解消法など

“小型”で”高性能”なLenovoのタブレット「Legion …

smartasw.com

Build Android | Android Open Source Project

source.android.com
[Lenovo Legion Y700] mainasus:
Yes, hard reset can fix it.
[Lenovo Legion Y700] T14nzz:
Hi do things discussed here also work for the new 2023 version of the device?
[Lenovo Legion Y700] Tudmonk:
I get to the part where I am supposed to install the img through the console but it says waiting for devices. I am connected and in fastboot d
[Lenovo Legion Y700] sangin80:
install fastboot driver
[Lenovo Legion Y700] Tudmonk:
I did a bit more research after and found that out. Thank you for the response though. Was able to install CR Droid 8.5, the lite pkg but got trapped in a boot loop. Read somewhere else that GAPPs might be a potential issue so I installed the slim package and that worked for me.
[Lenovo Legion Y700] 90.06:
Hi everyone !

Just got my marvelous Y700 2022 with pre-unlocked bootloader Chinese ROM...

Hated it and decided to flash some GSI images on it like A13 Pixel Experience PLUS or different A12 /13 CrDroid... both work FLAWLESSLY with no minor nor major bugs BUT TERRIFIC BATTERY DRAIN on active state...

around max 12- 16 hrs !!!! decent use... 40 to 60% brightness ... no 120hz & NO GAMING ... only a little YouTube streaming and social medias / web browsing before hitting the bed... it's my kind of "bedroom table tablet"

idle & deep sleep battery drain is perfect with up to 36 hrs stamina...

wich GSI ROM do you recommend to get the best battery life possible ?

any feedbacks ?

thanks in advance ! :)
[Lenovo Legion Y700] Isrgish:
Sorry for such a late response. If this is still relevant then here is a link to TWRP Command Line. The instructions aren't 100% but some trial and error (as well as some google searching) you can figure it out.
[Lenovo Legion Y700] skinklizard:
Thanks for starting this thread @Phoenix2000

Nice device! Shame about the Chinese ROM… CRdroid looks exactly what I need, but seems I’ve painted myself into a bit of a corner…

I’ve successfully unlocked the bootloader on my TB-9707F and installed CRdroid using fastboot and that’s good so far, but the image isn’t rooted. Since there’s no TWRP for our device I’m not sure how to extract the boot.img file for patching with Magisk? I’ve tried mounting the crDroid-9.3_bvN-slim_Unofficial.img file using various tools in windows such as Damon Tools without success,

Could someone please give me a nudge in the right direction on how to get the boot.img file I need to patch from either the tablet or from that CRdroid .img file? There are lots of Linux methods I could find but I was hoping for something a bit easier?

Also: I’ve tried flashing different versions of the GSI CRdroid in the hope that the (non-slim) might be already rooted and easier but then I just get a boot loop and only way out is to flash the originally installed crDroid-9.3_bvN-slim_Unofficial.img back to the tablet. I’d be happy to go with 8.x if I could get it to work.
[Lenovo Legion Y700] matchung:
you can try this to extract the boot.img https://xdaforums.com/t/extract-boo...ideloader-method-and-other-tutorials.4585449/
[Lenovo Legion Y700] skinklizard:
thanks for the reply. gave it a try. trouble I'm having is with sideloader the method is that I can only get the DSI-Sideloader images to boot loop. (pretty much the same when I install any alternative image other than "crDroid-9.3-a64_bgN-Unofficial.img")

This is the first device I've had without TWRP support and I'm finding it a lot harder :)

I really didn't want to flash back to stock and start again, and I'm not brave enough to try the command line TWRP.

Does anyone have an idea how I can flash a pre-rooted GSI image to this device without it boot looping?
[Lenovo Legion Y700] matchung:
You can try KernelSU, just select the correct boot img file and flash it to the device.

in case you need pre-root system image, check for those GSI with filename like arm64-bvS/arm64-bgS.
[Lenovo Legion Y700] Isrgish:
You can use the TWRP found at unofficial twrp 3.6.2 Root Lenovo Legion Y700. This TWRP can only be used with the command line. Take a look at TWRP Commandline Guide for usage info.

I was working on building a TWROP but hit some issues that I don't have the time and expertise at this time to figure out. You can see my work here Unofficial TWRP for Lenovo TB-9707F (Legion Y700 2022) [Experimental]. I would actually appreciate any and all help on this building project.
[Lenovo Legion Y700] jedvet:
Hi all,

Can you please suggest reliable custom firmware for Y700 2022? I want to swotch on fully English.

Tried ZUI15. It's a lot of chinese parts left even after changing whte lang ((
[Lenovo Legion Y700] adek89:
lineageOS aka cdroid
[Lenovo Legion Y700] xnappo:
What do you lose over native?
[Lenovo Legion Y700] jedvet:
I'm aware about the LineageOS. The problem is that not every build works good, some of the features don't work. I didn't try, just read on 4pda forum.

Can somebody suggest good, stable build?
[Lenovo Legion Y700] Isrgish:
I'm using PixelExperience and I'm very happy.
[Lenovo Legion Y700] jedvet:
Is there any feature that doesn't work? Or is everything working smoothly?
[Lenovo Legion Y700] jedvet:
I found good resource with custom ROMs:

GitHub - LinuxDroidMaster/Lenovo-Legion-Y700-ROMs: Repo with all the info about the ROMs available for the Lenovo Legion Y700 2022 model

Repo with all the info about the ROMs available for the Lenovo Legion Y700 2022 model - LinuxDroidMaster/Lenovo-Legion-Y700-ROMs

github.com

Hope somebody finds it useful ^^^.

@Isrgish from where did you download PixelExperience for our tablet? I found this link, however it's Y700 is not in the list ((

Home - PixelExperience

Home - PixelExperience

get.pixelexperience.org
[Lenovo Legion Y700] Isrgish:
I'm sorry my bad it is the "Project Elixir that I'm using and I'm very happy. As far as I know all is working fine.

I downloaded this file, but I don't see why you can't use a newer file.
[Lenovo Legion Y700] jedvet:
I ried crDroid and PixelExperience. Stopped on the last one. Works nice.

Thanks everybody.
[Lenovo Legion Y700] xnappo:
Okay, now I am confused where you got Pixel Experience from?
[Lenovo Legion Y700] jedvet:
I used thus RU guide: https://4pda.to/forum/index.php?showtopic=1042228&st=5500#entry124440361

As I undertstood it's unofficial version because our tablet isn't shown on their web-page.
[Lenovo Legion Y700] gleenfield97:
I have 2022 device and here's my experience with AndyYan's LineageOS/LOS bvN GSI.

I used LOS 20-light with ZUI 14 firmware. A notable issue with LOS 20-light was that magnetic cover didn't work. Other than that, it's been functional for the past 9 months. I didn't try LOS 20-td (TrebleDroid-based).

Tried LOS 21 today. LOS 21-light didn't work with ZUI 14 firmware, got bootloop. Flashed ZUI 15 using this guide and then LOS 21-light. I got random soft reboot almost every 10 seconds, with/without magisk-ed boot image.

I then tried LOS 21-td, no random soft reboot. Proceeded to install magisk and it's been functioning so far.

Magnetic cover is working now.

For headphone jack to work in LOS 20/21, enable alternate audio policy in treble-phh->qualcomm setting.

Edit: 2022 device

Update (2024/05/13): LOS21-td-20240424 also have bootloop issue, similar with what I experienced with LOS21-light-20240406, at least 3 other Lenovo devices are also affected. I'm using LOS21-td-20240217 for now.

Update (2024/05/26): bootloop issue fixed in LOS21-td-20240526.
[Lenovo Legion Y700] FIERA03:
I recently purchased a Y700 2023.

How did you activate Magnetic Sleep?
[Lenovo Legion Y700] k_basara:
Is there a global version stock rom for y700 2022? If yes, where do I get it?
[Lenovo Legion Y700] gleenfield97:
apology, mine is actually 2022. magnetic sleep just works after I flashed LOS 21-td. I didn't change any gsi tweak (except for alternate audio for headphone jack).
[Lenovo Legion Y700] gleenfield97:
Never tried global rom, searching around this forum yields:

UK ROM

Japan ROM
[Lenovo Legion Y700] k_basara:
Thanks. Since some apps are having problems on my current CrDroid rom which I've never seen before, I'll definitive try the UK one if my attempt to fix them failed eventually.
[Lenovo Legion Y700] SomeRandomGuy212:
Hello! I had a quick question regarding custom ROMs and connecting to an external monitor. I was considering installing CrDroid but wanted to know if I could still connect the tablet to an external display. I should note that I have the 2022 version.
[Lenovo Legion Y700] gleenfield97:
I have 2022 device with LOS21-td-20240217, external monitor is working for me over USB-C displayport.
[Lenovo Legion Y700] Breed43214:
Those are for 2023. Not 2022. 2022 was never released outside China, and hence has no alternate regional ROMs.

Also, for 2023, there is no UK ROM. It's the Global ROM
[Lenovo Legion Y700] joljol:
Any good rom for 2022 y700?
[Lenovo Legion Y700] joljol:
Hi, how are performances and battery life ? How to install ?
[Lenovo Legion Y700] SomeRandomGuy212:
I don't know if this is the best, but CrDroid has been great, in my experience. I don't do much mobile gaming, but it can handle Genshin Impact at high settings. As far as batter life, I would say I can get a solid 2 days or so with moderate usage. I wish I could provide exact numbers, but it doesn't record screen on time for whatever reason.

I followed this guide to install it. My only complaint with the rom is in regards to the dock. I've noticed that sometimes I have to tap the icons twice in order for it to open the app.
[Lenovo Legion Y700] joljol:
Thanks ! Cover, pen and external screen are working?
[Lenovo Legion Y700] SomeRandomGuy212:
I don't have a pen, and I haven't tried using an external monitor yet. I've heard that both work just fine, however. I do have the magnetic cover and I can confirm it works fine.
[Lenovo Legion Y700] carloshenriquerb:
H, after installing crdroid the wifi does not work, would anyone know how to fix this problem?
[Lenovo Legion Y700] SomeRandomGuy212:
Did you happen to root your device? If so, you may need to flash the old boot.img (the steps our outlined here). I was having similar issues until I used Magisk to patch the boot.img from the stock ROM, installed CrDroid again, then flashed the patched boot.img.
[G4 Android Development] Emo19:
Hello, this sounds a little bit impossible but i made some progress with my friend. We made a vendor partition, edited the TWRP but we stuck at the part of making a vendor. Can the g4 community do it? I think you can, especially @steadfasterX. UsU, FWUL and SALT were masterpieces.
[G4 Android Development] Emo19:
Also, it looks so hard. Because there is no phone with S808 and A9.
[G4 Android Development] Emo19:
If you need to know how did i made the vendor partiton, i can help.
[G4 Android Development] Emo19:
I use H815TR UsU'd. If that helps.
[G4 Android Development] steadfasterX:
You should describe much more detailed what you did and what problems you have after that.
[G4 Android Development] Emo19:
First i put the parted file on the phone and run it via terminal in TWRP.

cp /sdcard/parted /sbin/ && chmod 755 /sbin/parted was the command i used.

Second, i unmounted every partition and wrote the command: parted /dev/block/mmcblk0

After, I wrote p to see what number was my userdata (it was 50) and i wrote rm 50.

After i deleted the userdata, i wrote

mkpart userdata ext4 6359MB 30GB

mkpart vendor ext4 30GB 31.3GB

to make a vendor partiton.

Finally, i did a format data and @MeizuM6T edited the TWRP.

I did everything with @MeizuM6T .
[G4 Android Development] Emo19:
Now i need vendor files.
[G4 Android Development] steadfasterX:
The easiest way is to simply copy /system/vendor from an existing ROM tbh.
[G4 Android Development] MasterRei:
Most roms contain system-as root, obviously this is where @Emo19 and me get stuck.

Would connecting the vendor via FSTAB be enough to boot?
[G4 Android Development] steadfasterX:
Well then i don't get the problem.

We mimic a vendor partition since (iirc) pie and to follow android standards we already moved everything needed to /system/vendor including config updates where needed pointing to /vendor. I would say 98% of this move is done already for the rest see e.g: https://github.com/LGgFour/android_device_lge_g4-common/search?q=System/vendor

Ofc currently /vendor is just a symlink to /system/vendor but for the system it feels like it has a separate vendor partition already.

So my guess was you just copy everything from /system/vendor and put that in your /vendor partition and if we made everything right and you fix the rest of the few /system/vendor paths it should just boot. Ofc you would need to update fstab to point to the dedicated vendor partition then. Does that help?
[G4 Android Development] MasterRei:
The vendor has successfully connected but the treble support is still not visible.

Vendor is connected to the system and is working now, how should we arrange for treble?
[G4 Android Development] steadfasterX:
no idea really. I have never ported anything to treble. just the other way around ;)
[G4 Android Development] MasterRei:
Thanks, I think we need to write "ro.treble.enabled = true" via build.prop. then we will try to install some GSI Roms.
[G4 Android Development] steadfasterX:
well I dont think its THAT easy. I was serious about the other way around so take a look at what I did for another device:

https://code.binbash.rocks:8443/MVA-VoLTE/android_device_samsung_j5y17lte/commits/branch/eos-q/search?q=treble&all=true

https://code.binbash.rocks:8443/MVA-VoLTE/android_device_samsung_exynos7870-common/commit/ab2567dc82fbdb2a21aa3ea28572dd18e5b7fb79

https://code.binbash.rocks:8443/MVA-VoLTE/android_kernel_samsung_exynos7870/commit/b8e2cf570dfd383fb3a4497d6b53d51c9226ca7b

Ofc you would do the opposite then what the commits showing ;) and ofc I dunno if thats enough and haven't checked what needs to be adapted etc but it should give you an idea
[G4 Android Development] MasterRei:
I doubt it will open either, it shouldn't be that simple. I will look at what you have thrown