yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] DF11GB:
I can use Dropbox, but I still can't download anything:( Can you give me the download link? I want to download them... If they works well, I will be very willing to buy your software.:)
[Android Software/Hacking General [Developers Only]] KP@2016:
OK, but first you need to do a favour.

Launch the ADK, then in ADK installation folder there is a file called pluginlist.txt (will be generated). Pass me that file so I can check what's going wrong. I will PM you all the plug-in.
[Android Software/Hacking General [Developers Only]] DF11GB:
Here it is.
[Android Software/Hacking General [Developers Only]] Azazel6002:
Running Windows 7 64, I cant get adk to run. It crashes on launch. I followed install guide. here error i get.

Problem signature:

Problem Event Name:	CLR20r3

Problem Signature 01:	ADK.exe

Problem Signature 02:	1.0.4.6

Problem Signature 03:	5c2f7c3c

Problem Signature 04:	System.Drawing

Problem Signature 05:	4.7.3221.0

Problem Signature 06:	5b885a8c

Problem Signature 07:	5b4

Problem Signature 08:	6b

Problem Signature 09:	System.ArgumentException

OS Version:	6.1.7601.2.1.0.256.1

Locale ID:	1033

Additional Information 1:	0a9e

Additional Information 2:	0a9e372d3b4ad19135b953a78882e789

Additional Information 3:	0a9e

Additional Information 4:	0a9e372d3b4ad19135b953a78882e789
[Android Software/Hacking General [Developers Only]] KP@2016:
You must install .net framework 4 even if you have greater than that installed. If this solution doesn't work let me know!

Edit: Are you running Windows 7 ultimate or professional?
[Android Software/Hacking General [Developers Only]] Azazel6002:
Windows 7 Ultimate

<32Bit>

2.0.50727.8800

->C:\Windows\Microsoft.NET\Framework\v2.0.50727

4.7.3260.0

->C:\Windows\Microsoft.NET\Framework\v4.0.30319

<64Bit>

2.0.50727.8800

->C:\Windows\Microsoft.NET\Framework64\v2.0.50727

4.7.3260.0

->C:\Windows\Microsoft.NET\Framework64\v4.0.30319

< Installed .NET Frameworks >

.NET FW 2.0 SP 2 (CLR:2.0)

.NET FW 3.0 SP 2 (CLR:2.0)

.NET FW 3.5 SP 1 (CLR:2.0)

.NET FW 4.6.2 General release (CLR:4.0)

.NET FW 4.7 General release (CLR:4.0)

.NET FW 4.7.1 General release (CLR:4.0)

.NET FW 4.7.2 General release (CLR:4.0)

So I uninstalled Net Framework and installed one by one and still having the crash. here are problem signature. If these don't help let me know. I don't want to clutter up your board .

Problem signature:

Problem Event Name:	CLR20r3

Problem Signature 01:	adk.exe

Problem Signature 02:	1.0.4.6

Problem Signature 03:	5c2f7c3c

Problem Signature 04:	mscorlib

Problem Signature 05:	4.0.0.0

Problem Signature 06:	4ba1da6f

Problem Signature 07:	11cd

Problem Signature 08:	89

Problem Signature 09:	System.TypeLoadException

OS Version:	6.1.7601.2.1.0.256.1

Locale ID:	1033

Additional Information 1:	0a9e

Additional Information 2:	0a9e372d3b4ad19135b953a78882e789

Additional Information 3:	0a9e

Additional Information 4:	0a9e372d3b4ad19135b953a78882e789

Problem signature:

Problem Event Name:	CLR20r3

Problem Signature 01:	adk.exe

Problem Signature 02:	1.0.4.6

Problem Signature 03:	5c2f7c3c

Problem Signature 04:	System.Drawing

Problem Signature 05:	4.0.30319.17929

Problem Signature 06:	4ffa5c71

Problem Signature 07:	67f

Problem Signature 08:	6c

Problem Signature 09:	System.ArgumentException

OS Version:	6.1.7601.2.1.0.256.1

Locale ID:	1033

Additional Information 1:	0a9e

Additional Information 2:	0a9e372d3b4ad19135b953a78882e789

Additional Information 3:	0a9e

Additional Information 4:	0a9e372d3b4ad19135b953a78882e789

Problem signature:

Problem Event Name:	CLR20r3

Problem Signature 01:	ADK.exe

Problem Signature 02:	1.0.4.6

Problem Signature 03:	5c2f7c3c

Problem Signature 04:	System.Drawing

Problem Signature 05:	4.6.81.0

Problem Signature 06:	5584e6d7

Problem Signature 07:	5aa

Problem Signature 08:	6b

Problem Signature 09:	System.ArgumentException

OS Version:	6.1.7601.2.1.0.256.1

Locale ID:	1033

Additional Information 1:	0a9e

Additional Information 2:	0a9e372d3b4ad19135b953a78882e789

Additional Information 3:	0a9e

Additional Information 4:	0a9e372d3b4ad19135b953a78882e789

Problem signature:

Problem Event Name:	CLR20r3

Problem Signature 01:	ADK.exe

Problem Signature 02:	1.0.4.6

Problem Signature 03:	5c2f7c3c

Problem Signature 04:	System.Drawing

Problem Signature 05:	4.7.3221.0

Problem Signature 06:	5b885a8c

Problem Signature 07:	5b4

Problem Signature 08:	6b

Problem Signature 09:	System.ArgumentException

OS Version:	6.1.7601.2.1.0.256.1

Locale ID:	1033

Additional Information 1:	0a9e

Additional Information 2:	0a9e372d3b4ad19135b953a78882e789

Additional Information 3:	0a9e

Additional Information 4:	0a9e372d3b4ad19135b953a78882e789
[Android Software/Hacking General [Developers Only]] KP@2016:
If my first answer doesn't work, this should fix your problem https://stackoverflow.com/a/6093614/10133501
[Android Software/Hacking General [Developers Only]] Azazel6002:
I got it working now. I ran debug in VS. Was Font Century Gothic not supporting Regular. Deleted and reinstall one with support for regular.

Thank you for your help.

'ADK.exe' (Win32): Loaded 'C:\Windows\SysWOW64\ExplorerFrame.dll'. Cannot find or open the PDB file.

'ADK.exe' (Win32): Loaded 'C:\Windows\SysWOW64\duser.dll'. Cannot find or open the PDB file.

'ADK.exe' (Win32): Loaded 'C:\Windows\SysWOW64\dui70.dll'. Cannot find or open the PDB file.

An unhandled exception of type 'System.ArgumentException' occurred in System.Drawing.dll

Font 'Century Gothic' does not support style 'Regular'.
[Android Software/Hacking General [Developers Only]] KP@2016:
Good for you. Can you share the supported century gothic regular ttf file here. So that I can include it in during installation of upcoming releases
[Android Software/Hacking General [Developers Only]] Azazel6002:
This is it.
[Android Software/Hacking General [Developers Only]] K3V1991:
[MENTION=7424515]KP@2016[/MENTION]

I try to unpack a system.img (LG) but it hangs

Here is the stock boot.img: https://androidfilehost.com/?w=file...5c4228bfebd03c2270829cf0694c6b9bec20aaa30b8e0

I hope it helps
[Android Software/Hacking General [Developers Only]] KP@2016:
Hello Everyone! A Quick update on sending ADK Updates.

As I am too busy with my another project I am not able to send updates to ADK. I'm really having great ideas that I want to implement but just can't do it because of current work project stress. Once I finish my current project I will start sending updates to ADK. Trust me! Working for ADK is the thing I love to do. I will never stop sending it's update!

Hope you understand :)

Edit: I am about to complete my current project. Soon I'll be starting working on updates on ADK from this month end (March 2019)
[Android Software/Hacking General [Developers Only]] K3rb3r05:
Hello. Got latest version: 1.0.4.8 . Is there a specific reason the "Plugins & Patches" is greyed out? Thank you
[Android Software/Hacking General [Developers Only]] KP@2016:
It will get disabled when your trial period gets over. If this is not the thing, then it means there is some issue with ADK. Let me know!
[Android Software/Hacking General [Developers Only]] nalas:
He, i have full version and plugins in latest version not works anymore ..disavtivated.

Wysłane z mojego SM-G930F przy użyciu Tapatalka
[Android Software/Hacking General [Developers Only]] KP@2016:
Is that so! Then let me check, I'll let you know soon?
[Android Software/Hacking General [Developers Only]] K3rb3r05:
Thank you for the prompt reply. First bought the license , then installed (due to the form inquiring a code). At first I thought it was greyed out due to it not being activated, but then i got activation key, and... no cookie.
[Android Software/Hacking General [Developers Only]] nalas:
No problem, in your free time [emoji3]

Wysłane z mojego SM-G930F przy użyciu Tapatalka
[Android Software/Hacking General [Developers Only]] KP@2016:
Hey I've checked about your issue! It's strange that it occurred on your PC as I've run some test on other versions of windows which works fine!

Still I've implemented a way to get it working incase of yours! This update will roll out soon. It will take time as my exams are coming closer too, but will surely let you know!
[Android Software/Hacking General [Developers Only]] nalas:
No problem[emoji3] in your free time. If i install full versions like 1.0.4.6 was oki all works...

Wysłane z mojego SM-G930F przy użyciu Tapatalka
[Android Software/Hacking General [Developers Only]] K3rb3r05:
Which version of windows did you test it on? Mine is windows 7 64bit.
[Android Software/Hacking General [Developers Only]] nalas:
Windows 10 64bit

Wysłane z mojego SM-N935F przy użyciu Tapatalka
[Android Software/Hacking General [Developers Only]] KP@2016:
Same win7 64bit and also win8 works fine. Its not problem of windows. I found it occurring to some specific users only. Don't know why but lets see!
[Android Software/Hacking General [Developers Only]] nalas:
HI, still I have problem.

Pics in attachment.

For me is not problem for now bcose I can back to v1.04..6 - no plugins - are gray and non activity.

Good was if full instalation was on a server for download.

View attachment 4737142
[Android Software/Hacking General [Developers Only]] KP@2016:
Obviously you will still have problem coz I haven't push an update yet!
[Android Software/Hacking General [Developers Only]] K3V1991:
My Plugins & Patches Section is greyed out on latest v1.0.4.8

v1.0.4.6 works

Windows 10 Pro x64 (1809)
[Android Software/Hacking General [Developers Only]] KP@2016:
A new update has been send to ADK. Check Second post for some additional notes regarding future updates.

Edit: This update has fixed the issue for plugins disabled bug.
[Android Software/Hacking General [Developers Only]] K3V1991:
Updated to v1.0.5.0 but the Plugins are disabled
[Android Software/Hacking General [Developers Only]] KP@2016:
I cannot see what's going on. I've actually enabled it every time it check if you have licensed. I don't know what's happening. Could you somehow provide me more information on this!
[Android Software/Hacking General [Developers Only]] nalas:
Can You make full install like 1.0.4.6..? Was very good. Thx

Wysłane z mojego SM-N935F przy użyciu Tapatalka
[Android Software/Hacking General [Developers Only]] KP@2016:
Okay I'll create and will send it tomorrow alright
[Android Software/Hacking General [Developers Only]] KP@2016:
PM me quickly, want to talk something related to this bug!
[Android Software/Hacking General [Developers Only]] KP@2016:
I've created a full installer for ADK. Anyone from here can check if it fixes the disable plugin options (greyed out). http://bit.ly/2KycWxw
[Android Software/Hacking General [Developers Only]] KP@2016:
I'll see to it and soon send you a new deodex tool with the update!
[Android Software/Hacking General [Developers Only]] KP@2016:
Hello, I've checked the issue and conclude the following things.

1. First of all, Unified Deodexer does not detect android version using ro.build.version.release it uses ro.build.version.sdk

2. The error was generated while retriving ro.product.name. Since your build.prop file doesn't have this property it crashed.

3. I've fixed the tool and attached a zip file, extract it and replace it with the original deodex tool in ADK installation directory.

If any problem occurs in future let me know :)
[Android Software/Hacking General [Developers Only]] qqzwc:
No crashes now，but it still can not deodex my ROM with my Windows10. I cannot find any *useful* log.

Could you try this ROM and try to get the reason?

It's the official ROM for OnePlus3T,Android Pie.

I've tried to use vdexExtract and compact_dex_converter in Linux with this ROM , everything works fine.

BTW,the binaries (similar to APK-Changer) in your tool has no problem with this ROM,see attched picture.

http://download.h2os.com/OnePlus 3T...8_OTA_060_all_1903310222_b76c39af1e5d4362.zip

-- Deodexing Started --

Android Version: 9
Model: ---
CPU ABI: arm64-v8a
Processing "app\BackupRestoreRemoteService"
Deodex Failed !!!

Processing "app\BasicDreams"
Deodex Failed !!!

Processing "app\Bluetooth"
Deodex Failed !!!

Processing "app\BluetoothExt"
Deodex Failed !!!

Processing "app\BluetoothMidiService"
Deodex Failed !!!

Processing "app\BTtestmode"
Deodex Failed !!!

Processing "app\BuiltInPrintService"
Deodex Failed !!!
[Android Software/Hacking General [Developers Only]] KP@2016:
This will take time since my Internet speed is slow for downloading. I will let you know the results
[Android Software/Hacking General [Developers Only]] qqzwc:
Thanks for your kindly reply. I think the main reason is that this tool didn't process the ro.build.version.sdk prop value correctly so it didn't call the right method for android 9 deodex.

It seem that this tool is trying Android 6.0 deodex method and got errors.
[Android Software/Hacking General [Developers Only]] KP@2016:
The tool is perfectly working fine! For some reasons it didn't work on your ROM.

I even tried the same stuff through command-line turns out it is not generating *.new file.... I don't know what's the issue! but seems problem of the flinux.exe or compact_dex_converter... ! Can you tell me which version of ADK you are using?
[Android Software/Hacking General [Developers Only]] qqzwc:
ADK Version 1.0.5.0 ,Windows 10 64bit with Java JDK.

I got exactly the same problem with you at first,and I think it's flinux.exe's problem too.

But it seems begin to work after I download https://xysun.me/static/flinux-archlinux.7z and run flinux-0.21-archlinux\run_bash.cmd
[Android Software/Hacking General [Developers Only]] KP@2016:
I tried exactly what you said! Still no look for me? I don't know why is this happening with your ROM, flinux seems to work on other ROM's cdex file but not this! Need to figure this out?
[Android Software/Hacking General [Developers Only]] qqzwc:
Edit2: Please see here for more reference , too :

https://github.com/anestisb/vdexExtractor/issues/38

https://github.com/linusyang92/mipay-extract/tree/master/tools/cdex

https://github.com/Furniel/Apk-Changer

Edit1:

Try this flinux.exe again? I re-compiled it from original github source.

Remebet that every file needs to placed in the same folder.

It seems that we can only use "flinux compact_dex_converter Bluetooth_classes.cdex" without diver and folder path.

For example, "flinux D:\compact_dex_converter D:\Bluetooth_classes.cdex" is wrong.
[Android Software/Hacking General [Developers Only]] KP@2016:
Hello, sorry for the late reply bit busy with an exam! I tried your new compiled flinux still no luck.

Thing is, it seems like problem lies with either flinux or compact_dex_converter. I run the same command on a 9.0 pixel experience rom for POCO F1, it worked well ROM deodexed perfectly. So maybe the issue is device specific I am not sure seems like a magic.

Your sources helped a lot especially this one https://github.com/linusyang92/mipay-extract/tree/master/tools/cdex. It contains compiled cdex converter for linux, so I think running the cdex on linux might work. Will let you know the results.
[Android Software/Hacking General [Developers Only]] qqzwc:
I've tried original compact_dex_converter from github and it works fine with my rom in CentOS 6.5

Of course, it also works with my rom in windows 7 x86 and windows 10 x64 by flinux.exe.

You can try to get some ideas from APK-changer. This tool can deodex my rom in Windows.

https://github.com/Furniel/Apk-Changer/issues/24#issuecomment-486125942

And Good Luck For your exam! Best Wishes!
[Android Software/Hacking General [Developers Only]] KP@2016:
Hey thanks I will.
[Android Software/Hacking General [Developers Only]] qqzwc:
I get that why this tool can run on win10 with my rom.

This tool is trying to run compact_dex_converter with WSL or Android ADB as a basic Linux Environment.

set wslsupported=false
if "%cdexsupport%"=="true" (
if "%osversion%"=="10.0" (
wslconfig /list > nul
if errorlevel 0 set wslsupported=true
)
)
if "%cdexsupport%"=="true" (
if "%osversion%"=="10.0" (
if "!wslsupported!"=="false" (
echo You can use Windows subsystem for linux for Android Pie deodexing,
echo but it's not installed on your system at this moment.
pause
) else (
echo WSL detected. Apkchanger will use it for deodexing
)
)
)
if "%cdexsupport%"=="true" (
if "!wslsupported!"=="false" (
echo Android emulator or real device will be used to deodex Android Pie roms
%winxp%adb kill-server
%winxp%adb start-server
if "!adbdeviceid!"=="" (
cls
echo Android emulator or real android device must be used to deodex Android Pie roms
pause
call :listadbdevices
) else (
call :checkadbdeviceexists
)
%winxp%adb start-server
%eloge% "Pushing cdex converter to device..."
%winxp%adb -s !adbdeviceid! wait-for-device > nul
%winxp%adb -s !adbdeviceid! push "%other%cdexconv\!adbdevarch!\compact_dex_converter" /data/local/tmp/ > nul
%winxp%adb -s !adbdeviceid! wait-for-device > nul
%winxp%adb -s !adbdeviceid! shell chmod 777 /data/local/tmp/compact_dex_converter > nul
%winxp%adb -s !adbdeviceid! wait-for-device > nul
)
)

https://github.com/Furniel/Apk-Changer

https://github.com/Furniel/Apk-Changer/issues/24
[Android Software/Hacking General [Developers Only]] KP@2016:
Hey that is an amazing thing you found out. I want to implement all of this but coz of other works I am not getting much time! Once I am free I'm all to this. :o
[Android Software/Hacking General [Developers Only]] KP@2016:
A new update is available for ADK as version 1.0.5.8. You need to clean install this update since it changes a lot of workaround that's why online update is not available :)
[Android Software/Hacking General [Developers Only]] Digvijaysing:
Hello I am editing custom rom from two days and after completion at time of build compiling and running its showing

#(Building vendor.img... (1\3) than "No such file or directory" message.

Creating vendor.new.dat (2\3) and it just freezes nothing happen after it (waited for 2h) and at side it gives pop up "Exception occurred could not find file \appdata\local\temp\tmpF0DA.tmp\temp.img")

#Also I cant find projects option in upper row even when I edit rom or app so I cant tweak my rom because of it I am using latest build 1.0.5.8 ADK.

#at time of java environment variable path after selecting jdk 12.0.1 folder it shows jre path is not found but jdk 12 contain jre so what should I do to prevent it I check jre by cmd and its working file there so what is issue why java variable path showing incorrect.

It will be very helpful if someone help to solve this issue.

Any help appreciable Thank you in advance
[Android Software/Hacking General [Developers Only]] KP@2016:
1. Send me the ROM so that i'll check it myself. (Issue is likely because vendor.IMG is not created)

2. Is this error coming from other project types like take an apk for example and create project using ADK. Check if it is showing in project section. If not let me know.

3. ADK was made to function on jdk8 which directly has bin folder and javac or java but in former builds jdk11 or 12 those were moved to new jre folder so browse jre and select jre.
[Android Software/Hacking General [Developers Only]] Digvijaysing:
Thx for reply

1. I am modifying dot os v3.0 mido official rom and i also tried pixel experience rom of mido latest one and they both are giving me build problem.

2.yes i tried to edit apk file and project option is not showing up there..

3.if i have different folder for jdk and jre in jdk 12 so which folder should i add in jdk and jre variable path in adk.

Thx in advance
[Android Software/Hacking General [Developers Only]] KP@2016:
1. Any link to any one of the ROM so I can test.

2. I'll check it soon! (midnight here so tomorrow).

3. Select jre folder from jdk. Also if you have java in PATH that its detected from cmd, there is no need to select jdk folder.
[Android Software/Hacking General [Developers Only]] Digvijaysing:
Dot os link

https://xdaforums.com/redmi-note-4/...ther-development/rom-dotos-3-0-t3901842/page1
[Android Software/Hacking General [Developers Only]] KP@2016:
I'll check and let you know soon!

Edit: I've checked the issue and fix the following things.

1. The project not showing in startup page.

2. Rom building bugs.

I've tested it and it works successfully on your Dot OS 3.0 ROM.

Check the attachment zip and replace the following ADK.exe with the existing one.
[Android Software/Hacking General [Developers Only]] KP@2016:
Have you seen and tried the solution?
[Android Software/Hacking General [Developers Only]] Digvijaysing:
i am trying

I will let you know if it works

---------- Post added at 05:06 AM ---------- Previous post was at 04:53 AM ----------

Thx

project build is now working but I am not getting option for project(Tool script) so I am not able to add flash able zip on it.

Is it working on your ADK

Or is there any way to add custom gapps zip directly in rom
[Android Software/Hacking General [Developers Only]] KP@2016:
There is no other way, I think your trial period expired that's why it has been disabled.

So you need to manually add the zip to folder and add codes to updater script.
[Android Software/Hacking General [Developers Only]] Digvijaysing:
No

my trial period is just started 2days ago and so its not period expired issue

please can you tell me any method to add flashable zip in rom

It will take much more time if I need to add flashable zip manually every time

I am not able to modify APK file because this Projects option is not showing up in ADK
[Android Software/Hacking General [Developers Only]] KP@2016:
Maybe tool script option is disabled in ROM project I can't really remember it.

Anyway try this example add the any zip say Magisk zip to root directory of project and add this codes

ui_print("-- Installing: Magisk-v16.0"); package_extract_dir("META-INF/ADD-ONS/Magisk-v16.0", "/tmp/Magisk-v16.0"); run_program("/sbin/busybox", "unzip", "/tmp/Magisk-v16.0/Magisk-v16.0.zip", "META-INF/com/google/android/*", "-d", "/tmp/Magisk-v16.0"); run_program("/sbin/busybox", "sh", "/tmp/Magisk-v16.0/META-INF/com/google/android/update-binary", "dummy", "1", "/tmp/Magisk-v16.0/Magisk-v16.0.zip"); delete_recursive("/tmp/Magisk-v16.0");

You need to target its update binary
[Android Software/Hacking General [Developers Only]] Digvijaysing:
Thx for help

I will try it.
[Android Software/Hacking General [Developers Only]] Digvijaysing:
Thx

Thx for Help:)

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

I don't understand it....

root directory of project is system folder so do you mean I should put my folder there or any other location.

and where should I add code by the way in my dot os project exactly:(

and can you tell how to add security patch in custom rom:confused:
[Android Software/Hacking General [Developers Only]] KP@2016:
Woowo hold your horses buddy! Root directory is your Solution directory! Paste zip there then in ADK select Projects > Load updater script and add codes there...

You cannot add security patches directly! It comes as a compiled ROM (means you need to have its source to modify the security patches)
[Android Software/Hacking General [Developers Only]] Digvijaysing:
I dont have projects option in ADK so how should i load updater script or you mean i should add it in

\meta-inf\com\google\android\updater-script.

And

Can we modify custom rom directly to add security patch rather than modifying source code
[Android Software/Hacking General [Developers Only]] KP@2016:
Project options not there it means your trial period is over.

And yes that's the path.

To security patches directly is not that easy requires more skill in this field. Since I see and find you new here I recommend you first learn some basics try figure out how android works it will give you hunch when modding ROM
[Android Software/Hacking General [Developers Only]] Digvijaysing:
I can send you screenshot i have 4 days of trial left :laugh:

Can you recommend me any course or forum where i can learn much faster.

I searched nearly everything can't find any place where i can learn these things.
[Android Software/Hacking General [Developers Only]] KP@2016:
If that's the case then definitely a bug though! Will fix it soon (tomorrow).

Search this forums general thread you'll find many!