yashsingh1/xdaforums huggingface dataset:
[Xiaomi Redmi 2 Themes, Apps, and Mods] hengkidermawan:
the OP says clearly, bro..

1- Install 1Resize-System-Redmi2.zip (only when changing system size partition).

2- install your Custom-Rom.zip

3- install 3Expand-filesystem-Redmi2.zip (always required after installing custom rom and before gapps, this releases new size to use).

4- install gapps.zip

5- done !

---------- Post added at 03:27 PM ---------- Previous post was at 03:24 PM ----------

the latest twrp, and the important thing is permanent twrp that OP said
[Xiaomi Redmi 2 Themes, Apps, and Mods] Christian - Cuba:
It's work for my, i installing from my OTG USB, so failed! and i try from SDCARD and work!

Sorry !! .
[Xiaomi Redmi 2 Themes, Apps, and Mods] ovinitas:
Thankyou so much for this.. this is really helpfull
[Xiaomi Redmi 2 Themes, Apps, and Mods] 1F1R5T:
thanks... its so helpful for me...
[Xiaomi Redmi 2 Themes, Apps, and Mods] mongkeelutfi:
cannot run script from sdcard. when i run, its rebooted to recovery again
[Xiaomi Redmi 2 Themes, Apps, and Mods] hoangphuc057:
my poco f1 rom up to 3.14gb. you can support 3.2gb system
[Xiaomi Redmi 2 Themes, Apps, and Mods] Anre1:
Have a question

I made the markup, I did not like the firmware, I want to install another firmware.

* then, before installing other firmware, I need to do all the actions again

Or does the partition size already remain changed 2GB?

and the same question:

I have LOS14 backup from 1GB, after re-partitioning to 2GB, can this backup be restored or will not work?

excuse me english translate.google
[Xiaomi Redmi 2 Themes, Apps, and Mods] MR207:
Works on samsung galaxy j3 2016?
[Xiaomi Redmi 2 Themes, Apps, and Mods] kkshethin:
Thanking you very much. I successfully installed lineage17 plus opengapps for Q after following your instructions.
[Xiaomi Redmi 2 Themes, Apps, and Mods] Iyan Tl:
I has try this method & work on my redmi 2 1GB version,on twrp show that my system partition have 2GB. But when i install custom rom base on miui,on about phone show my ram have 1GB ram. Is it partition just showed on twrp but not on about phone ? Sorry for my bad english
[Xiaomi Redmi 2 Themes, Apps, and Mods] shrewdoc:
Hi! I had resized my partition with your tool and it worked great! Now I want to install MIUI, so how to revert the size of the system partition? Would the Mi Flash Tool automatically resize the partition or will it brick/bootloop?
[Xiaomi Redmi 2 Themes, Apps, and Mods] thewaytoaavas:
Thanks man for this effort
[Xiaomi Redmi 2 Themes, Apps, and Mods] RandomNewbie:
The safest way is to do a full clean flash with Mi Flash or through the fastboot script included in a MIUI fastboot ROM archive.
[Xiaomi Redmi 2 Themes, Apps, and Mods] Raghu2005:
I Flashed this 1Resize-System-Redmi2.zip (only when changing system size partition) it asked for SD card (i didn't have) but i choosed to backup to sd card on the end it said no external sd found and i pressed exit and i guess rebooted without Rom now it doesn't even show Mi logo and power button not working and can't go to fastboot did i done it wrong? How can i fix this? Help Plz
[Xiaomi Redmi 2 Themes, Apps, and Mods] Asakura hatsuyuki:
So whether I should keep my system partition read-only?

and when I installed the first zip，should I wipe my data and system？
[Xiaomi Redmi 2 Themes, Apps, and Mods] anupamgaint:
can you please tell me which Rom gives maximum battery life for "

Redmi 2 Prime

" ?
[Moto G4 Play Questions & Answers] Talha CH:
Can I flash any 7.1.1 custom rom (Cr Droid, RR) over 8.1 pixel experience?
[Moto G4 Play Questions & Answers] lavish002:
No you can't
[Android Software/Hacking General [Developers Only]] KP@2016:
All Downloads & Tutorials at the end of the post.

​

Read second post for upcoming updates and details.

​

[IMG="mainlogo"]https://androdevkit.files.wordpress.com/2018/11/main_logo.png[/IMG]​

Screenshots

Highlighted Features

Changelog and Information

Discussions, Bugs, Reports, Enhancements

Guides and Documentation

Download and other stats

XDA:DevDB Information

Android Development Kit, Tool/Utility for all devices (see above for details)

Contributors

KP@2016

Version Information

Status: Stable

Stable Release Date: 2020-05-25

Current Stable Version: 1.0.7.1

Created 2018-06-12

Last Updated 2020-05-25
[Android Software/Hacking General [Developers Only]] KP@2016:
Update Details
[Android Software/Hacking General [Developers Only]] newbie@1:
Nice!
[Android Software/Hacking General [Developers Only]] wangyiling:
@ KP@2016

GOOD work
[Android Software/Hacking General [Developers Only]] xanthrax:
thread closed until the download links will be available

Thanks for understanding

-=-=-

edit

thread reopened
[Android Software/Hacking General [Developers Only]] YuriRM:
This is very interesting! Keep up the good work.
[Android Software/Hacking General [Developers Only]] KP@2016:
Yes, stay tuned for its updates coming tonight!

Edit: Update released today, check the OP
[Android Software/Hacking General [Developers Only]] an-_-dro:
thank you.. Assayed was great and never fail me on MM and N, this looks promising. Will try it :fingers-crossed:
[Android Software/Hacking General [Developers Only]] hieu291:
Hi there .. i have some question

Hi , i just downloaded your tool and use it .. It kindly simple and have all funtion i need .. but i have some question ,:( i still can't link my device to your tool ... :crying::crying: And everytime i build my project it still not generate .. I mean i want to everytime i build project by your tool , your tool should link to my device and install .. That will faster than i build by your tool , and go to apkinstaller and install that :silly::silly: That worth :( Pls rep me :(

---------- Post added at 10:15 AM ---------- Previous post was at 10:09 AM ----------

help me answer some question bro
[Android Software/Hacking General [Developers Only]] KP@2016:
Got it... You must use 1.0.2.2 version. If this not works, an update will release tonight which will fix this issue

Edit: You said you cannot link your device, what that means? And on what project type you were working on?

Edit 2: Once you build your project, you use Android Device Manager to install or push apk to device https://androdevkit.wordpress.com/2018/07/02/device-manager/
[Android Software/Hacking General [Developers Only]] hieu291:
Everthing is perfect but i mean my old tool can auto install and uninstall apk when i builded .. The apk will auto link to device and install on it .. Your tool don't have that funtion right ? or i don't know how to use :D:D If you can make your tool auto link and uninstall to device .. i will purchase for prenium :victory::victory:
[Android Software/Hacking General [Developers Only]] KP@2016:
You cleared your own point. You don't know about that function where it is!

Well ADK has Android Device Manager https://androdevkit.wordpress.com/2018/07/02/device-manager/ deals with this. It has lots more feature apart from install apk

This is a same feature like Android Studio
[Android Software/Hacking General [Developers Only]] nalas:
Amazing works , I will buy :) now Im waiting for a money at PayPal :)

I was working on Assayyed kitchen, too. ...but now time for NEW stuff .

Good work :)
[Android Software/Hacking General [Developers Only]] nalas:
Hi,

I have some problems with compile a system apk for example SecSettings.apk from Samsung Rom.

Decompile is ok but the Uknow folder is created where is some res files like Values, XML, etc...

I make changes in Values for add ex. 0.25 scale for animation, etc... next I tap on Build Project..and wait ..10 - 15 - 20 min and nothing.... I've added ss from my PC.

I've not any change in styles.xml file.

Please help me what Im doing wrong ?

Thx a lot
[Android Software/Hacking General [Developers Only]] nalas:
I've tried on apk tool for android and i got like on ss.

On Android looks good, on my PC and ADK not..

I've installed JDK java, Python 2.7...and all the time looks not good...still folder called Uknown and stuck on Build Project....

I forgot about something? InstallView attachment 4573376

Wysłane z mojego SM-G930F przy użyciu Tapatalka
[Android Software/Hacking General [Developers Only]] KP@2016:
Use 1.0.3.3 version the issue has been fixed

Edit to update to this version enable auto update options from settings and restart the kit or go to about > check for updates
[Android Software/Hacking General [Developers Only]] JIJOK:
[MENTION=7424515]KP@2016[/MENTION]

Hello, just downloaded the tool and this is what I get after install it ( win7 64 )

Problem signature:

Problem Event Name:	CLR20r3

Problem Signature 01:	ADK.exe

Problem Signature 02:	1.0.2.2

Problem Signature 03:	5b3bf40a

Problem Signature 04:	System.Drawing

Problem Signature 05:	4.6.1055.0

Problem Signature 06:	563c0fcc

Problem Signature 07:	5ac

Problem Signature 08:	6b

Problem Signature 09:	System.ArgumentException

OS Version:	6.1.7601.2.1.0.256.1

Locale ID:	11274

Additional Information 1:	0a9e

Additional Information 2:	0a9e372d3b4ad19135b953a78882e789

Additional Information 3:	0a9e

Additional Information 4:	0a9e372d3b4ad19135b953a78882e789

Any help ?
[Android Software/Hacking General [Developers Only]] KP@2016:
How did you get this information? Did you run the ADK and got this info... Could you attach a screenshot of this error?
[Android Software/Hacking General [Developers Only]] JIJOK:
windows 7 ultimate 64, installed all by default, java version 8 update 131, and 15 secs adb on xda thread
[Android Software/Hacking General [Developers Only]] KP@2016:
Something pretty weird, can't say how that occur.

Here are some fixes that might help

1. Install latest dot net framework

2. Run compatibility shooter from right click > properties and choose 'run this program' for all listed operating system one by one. (Check which ones fit for you)

3. Debug the program and pass me the log generated from it.
[Android Software/Hacking General [Developers Only]] Gau92:
Any Solution For this?
[Android Software/Hacking General [Developers Only]] KP@2016:
Second exception shown in the output dialog is common, nothing to worry about.

If you pass me your ADK folder\tools\log.log file i can see what's going on with error 1
[Android Software/Hacking General [Developers Only]] Gau92:
I want to remove bootloader unlock error message is it possible from your tool?

[IMG="Getting this error after unlocking the boot loader when i have installed custom ROM on my MI A2 device"]http://cdn04.androidauthority.net/wp-content/uploads/2015/10/15-1-840x1165.jpg[/IMG]

---------- Post added at 11:51 AM ---------- Previous post was at 11:43 AM ----------

Can i email you my log file i am not able to attach it over her?
[Android Software/Hacking General [Developers Only]] KP@2016:
If you want to remove this message. You need to modify logo.bin (if mediatek chipset) or edit logo.img (for sd).

Logo.img is same as logo.bin just rename to .bin and edit it from ADK https://androdevkit.wordpress.com/2018/01/20/logo-bin-modifying-complete/

Also, that thing you are seeing is an image so you need to replace the image from there.

If your firmware doesn't have logo.img then check for splash.img file and to edit it go to Tools > Android Image Tool. Check from there (i might've forgot the exact option).
[Android Software/Hacking General [Developers Only]] Adromir:
I have purchased ADK a while ago and didnt used it for a while. I tried to update it to latest, but all i am able to update to (within ADK is 1.0.5.0) and I can't find an installer for ADK 1.0.6.3 anywhere
[Android Software/Hacking General [Developers Only]] KP@2016:
There is no offline installer for 1.0.6.3. You need to connect to internet and then update from message shown or go to Help > Settings > About and update from there.
[Android Software/Hacking General [Developers Only]] Adromir:
Thats what I did. It updated to 1.0.5.0 Stable this way. The only "Update" that is shown now is 1.0.5.0 Alpha, but that can't be installed. 1.0.5.0 Stable and Alpha were the only Version ADK showed me in the Updater Dialog
[Android Software/Hacking General [Developers Only]] KP@2016:
Well on official website download 1.0.5.8 installer.
[Android Software/Hacking General [Developers Only]] Gau92:
=========== Extracting Started ===========

C, 0: Warning: using regular magic file `\Users\igloble2\AppData\Roaming\DevTools\androidbootimg.magic'

C, 0: Warning: using regular magic file `\Users\igloble2\AppData\Roaming\DevTools\androidbootimg.magic'

C, 0: Warning: using regular magic file `\Users\igloble2\AppData\Roaming\DevTools\androidbootimg.magic'

C, 0: Warning: using regular magic file `\Users\igloble2\AppData\Roaming\DevTools\androidbootimg.magic'

C, 0: Warning: using regular magic file `\Users\igloble2\AppData\Roaming\DevTools\androidbootimg.magic'

C, 0: Warning: using regular magic file `\Users\igloble2\AppData\Roaming\DevTools\androidbootimg.magic'

C, 0: Warning: using regular magic file `\Users\igloble2\AppData\Roaming\DevTools\androidbootimg.magic'

C, 0: Warning: using regular magic file `\Users\igloble2\AppData\Roaming\DevTools\androidbootimg.magic'

C, 0: Warning: using regular magic file `\Users\igloble2\AppData\Roaming\DevTools\magic'

25845 blocks

These are the warning i am getting when i unpack system.img. Loader is moving continusly and when i start this process outp folder get created and stats_size.txt file get generated rest i am getting nothing from the system.img. Please help me i got stuck over here for so long.
[Android Software/Hacking General [Developers Only]] KP@2016:
Send me your system.img file and I'll check.
[Android Software/Hacking General [Developers Only]] Adromir:
Thanks, that worked
[Android Software/Hacking General [Developers Only]] KP@2016:
I've created a complete package installer of ADK version 1.0.65. You can clean install it or overwrite the existing one!
[Android Software/Hacking General [Developers Only]] Gau92:
Hi KP,

Did you find any solution for the same?
[Android Software/Hacking General [Developers Only]] KP@2016:
Check your mail i remembered i messaged you with your answer!
[Android Software/Hacking General [Developers Only]] Gau92:
Hi KP,

I got success in unpacking the system image file but now one more issue arise when i am trying to repack the system folder can you help me in this?

Error is:

error: ext4_allocate_best_fit_partial: failed to allocate 2505 blocks, out of space?
[Android Software/Hacking General [Developers Only]] KP@2016:
Looks like ADK failed to calculate the repack size, not to worry in folder Solution\Misc edit stats_size.txt file.

That thing is the size byte of the system.img to be formed so increase the size like change a bit at 6th position. For eg: 2000000 --> 2001000 to fit all the blocks.
[Android Software/Hacking General [Developers Only]] xmannv:
How to unpack/repack FW .img amlogic s905x2 Android 9? exam fw link: https://drive.google.com/open?id=1BbkDNWwSpPeTvzIDZpOxcgPCIxVsZT8G
[Android Software/Hacking General [Developers Only]] KP@2016:
This currently doesn't unpack amlogic images! I wil be adding it soon!
[Android Software/Hacking General [Developers Only]] Gau92:
I did this but when i flash the system.img on my MI A2 phone it is showing an error this:

"Invalid sparse file format at header magic"

---------- Post added at 08:54 AM ---------- Previous post was at 08:51 AM ----------

I did this but when i try to flash my system.img file in my MI A2 device it raise an error and then i got stuck in boot loop:

This is the error

"Invalid sparse file format at header magic."
[Android Software/Hacking General [Developers Only]] KP@2016:
Your image is compiled into ext4 format, currently there is no automated method to convert to sparse format.

So do one thing, in the folder where you have saved your compiled system.img open cmd and type

Imgextractor system.img system_sparse.img -conv

Once done you will see a new system_sparse.img

Now try flashing this image and see if this fixes your error.
[Android Software/Hacking General [Developers Only]] Digvijaysing:
hello

actually i am modifying pixel experience pie rom but after creating a build it is showing error 7(I am using mido device & rom is also for mido no question in that.)

for trial i just cretaed project of same name of the pie rom and without modifying just build it and try to install but it is again giving me error 7 in twrp is there is any problem in asserts & i also try this with other pie rom as DOT os but same problem is showing.

I am using Latest ADK trial mode (Actually i already installed java but ADK showing java is not present)

i will be very thankful if my problem get solved.

Device mido(Redmi note 4)

Rom Pixel experience latest from there official site or dot os its official site.
[Android Software/Hacking General [Developers Only]] KP@2016:
Can't say what's really going on, but still try to remove all asserts in the ROM and then try to flash again!

Edit: For java error install jdk 8 but not jdk 11 or 12.
[Android Software/Hacking General [Developers Only]] Digvijaysing:
OK i will install jdk 8.

but can u tell me what is main problem in building the rom actually i am in hurry to submit my project it will be very helpful if this issue will be solved.

can u tell me which version of rom modifications are working as per u tried.

is there any tool by which i can open system.img file and repack it after modifying for windows or linux i really appreciate your help.
[Android Software/Hacking General [Developers Only]] KP@2016:
ADK works with all version of Android. Here the problem lies with your updater-script. Try removing all the assert lines and then flash.
[Android Software/Hacking General [Developers Only]] Digvijaysing:
Yes i remove the asserts which showing me error

but due to removing the asserts it show rom is flashed but in reality it just skip the flashing process...so rom is not installing i noticed even if we dont modify the rom and just open it and build the custom rom rom size get decrease by over 150MB.

i think at building time it is not building all files.

what should i do now.

Can u tell me any extractor for custom rom on windows it will be very helpful.
[Android Software/Hacking General [Developers Only]] KP@2016:
You removed assert in wrong way! That's why ROM is not installing.

For other tools on Windows, you can try Super kitchen say if it works.
[Android Software/Hacking General [Developers Only]] Gau92:
Hi KP,

Can we sign any custom ROM from your tool and flash it in any device?
[Android Software/Hacking General [Developers Only]] KP@2016:
Yes why not, just go to Tools > Sign Project/Tool.
[Android Software/Hacking General [Developers Only]] Gau92:
Also if we sign any custom ROM and flash it into the phone so will it also lock the bootloader?
[Android Software/Hacking General [Developers Only]] Gau92:
Hi KP,

I am not able to sign my custom rom. Can you please tell me which files put in the zip file when we sign it?
[Android Software/Hacking General [Developers Only]] Digvijaysing:
hy actally i tried super kitchen and it it working just issue is there are some normal error but overall it is working.

can u tell me what is sign build option after building rom option in SupeR kitchen

Thanks for help
[Android Software/Hacking General [Developers Only]] KP@2016:
The tool sign any zip/apk. Can you explain me more about this problem.
[Android Software/Hacking General [Developers Only]] Inside 4ndroid:
hi everyone...

so i am so god dam close to buying this but one thing is preventing me from doing so...

i for some reason cannot change the heap size in settings??? my machine has 32gb of ram and i really would like to make use of it..

problem: open settings adjust heap size and click okay. re-open settings an it is set back to default.

is there a fix or solution or am i doing something wrong??
[Android Software/Hacking General [Developers Only]] KP@2016:
Okay I see your problem basically the heap size that your changing from settings originally was working but I removed the functionality because when user used to change heap according to there own size (without knowing what they are doing) they were facing system shutdowns , lags and such bizzare problems (I got PMs regarding this issue).

So later then i silently fixed this issue in ADK that it will change/use heap size automatically according to your system config. That's why that feature of setting heap size is dead and that thing in settings is basically a prop.

Still if you want to go from auto to manual (which is not recommended) edit %appdata%\DevTools\baksm.bat and change text 512 to something else like 1024 for 1GB heap size, 2048 for 2GB heap size and so on.
[Android Software/Hacking General [Developers Only]] Inside 4ndroid:
thank you very much... i am advanced whern it comes to java heaps etc just didnt know where to set the setting manually lol....

Thanks for your response... an buy yaself a coffee with that $15 you deserve it.. such an awsome tool with still so much potential.. :)
[Android Software/Hacking General [Developers Only]] Nope_nope:
I have to say, I like it, and if I could buy it, I would.

Just an idea: since "adk" as a name is already used by several companies, a different name, like "apk reverse engineering ide" would be great.

Also, stupid question: I know that apk studio and vts are the software you based adk on, why do these softwares looks this identical? (do not get the wrong idea)
[Android Software/Hacking General [Developers Only]] KP@2016:
[1] Yeah ADK is more common name. I should have put more thought on giving a good name to project (a story for next time). Now can't change it as more people are aware of this tool by name ADK... didn't want to loose that.

[2] Yes you are right, if you read forth paragraph of first post you'll see i mentioned the similarity of vts and apk studio and ADK. PS: In nutshell apk studio was quite famous tool and was the only cross platform tool for editing apps rather vts was for windows exclusively. That's why apk studio was booming across platforms, due to this I tried to design ADK as apk studio so that it would be easy for people to learn ADK software :D
[Android Software/Hacking General [Developers Only]] KP@2016:
New update version 1.0.67 is available for ADK as per latest changelog.
[Android Software/Hacking General [Developers Only]] AndreaFar:
Error at the start

I have this error:

No frameworks found in appdata\apktool folder. You might get error while decoding APK or JAR.

Fix: Tools > Import Dependencies > Pull framework from device > Install

If I follow the indication is opened this window:

If I click "pull framework from your device" appears an error message Exception Occurred file not found on the bottom right and the progress bar loops indefinitely.

Since something doesn't work as supposed... Could you attach a valid framework to use without needs to get from device or elsewhere?
[Android Software/Hacking General [Developers Only]] lmservas:
I apologize if this has been addressed before. I did my best to search the thread already for all the terms in the error message I received but had no luck finding anything. Since purchasing ADK I have attempted to install both the latest update (1.0.67) and a couple before that and no matter what am met with the following error after selecting english during setup - Failed to expand shell constant folder "userdocs"... I believe I have the required prerequisite software installed and am at a loss. Please help!
[Android Software/Hacking General [Developers Only]] hieu291:
Hello there

Hello, does your tool support MacOS ?
[Android Software/Hacking General [Developers Only]] KP@2016:
It works for Windows only :rolleyes:
[Android Software/Hacking General [Developers Only]] necsynx:
Hello,

I'm need to unpack system.dat.br

but it stock in 2/3

what should I do let it can unpack it?
[Android Software/Hacking General [Developers Only]] khb8255@gmail.com:
Android 9.0 deodex doesn't work, even one app didn't succeed....