yashsingh1/xdaforums huggingface dataset:
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] sjamie:
Yes, it's a new feature (annoying) called "panic mode". You can bypass this behavior by setting the action to launch an app.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] uytko:
screen off gestures/gestures

Hello,

First thx to port slim on op5 ^^, i really appreciate this rom ( had it on my galaxy S1, S2, and S4)

i'm really impatient to get "dark theme" and the "slimpie"

so i flashed everything yesterday and all ok ( twrp 3.1.1-1, Magisk,Slim-cheeseburger-7.1.2.build.1.10-WEEKLY-20170908-2214 , Xposed25 )

bluetooth is also ok ( call and media)

but doesn't know if screen of gestures/gesture are supposed to work properly for now

if a set torch on "one finger swipe up" and i do it

-it light up the flashlight for 1 sec then reboot

--after reboot it doesn't even light the flash and reboot directly

tried to use normal gesture feature, but doens't seems to work

p.s:

-So i don't know if i have to report bug on bugs.slimroms.org as there isn't any stable...

-also if you need testing feedback let me know

and thx for all the fish :good:
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] houbaba:
Hi

Weekly update today. Is this topic always official ?

Thank a lot.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] marko94:
better to fully focus on gzosp and validus for op5 :)
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] houbaba:
Maybe you are right. Just want to know if install rom with decrypted device or not ?
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] marko94:
Don't know, I didnt tried slim.. Only Validus ..and for that I was decrypted ( I think , lol.. I wiped everything, with format data ) :D
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] houbaba:
Thanks :)

Did you try validus Oreo ?

Envoyé de mon ONEPLUS A5000 en utilisant Tapatalk
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] beaverhead:
yep. validus o works great.

Verstuurd vanaf mijn ONEPLUS A5000 met Tapatalk
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] houbaba:
Install with multirom or TWRP official ?
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] beaverhead:
multirom.

Verstuurd vanaf mijn ONEPLUS A5000 met Tapatalk
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] vasu97:
Is this rom dead? Just curious about the rom.. anyone using it right now? How is battery and all stuff? Working good?
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Yousvel:
All I know is they're hardly working on O
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] TrOjAnUK:
Not sure its dead as the latest build is dated 4-11-17 so 2 days ago..

About to flash.. :)

TrOjAn
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] vasu97:
Yes ... Not happy.. it's one of the clean roms

Hope they are working on O and they release it soon...
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] NickMidd91:
They are working on it go to there website it tells you what's going on
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] vasu97:
Anyone using latest weekly? how's the battery ?
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] tech_infinity:
Slim7 Stable 2.0 is available for download now :D

https://slimroms.org/#/device/cheeseburger
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] imna357:
Tried flashing it three times, but fingerprint is not working, tried PA and LOS fingerprint works, is this an issue?

Thanks:D
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] caki25:
Are you on a good firmware version? Not sure about what slim requires, but the symptoms do suggest that...
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] imna357:
tried different firmware, not sure if it's the TWRP using codeworkx universal
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] caki25:
Nougat firmware, right?
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] imna357:
Yup, took it from los 14.1 thread and the other thread forgot who made it...did you try the stable one? Can you give me the link of the firmware if it did work for you. Thanks:good:
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] jarjarfinks:
Safetynet?

Anybody else having trouble passing SafetyNet on the Stable build?
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] imna357:
Hi, fingerprint working on your end? can you send me a link for the firmware you used? thanks:D

---------- Post added at 11:24 PM ---------- Previous post was at 10:49 PM ----------

worked now, just redownloaded the firmware and modem latest from JAMAL=)
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] jarjarfinks:
So any confirmation of safetynet?
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] i.am.newbie:
pls use androbench to test the sequential read speed and let me know bcuz i get half of oos read speed on every nougat custom rom
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] jarjarfinks:
Still no updates on Safetynet?
[Honor 6X Questions & Answers] AzzyMoonMoon:
My intent was to unlock the bootloader, root it and install a custom ROM.

I've been reading for hours and I keep sinking deeper and deeper into a pit of confusion.

Advice?
[Honor 6X Questions & Answers] PalakMi:
Just return it if you can, and get a US variant.

That's the best decision you can take now.
[General Questions and Answers] Neeschar:
Hello Guys,

i had some problems with my tablet and deleted my system (doh) ...

Now i see just "Powered by Android" and nothing is working to get

into Download Mode or Recovery or whatever.

My question is: can i do something or is the tablet lost?

Thanks,

regards.
[General Questions and Answers] Droidriven:
You need to be able to get to download mode.

If not, you'll have to send it to a repair shop that offers JTAG serbice.

I DO NOT PROVIDE HELP IN PM, KEEP IT IN THE THREADS WHERE EVERYONE CAN SHARE
[General Questions and Answers] Neeschar:
Thank you for replay,

i found that i can switch to EDL because of a post from gandharva.

Now the Sugar-App finds my tablet, but is failing at switching to download mode

and says that i need to check driver and handset.

The question is, what can i do now? I just know about sugar but if it cant switch

to download mode .. i will charge the tablet and hope it helps, because it was

all on over night (it wassnt going off).

Im in panic-mode and sry for the bad english ^^

UPDATE: Found out that EDL is the emergency download mode ... how i can use that to flash

android and/or recovery? Why is sugar trying to enter download mode and fails if the tablet

is in the edl. There is a text "BEWARE: ..... needs 2 accu-bars for download": Means that for

switching or the download of the android system? hmmm ...
[General Questions and Answers] Droidriven:
Are you sure you have the USB drivers for your device model number properly installed on your PC?

I DO NOT PROVIDE HELP IN PM, KEEP IT IN THE THREADS WHERE EVERYONE CAN SHARE
[General Questions and Answers] Neeschar:
I used the driver that comes with new sugar version ...so i dont know if its the correct one

or not. I try a bit with the drivers (got 3 or so), maybe its working then but i just get the

device into edl if its fully empty (and i dont press at any time power button ...or its in bootloop

again and doesnt go off. Holding the power button just restarts the device and then edl issnt working anymore).

I really dont want a stone for 130euro ... ^^ (hope it can be flashed sometime)
[General Questions and Answers] Droidriven:
Here are the device drivers that you should have installed on your PC.

https://androidmtk.com/download-vodafone-usb-drivers

I DO NOT PROVIDE HELP IN PM, KEEP IT IN THE THREADS WHERE EVERYONE CAN SHARE
[General Questions and Answers] Neeschar:
Thanks,

i installed it but the same problem:

http://abload.de/image.php?img=hangingj7kxc.png

Still hanging and the same error that i need to check driver/handset.

What is with an another tool like SW Downloader, QPST and so on?

SW Downloader doesnt got my chipset but maybe an other

app can do an stock flash? PCs are much easier to handle ... :D

UPDATE: Okey, any other Software doesnt find the tablet and i think

its not the edl mode if i use volume up + down for 10secs (in black screen)

and then connect usb ... but any other combo breaks the tablet (like i said above).

Maybe its a good idea to go to a repair shop ... but maybe the repaircosts are the same

like a new one (and my issnt that old).
[General Questions and Answers] Droidriven:
Maybe you don't have USB debugging enabled.

I DO NOT PROVIDE HELP IN PM, KEEP IT IN THE THREADS WHERE EVERYONE CAN SHARE
[General Questions and Answers] Neeschar:
Oh yes,

i resettet it and then the option is disabled again ...oh damn ...

but without a system, there cant be usb debugging mode on or ...

Can a shop bring the tablet into usb debugging mode or can i do

that ? I think i need to open it ... not really much tutorials in the net

for this tablet, thats really a problem but 130€ for a 2gb ram device

was a good shot. damn damn damn ....

But thanks for your help, never had so much problems with flashing

and co... with wii, psp, galaxy and so on ^^
[General Questions and Answers] Neeschar:
Sry for doublepost but im in Recovery (cyanogenmod)!!!!

What need i to do now? Can i activate usb debugging there?

I saw a video (and testet it ..but however, this time it worked volume down + power, because it was off not in bootloop)

I will love you if u can help me to revive it :D

PS: I see the device now in ADB ..but i really dont know how to flash it now, because i got just the backup

from sugar, but thats so many files. Got an boot.img (thats patched) from the Root-Thread here on xda.

Is there a source, there i can download a rom for flashing with cyangenmod-recovery or adb? (a trustworthy

source ...i dont find any (on mtk too) for vf1400.

Update2: I tested if i can go into edl over ADB and it worked ... Sugar finds the device and can boot into

download mode ... but the download is very slow, so i decided to try what MrFX did and renaming the

old firmware to the new one ... so i closed sugar ...and now my device is again in the bootloop ... so i need

to wait for the battery to get off or i cant get it into recovery again.

I will post tomorrow more if i get anything to work ^^
[General Questions and Answers] Droidriven:
If adb is recognizing the device then you should not need to worry about USB debugging.

If your device uses fastboot then you might can just directly flash your stock firmware.

Or extract the firmware to separate the individual .img files then use fastboot to fastboot flash the individual .img files.

Or you might can use dd commands to dd the individual .img files to their respective partitions (mmcblk0). The dd commands have to be exact or you'll make things worse.

If you aren't fimiliar with dd commands then I wouldn't use them until you researched how they work and research exactly which partition (mmcblk0) is which on your device and which .img goes to which mmcblk0.

I'm not familiar with Sugar so I don't know how to help you with that.

If you are booted into recovery then you should be able to flash a custom ROM if any exist for your model number.

You might need to use the Cyanogenmod recovery to convert over to TWRP recovery. If I remember correctly, Cyanogenmod recovery tends to give issues with root, SuperSU and ROMs.

I DO NOT PROVIDE HELP IN PM, KEEP IT IN THE THREADS WHERE EVERYONE CAN SHARE
[General Questions and Answers] Droidriven:
Good to go, glad you got it fixed.

Try starting a new thread to write a guide for doing what you did. That way it will show up for others when they search.

I DO NOT PROVIDE HELP IN PM, KEEP IT IN THE THREADS WHERE EVERYONE CAN SHARE
[General Questions and Answers] GuestD0001:
not work on stock recovery
[Huawei P9 Lite Questions & Answers] Kcetin20:
Guys is it possible to create a whole new rom without emui 5 for this device ?
[Huawei P9 Lite Questions & Answers] pospi69:
Try it.. Maybe it should.
[Huawei P9 Lite Questions & Answers] simo255:
wait within one month max and your wish will be granted ;)
[Huawei P9 Lite Questions & Answers] vozilo:
HYPE
[Huawei P9 Lite Questions & Answers] Potato997:
Soon..
[Huawei P9 Lite Questions & Answers] TheOneWhoSpeaks:
Meticulus made a cm14 for our phone. But because of some stupid kids who kept spamming with stupid questions, he had no choice but to delete his work.
[Huawei P9 Lite Questions & Answers] radogost:
It's not about stupid kids, it's about stupid and narcistic developer. Back to topic - we will have LOS soon - new dev who actually likes people will start working on it soon.
[Huawei P9 Lite Questions & Answers] TheOneWhoSpeaks:
Offtopic

How he was stupid and narcistic?

He couldn't stand those spamming questions about things that Meticulus already knew.
[Huawei P9 Lite Questions & Answers] simo255:
man, you really dont know the whole story, so keep away please.
[Huawei P9 Lite Questions & Answers] stevedat:
Hope that you will work on Dual sim variants as well.
[Huawei P9 Lite Questions & Answers] simo255:
it isnt me who will build linOs :D

so wait and see ;)
[Huawei P9 Lite Questions & Answers] SALVO9:
Is there really someone who follows though on his work and appreciates criticism who is working on lineage for our device? That is great news! Where can we follow progress, if we can?
[Huawei P9 Lite Questions & Answers] Potato997:
Our Telegram group!
[Huawei P9 Lite Questions & Answers] SALVO9:
Give me the link, please :)
[Huawei P9 Lite Questions & Answers] Potato997:
Check discussion thread here on XDA
[Sprint Samsung Galaxy S 4 Q&A, Help & Troubleshoot] davidbrooke:
Hello

I'm changing carriers and the PRL is causing problems on the custom rom. I see here:

https://xdaforums.com/galaxy-s4-sprint/help/help-updating-prl-sprint-galaxy-s4-twrp-t3543131

that I need a touchwiz rom. Can someone suggest a touchwiz rom that I can use?

Thanks
[Sprint Samsung Galaxy S 4 Q&A, Help & Troubleshoot] davidbrooke:
I found a couple of touchwiz roms. The are in order of preference:

1. Wicked

https://xdaforums.com/galaxy-s4-sprint/development/rom-wicked-x-v10-1-t3115583

2. Stock(ish)

https://xdaforums.com/showthread.php?t=2567353
[Sprint Samsung Galaxy S 4 Q&A, Help & Troubleshoot] davidbrooke:
Update:

Wicked was he only touch wiz rom that worked for the PRL and Profile. It has an issue that keeps me from using it...

Each time I reboot the phone, it acts like it is the first reboot after a new install.

I decided to just reload the stock Samsung firmware.
[Android Software/Hacking General [Developers Only]] erfanoabdi:
Usage

./BlockImageUpdate <system.img> <system.transfer.list> <system.new.dat> <system.patch.dat>
args:

<system.img> = block device (or file) to modify in-place
<system.transfer.list> = transfer list (blob) from OTA/rom zip
<system.new.dat> = new data stream from OTA/rom zip
<system.patch.dat> = patch stream from OTA/rom zip

./ApplyPatch <file> <target> <tgt_sha1> <size> <init_sha1(1)> <patch(1)> [init_sha1(2)] [patch(2)]...
args:

<file> = source file from rom zip
<target> = target file (use "-" to patch source file)
<tgt_sha1> = target SHA1 Sum after patching
<size> = file size
<init_sha1> = file SHA1 sum
<patch> = patch file (.p) from OTA zip

usage: ./scriptpatcher.sh <updater-script>
args:

<updater-script> = updater-script from OTA zip to patch recovery commands

Example

for example from updater-script of OTA we have:

block_image_update("/dev/block/bootdevice/by-name/system", package_extract_file("system.transfer.list"), "system.new.dat", "system.patch.dat")

apply_patch("EMMC:/dev/block/bootdevice/by-name/boot:33554432:f32a854298814c18b12d56412f6e3a31afc95e42:33554432:0041a4df844d4b14c0085921d84572f48cc79ff4",
"-", 0041a4df844d4b14c0085921d84572f48cc79ff4, 33554432,
f32a854298814c18b12d56412f6e3a31afc95e42,
package_extract_file("patch/boot.img.p"))

after getting system.img and boot.img from firmware This is equals of previous functions on PC with this tools:

~$ ./BlockImageUpdate system.img system.transfer.list system.new.dat system.patch.dat
~$ ./ApplyPatch boot.img - 0041a4df844d4b14c0085921d84572f48cc79ff4 33554432 f32a854298814c18b12d56412f6e3a31afc95e42

scriptpatcher.sh will generate all commands automatically from updater script so run it like:

~$ ./scriptpatcher.sh META-INF/com/google/android/updater-script > fullpatch.sh

check fullpatch.sh your self, you need to provide all images and files in correct name and patch as mentioned in mount and other commands of fullpatch.sh

Building Requirements

For Building this tool you need :

zlib

libbz2

openssl

It currently supports Linux x86/x64 & MacOS, Not tested on Windows.

Compile and Build command:

make

Youtube

[YOUTUBE]GjPoPe7IgHg[/YOUTUBE]
[Android Software/Hacking General [Developers Only]] erfanoabdi:
Download links:

GitHub Release

Changelog:

GitHub Commits

Known Bugs/Issues:

Plz test and report
[Android Software/Hacking General [Developers Only]] Harvey_Spectar:
Nice work
[Android Software/Hacking General [Developers Only]] rootlinux:
Very nice
[Android Software/Hacking General [Developers Only]] daniel_m:
Wow, I tried to apply OTAs manually myself, but never got it to work. Getting the propper tools from you is awesome!

One tiny question though: Does applying/verifying a system update to system.img require a lot of temporary space or memory?

I am running Ubuntu x64 in a VM (VirtualBox) on Windows 10. Verifying a system update doesn't really do much, except keeping the CPU busy.

This is the output of "./BlockImageVerify system.img system.transfer.list system.new.dat system.patch.dat":

performing verification
creating cache dir cache
cache dir: cache
blockimg version is 3
maximum stash entries 236
creating stash cache/537ed49fb5f6c32dc3d205d78b6084fe54f70cd3/

The cache folder remains empty, there is no harddisk activity and only the CPU is working at 100 %. I interrupted BlockImageVerify after 30 minutes.
[Android Software/Hacking General [Developers Only]] erfanoabdi:
;)

Ah actually yes you need free space on RAM as much as both patch.dat and new.dat sizes

It's on my todo list to fix it, https://github.com/erfanoabdi/imgpatchtools/blob/master/blockimg/blockimg.cpp#L383
[Android Software/Hacking General [Developers Only]] erfanoabdi:
You can find it in OTA zip

Motorola? See this : motorola.erfanabdi.ir
[Android Software/Hacking General [Developers Only]] evangelico793:
No longer look at the picture
[Android Software/Hacking General [Developers Only]] evangelico793:
Something Looks Wrong ReCheck inputs Or No Update Available

for moto g4 play 6.0.1
[Android Software/Hacking General [Developers Only]] erfanoabdi:
Please send picture again

404 not found

You are doing something wrong see thread for help and examples
[Android Software/Hacking General [Developers Only]] Q9Nap:
[MENTION=6298645]erfanoabdi[/MENTION]

Thank you a ton for these tools!

They work like a charm :good:

I knew there must be a way to do this, but it's definitely above my paygrade.
[Android Software/Hacking General [Developers Only]] Q9Nap:
[MENTION=6298645]erfanoabdi[/MENTION]

I've been trying scriptpatcher.sh on various updater-scripts and have noticed some bugs.

If you're interested in looking at the files, let me know and I'll post them.
[Android Software/Hacking General [Developers Only]] erfanoabdi:
Yeah, there's lots of bugs in that script

I appreciate any kind of help

So far i know :

Only supporting /dev/block/boot.../by-name partitions

Can't mount ext4 in macOS

I disabled verify, but we can verify images

And i haven't tested it so much

If it gets more complicated Maybe we have to rewrite it on python.
[Android Software/Hacking General [Developers Only]] Q9Nap:
*removed*
[Android Software/Hacking General [Developers Only]] Q9Nap:
[MENTION=6298645]erfanoabdi[/MENTION]

I noticed that there was an update to the source today to enable the bonus file argument.

I tried to create a recovery.img with a boot.img, recovery-from-boot.p, and recovery-resource.dat.

I tried patching to create a new recovery image and also tried patching the boot image in place.

It always returns "Unknown patch file format".

I am able to use these files to create recovery with the on-device applypatch binary, so not sure why it's throwing the "unknown patch file format" error.
[Android Software/Hacking General [Developers Only]] erfanoabdi:
That was chainfire commit changes how can i say "no" to his PR

I didn't had time to check it

I'll check it out when I could
[Android Software/Hacking General [Developers Only]] erfanoabdi:
I've tested recovery-from-boot by chainfire and i can confirm its working

Also i fixed no such file error

Try to compile new source ;)
[Android Software/Hacking General [Developers Only]] Q9Nap:
*edit*

Fixed!
[Android Software/Hacking General [Developers Only]] erfanoabdi:
ah lol, it's error on new compilers

i fixed it, try again
[Android Software/Hacking General [Developers Only]] Q9Nap:
Ok, it compiled successfully :)

Unfortunately, still getting the "Unknown patch file format" error.

The recovery-from-boot.p file is IMGDIFF2 format, and the recovery-resource.dat file is just a zip file of image resources for recovery.
[Android Software/Hacking General [Developers Only]] Q9Nap:
[MENTION=6298645]erfanoabdi[/MENTION]

I tried using the imgdiff binary just to see what would happen:

owner@owner-VirtualBox:~/recovery_NPNS25.137-67-6$ imgdiff
usage: imgdiff [-z] [-b <bonus-file>] <src-img> <tgt-img> <patch-file>
owner@owner-VirtualBox:~/recovery_NPNS25.137-67-6$ imgdiff -z -b "recovery-resource.dat" "boot.img" "recovery.img" "recovery-from-boot.p"
can't process multi-disk archive
failed to break apart source zip file
owner@owner-VirtualBox:~/recovery_NPNS25.137-67-6$

Not sure if this is useful info or not, but posting it just in case.
[Android Software/Hacking General [Developers Only]] erfanoabdi:
ah i got you, in arguments, "size" means target size, recovery size in this case

but you were putting boot image size on it

so :

./ApplyPatch boot.img recovery.img 77960a8af39ef0477c85ec152c05ccfaf5ab9e14 21073920 2812894eb5170847f707c5215bc02336852c1c6f recovery-from-boot.p recovery-resource.dat
creating cache dir cache
cache dir: cache
patch boot.img:
now 77960a8a
Done with error code : 0
[Android Software/Hacking General [Developers Only]] Q9Nap:
I have no idea what I'm doing wrong.

I compiled the binaries with the latest changes and my syntax is correct.

No matter what I try, I get the "unknown patch file format" error.

This is driving me crazy :/

Any ideas?
[Android Software/Hacking General [Developers Only]] Q9Nap:
I don't know why, but the problem seems to have been with my Ubuntu 16.04.3 virtualbox.

I just did a fresh install of Ubuntu 14.04.5, compiled the imgpatchtools source, and tried the recovery image patch; works now :D
[Android Software/Hacking General [Developers Only]] Q9Nap:
[MENTION=6298645]erfanoabdi[/MENTION]

Would you mind letting me know which version of linux and which compiler you're using?

Once I got the recovery patch working, I now get "segmentation fault" when attempting to patch the system image on ubuntu 14.04, 16.04, and 17.04.

I think it has something to do with creating/writing to the cache directory, because that's when it crashes.

It works fine on the oem image, probably because it doesn't require nearly as much cache for the patch process.

Chainfire's fork is currently 5 commits behind your master, and it works fine for patching system.

It seems he commited a change that specifically addresses the segmentation fault error.

But his doesn't work for patching recovery, I think because he doesn't have your commit to create a new file if it doesn't exist.
[Android Software/Hacking General [Developers Only]] erfanoabdi:
yeah, sorry for delay but finally fixed this segfault bug

https://github.com/erfanoabdi/imgpatchtools/tree/Stable

i'm on macOS BTW :p