yashsingh1/xdaforums huggingface dataset:
[Android General] BusinessKid:
/*
* Your warranty is... well void!:(
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed.
* Before flashing the boot image do some research!
* YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you - quite a lot!
*

Mediatek life is hard, all the MTK users know that well:p. No sources until Oreo, rooting is like hell, TWRPs for the lucky few and the rest are just lost in the flood of the nomad world. Well I'm not the genius to get all that sorted, however I can show you the new way of rooting just ANY mediatek device.

Things you need:

A MTK smartphone

A PC

An USB cable

An internet connection

Human brain:silly:

The download stuff:

Download SP Flash tool (the MTK lifeline)

Download your stock boot image

Download the scatter for your device (Just Google it!:p)

On the Phone:

Copy the stock boot image to your phone

Now launch Magisk Manager on your phone and tap install

Tap on 'select boot image'

Choose your stock boot image

Let Magisk to its magic

Now you'll find the 'patched_boot.img' in your internal storage (come on, find that yourself at least:silly:)

Now copy this file to your PC

A note on bootloader unlocks:

MTK is good and crazy. So trying a 'fastboot oem unlock' and then pressing volume UP(+) to confirm often doesn't help. Well, if it doesn't do anything just enable OEM unlock in developer options (tap 7 times on Build Number/Software Version/etc in about phone). But if you couldn't do with the:

fastboot oem unlock

then proceed at your own risk!:confused:

On the PC:

Power off your phone

Unzip the SPFT zip that you downloaded in the earlier section

Launch the tool (preferred as admin, because windows doesn't like standard software playing with COM ports)

Select the scatter (YOUR_ANDROID_SCATTER.txt)

Now double click on the long rectangular box by the Boot partition (NOT EMMC_BOOT_1, that will kill your phone)

Now select the patched_boot.img that you copied from your phone

Click on the download button

Now connect your phone using an USB cable (or type-C if you're rich) to your PC

Done!

I am working on making a collection of MTK scatters, I'll update this post as soon as I'm done with that. This is voluntary work - don't force me!

DO NOT MAKE TUTORIALS ON YOUTUBE USING THIS POST, IF YOU DO, I'LL PERSONALLY COME TO YOUR HOUSE AND BOMB YOU - IT'S MY WORK NOT YOURS! JUST HIT THE THANKS:good: BUTTON TO MOTIVATE ME!
[Android General] Thereal2ap:
Could you do this for the DING DING E6 By Mediatek? I cannot seem to find the scatter file online. Thank You!
[Android General] ashgk:
Thank you for the post. can you pls tell me where can i get stock boot image for panasonic eluga x1 pro?
[Android General] ashgk:
I followed all the steps as per your instruction. After pressing the download button in SPFT and connection the mobile, I am getting the error - STATUS_BROM_CMD_SEND_DA_FAIL (0XC0060003). I google this error msg and the solution I found is "The device might require a custom Download Agent (DA) to be flashed". What download agent did you use? Any help is highly appreciated.

My mobile is Panasonic Eluga X1 Pro.

Regards,
[Android General] Supermatt01:
Anyone know a safe source for downloading an OPPO f11 mtk 6771 scatter file?
[Android General] J.Art:
Can you please tell me where to find that? Is it on the SPFT window??

Sorry but I'm a rookie. Thanks.
[Android General] StarlinkBw:
I think it is time to update this thread because I hit a snag with my mediatek device which is a Techno Pop 2f device
[Android General] Bonnienesh:
Hats off man this guide is a life saver. I am trying to root my infinix smart 5. I have the stock rom, i understock using it with magisk. using sp flash tool on my ubuntu pc. Well explained. I will get back if am successful.
[Android General] Bonnienesh:
I understand this is the most risky part. Did you try to root?
[Android General] Argonon:
I have a Blu View 3 android 11 that has no OEM unlock option as it's hidden. Since I just recently found stock firmware I will try this. When unzipping the stock firmware it has scatter file and DA file in the rom zip....
[Honor 9 Lite Questions & Answers] grv1461:
is the procedure for flashing coustom rom is right!?

First i turn on the oem option then unlock the bootloader then it will dlt the user data and will boot to stock then again i will turn on the oem option then flash twrp then will wipe user data by twrp then will flash descendant rom using fastboot and then reboot amd will flash gapps
[Honor 9 Lite Questions & Answers] Fredin_:
Yup that should work. Do remember that you can only enable oem unlocking if you sign into a google account during the setup(afer unlocking bootloader).

Also if you encounter an 'Error 7' of some sort when you flash Gapps(rare), boot to the rom without flashing Gapps. Then after the bootup, reboot to twrp and wipe data again.

Then flash gapps, it should work now.
[Honor 9 Lite Questions & Answers] grv1461:
Okay thank you
[Honor 9 Lite Questions & Answers] grv1461:
Will u tell me can i update my honor 9 lite when my bootloader is unlocked or stock recovery is installed

Or i have to use hurupdater method?
[OnePlus 6 Questions & Answers] radeonxt:
Should I block these two?

1. System

2. Android System, ANT HAL
[Redmi Note Q&A, Help & Troubleshooting] Tangam:
Can Any Developer Make Gaming Kernel for this Phone
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] nikhil020:
SereinOS for [Mido]

What is this?

Serein OS is an AOSP based Custom ROM accompanied with the mostly used features and only the features we consider to be a necessary ones.

Based on Android 9.0

Features

Omni Themes

Battery styles

Network traffic

Ambient Play

QS configurations

Powermenu customisations

Media Cover art toggle on lockscreen

Optional Roaming indicator

Advanced reboot

Known issues

Nothing

Download

Download from Here

Credits

Our Team members

[MENTION=6724943]nikhil020[/MENTION]

[MENTION=8030231]IamJoker03[/MENTION]

[MENTION=6152318]Ovenoboyo[/MENTION]

[MENTION=6409818]AmulyaX[/MENTION]

[MENTION=9342352]Parth Purvesh[/MENTION]

We would like to thank all these teams for their contribution to the OpenSource Community.

* GZOSPhttps://github.com/GZOSP

* OmniROMhttps://github.com/OmniRom

* DirtyUnicornshttps://github.com/DirtyUnicorns

* CrDroidhttps://github.com/crdroidandroid

* AEXhttps://github.com/AospExtended

* PEhttps://github.com/PixelExperience

Donate

Liked our work? Give us a beer

Our website

Check it out

Telegram channel

Stay tuned

​
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] nikhil020:
reserved 2
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] krishna.rag:
First one.. ??

Thanks dev

I'll try it..
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Xcaliber219:
Screenshots?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] greenys':
Another Pie ROM. Sheesh, mido is really loved. They just flood us with goods. It's sad it's beta aosp but due in time I'm sure when google releases stable gsi we'll have oreo like roms. Nice job dev.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] mad jebon:
Anyone try this rom cast working or not
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Ovenoboyo:
Git some screenshots

Have some screenshots
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] naufragato:
Thanks!

Unfortunately I just installed another ROM. Tomorrow I will certainly try it. I am very curious and I am sure it will be as good as all your work
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] ÀnkanKoley:
Volte Video call working?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] zoel.fahmi:
Try it
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] denduro:
Does it good for daily driver rom? Anyone have tested it yet?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Atchoum30:
Another one thx dev
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] miidooo:
Amazing Rom Thnx dev :D:D:D:D:D:D

---------- Post added at 03:06 PM ---------- Previous post was at 02:37 PM ----------

Yes feels smooth till now
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] raj-adroit:
Great Pie ROM,

* I've installed with Gapps & Magisk 17.2

* Very smooth, HD clarity and light weight

* No bugs so far

* Google Play (Tez) works with Magisk
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] JR Bautista:
how about the fingerprint? delay?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] mad jebon:
How about cast??its working?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Cimabu:
Guys sorry about dumb question, but what is exactly cast? :mad:

Thank you :)
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Klr0:
Performance better than pixel experience?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Nicklas Van Dam:
Cast screen to TV or screen mirroring if you don't get it, it available on settings
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] raj-adroit:
Finger print mostly with in a second, some time takes 1 second, looks good only

---------- Post added at 09:48 AM ---------- Previous post was at 09:46 AM ----------

Nope it's not working for me, (not sure for all ), when i try to connect phone UI get restarts

---------- Post added at 09:49 AM ---------- Previous post was at 09:48 AM ----------

Yes, very smooth and fluid
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] mad jebon:
I think this android pie bugs,,because i try another pie rom its same,try to connect,,but 1seconds it restart again,
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] denduro:
Bluetooth working fine?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] jdstrydom:
Bluetooth and bluetooth calls works fine for me; but since you might have different devices etc. I can't answer for every situation. Best bet is to make a TWRP full ROM backup of your current setup, flash the ROM and test. If it doesn't word, you can revert back.

It might not have all the fancy embellishments of the other ROMS available, but personally I like the ROM, and it works very nice with my phone hardware and personal usage. Running the latest Franko kernel.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Klr0:
Bug: when battery saving is active the theme changes to another theme
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] nikhil020:
Guys i will post a build soon, all these bugs will be taken care of in that build .. #staytuned
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] nikhil020:
#Coming build
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Klr0:
I'm anxious to test .-.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Anticeon:
Does this have low framerate like crdroid or better?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] UsPdSr:
In approximately every 5th post of a new pie release I read a post from you with requests.

Maybe you hold for a second or two and value the work instead of bombard the devs with any requests, pal.

Just a sign of politeness and certain courtesy.

PS

nikhil020, great to see you here, btw! :]
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] JR Bautista:
Sorry Bro :)
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] UsPdSr:
No worries.

I have the strong impression that the questions are mainly the source of anticipation rather then mindless ETA requests. ;)

I wanted to remind you merely.

Greetings
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] kunalpaul25:
Good job Nikhil and the rom is really beautiful.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] hmarques:
nice rom. Using for the last couple of days, and 0 issues for now
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] basakp15:
Battery backup screenshot please ....
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] ClockUpEx:
Wow a pie from nikhil! Can't wait to try this one
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] hmarques:
is this rom dead?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] PrincE..:
why you think so
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] hmarques:
no updates, no feedback posts, nothing...

I enjoy this rom, but lack the fm radio, for example. But even the post seems dead :(
[Windows Mobile Development and Hacking General] evilc:
Planned features:

Per-pixel Alpha PNGs - IMPLIMENTED

Widgets parsed from INI - IMPLIMENTED

Parse only items from INI that match screen caps - IMPLIMENTED

Display only items that match current screen width - IMPLIMENTED (Effectively switch profile on screen orientation change)

Options screen to set current profile

Widgets

======

Text Type: - IMPLIMENTED

Source: String in INI - IMPLIMENTED

Source: String in Registry

Source: Date from format string - IMPLIMENTED

Image type: - IMPLIMENTED

Plain image - IMPLIMENTED

Status Image - Registry value

Toggles - BlueTooth / WiFi / Phone etc

Other features

===========

Multiple screen resolutions supported per INI - IMPLIMENTED

Detect Power but no Activesync - Allow enabling of BlueTooth for automatic pairing with in-car BT handsfree.
[Windows Mobile Development and Hacking General] evilc:
Current questions and stumbling blocks:

Having issues finding a lightweight way of displaying per-pixel alpha PNGs. Current thinking is that AlphaBlend is perfectly capable of doing the blending, it is just SHLoadImageFile that is stripping the alpha info.

See threads here and here

Not sure how I am going to handle toggling of BT / WiFi. Could use VJ's tool, but I would rather do it in my code. Any pointers on how to do it and maintain maximum WM5 / WM6 compatibility would be appreciated - VJ's tool will not toggle WiFi on my Kaiser anyway...

Could do with decent chop and chomp routines (split by char and remove leading / trailing whitespace) - does anyone know an easy way to do this in native code?

Need to work out how to find the size of a text string in pixels *before* it gets drawn to the screen with ExtTextOut

Need to impliment a date format string to text string converter that can handle date and time objects in the same string

Currently I use a bit of code to look at the string and pass it to either GetDateFormat or GetTimeFormat, but not split the string and pass relevant bits to relevant routine, then reassemble.

Need to make whole thing a today item, but delaying doing this as it seems that debugging will be harder? I also guess this would be quite easy, so I am planning on leaving this until near the end. Any advice on this subject would be appreciated.
[Windows Mobile Development and Hacking General] v5HMeca:
I am interested in this. I don't know C++, but I have experience coding with other computer languages. I'll definitely be following this thread and watching for updates.
[Windows Mobile Development and Hacking General] larna:
iContact source contains some pretty lightweight INI library. It isn't written by me, and it's called SimpleIni. Everything is contained in one .h file and it's very easy to use.

good luck,

larna
[Windows Mobile Development and Hacking General] evilc:
Nice one, thanks ;)
[Windows Mobile Development and Hacking General] evilc:
I got simpleini in and working - you were right larna, it was really easy and pain-free. Thanks!
[Windows Mobile Development and Hacking General] evilc:
Update:

I have a working prototype.

All basic functionality coded - text and image widget types, orientation switching, ini parsing...

Currently still not a today item, and there is loads to do in terms of error checking and freeing up memory etc, but it parses INI files OK :)

Once I have done some tidying up, I will release some source and maybe a demo EXE.
[Windows Mobile Development and Hacking General] stefanux:
Hey!!

I'm already developing an application which load and extends rlToday Themes!

sources will be released soon!

The app is XIAMultitheme:

Done:

- fully working rltoday themes on a HWND

- done today plugin

- loading external dll

- all widgets are external dll

To do:

- avoid image loading via ImageFactory due to memory leak on wm6x

- port to CxImage to load PNG

- use AAROT to free rotate images (analog clock)

- today plugin does not load the engine yet

http://www.xiaprojects.com/?section=All&project=XIAMultiTheme

what do you think? mail me on priv (stefano) on xiaprojects.com
[Windows Mobile Development and Hacking General] brunoisa10:
hi stefano

i see nothing on your web site , nor screenshots nothing in download binaries

Why ???
[Windows Mobile Development and Hacking General] brunoisa10:
can you upload here the demo program ?
[Windows Mobile Development and Hacking General] evilc:
Sounds pretty neat!

I don't understand some of the terminology you use, but I think you may be talking about a feature I had an idea for:

profiles (XML files) can be associated with a today plugin such that you can make a profile appear in the today plugins list for each skin (XML file) you have installed - thus making each XML profile behave like it was a today plugin in it's own right.

Is that what you are talking about?
[Windows Mobile Development and Hacking General] evilc:
Demo uploaded to first post. Unzip it to \Storage Card\shared on your device and run.

BE AWARE, there is very little error checking when parsing the INI.

If you omit a horizres line for any widget, for example, the program will crash.
[Windows Mobile Development and Hacking General] evilc:
Well I checked out XIAMultiTheme and it looks promising.

I was not aware that there was a memory leak bug in IImagefactory, I wasn't planning on using it in the final version anyway, so no biggie.

If XIAMultiTheme is capable of doing what I had envisaged for openClock, I will probably stop development, as you obviously know what you are doing much more than I do ;)

However, a couple of points:

1) Size.

XIAMultiTheme seems to be a lot bigger and requires .NET - This seems to mainly be to do with the CxImage library - just PNG support seems to add more size than my entire app is! I am flabberghasted that supporting per-pixel Alpha PNGs takes this much, an alphablend routine can be done in a K or two, hundreds seems overkill. Apart from the requirement for rotation (for analogue clocks) I do not see why a full image lib is needed. Just a load and alpha blit.

2) Orientation awareness.

As in I don't see any in XIAMultiTheme. I am really happy with the way I have handled this in openClock - each item in the INI (XML in your case) has a "horizres" value associated with it. At render time, current screen width is compared to each item's horizres and if it matches, the item is drawn, if it doesn't then it isn't shown.

This provides a nice way to combine portrait, landscape and multi-res capabilities into one theme. And as long as you allow relative paths in the theme(eg 320\320bg.png, 240\240bg.png, common\common.png) then you can have a theme which supports all resolutions and orientations, and allow the user to store what they want on their PPC (eg if their device is qVGA, they know they do not need to put the 640 and 480 dirs on their PPC for a given theme, as they won't be used)

3) Stateful buttons.

Items like a voicemail button / wifi button etc should probably have two images associated with them - one for "no messages", one for "have messages". I was planning on putting something in openClock along the lines of specifying a reg key, an operator and an image.

eg:

regkey=HKEY_LOCAL_MACHINE\...

on=thisimage.png, gt, 0

off=thatimage.png

To set to thisimage if the key is of value greater than (gt) 0 or thatimage.png if not.

Good luck!
[Windows Mobile Development and Hacking General] Mort:
Yep. Same goes for MortButtons... (and MortPlayer, but there, the player itself is bigger in relation...)

The alphablend routine is in the Draw method, and even in source code not much more than 1kB.

The trouble is to load the PNG without losing the alpha information. With Windows' API, you can't do it - there's only the crippled SHLoadImage. So you need the entire code to decode PNGs, i.e. libpng, which in return requires zlib - over 200kB only to load PNG! The remaining kBs are spend to load/decode JPEG (quite some kBs, too), GIF (if enabled), BMP, ... and some basic image processing (resample, rotate, ...).

btw, you might want to check MortImg.dll and MortImage.lib, which is a (quite) simple wrapper. If only one image library is used, at least some memory on the device is saved (and if MortButtons or MortPlayer since b72 is used, also main memory).

Check out http://mort.svnrepository.com/svn/mort/MortTools/trunk with any SVN client (e.g. Tortoise), use "guest" for login and password.
[Windows Mobile Development and Hacking General] stefanux:
thanks you for your good words :)

1) beta version will be lighter ... (need to known what image loader use)

2) will be done on Page component (tab themes are already working)

3) will be done on sensor dll with "regex" (maybe)

XIAMultiTheme is in alpha development...

I would like to "merge" code with you or may be DLL collaboration.

XIAMultiTheme does NOT need .NET it's low level GDI "C" source

When XIAMultiTheme go on Beta status the dll will be around 10kb

Configurator is .net :)

Thanks you
[Windows Mobile Development and Hacking General] evilc:
Thanks for that mort!

However, if my entire app is (currently) 61K and it supports per-pixel alpha PNGs (Via the apparently bugged IImagefactory), then surely it is more than possible in less than 100K.

It seems like libpng must be grotesquely bloated for our needs. In an ideal world, someone would re-code SHLoadImage to not lose the alpha channel for PNGs. Maybe a workaround would be to convert the PNG into a 32bit per-pixel BMP with alpha before it is passed to SHLoadImage, as SHLoadImage deals with alpha BMPs just fine and AlphaBlend works just fine with AC_SRC_ALPHA data.
[Windows Mobile Development and Hacking General] evilc:
Hi stef,

I am more than happy to help out on your project with design ideas, testing and proofreading of english translations.

I have plenty of ideas on what the ultimate today screen widget app should feature, I just had to set my sights lower due to my (lack of) coding abilities.

Do you have a forum or something on your site? I don't see one.

I am slightly concerned about point (3) and your regex example. I would maybe try and keep it simpler, XML is already a little complicated for non-technical users to understand, throwing regexs into the mix may be the straw that broke the camel's back. That's why I went with INI files - simpler to use for lusers ;)
[Windows Mobile Development and Hacking General] stefanux:
Please try to do this test:

load 20 png's with imgfact. and start drawing all of them like a simple animation for 10 fps... image[]->Draw() after 5 minutes my application will blow up my pda (wm61) I thinks it's a "COM" bug because it happend only calling "Draw"
[Windows Mobile Development and Hacking General] evilc:
Are you kidding??? 10FPS? I have a kaiser! :P

Seriously though, if we can get a code snippet that proves this, surely we can get MS to issue a patch?
[Sony Xperia XZ1 Compact Themes, Apps, and Mods] dcrin3:
[IMG="Pie Nation 720p"]https://i.imgur.com/n0DmoZF.jpg[/IMG]

-----------------------BACKUP--------------------------------------

If you want to backup your current bootanimation then:

-Mount OEM in twrp touchscreen

-adb shell then cd /oem/media

-mv bootanimation.zip bootanimaBAK.zip

-cd ../../

-Uncheck OEM in twrp mount section to unmount /oem

-----------------------------------------------------------------------

If you don't care for backup, just flash the zip file below:

*** By the way, there's also a redundant bootanimation.zip on /system/media should you ever need it back. ***

View attachment 4648164
[Asus ZenFone Max Pro M1  Questions & Answers] capscorn:
Please suggest ROM for games
[Asus ZenFone Max Pro M1  Questions & Answers] pranavkpr:
Pixel experience or Liquid Remix Rom

Singh Kernel(set cpu freq. And governer using kernel auditor)
[Asus ZenFone Max Pro M1  Questions & Answers] capscorn:
Best set for game do you have ?
[Asus ZenFone Max Pro M1  Questions & Answers] hacker_zombie:
Please suggest settings of kernel auditor

I play pubg a lot ...

:confused: