[GUIDE] I will show you how to have multitouch with App Inventor 2 - Android General

I have seen that there are a lot of questions on how to be able to multi touch in App Inventor 2. As you may know already, App Inventor 2 does not support multitouch natively. But you can use a workaround so that your app will have multitouch capabilities in the final .apk.
This method will work for 2 or more different objects such as 2 buttons, 2 canvases, 2 sliders etc. It will NOT work for the same canvas.
What you need:
1. An App Inventor 2 project with at least 2 buttons, canvas, sliders etc
2. AppToMarket_v32 (the most recent at this moment of posting): https://code.google.com/p/apptomarket/downloads/list
Steps:
1. After you have created your app, build it and save it to your computer in .apk format
2. Download AppToMarket_v32, extract the files from the archive and place it somewhere you will find it easily
3. In the AppToMarket folder, open runMeWindows_v32.bat, This will open a command window that will then open the program.
4. Once you have the app open, enter whatever you want in the Certificate Details tab, then click "Generate"
5. Go to the next tab (De/Re compile and wrap-up), click "Browse" and point the path to your apk, then click "Decompile"
6. In the "Features" menu below, change the "Min SDK Ver" to 5 and "Target SDK Ver" to 11. If you don't want your app to be resized, change the slider to "Normal"
7. Click on the "Update Manifest" and "Create New .apk"
8. DONE! Your new apk is in the same folder as your old one, but with the name changed (apkname_new.apk)
If you want, I can make a youtube video with step-by-step instructions on how to do everithing I said above. Just say it in the comments.

.APK can't be decompiled
I have a problem:
When I press "decompile", I get the error "ERROR: Unable to decompile your .apk file". I tried downloading it again from the App Inventor page, but it gave me the same error over and over again. Does anyone know how to fix this?

Are you sure you have generated and saved the certificate details? Try and put other detailes there and click generate, it doesn't matter what you write there as long as you don't plan on selling the app on the market. Also, is your path to the apk file correct?

hi, thanks for the guide, but i have a problem, when i try to install the new apk in my android, i have a error, in the package analisys.
i read that downloading from drive was tha solution but not, i still have the same error, i try to install the apk of app inventor to be sure, and this apk install without problems.
do you have any idea of the solution for this problem?
thanks a lot for your help.
sorry for my english

Hi, sorry for responding late. Try signing the apk after you create it (there is a button which says Sign Apk in the right)

Hi!
I have followed the steps of the guide (thanks for it!), but I had a problem while modifying the SDK version. Using the fields for Min SDK Ver and Target SDK Ver adds nothing to the manifest, so I tried writing it by hand:
I've tried to edit the manifest with AppToMarket as indicated in Gareth's post and other guides I've found, but when I add the line <uses-sdk android:targetSdkVersion=11 /> AppToMarket gives and error while rebuilding the APK and doesn't create the new file. I added this to the manifest file:
...
<uses-sdk
android:minSdkVersion=5
android:targetSdkVersion=11 />
</manifest>
But when I add this, AppToMarket shows an error while creating the new .apk (no more info, just says there has been an error).
There is another issue. No matter which size I put on the slider, it always resizes my app...
Any idea about why is this happening and how to fix it?

Thank you !
AlexKapa said:
I have seen that there are a lot of questions on how to be able to multi touch in App Inventor 2. As you may know already, App Inventor 2 does not support multitouch natively. .
Click to expand...
Click to collapse
Dear friend,
Thank you for your tutorial. But, can't install the app. "Invalid application, Stop Installation". :crying:
I'm using the "App to Makert V4.0". I can't find the "32 version" , seems "deleted" . My smartphone for test has the android version: 4.1.2 and Kernel 3.4.0.
Thank you.

I have followed the steps of the guide and installed to my smartphone successfully.
But it still can't multitouch two canvas at the same time.
What is the problem may happened?

two canvas
shihchieh said:
I have followed the steps of the guide and installed to my smartphone successfully.
But it still can't multitouch two canvas at the same time.
What is the problem may happened?
Click to expand...
Click to collapse
Hello ! I have followed the steps too, and no multitouch on two canvas. Did you found the solution ? Thanks.

Related

Enhanced Notification Manager ?

Hi all,
has anyone tried this one already ?
Link
It seems to add some functionality to the Notification Manager (like turning on/off WiFi, for example). But I'm afraid it will not install, because we have the new Notification Manager already.
What do you say ?
Regards,
Marcos
Tried without success. Installation failed without any explanations.
Try with this one http://forum.xda-developers.com/attachment.php?attachmentid=178262&d=1240211769
I installed and works fine on my D2
Stdu
thanks. works great.
Excellent!
Thank you!
It's nice but I'm missing the different snooze options I had before (with this registry hack: http://forum.xda-developers.com/showpost.php?p=3726469&postcount=10)
very good! thx~~
stdu said:
Try with this one http://forum.xda-developers.com/attachment.php?attachmentid=178262&d=1240211769
I installed and works fine on my D2
Stdu
Click to expand...
Click to collapse
Installed. Works well like this one in Shaks Topaz ROM for Diamond. Thank you.
Could any post a pic over what it does ?
Hi PhFr,
Attached you see what it does. Unfortunately it does not show "Battery" in front of the line. Does anyone have a solution for this?
Thanks and regards,
JTGBDR
stdu said:
Try with this one http://forum.xda-developers.com/attachment.php?attachmentid=178262&d=1240211769
I installed and works fine on my D2
Stdu
Click to expand...
Click to collapse
This one works. Thanks for it. Will come in handy and i can quickly access battery stats and Comm Man now.
Sidenote - I did get the old WM bubble notifications after the first reset but after soft reseting manually it worked.
jtgbdr said:
Hi PhFr,
Attached you see what it does. Unfortunately it does not show "Battery" in front of the line. Does anyone have a solution for this?
Thanks and regards,
JTGBDR
Click to expand...
Click to collapse
Thank you m8
stdu said:
Try with this one http://forum.xda-developers.com/attachment.php?attachmentid=178262&d=1240211769
I installed and works fine on my D2
Stdu
Click to expand...
Click to collapse
Yeah worked fine, thanks.
PhFr said:
Thank you m8
Click to expand...
Click to collapse
Is there a solution for this?
I'd like to have it say "Battery" aswell...
I'd really like to see the battery word + icon on the notification manager to access its setting quickly (insted of settings tab - show all - system - battery...) any news or solution for the missing word? is it stable, and worth a try? please note that I have a touch pro 2.. thanks a lot for the info guys!
Works not on the MDA Vario V (T-Mobile branding)
cyberpunk627 said:
I'd really like to see the battery word + icon on the notification manager to access its setting quickly (insted of settings tab - show all - system - battery...) any news or solution for the missing word? is it stable, and worth a try? please note that I have a touch pro 2.. thanks a lot for the info guys!
Click to expand...
Click to collapse
eats a lot of ram
Does Enhanced Notification Manager works with MS Shell 3.0?
Cos I disable the TF3D and runing MS shell 3.0. When i installed this Enchanced Notification, nothing happens
Thanks
jtgbdr said:
Hi PhFr,
Attached you see what it does. Unfortunately it does not show "Battery" in front of the line. Does anyone have a solution for this?
Thanks and regards,
JTGBDR
Click to expand...
Click to collapse
Yes, there is a way to add the "Battery" string in front, but it requires you to edit a MUI file.
Let me explain:
When you install the distributed cab file it installs on your device various graphic files, plus 2 MUI files. These MUI files are for WWE devices. If your device is set to use other language as default (like mine which is set to work with Greek) then these two MUI files will be installed on your system, but they will be ignored, and the ENM will take it's strings from the original MUI that won't be overwritten by the installation.
There are two ways to get the "Battery" string showing.
The first way is to replace the original MUI files of NM with the new ones that the cab installs. This method arises another problem though: If you do so, the entire NM will be shown in WWE and NOT on your language. This means that you'll get the "Battery" string but all the other strings will be in English and not your language (e.g. Greek)
The second way is a little more tricky, but it has guaranteed results:
You just edit the original MUI file of your device to add the "Battery" string!
Since editing MUI files is tricky I'll post a quick guide on how to do it, but you may need to Google for it to get more details.
Everything will be done on your PC. You will need the following:
1. A MUI unsigner - Signer
2. A Resource Editor
3. The MUI file
I wish I had kept the links, but I only have the apps, so I can't tell you from where to get these apps. The MUI unsigner-signer I get it from these very forums (XDA). Use search to find it. For a resource editor I used XN Resource Editor
The MUI file you will get it from your device. Just browse your phone's Windows directory and copy NotificationManager.dll.XXXX.MUI file on your PC
The .XXXX.MUI part is actually the number of your language. For instance in my case I needed the NotificationManager.dll.0408.MUI which is the GREEK MUI file.
1.
Copy the MUI file on a short path on your PC, something like C:\Temp\MUI\
2.
Extract the MUI unSigner-Signer on the same path
3.
Run the MUI unsigner to unsign your MUI file
4.
Use the resource editor to edit the MUI file. Depending on the case you may need to add the string, or just edit it. We need to fill the string numbered 176.
If the string exists and it's empty just edit it to fill in the string of your desire. If it doesn't exists then create a new string and pay attention on the LANGUAGE selection upon the new string creation menu. It should be the same language as the rest strings on your file. Keep in mind that ALL resource editors will add 16 string in a row. That's normal, and it doesn't matter. Just use the create string command until you have a "176" value that you can edit. Once you edit the "176" String to say whatever you want it to say, save the file and exit Resource editor.
5.
Use MUI signer to sign your file
6.
Copy the modified MUI file somewhere on your device. Don't try to copy it directly on windows directory. The file is marked as "system" and windows won't let you overwrite it.
7.
Once you have copied the modified file on your device, use an application like Total Commander to do 2 tasks:
a. Backup the original file (by copying it somewhere) and
b. Replace the original file with the modified one.
8. Soft Reset your device and everything should be ok now!
PS:
By no way this is a complete guide on how to do it. It's just what I recall from the process I followed some time ago in order to do it myself.
Directions on how to use MUI unsigner-Signer you'll find on the thread that you'll get it.
PS2:
Be safe: KEEP A BACKUP OF YOUR ORIGINAL FILE FIRST!!!
PS3:
Have fun. If someone needs the Greek Translated MUI file PM me. I have also posted it on the ENM thread back at the time I created it...
EDIT: Here's the link of the Greek MUI file: http://forum.xda-developers.com/showpost.php?p=4039484&postcount=125
MUI Unsigner: http://forum.xda-developers.com/showthread.php?t=329160
MUI Signer: http://forum.xda-developers.com/showthread.php?t=306982
runing MS shell 3.0
Goondu said:
Does Enhanced Notification Manager works with MS Shell 3.0?
Cos I disable the TF3D and runing MS shell 3.0. When i installed this Enchanced Notification, nothing happens
Thanks
Click to expand...
Click to collapse
AM CURIOUS ABOUT IT TOO? - does it work with elf-htc touch -?
thxs

[Tool][Drag&Drop apk installer][All devices][Windows+Linux+Mac][Java]

I added a DONATE button... my HTC Magic device was stolen.. i need a new one for testing...
Once i have enough for it i will remove the donate button :0)
Now with Mac support :0)
The idea is basic... start the application and drag & drop all your .apk files and they will get installed on your device.
It will accept multiple files, multiple folders or a combination... the app. will automatically pick up any file with the extension .apk or .APK... so just simply drag&drop.
Or you can just double click on any .apk file and the app. will install it for you without the graphical part starting up.
You can follow the progress on the app. and/or find a log.txt inside the folder "Logs". Just make sure to extract the application to a folder where you have write permission or there will be no log files!!!!
A log will be made regardless of the graphical part starting up or not.
Do not forget to give it time to install or the log will be incomplete.
If you want the "-r" flag set then check the comboBox named doReInstall.
The flag "-r" will basically install the app even if it is already installed, but will not disturb the app's settings.
See the adb doc for more info.
DO NOT TOUCH THE "Tools" AND "Logs" FOLDERS....
NOR SHOULD YOU MOVE/TOUCH THE ".bat" OR ".sh" FILES (unless you KNOW what you are doing).
Windows:
Double click on the "AppInstaller.jar" file or on the "WindowsRunMe.bat" to start the graphical app.
If you want the .apk double-click feature do the following:
1)Right-click on any .apk file and choose "properties".
2)Under "Opens with" row choose "change".
3)Navigate to where the "WindowsRunMe.bat" is located and select it.
4)Choose "ok" then "Apply".
5)Enjoy :0)
Remember that the log files will still be under the "Logs" folder.
You want the reInstall-feature when you use the double clicks? Then right-click on the .bat file and choose "edit".
Change "DOREINSTALL=false" to "DOREINSTALL=true". Save!
That's it :0)
Linux(Ubuntu running gnome desktop/nautilus) :
DO NOT START THE APP WITH DOUBLE CLICK...IT WILL NOT LOAD CORRECTLY.
ALWAYS USE "LinuxRunMe.sh" SCRIPT.
REMEMBER TO GIVE THE SCRIPT EXECUTE PERMISSION :0)
If you want the .apk double-click feature do the following:
1)Right-click on any .apk file and choose "properties".
2)Under the "Open with" tab choose "add".
3)Choose "use custom command" and navigate to where the "LinuxRunMe.sh" file is located and select it.
4)Make sure that the .sh file is highlighted under the "Open with" tab.
5)Enjoy :0)
Remember that the log files will still be under the "Logs" folder.
You want the reInstall-feature when you use the double clicks? Then double-click on the .sh file and choose "Display".
Change "DOREINSTALL=false" to "DOREINSTALL=true". Save!
That's it :0)
MAC:
I have no idea, but i bet that the linux way should work :0)
Can somebody confirm?
Hope that you will like the work.
Don't forget to say thanks :0)
Also check my signature for more tools
Mac users!
I have no mac... so i can not test the app...
Please feel free to confirm it's working :0)
The app is in java, so it should run on all platforms :0)
ALL FEEDBACK ARE WELCOMED...
If you get/find any bugs, post the log file here or send it to me in a PM.
Then i can debug it :0)
I tested it on both linux and windows(xp + 7). It was working fine.
The adb binary are inside the Tools folder... So there is no need to set the system-path thingy..
Just to make it easier for people :0)
Again.. DO NOT TOUCH THEM NOR THE SCRIPTS.
There are much better Solutions for Windows like DroidExplorer and AndroidCommander. Dont know if they are aviable for Linux/Max.
Anyway thanks for your work =)
wow, thank you mumi.. I am truly and deeply touched..
thank you, for all your devotion and hard work. and for putting up with me and my requests.
xtcislove said:
There are much better Solutions for Windows like DroidExplorer and AndroidCommander. Dont know if they are aviable for Linux/Max.
Anyway thanks for your work =)
Click to expand...
Click to collapse
Did not know about them..
But this is a single purpose solution... INSTALL OF APK(s).
The other tools are way to cluttered and advanced...
This is simple and fast....
I like it :0)
But thx for the info... i can surly use them for more advance stuff :0)
eyegor said:
wow, thank you mumi.. I am truly and deeply touched..
thank you, for all your devotion and hard work. and for putting up with me and my requests.
Click to expand...
Click to collapse
eyegor > 650 posts
mumilover < 20 posts...
Who are doing the real work here :0)
Always show respect for people working and helping others for free :0)
Your requests are always welcomed!
Wicked stuff. Good job!
I can now integrate mac-support in next version because i found a test person...
The question is, is there anybody interested in mac-support?
nice work mumilover
will try later
yaaah.... 100 downloads :0)
Glad that people make use of it :0)
nice one mumilover! i had an error with the adb binary that came with your archive. replaced it with the current adb binary for OS X and the apk installed properly. great job!
Yes sorry... totally forgot that mac used a different adb then linux...
You can pm me your email if you want to me my mac tester :0)
excellent and thank you !
All you need is this batch file: (should work with all windows pc even 64-bit)
http://www.mediafire.com/?kce3i3249sbdtf1
it can also work with ADB over wifi with addition of:
Code:
adb connect [B]ip[/B]:[B]port[/B]
at the beginning the file.
sorry but I didn't feel like making a whole new thread just for 6 lines of post.
Well thanks for your effort...
The app does much than you batch file does.
It takes multiple files + multiple folders and the mix.
It will automatically pick up any apk file and install it.
Just read the first page again :0)
mumilover said:
Well thanks for your effort...
The app does much than you batch file does.
It takes multiple files + multiple folders and the mix.
It will automatically pick up any apk file and install it.
Just read the first page again :0)
Click to expand...
Click to collapse
Yeah I know what your app does but I didn't feel like making a whole new thread just for double-clicking APKs, I know your app does it in your own way.
Perhaps you could also incorporate it in your app so that people can also install by double-click in addition to batch installation with your app
Well... read the first page again..
I already have double click option.... even with the -r option!
Read carefully please :0)
mumilover said:
Well... read the first page again..
I already have double click option.... even with the -r option!
Read carefully please :0)
Click to expand...
Click to collapse
now i see it!
sorry
wow, that was refreshing. Anything new developing with this Tool? Before unleash the beast?
Well it did not make sense to work with it any more...
I found out that you can install apk using htc sync...
Plus i only have > 120 downloads... not worth spending more time on it...
But still no one reported any bugs :0)

AndroidSuite2012 - Team Scripthen

AndroidSuite 2012
Coded & Tested by:
Tom Dolan (Scriptr)
Joel Duncan (Slethen)
AndroidSuite 2012 what it does
Decodes and encodes Dex files
Decodes and encodes APK files(Previously bugged in APKManager)
Gives a console output
Whats to be added?
Experimental features (currently in testing)
Thread piority
Config editor
Help file
System requirements:
Windows (XP/Vista/7)
1024x768 monitor resolution
512MB free system memory
Java (JRE/JDK 6 prefered)
Android Suite 2012 by Team Scripthen
APKs:
Place the APKs in the directory \apk\
refresh the list,
select from the first list box which one you want to decode then hit
"decode selected" you can then edit the source in "decoded-apks".
to re-encode, refresh the list again, the select from the second list which directory
you'd like to encode hit "encode selected" once the progress bar has stopped you can
then safetly remove the APK from "encoded-apks" directory.
Dex:
place your .dex file in the directory "\repo\Dex" go to the main window and then hit
"Decode Dex", then you can click "Open OUT Directory" to view the source code.
Once finished with the source code you can then hit "Encode Dex" to reencode it to
"classes.dex" which will appear in programs root.
Experimental:
Version 99 they do not work.
However, when they do work, this shall be updated but you are to be careful and
take note it is not our fault if anything goes wrong, as these are critical these
will be throughly tested to ensure the correct configuration is used.
Experimental features added:
Apply update.zip;
Applies an update.zip to the device,
please note:
To apply the update, the archive needs to be in %PROGRAMROOT%\repo\
Reboot;
Send reboot signal to the phone
Boot to fast mode;
Reboot the phone to fast mode
boot.img;
This has NOT been fully tested!!!
To apply the new boot image put it in %PROGRAMROOT%\repo\
​It would be extremely helpful if you were to post bugs/errors on this topic so we can find them easier.
http://node2.scriptr.co.uk/Dev/AndroidSuite/
thanks,
Scriptr|Slethen=Scripthen
first of all, thank you for this, it looks great! However, I am unable to encode anything. I get a sound effect as soon as i click encode decoded directory and the progress bar moves at an incredibly slow pace. is it doing what it's supposed to do? I let it sit for 15 minutes and nothing ever happened.
How big is the apk? And whats your cpu speed?
the app size is 5mb and my cpu is an i5 clocked at 2.3ghz. the odd thing to me is that it doesn't seem to try to encode the apk at all. when the decode finishes, a chime goes off. that same chime sounds within half a second of my trying to encode the same app. The decode works perfectly though!
pokedroid said:
the app size is 5mb and my cpu is an i5 clocked at 2.3ghz. the odd thing to me is that it doesn't seem to try to encode the apk at all. when the decode finishes, a chime goes off. that same chime sounds within half a second of my trying to encode the same app. The decode works perfectly though!
Click to expand...
Click to collapse
Does the Console output give you any errors? or could you paste what the error is instead of clogging the chat.
What it sounds is that you dont have java recognised as a program. I will fix that when I log on Windows again.
please use pastie (google I cant use links yet) with the error so we can look into it.
-Tom.
pokedroid said:
the app size is 5mb and my cpu is an i5 clocked at 2.3ghz. the odd thing to me is that it doesn't seem to try to encode the apk at all. when the decode finishes, a chime goes off. that same chime sounds within half a second of my trying to encode the same app. The decode works perfectly though!
Click to expand...
Click to collapse
Updated, your problem might be fixed.
Might be an idea to state in the title or under system requirements whether this is for Linux or Winblows.
Hey, I just downloaded android suite, but seems that the zip is damaged.
The folders from the zip created, but no files and I get errors from winrar like this:
Unknown method in bin\apktool.jar
No files to extract.
I' ll try to download it again, but can you please check it?
EDIT:
Redownload it 5 times, same errors. Archive is damaged, shows that is 36,3MB, but need less than a second to complete download(which is wrong for sure).
unzip it with Winzip, winrar cant extract it.
dancer_69 said:
Hey, I just downloaded android suite, but seems that the zip is damaged.
The folders from the zip created, but no files and I get errors from winrar like this:
Unknown method in bin\apktool.jar
No files to extract.
I' ll try to download it again, but can you please check it?
EDIT:
Redownload it 5 times, same errors. Archive is damaged, shows that is 36,3MB, but need less than a second to complete download(which is wrong for sure).
Click to expand...
Click to collapse
I'll get right on it.
Must of been the compression method, also try with 7-zip.
Right, re-uploaded with 0 compression, the archive shouldnt cause trouble now.
I'm actually unable to even get the download to start. I get an error when I click the link from google saying they can't find the requested link. I've tried 5 times.
Somehow the link had been replaced by "*****"
Here's the direct URL:
http://node2.scriptr.co.uk/Dev/AndroidSuite/AndroidSuite-b112.zip
I will add a downloader soon so hopefully it will be more efficient.
I will integrate that in next release,
sorry for all the trouble so far.
Scribblezzz said:
Somehow the link had been replaced by "*****"
Here's the direct URL:
http://node2.scriptr.co.uk/Dev/AndroidSuite/AndroidSuite-b112.zip
I will add a downloader soon so hopefully it will be more efficient.
I will integrate that in next release,
sorry for all the trouble so far.
Click to expand...
Click to collapse
What exactly is in the archive that requires us to download 113mb? To decompile and recompile and apk all you need is:
Java - Already on my system
aapt.exe - Already on my system
apktool.jar - Already on my system
Command Prompt - Well duh, part of windows.
Could you provide screenshots of the application?
cornelha said:
What exactly is in the archive that requires us to download 113mb? To decompile and recompile and apk all you need is:
Java - Already on my system
aapt.exe - Already on my system
apktool.jar - Already on my system
Command Prompt - Well duh, part of windows.
Could you provide screenshots of the application?
Click to expand...
Click to collapse
It's got the Java binaries in the directory.
as some people dont have the "java.exe" patj, it fails to load it.
I will add some screenshots later, and I shall update it later, I just need to do more testing on Java findings...
personally I'm good to go. A simple scan with an anti-virus is all I need to ensure it's legit. I have a backup so I'll take the OP's word for it. Also, no need to apologize for "problems" IMO, I have no idea how to decompile/recompile or sign an apk so even if there are bugs, you're still doing me (and a lot of others) a favor. Thanks for all of the work you've put in so far!
Screenshot of AndroidSuite2012
so, every time I try to close the .exe, a web browser opens that takes me to ad.fly.... not sure what that's about. I don't know what the link was for, so I closed it and didn't click anything. Also, the utility still doesn't seem to be able to recode the apk. the error message I received is in a .txt file attached to the link below. I didn't want to post this whole thing inline.
http://www.box.com/s/yoaxly1na5mjqhjralca
sorry, double post
I see the problem..
I will start to work on the fix later today...
Also I will test better java detection reducing the archive about 70 or so megabytes...
Sorry for the bulk archive it was just a temporary solution...
Thank you again for posting error log.
-Scribblezzz.

LG KDZ Crawler [UPDATE]

sorry for my english, i´m a kraut
some people will remember my snooper i published in the ICS/JB-Thread.
I wrote a php-script the crawls the lg-servers for firmware. short introducing for a long time work
you can test it in action at: LG-Firmwarescanner Beta
what my script can do for you:
- search for fw´s for your LG-model (LGP920, LGP880, LGP920H, LGP925, LGP970, LGSU760 for now)
- search for specific version (froyo, gb & ics, ics only)
- search for final and beta firmwares, custom-folder needed for beta (useless until no folders a know so far)
- search for VxxA-VxxN & VxxA-VxxP (VxxN is quicker)
- write every found file to a txt-file
- zip&mail the txt-files
- upload the txt-files to a ftp
- write the results to mysql
- list the results from mysql
- download the kdz when a V29x is found
a readme and an english-version will follow.
note: the script runs "for me" in my own home-server/xamp. if somebody finds the reason for non-working on hosted-server, pleas let me know.
screenshots in attachment
requires a php5-environment, unrar the content to a folder with 777 permissions
beta6:
bugfix
example added, rename config.example.php to config.php
NEW SERVER ! [EDIT: old server again, script killed the 3rd server in a row
I don't see why we need more than one person running this script.
Sent from my phone.
Configuration
sorry for my english, I need an example configuration of your script on xampp, you can?
make sure the folder you put the files is has permissions 0777.
click the three boxes "deaktivieren" and click "Speichern"
here is an example-config, extract the two files and start index.php
thank you
thank you very much for your help! another thing on your site: http://wittgenstein.homeserver.com/P920 not performing the scan of the beta versions.
Edit 13:09 : sometimes does not work scan for beta ! anyway good job really !!!
fabersantucci said:
thank you very much for your help! another thing on your site: http://wittgenstein.homeserver.com/P920 not performing the scan of the beta versions.
Edit 13:09 : sometimes does not work scan for beta ! anyway good job really !!!
Click to expand...
Click to collapse
when you scan for beta you need a custom folder, without folder no scan
Do you know some folder ? Is there a tip to find there folders ?
Sent from my LG-P920 using xda app-developers app
fabersantucci said:
Do you know some folder ? Is there a tip to find there folders ?
Sent from my LG-P920 using xda app-developers app
Click to expand...
Click to collapse
No custom-folder for the 920 is known so far. bruteforce ist useless
I know this will be an exteme solution and would literally take days and not even sure if it will work, but can you make a script which automatically runs generated custom-folder to try and find a beta file, ie from aaaaaa to zzzzzz and 1-9, and it saves what it has already searched by any user . so it starts from aaaa and then moves aaab , but it saves that its already searched aaaa and so if someone else tries it starts from aaac, if that makes sense. Then as a community we can continue running the script
let me triy to explain with an example below
so the script starts at custom-folder
aaaa --then completes the set (28,29,30,31) then moves to
aaab --then completes the set moves to
aaac --then completes the set moves to
aaad---and lets say that user decides to close the script. but another user comes along and wants to run the script, instead of starting from
aaaa ---the script saves the folders which have been serached and its starts from
aaae
rezzsha said:
I know this will be an exteme solution and would literally take days and not even sure if it will work, but can you make a script which automatically runs generated custom-folder to try and find a beta file, ie from aaaaaa to zzzzzz and 1-9, and it saves what it has already searched by any user . so it starts from aaaa and then moves aaab , but it saves that its already searched aaaa and so if someone else tries it starts from aaac, if that makes sense. Then as a community we can continue running the script
let me triy to explain with an example below
so the script starts at custom-folder
aaaa --then completes the set (28,29,30,31) then moves to
aaab --then completes the set moves to
aaac --then completes the set moves to
aaad---and lets say that user decides to close the script. but another user comes along and wants to run the script, instead of starting from
aaaa ---the script saves the folders which have been serached and its starts from
aaae
Click to expand...
Click to collapse
great idea, but already done
http://weiko.mygigahost.de/LG/brute.php
all custom-folders seems to be 10 caracters, capital letters mixed with numbers
well ive got it running lol, but does this look for the folder only, or the whole file like a kdz, because i think if its searching just the folder it will never be found, since it still shows a "connection" when you try to look for a folder that you can download a kdz from , i could be wrong,
ie: lets say when you try this link it'll download the file http://csmg.lgmobile.com:9002/swdata/WEBSW/LGP920/AHASML/V20e_00/V20E_00.kdz
but when you try link below, it always shows not found
http://csmg.lgmobile.com:9002/swdata/WEBSW/LGP920/AHASML/
or is that how it works with the beta folder?
Try again: http://weiko.mygigahost.de/LG/brute.php
when my script tries to access an existing folder, answer is: HTTP/1.1 405 Method Not Allowed, because indexing is off
when it tries to access an unexisting folder: HTTP/1.1 404 Not found
my script dies, when it gets an 405-answer.
[edit]
the script writes every folder to database and take another folder when its found in database
but, i said it already, it´s useless.
26 possible letters + 10 possible numbers = 36
10 letters per folder = 36*36*36*36*36*36*36*36*36*36 =
3.656.158.440.062.976 combinations
rezzsha said:
well ive got it running lol, but does this look for the folder only, or the whole file like a kdz, because i think if its searching just the folder it will never be found, since it still shows a "connection" when you try to look for a folder that you can download a kdz from , i could be wrong,
ie: lets say when you try this link it'll download the file http://csmg.lgmobile.com:9002/swdata/WEBSW/LGP920/AHASML/V20e_00/V20E_00.kdz
but when you try link below, it always shows not found
http://csmg.lgmobile.com:9002/swdata/WEBSW/LGP920/AHASML/
or is that how it works with the beta folder?
Click to expand...
Click to collapse
http://csmg.lgmobile.com:9002/swdata/WEBSW/LGP920/AHASML
try this
delete latest slash
oh right, and then we can then plug it into the "custom-folder" and search it there , that makes sense. So do you, as in you , actually see if there is a 405-answer, or is it recorded, if it ever finds one?? you know just in case someone does run the script and comes across a 405-answer, but doesnt know where to go from there
i got 405 on http://csmg.lgmobile.com:9002/swdata/RNDTESTSW/LGP920/NEU/ , but it doesnt show which cutom- folder it came from
rezzsha said:
oh right, and then we can then plug it into the "custom-folder" and search it there , that makes sense. So do you, as in you , actually see if there is a 405-answer, or is it recorded, if it ever finds one?? you know just in case someone does run the script and comes across a 405-answer, but doesnt know where to go from there
Click to expand...
Click to collapse
for now, it writes every 405-folder in database too, marked as 405 .
yeah it would be ridiculouslytime consuming, but theres no other way..yet
Are you able to put it onto a online server which continues the process, so its always running??
rezzsha said:
yeah it would be ridiculouslytime consuming, but theres no other way..yet
Are you able to put it onto a online server which continues the process, so its always running??
Click to expand...
Click to collapse
no, afaik php needs a browser to run.
any chance you can add the P870? My wife just got this phone for free and i'm trying to find a backup kdz just in case
Markyzz said:
any chance you can add the P870? My wife just got this phone for free and i'm trying to find a backup kdz just in case
Click to expand...
Click to collapse
Post the result of this:
csmg.lgmobile.com:9002/csmg/b2c/client/auth_model_check2.jsp?esn=IMEI
replace IMEI with.... your IMEI but delete your IMEI from the results before posting
<?xml version="1.0" encoding="utf-8" ?>
<response req_cmd="auth_model_check" status="FAIL" />
didnt work
do i need to activate the device first?

Need help modifying an APK

Hello! Sorry if this is the wrong place to post this I just registered to the forum!
To keep it short I am a frequent player of the game 'Idle Heroes' and I got the idea to take the APK, modify it (for private use of course) and give me resources in the game so I can try out different heroes etc etc.
So I read up on the APKtool and all that but I am having some trouble, I can't find the framework I need.. I am just getting errors when trying to decompile and I can't find any framwork in my phone or online to download..
Any help is appreciated! Thanks!
If it's any help I have a Galaxy S9 (not rooted)
For apk tool you need to write it in the following format in command prompt... (assuming you are using apk tool 2.2.4)
Java –jar apktool_2.2.4.jar d C:\<path to apk file>
But this would give you stuff like the android manifest. If you want the raw source code itself, you would need to use something such as dex2jar. Format is below.
d2j-dex2jar.bat C:\<path to apk file>
mohhaxs said:
For apk tool you need to write it in the following format in command prompt... (assuming you are using apk tool 2.2.4)
Java –jar apktool_2.2.4.jar d C:\<path to apk file>
But this would give you stuff like the android manifest. If you want the raw source code itself, you would need to use something such as dex2jar. Format is below.
d2j-dex2jar.bat C:\<path to apk file>
Click to expand...
Click to collapse
Thanks for your reply! Unfortunately I'm still struggling.. As you said it's the source code I am after. If you haven't played the game I'll try to explain what I am after.
Every day you get daily missions you can do, I'd like to simply change the rewards from let's say 1 summoning scroll to 1000 so that each day I can get 1000 scrolls, and I also want to change the other rewards to give me a couple of thousand gems instead of the 20 I get each day, that will give me enough to get the heroes I am after!
Would you care to help me a little more specifically on how to achieve this? Right now I have put the .apk in "C:\android\apktool" along with the apktool itself (apktool.jar).
But I don't have a .bat file, what kind of .bat file do I want to create? Also I don't have any other folders or such. And yes I have the newest version of Apktool!
No matter what I write in CMD it gives me an error, I don't have any framework files etc and I don't know where to get them.. I did also use the code you gave me (java -jar etc etc) but it also gave me errors .. If you'd like me to try something else and/or post the errors here I'd gladly do so!
Sorry for being such a noob but I have never done anything like this before, I recently started learning C++ but it's mainly simple games (for PC) in UE4 and stuff like that, but nothing for mobile.
Thanks a lot for your time!

Categories

Resources