[Tool] ADB Fileexplorer - Android Software Development

Hi,
I have built a little tool, which enables the user to browse through the phones filessystem via ADB.
You can also connect an android via ADB over TCP if its enabled on the phone.
Prerequisites are is a JRE version 1.7.0_03 or higher and ADB in Path.
Short feature overview:
- pull files from the phone to the local filesystem
- push files to the phones filesystem
- connect a ADB-over-TCP enabled Android device
- browse trough the phones filesystem
- deleting files on the phone
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Double-click on a folder will browse into it.
Double-click on a file will pull it into the pull destination an open it.
Disclaimer:
I don´t take any responsibility for data loss or any other possible damage.
Feedback and suggestions are welcome.
Repo:
https://github.com/D4r3T0B3/ADB-Fileexplorer
2 Notes about the source:
- my GUI-Design skills are not very well. If somebody got some enhancements, feel free to send me a message or a pull request.
- my code is using the commad "adb -s <device> ls", I didn´t found any note or documentation about this. So there are maybe more hidden adb command. It would be great if someone got an idea how to find them.
Known Issues:
adb freezes while loading files
output shows a failure after successful file movement
Click to expand...
Click to collapse
Changelog:
v0.3 - 28.08.2012:
white space issues fixed
version number added
about menu added
27.08.2012:
multiple language support added
Click to expand...
Click to collapse
Thanks to mGi00 for the slovak translation

Haha! I was just looking for an app like this. Thanks bro!
Sent from my throne in Hell.

Small bt grt job man
check out whether ma thnx button wrkz....
Sent from my HTC Wildfire S A510e using xda premium

It doesn't seem to work for me.
adbfileexplorer can't find the adb.
I have placed adbfileexplorer in the same directory as the adb.exe

Link for Java Runtime Env. 7:
http://www.oracle.com/technetwork/java/javase/downloads/jre7-downloads-1637588.html

after java se 7 update 5 install, still getting the error :
Cannot run program "adb": CreateProcess error=2, propetie file not found.

You gotto set PATH variable in windows. Google it very easy.

Windows Onlyc
on ubuntu it opens up the jar as an archive hmm

If you are getting issues trying to run it on Windows 7, just make a batch file to run "java -jar c:\path\to\adbfileexplorer.jar"

Works on Linux
LastStandingDroid said:
Windows Onlyc
on ubuntu it opens up the jar as an archive hmm
Click to expand...
Click to collapse
Starts up okay for me on archlinux. Looks like you need to be running Java 7, though.
From command line, I entered:
java -Xmx512m -jar /opt/android-sdk/platform-tools/adbfileexplorer.jar
and the adb explorer window opens up fine.

DareT0Be said:
Hi,
I have built a little tool, which enables the user to browse through the phones filessystem via ADB.
You can also connect an android via ADB over TCP if its enabled on the phone.
Prerequisites are is a JRE version 1.7.0_03 or higher and ADB in Path.
The Tool is written and compiled for Windows.
Short feature overview:
- pull files from the phone to the local filesystem
- push files to the phones filesystem
- connect a ADB-over-TCP enabled Android device
- browse trough the phones filesystem
- deleting files on the phone
Double-click on a folder will browse into it.
Double-click on a file will pull it into the pull destination an open it.
Disclaimer:
I don´t take any responsibility for data loss or any other possible damage.
Feedback and suggestions are welcome.
If someone is interrested, I could share the source.
Click to expand...
Click to collapse
Can I check out source ... would love to see how you tackled this

Thanks for your feedback and sorry for my absence, I was on a short vacation without internet or smartphone this weekend.
Keon91 said:
after java se 7 update 5 install, still getting the error :
Cannot run program "adb": CreateProcess error=2, propetie file not found.
Click to expand...
Click to collapse
is this problem still persistent? or does adding adb to the path fix it?
Can someone give me feedback if opening files via a double click is working?

DareT0Be said:
Thanks for your feedback and sorry for my absence, I was on a short vacation without internet or smartphone this weekend.
is this problem still persistent? or does adding adb to the path fix it?
Can someone give me feedback if opening files via a double click is working?
Click to expand...
Click to collapse
no phone and internet - wow
downloaded jar from op onto my windows 7 ultimate pc
plug in smartphone, double click on adbfileexplorer.jar
and it opens up and shows 1 connected device
pulled and pushed - working for me !
thanks!
i also created a shortcut to the jar file
and it opens fine. nothing added in shortcut for adb or java -
just the path to the downloaded adbfileexplorer.jar file
i didn't check, but can you multi-select files ?

Nice and useful tool. Than you so much for this.
Sent from my Galaxy Nexus using Tapatalk 2

Possible bug
Hi there,
The ADB Fileexplorer is working fine with one exeption. When I have on my sdcard a folder named with more than one word (e.g.: New files) the ADB Fileexplorer show only the first word and cant open the folder. It opens only User/Documents ... After I renamed the Folder with "_" (e.g.: New_files) its fine. Is there a way to solve this? I really dont use "_"
Thanks
EDIT: The strings were ment to another app, sorry for that

thanks for the feedback and your translations.
I added the "whitespace issue" to my todo list.
multiple language support is a nice idea. But can you please add the english translation as a comment to the strings?

Apology
DareT0Be said:
thanks for the feedback and your translations.
I added the "whitespace issue" to my todo list.
multiple language support is a nice idea. But can you please add the english translation as a comment to the strings?
Click to expand...
Click to collapse
The strings in my post was ment for another app ... really sorry about that ... but if I can I would love to make some for you as well.
EDIT
Another possible bug:
If I pull (only pull) one file it opens my documents (Win7 x64 machine) but not the Pull Destination which I selected before.
To the translation ... here http://db.tt/Co9U7jJC is a Slovak translation of Buttons of the GUI.
Translated also the logger text ... hope it´s ok to translate this as well.
If you could assemble the program with this translation I would like see the changed text if it´s ok. If ok I´ll do the czech translation ... and maybe an german one

Thanks so far
I copied your translations into a xml file, please check out the new version if i copy and pasted everything correct.

DareT0Be said:
Thanks so far
I copied your translations into a xml file, please check out the new version if i copy and pasted everything correct.
Click to expand...
Click to collapse
Ok there is a issue, can´t find any device ... the old fileexprorer is working still ok but the new one cant find my phones.
EDIT: When I type adb devices I see my devices so there shouldn´t be a problem. The Logs are with the translations.
Also there is a problem with diacritic ... letters as "ť" and "č" aren´t or are wrong displayed. Also the logger has this problem ... I wasn´t using UTF-8 coding ... made an update with UTF-8 the link: http://db.tt/Co9U7jJC
Hope its ok now.

mGi00 said:
Ok there is a issue, can´t find any device ... the old fileexprorer is working still ok but the new one cant find my phones.
EDIT: When I type adb devices I see my devices so there shouldn´t be a problem. The Logs are with the translations.
Also there is a problem with diacritic ... letters as "ť" and "č" aren´t or are wrong displayed. Also the logger has this problem ... I wasn´t using UTF-8 coding ... made an update with UTF-8 the link: http://db.tt/Co9U7jJC
Hope its ok now.
Click to expand...
Click to collapse
could you please bring your translation into this format , thanks
unfortunatly i cannot retrace your problem, please check the current version if its persistent

Related

MSCEInf (Cab Analyser) : in the same vein as ThemeGenCE

Just published yesterday, another program MSCEInf (http://www.codeppc.com/telechargements/msceinf/msceinf.htm)
is a Cab Analyser which show you all the things done if you install a CAB on your PocketPC : Files, Registry settings, shortcuts...
It lets you extract all files with original names and build the inf file as it was build before compiled to CAB.
So you can make changes, if you need it, and rebuild the CAB with the program of Microsoft CABWIZ (installed by Microsoft Theme Generator).
It works with all Cabs (also with TSK which are Cabs with extension changed).
It is still in french! but easy to understand. If you find that it is helpful, i can translate it in "loosely" english !
Like ThemeGenCE, it accepts "Open With" command and Drag and Drop on the window (drag and drop a cab on the opened window).
Friendly, Benoît
Thanks benoit - an english version would be nice - my french is not that good :wink:
English version has been sent to the webmaster of CodePPC 5 minutes ago.
Maybe on line today... or in two months...
Friendly, BenThon
MSCEInf in English
Now available in English !
http://www.codeppc.com/telechargements/msceinf/MSCEInfEn.zip
Friendly, BenThon
Merci bien Benoit pour MSCEInf.
It's a great one.
thx
Re: MSCEInf in English
BenThon said:
Now available in English !
http://www.codeppc.com/telechargements/msceinf/MSCEInfEn.zip
Friendly, BenThon
Click to expand...
Click to collapse
thanks benoit!
Nice app. Very well done.
tip: can you make clicking the column header sorting that column?
Cheers
Yes, it is possible. But I have just sent to the webmaster of CodePPC a version 1.3.8 with "cosmetic" improvements.
Maybe for the next one ...
Friendly, Benoît
Nice app. Very well done.
tip: can you make clicking the column header sorting that column?
Click to expand...
Click to collapse
In which pages do you think it will be useful ?
Thanks
Sorry for the late reply.
I also use your app when checking what is installed. Sometimes the deinstallation of apps is not perfect on ppc.
So sorting on items that I want to remove (files/dirs and registry hives)
would be very useful.
But is sorting when clicking the column header not default? I assume not.
Is it possible to make it extract only selected files from the cab?
Thanks
Sort Tabs
I have just implemented the alpha sort for each columns in each tabs.
I will put in the next version. Thanks for the suggestion !
I can send you this version if you give me a mail.
Friendly, Benoît
New Version of MSCEInf (1.3.9)
New Version of MSCEInf (1.3.9)
Improvements :
1) Alphabetic sort on each column in each tab.
2) New button for choosing files to extract :
Either check the checkboxes for selecting files to extract.
Or Drag and Drop files to the right column of selected files and also the ability to unselect file by Drag and Drop from the column of selected files to the recycled bin.
3) Links, About box...
4) Cosmetics...
MSCEInf Webpage
Thanks benoit - i find myself using this program more and more!
Look forward to future updates :wink:
Thanks.
If you are planning more opstions ;O)
- extract using the full path name (directory structure)
- drag & drop from the Files tab directly (with posibbility to do a selection
with the more (click, ctrl+click etc)
Got an error once reusing the already started program when dropping a cab onto it. It wasn't the cab. Retried it but could not reproduce it.
The error was in french while I use he english version.
Again great prgram. I use it nearly every day now.
Cheers
Nice App,
A super feature would be if you can double Click a file and open it with its associated application or as second option notepad (or favorite editor). so you can have a look inside with extracting all first.
Maybe even save it back afer modifictions or a feature to replace an existing file.
@BenThon
Nice tool, great work!
In the right direction to become a full alternative to 'WinCE CAB Manager', for which author claims 149US$ :evil:
If we could delete/ insert new entries/files directly in your tool and rebuilt the CAB, it would be superb ;-)
Suugestions for MSCEInf
Thanks for your encouragements !
My comments :
1) Extract files with full path name : not difficult to do (maybe later).
2) Drag and Drop from Files Tab : not difficult to do (maybe later).
3) Double click and open files with
- associated application
- Notepad
not difficult to do (maybe later).
4) Delete/Insert new entries and rebuild the cab : more laborious to do. But you can use the rebuild INF file after editing and Cabwiz to rebuild the cab. It is not difficult to do.
Next version of MSCEInf (1.4) is quite finished. Now, the program also read the _setup.xml file and extract all datas in it. It also rebuild a traditional INF file.
PS : Maybe, instead of the 145 $ for Cab Manager, my program will become a Cardware (postcard from your location)...
Work in Progress !
2) Drag and Drop from Files Tab : not difficult to do (maybe later).
3) Double click and open files with
- associated application
- Notepad
Click to expand...
Click to collapse
Points 2) and 3) are now implemented. Will be published with future version !
Point 1) for tomorrow !... Maybe...
building cab files...
anyone out there know of any good tutorials for using cabwiz and building an inf file from scratch? I have looked and looked! Basically I want to build some basic theme cabs and a few cabs that make registry changes and then put them into my extended rom. (I do a lot of experimenting and therefore a lot of hard resets!)
thanks, jess
MSCEInf V1.4 New version on line !
Contributions of version 1.4
This version now allows the reading of the files "_ setup.xml" contained in the CAB :
- Rebuilt the tree structure of file XML with possibility of extending or of reducing branches of the tree.
- Also Rebuilt a conventional INF file (can be copied to the clipboard).
- Creates a Memo (can be copied to the clipboard) with the Register keys in a format of the Regedit type (for the "Geeks").
For the CABS with a conventional INF file like those with a "_setup.xml" file :
- Possibility of "Using Folder Names" for files saving.
- Additional Informations on the files with also possibility of sorting on these new columns :
- Size of the file.
- Date and Hour of the file.
- Type of the file (its extension).
- Possibility of Multiselection on the files (Shift, Control).
- Possibility Drag and Drop for one or more files towards the Explorer (Folder, Desktop...).
- Contextual Menu on the file under the cursor (Right Button) allowing :
- Open the file with the associated application (If it is a program - Extension "EXE" - the launching of the program is prohibited, which is surer. The icon of the program is shown) or "Open with..." if there is no association.
- Open the file with the Notepad.
If MSCEinf is defined as an application for opening CAB, the program will be loaded. If it was minimized, it will be restored.
If the button of Checking of Signature is activated, MSCEInf authorizes 2 signatures ' MSCE ' and ' CE4+ ' and only those (If it is not one of the two authorized signatures, the pointer of the mouse positions on the button of checking of signature after having posted a message of alarm). If not activated, there is no checking of the signature of the CAB.
With this version you can reorder columns in Files Tabs.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
CodePPC Page
MSCEInf Page
English Version
French Version
German Version

{REQ} I need A Start Icon Maker!

ok would someone PLZ be kind enough to make me a start icon?
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
that is the image i need and could some change the Start text to say "CAL" too plz? it would be highly appreciated.
anyone? please
GSM or CDMA? upload you shellres file and ill make one up for you!
apaquette420 said:
GSM or CDMA? upload you shellres file and ill make one up for you!
Click to expand...
Click to collapse
Hi apaquette420, have read this http://forum.xda-developers.com/showthread.php?t=426264 and may be I'm just being an imbecile but I can't find the shellres files it's talking about. The only thing I can find close is a file called "shellresapps.dll.0409". Is this the correct file to modify? Or am I just looking in the wrong place
Any help would be appreciated, the only thing I want to change is the Start Icon to a green Vista orb (the same as in XBmod HD Rom http://forum.xda-developers.com/showthread.php?t=458788)
apaquette420 said:
GSM or CDMA? upload you shellres file and ill make one up for you!
Click to expand...
Click to collapse
it doesnt matter anyshellres file works my dude!
shellres.192.0409.mui is the file u need
i dont need any file you are the one that wants to change your start icon i can put the img you posted in the first post in to my shell file but there are other icons that will be different so if thats what you want i will do that for you???
here you go, just copy to you windows dir and rename the orig on .bak. post a screen shot to show me how it turned out.
xavierdemon said:
Hi apaquette420, have read this http://forum.xda-developers.com/showthread.php?t=426264 and may be I'm just being an imbecile but I can't find the shellres files it's talking about. The only thing I can find close is a file called "shellresapps.dll.0409". Is this the correct file to modify? Or am I just looking in the wrong place
Any help would be appreciated, the only thing I want to change is the Start Icon to a green Vista orb (the same as in XBmod HD Rom http://forum.xda-developers.com/showthread.php?t=458788)
Click to expand...
Click to collapse
are you on GSM or CDMA ???what program are you using to find the file in your windows dir???
i'm gonna need a copy of the icon you want i cant find a download link
double post please delete
apaquette420 said:
are you on GSM or CDMA ???what program are you using to find the file in your windows dir???
i'm gonna need a copy of the icon you want i cant find a download link
Click to expand...
Click to collapse
It's GSM and am using Resco Explorer, can only locate the following files by doing a search for shell*.*
shell32
shellcelog
shellres.192
shellres
shellres.dll.0409
shellresapps.192
shellresapps.96
shellresapps
shellresapps.dll.0409
Which one is it
GSM users need to mod the shellres.192.dll to change the start icon, so copy that file off your phone and upload it here, but you still need to find the orb you want because i can not find a download link!
apaquette420 said:
GSM users need to mod the shellres.192.dll to change the start icon, so copy that file off your phone and upload it here, but you still need to find the orb you want because i can not find a download link!
Click to expand...
Click to collapse
its in the first post its the actual image but its white so its hard to see n um cdma
when i changed the size of the img you posted in the first post the colour changed on its own i can try again to see if i can keep it white
edit : even when i save the img it goes black, sorry your gonna need to get someone else to make it up for you.
I think I am making a meal out of this but I can't bloody copy the file lol (shellres), have tried Resco Explorer and just tried Total Commander, is there another app that can actually do what I want it to do, which is copy the file somewhere else. Once I've managed to copy the bloody thing, I can begin the search for the ORB lol.
I am tempted to forget about, as it does seem to much hassle
just get the orb and i will get the shellres file you need! soo as you find the orb upload it and i will get it working for you
Right finally managed to get the shellres.192.dll off my phone (using ROM extractor), even managed to find location of icon to be changed (292 + 293) in Resource Hacker. So far so good but I can't find the bloody green vista orb lol (pictured here http://forum.ppcgeeks.com/showthread.php?t=54514).
So sod it, can't be bothered anymore.
However just to clarify the complete process.
1. Rom Extractor - to get file
2. Unsigner - to unsign it
3. Resource Hacker - to replace the icon
4. MSsigner - to resign the file
5. Copy back to Windows directory (I bet this stage would have gone wrong as well anyway lol
Thanks for all your help apaquette420.
I may decide to give it a go when I find the elusive Vista Green Orb
xavierdemon said:
Right finally managed to get the shellres.192.dll off my phone (using ROM extractor), even managed to find location of icon to be changed (292 + 293) in Resource Hacker. So far so good but I can't find the bloody green vista orb lol (pictured here http://forum.ppcgeeks.com/showthread.php?t=54514).
So sod it, can't be bothered anymore.
However just to clarify the complete process.
1. Rom Extractor - to get file
2. Unsigner - to unsign it
3. Resource Hacker - to replace the icon
4. MSsigner - to resign the file
5. Copy back to Windows directory (I bet this stage would have gone wrong as well anyway lol
Thanks for all your help apaquette420.
I may decide to give it a go when I find the elusive Vista Green Orb
Click to expand...
Click to collapse
yep you got all the steps right i have this orb if you want it thanks goes to CrazyLiLbOy for the icon
Xboxmod has kindly given me the file containing the orb but can't get the Unsigner working lol.
Have uploaded my "shellres.192.dll" and the file containing the orb "shellres.192.dll.0409.mui" the orb is in position 292 in the mui file.
apaquette420 is there any chance you can take the orb from the mui file and put it in my shellres.192.dll file?
xavierdemon said:
Xboxmod has kindly given me the file containing the orb but can't get the Unsigner working lol.
Have uploaded my "shellres.192.dll" and the file containing the orb "shellres.192.dll.0409.mui" the orb is in position 292 in the mui file.
apaquette420 is there any chance you can take the orb from the mui file and put it in my shellres.192.dll file?
Click to expand...
Click to collapse
here you go man just un-zip and copy to your windows folder on your phone!!
Cheers fella, just one last problem (I promise ) as anticipated by myself lol, I can't copy the shellres.192.dll back into the Windows directory. Have tried doing it by Active Sync and by using Resco Explorer to move the file from Internal Storage to the Windows directory. I have also tried to rename the exsisting shellres.192.dll file but i'm not able to do that either lol
So for the love of GOD how the hell do you copy it back into the Windows directory? Do I need another application or something?
Am tempted to use a hammer lol
xavierdemon said:
Am tempted to use a hammer lol
Click to expand...
Click to collapse
LOL you dont need to go that far lol!!! have you installed and of the All-In-On cab files to mod your taskbar?? the only reason i ask is the only way i was able to swap files in the windows dir was after i installed one of tsowen's task bar cabs if i just tried to swap the file before i installed the cab i could not change any files. so what i did was installed sdkcerts then one of the all in on taskbar cabs then the nue power drivers(so your batt shows the correct power state) then soft reset , then i would copy my changed files over and i was able to swap the files..
Does anyone else know how he can swap the file out with out going though all these steps????
if not try it and see how it goes just remember to do a back up with PIM or SKtools because that way you will be fine if you have to hard reset!!!
let me know how it goes. I will be out for the night, but i will check back in the morning. good luck lol

[UTIL] Easy Apk Dissassembler - Reengineering and Autosign your apk

Hi,
I have released a small simple user interface for apktool, smali, baksmali
And other interesting program to reverse engineering your android program.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
How to use it ?
It's very easy.
Just copy at the same folder any APK.
Lunch the program Easy Apk Dissassembler.
Press the button 0 and ENTER for dissassembly it
Modify the program with notepad++ (press 7 and enter)
And compile it with apktool by pressing button 1 and ENTER.
After it it will be automatically signed.
You just have to install an run your apk signed_YOURAPK.apk
into your phone/emulator.
with EAD it's so easy to customise your APK
Note: This is just an user interface.
Don't forget the author of the different program include especially
Brut.all and jesusfreke for their work
Download it
http://code.google.com/p/easy-apk-dissassembler/downloads/list
http://code.google.com/p/easy-apk-dissassembler/
Click to expand...
Click to collapse
Older post http://forum.xda-developers.com/showthread.php?t=643800
Note: You need to have java installed and have java in the path
Very nice tool...works well.
Thanks.
Gonna give this a Spin and report if I see bugs, btw does this edit resources file within apk? hope it does...
Yeah it is an helper/user interface for apktool and other great tool
so it can modify ressource like xml png and dex and other ressource
Getting the following error:
'java' is not recognized as an internal or external command, operable program or batch file.
dpdoughty said:
Getting the following error:
'java' is not recognized as an internal or external command, operable program or batch file.
Click to expand...
Click to collapse
Sorry... My fault. I needed to add the path to java.exe in my environmental variables
thanks, great app
How to edit XML?
For editing XML it's very easy just dissassemble with apktool
tape 0 and enter in the software
And edit simply with your notepad for exemple edit the xml with notepad++
in the folder dissassembly (dis_YOURfolderNAME)
Save the file .xml
And go to EAD (Easy Apk Dissassembler)
and use the option 1
tape 1 and enter
(assembly with apktool and sign)
And install the apk with the name sign_yourapkname.apk
I installed JAVA just fine, any idea what to enter in "system variables" so it will be in my Path?
Thanks
windows7
I believe my java is OK, I could be wrong though, so HERE is the error I am getting when trying Option 1, after I edited my apk (removed 48 pictures)
it also opens "my documents" as soon as error pops up I know this is not a application error, it is something on my end...
EDIT....The error is from me removing pictures from the apk. The index calls for X amount of images but because I deleted them it failed.
This look awesome I'll try it out when I get home.
Sent from my SGH-T959V using XDA Premium App
for java trouble please visit this link
http://www.java.com/en/download/help/path.xml
or
http://introcs.cs.princeton.edu/java/15inout/windows-cmd.html
or
http://www.google.com/#sclient=psy&...gc.r_pw.&fp=3a9ced9ae85aee08&biw=1440&bih=724
sorry, but apktool > baksmali, because it uses
.locals
instead of
.registers
in .smali code.
cordell12 said:
I installed JAVA just fine, any idea what to enter in "system variables" so it will be in my Path?
Thanks
windows7
I believe my java is OK, I could be wrong though, so HERE is the error I am getting when trying Option 1, after I edited my apk (removed 48 pictures)
it also opens "my documents" as soon as error pops up I know this is not a application error, it is something on my end...
EDIT....The error is from me removing pictures from the apk. The index calls for X amount of images but because I deleted them it failed.
Click to expand...
Click to collapse
Dude... my Windows 7 path -64 bit- is as follows:
C:\Program Files (x86)\Java\jdk1.6.0_23\bin
Where it goes:
control panel -system& security - System - advanced- environment variables.
Here you have 2 boxes, in the system variables box scroll to "Path". Click on this line and the path box pops up for you to edit, go to the begining of what is already in the path and paste the above. Actually no, first navigate to your own version of java u installed and find the "bin" folder. Now in the address bar the last thing is the "bin", right click and copy address, then paste that as the first thing in your Path in the system variables box.
EDIT: press ok on the 3 open boxes after you pasted the Path address, and make sure it as ";" after the bin;
To check you have Java in your path open cmd, type "path" and hit enter. It will be the first thing in your path.
Yawnz....
The app you want to edit needs to be in the folder you unpacked EAD to, when you hit "0" in EAD a folder will be created in there. Dip ya bread.. edit what you like.
ORioN.BAK Excellent tool dude... Much thanks.... Keep it going man...
spikey68 said:
Dude... my Windows 7 path -64 bit- is as follows:
C:\Program Files (x86)\Java\jdk1.6.0_23\bin
Where it goes:
control panel -system& security - System - advanced- environment variables.
Here you have 2 boxes, in the system variables box scroll to "Path". Click on this line and the path box pops up for you to edit, go to the begining of what is already in the path and paste the above. Actually no, first navigate to your own version of java u installed and find the "bin" folder. Now in the address bar the last thing is the "bin", right click and copy address, then paste that as the first thing in your Path in the system variables box.
EDIT: press ok on the 3 open boxes after you pasted the Path address, and make sure it as ";" after the bin;
To check you have Java in your path open cmd, type "path" and hit enter. It will be the first thing in your path.
Yawnz....
The app you want to edit needs to be in the folder you unpacked EAD to, when you hit "0" in EAD a folder will be created in there. Dip ya bread.. edit what you like.
ORioN.BAK Excellent tool dude... Much thanks.... Keep it going man...
Click to expand...
Click to collapse
i get the same error.all i did is edit text color.im new to all this so im very lost any help would be very appreciated.
Fr4gg0r said:
sorry, but apktool > baksmali, because it uses
.locals
instead of
.registers
in .smali code.
Click to expand...
Click to collapse
ROFL. You do realize that apktool just uses smali/baksmali internally for all the dalvik assembling/disassembling, right?
In particular, you might check out the -l option for baksmali
Code:
-l,--use-locals output the .locals directive with
the number of non-parameter
registers, rather than the .register
directive with the total number of
register
(but in general, I do agree that apktool is a quite nice front-end for smali/baksmali)
fezzy102 said:
i get the same error.all i did is edit text color.im new to all this so im very lost any help would be very appreciated.
Click to expand...
Click to collapse
You have system administrator rights,. Yeah?
I only told you to blow the bloody doors off!
spikey68 said:
You have system administrator rights,. Yeah?
I only told you to blow the bloody doors off!
Click to expand...
Click to collapse
Yes I do.i just cant figure it out.some where I screwed up I just dont know where.
fezzy102 said:
Yes I do.i just cant figure it out.some where I screwed up I just dont know where.
Click to expand...
Click to collapse
Via cmd prompt u typed path,. Hit return. Was java in ur path? Should be first thing if u pasted to beginning. If not its wrong dude.
I only told you to blow the bloody doors off!
Read this for help for the path with java
http://www.java.com/en/download/help/path.xml
cannot assembling..
java.io.FileNotFoundException: dis_a.apk\dist\a.apk (The system cannot find the
file specified)
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(Unknown Source)
at java.util.jar.JarFile.<init>(Unknown Source)
at java.util.jar.JarFile.<init>(Unknown Source)
at com.android.signapk.SignApk.main(SignApk.java:320)
Press any key to continue . . .

[Q] How to replace \Windows\ .dlls

I want to replace phcanhtc.dll and phcanrc.dll with these dll (http://forum.xda-developers.com/showthread.php?p=5910397#post5910397) for wm6.5.3 with all fixes but I do not know how to do it.
I've searched on forum without relevant results.
Please help
me too, i really dont know
Why not simply, when device is booting i.e. processing HKLM\init, override old dll-version with new dll-version?
Code:
Launch9999="CopyDLLs.exe"
Depend9999=hex:14,00,1E,00
Could You elaborate a bit on that information? I mean, what is "CopyDLLs.exe" and how does it work? Where to find more information about it (Google doesn't return much...)? What is the "Depend" key and what does that HEX mean?
TIA
Thought the concept behind the solution proposal I outlined above is reconstructable to everyone:
1) you simply add two lines to [HKEY_LOCAL_MACHINE\init] with which an executable ( of your choice, I use freeware TULL.exe for those reasons - you can name it how you want to do it, ex. CopyDLLs.exe ) is started. BTW: 'DependXXXX' is the load order index for 'LaunchXXXX' and 'hex' indicates that it's a binary value.
2) using TULL.exe you create a related .INI-file that is read by TULL.exe (or renamed to CopyDLLs.exe, what I think is more meaningful) with contents like this:
Code:
;overide xyz dll
C "\Save\xyz.dll" "\Windows\xyz.dll"
;done
FYI: TULL.exe you can downlad here
Thank You for that valuable information! I have been using and customizing WM four years now and I have so far understood that it's impossible to replace DLL-s which are in ROM and cannot be overwritten with Resco or similar file manager. Although I don't need it anymore (I would have a year ago), it's still good to know. One question tho, if I may... By asking "what does hex mean" I didn't really mean that, I know there are DWORDs, binary values etc, sorry about that I actually meant what does that value do. But You already answered that. I still wonder, how is that load order index constructed, I mean, how do I know what to put there?
TIA.
OverWrite vs. Override
1) You have to distinguish between terms 'overwrite' (i.e. physical replacement) and 'override' (i.e. logical replacement). The method I suggested is to 'override' a DLL before its first use. If a DLL is already loaded, the method of course will NOT work (only the internal DLL counter is incremented by 1)!
2) With regards to how determine DependXXXX value (excerpt from http://msdn.microsoft.com/en-us/library/aa446914.aspx):
The other option for launching an application at boot time is to use the HKLM\Init keys, this requires that the application call back into the operating system by calling SignalStarted( ); to let the operating system know that the application is running. The reason for this is that the HKLM\Init keys have two parts, LaunchXX and DependXX. The LaunchXX key (where XX is a numeric value) simply points at the executable to launch. For example, take the following snippet from my operating system image registry file (once the operating system is built, the complete registry can be examined in text form in the build release folder as reginit.ini)
[HKEY_LOCAL_MACHINE\init]
"Launch10"="shell.exe"
"Launch20"="device.exe"
"Depend20"=hex:0a,00
"Launch30"="gwes.exe"
"Depend30"=hex:14,00
The snippet from the registry above launches three processes, Shell, Device, and GWES. Notice that device.exe (Launch20) has a dependency on Hex:0a (10 decimal). This equates to Launch10, or shell.exe, so the Shell process needs to signal the operating system that it's up and running so that any dependencies (in this case device.exe) can then be started. The same is also true of gwes.exe (launch30), device.exe depends on hex:14 (20 decimal), so GWES can't run until device.exe calls SignalStarted.
OK, thank You again for the thorough explanation. I just want to confirm one thing - as far as I understand from that description, it would also be possible to launch an *.exe which will copy and overwrite the original DLL before it's loaded in boot order? I ask because a bunch of the DLL files cannot be overwritten after the device has booted. Like I said, some of the files in ROM can be overwritten and some cannot be. I have so far suspected that the ones that cannot be overwritten cannot be overwritten because a) they are already loaded; b) they are locked by some process. I cannot imagine any other mechanism that distinguishes between one DLL and another. Would it work or am I missing something here?
You didn't read it carefully
Again: YOU HAVE TO DISTINGUISH BETWEEN OVERWRITE AND OVERRIDE. We all know that a file located in ROM never can be 'overwritten', but 'overridden', this due to the fact how WinCE searches for a DLL called by an application: 1 -> in directory where the application is located, 2 -> in folder \Windows, 3 -> in folder declared in CE's SystemPath and 4) finally in ROM.
Ending this excursion into the world of WinCE: If you make the desired DLL-copy-operations directly after device.exe (CE 5) / device.dll (CE 6) has done its job (means file system is mounted and ready to be used) you can 'override' each ROM-located DLL if it isn't already lasting (loaded) in RAM, means you simply copy new version of DLL to folder \Windows. BTW: The DLLs you see in \Windows might be located in ROM, or not ( i.e. located in RAM - folder \Windows itself is RAM), this depends on how OEM implemented this.
Only a practical example I've in use:
Code:
;
;increase storage memory (KB)
W \NandFlash\CE-Utilities\SetSystemMemoryDivisionKB.exe, 3072
; delay execution by the passed value in milliseconds
D 1000
;load backlight settings
W \NandFlash\CE-Utilities\regimp.exe, /f:\NandFlash\MyRegistry\backlight.ini /s
W \NandFlash\CE-Utilities\RegFlushKeys.exe
;prepare using .NET CF 3.5 instead .NET CF 2.0 (ROM located)
C "\NandFlash\NetCFCfg\device.config" "\Windows\device.config"
[COLOR="Red"]C "\NandFlash\MyCESystemPath\mscoree.dll" "\Windows\mscoree.dll"[/COLOR]
; delay execution by the passed value in milliseconds
D 1000
Original ROM-located mscoree.dll (part of pre-installed .NET CF 2.0) gets overriden with mscoree.dll that comes with .NET CF 3.5, thus now .NET CF 3.5 is running instead of .NET CF 2.0
Thanks again for Your answer, which is again thorough and informative. Basically You answered "Yes" to my question I say this because - as I am not as knowledgeable about WinCE system as You are - it seems I just call the process that You describe as "overriding" simply "overwriting". This is because I wasn't aware how WinCE searches for a file or how the \Windows\ folder contents is handled / processed. And also because when I copy a DLL file to \Windows\ folder, Resco simply asks "Do You want to overwrite...?" etc I am not a WinCE developer, I'm simply an enthusiast and I might call things more simply, sorry for that. But I think I got valuable information from You one way or another and the most important thing is, I got the point. However You call it.
@jwoegerbauer: Thanks friend for the nice examples and explanations .
Cheers!!!
I want to copy a new NLS file to a WinCE device, before system was loaded.
I've tried to do what you suggested here, jwoegerbauer, with my Mio C520.
I've wrote registry keys to activate the sciprt I wrote, before the system loaded - with no success.
I've tried both MortScript and TULL as script-language - both with no success.
The registry keys that I've tried to import are:
Code:
[HKEY_LOCAL_MACHINE\init]
"Launch25"="\My Flash Disk\Temp\CopyNLS.exe"
I've tried also to import
Code:
"Depend25"=hex:14,00
which cause the system to freeze in the main menu (before MP is loaded), and
Code:
"Depend30"=hex:14,00,28,00
which cause the system to freeze in the boot load.
I'll be happy to know what else can I try to activate the code.
If the wince.nls is located in the XIP already you cannot override it. It is loaded before the FAT partition is there and the filter driver could redirect calls to the FAT copy of a dll.
You need to re-cook with the wince.nls moved to the SYS, seems however that some specialties need to be taken care of when doing so (search here at XDA for this).
So, I understand that my only option is to implant a soft-reset during the installaion of MioPocket.
Do you know how to do soft-reset with those chinese devices?
Reset does not help you if the wince.nls is located in the XIP. You will not be able to replace it with any means - the OS will load it before you have any chance to interfere.
Your only option is to replace the OS (with a cooked one) where the wince.nls is different from the start - or where it is not located in the XIP partition.
Why do you want to replace the wince.nls? Probably your problem can be solved another way?
Well, actually, in the Mio C520 - reset does help me. It's re-written the wince.nls file with the one I copied, and used it very well.
My problem now is my Chinese device, based on WinCE 6.0 embedded.
I've installed MioPocket on it, and translate some of the words to Hebrew. The problem is that the hebrew is 'backwards', meaning if for ex. instead of "Hello" - It'll show "olleH".
Here is screenshot of both devices, to the left is the Mio C520, which is OK, and to the right is the Chinese device, which is written 'backwords'
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
So I thoght - maybe, if I'll made the Chinese device to do soft-reset, just like the Mio - maybe the problem will be solved.
But maybe you are right, and there's completely another solution to this problem. I sure hope there is...
Well, I can neither read Chinese nor Hebrew - so nothing to guide you here.
Not sure what you wanted to achieve with the new wince.nls
What I understood is that this files basically gives you all the entries in the Locale panel of the settings file - so where you can select the format of the time/date or currency. First you select the Locale (not UI language which is a different setting) and then you can pick for each of the items defined by this locale set the relevant options that are stored in the wince.nls file. It also holds all menu items of that local setting in all languages - which makes it quite big depending on the number of languages supported.
So if you could "replace" the wince.nls, then for sure it is not in the XIP and all my previous comments are useless for you.
If you are after swapping the direction of writing on your device this is a totally different thing. I am sure it is not part of the .nls but a system setting for the UI part of the device. You may need to search for "Arabic Support" or alike in the Windows CE forums around the world. I have not seen much discussed here at XDA for this specialty.
Good luck!
After a search inside the GPS file system (I forgot to mention that in the original menu of the GPS the Hebrew was just fine - meaning from right to left - what led me to think there's something in the OS responsible for that) - I found a file named SetLanguage.exe which may be repsosible to display the hebrew in the right direction.
Anyone in here can hex the file and understand what's it's usage?
I attached also file named Arab.dll, maybe is also related..
Any help will be much appriciate!
Absolute OFF-TOPIC
@Cheetah64d
SetLanguage.exe (by Lenovo Beijing Ltd.) you attached depends on libraries
Arab.dll, MultiLanDll.dll, ApicalDrvApi.dll, AppLoginDll.dll, MFC80U.dll and COREDLL.dll.
Click to expand...
Click to collapse
This executable is only useable on very specific devices.
As stated by MS, Windows CE by default uses the fonts as listet next to implement hebrew
Arial (subset 1_08) arial_1_08
Arial Bold (subset 1_08) arialbd_1_08
Courier New (subset 1_08) cour_1_08
Tahoma (subset 1_08) tahoma_1_08
Tahoma Bold (subset 1_08) tahomabd_1_08
Click to expand...
Click to collapse

[XAP][08.07.2015] PDF Helper V1.7.1: Extended/improved file explorer engine

[08.07.2015] Update: PDF Helper V1.7.1 for interop/cap unlocked WP 8.1 NOKIA devices!
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Changelog:
- improved path management (hold on a path to browse it)
- WPTweaker URI scheme added => launch the from inside PDF Helper (applicationbar menu), big thanks to @sensboston
- own uri scheme added => launch PDF Helper from other apps (URI scheme: PDFHelper)
- general bug fixing
Best regards
contable
[04.07.2015] Update: PDF Helper V1.7 for interop/cap unlocked WP 8.1 NOKIA devices!
Changelog:
Full management for saved paths implemented:
- add/save (with possibility to add a description)
- select
- delete (multiple)
- edit
- browse
Best regards
contable
[26.06.2015] Update: PDF Helper V1.6 for interop/cap unlocked WP 8.1 NOKIA devices!
Changelog:
- copy and move folders features added
- RPC mode feature added (copy or move files using RPC => access to Locations where you can´t write usually) Useful or not ? To be tested...
- Local Storage access fixed (Other Storages tab)
- better error-handling
- speed improvements
- General bug bixes
....
Note: the app is compiled to ARM now (because of the RPC mode feature). I suggest to uninstall older versions before installing this version!
Best regards
contable
[22.06.2015] Update: PDF Helper V1.5 for interop/cap unlocked WP 8.1 devices!
Hi guys,
this is V1.5 with file explorer extension (ported from my previous project IO Explorer for interop/cap unlocked SAMSUNG devices)!
I have added all basic features a file explorer should have (or should not have!?!). More features will come soon, also a tutorial will follow.
For the Moment you should know: Hold on a folder item to open it, hold on a file item to launch it.
Still not implemented basic Features:
-zip folders
-copy/move folders
-delete a path from FAVS.
More later....
Best regards
contable
[14.06.2015] Initial release: PDF Helper V1.0 for WP 8.1 devices!
Hi there,
i would like to introduce this app I have created for all dev-unlocked WP8.1 devices with the intention to get a better PDF/sharing/mail attachment-management on WP 8.1 devices.
Requirements(atm):
- dev-unlocked WP8.1 device (only V1.0)
- interop/cap-unlocked WP8.1 device (only V1.5)
- interop/cap-unlocked Lumia WP8.1 (V1.6 and higher)
Features:
- open pdf files from email attachments (or from whereever you want: just tap on the add button) , save them (rename before saving is possible) directly anywhere on your device, OneDrive or any other supported app
- save pdf files to local storage for later operations
- share different filetypes by mail or other share Options
- receice shared content from other apps
- rename files
- zip files
- create folders for better local storage management
- move files on local storage
and so on...
Just test it and reply.
Note: future versions will require interop-unlock as I´m planning to extend the app!
Have fun.
contable
-reserved-
Next version will come with IO Explorer implementation and new UI for interop-/cap-unlocked devices. Screenshots attached.
V1.5 is online now! File explorer engine from IO Explorer added. Now the app needs interop/cap unlock.
I have tested the code on Lumia 830 and Lumia 640xl (Hide the sotkeys!)
Suggestions and questions are welcome.
Cheers
contable
Hi,
when i try to deploy in my phone (lumia 530 dual sim inteop unlock), the tool (Application Deployment 8.1) give me this error: "the manifest could not be loaded and may not be valid"
dragon.81 said:
Hi,
when i try to deploy in my phone (lumia 530 dual sim inteop unlock), the tool (Application Deployment 8.1) give me this error: "the manifest could not be loaded and may not be valid"
Click to expand...
Click to collapse
I would try to deploy the app with Windows Phone Power Tools. On my device (Lumia 830) the app deployment tool works as it should.
Good works
When i am on c:\, one click on Data or Programs and app Crash.
titi66200 said:
Good works
When i am on c:\, one click on Data or Programs and app Crash.
Click to expand...
Click to collapse
I can browse C:\Data folder without any Problem. This folder is mounted as U:\. So try to type in manually.
C:\PROGRAMS I can´t browse either. Next Version will feature a better error-handling.
Long press open folder well.
But try only one tap on folder
titi66200 said:
Long press open folder well.
But try only one tap on folder
Click to expand...
Click to collapse
Long press is the way to open the Folder (=> post #1), but C:/Programs you still can´t open.
I have allready fixed the "One Tap" crash. Next Version will come soon...
Thx for error-reporting:good:
New Version V1.6 is online now! Changelog on post #1.
Next version will feature full management for saved paths:
- add/save (with possibility to add a description)
- select
- delete (multiple)
- edit
- browse
For the moment I have to stop the project.:crying:
After updating VS2013 to update 4 I can´t deploy apps to my device. When I have figured out how to fix it the development will go on... Sorry.
Edit:
Deployment is working again...
V 1.7 is online now.
As promised I have added full management for saved paths! Changelog on post #1.
This is a very useful feature, e.g. if you browse the app data folders of other apps. Save the path and add a description, next time browse to the desired folder directly.
Enjoy!
contable
App crash when opening system32 folder. (Lumia 830)
titi66200 said:
App crash when opening system32 folder. (Lumia 830)
Click to expand...
Click to collapse
that is a strange place to save your pdfs...
joke aside. same here. Crashes at "Loading files"
titi66200 said:
App crash when opening system32 folder. (Lumia 830)
Click to expand...
Click to collapse
This is a known issue. I will fix it later, after all basic functions have been added. Thanx again for replying here.
derausgewanderte said:
that is a strange place to save your pdfs...
joke aside. same here
Click to expand...
Click to collapse
The folder contains some kind of storage items that my code don´t like. Will have to check which item causes the exception...
But first I will add new features/improve existing features.
The in this thread described "MODS" can be done with PDF Helper on device. No need to connect the device to your PC.
1. Just save the paths with the integrated path manager => come back later with one(two) click(s) (C:\Data\SharedData\OEM\Public\ + C:\PROGRAMS\CommonFiles\Sounds\)
2. Copy Whatsapp backup folder to your sd Card
3. Copy sound files using RPC mode (don´t forget to turn on RPC mode!) to the Sounds folder
New Version 1.7.1 is online now.
Changelog on post #1.

Categories

Resources