[HOW TO] build an autosigner for OSX - G1 Themes and Wallpapers

Ok, so I'm kind of new to automator which is why I'm making this as a tutorial instead of a download.
1. First you need to download the AndroidMod.zip JesusFreke posted
http://android-dls.com/forum/index.php?f=24&t=191&rb_v=viewtopic
2. Copy the three highlighted objects from the SignApk folder to the folder of your choice, I chose one called signapk in my applications folder
{
"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"
}
3. Open the info window for one of the files in there final destination, keep it open as we're going to use the Where field in the next step.
4. Open Automator and choose a custom workflow. First go to Files and Folders then choose Duplicate Finder Items. What this does is create a duplicate of the file we're going to sign and pass it to the shell script we're about to create.
Then scroll down to utilities and then choose Run Shell Script.
5. Change the drop down for pass inputs from to stdin to as arguments. This allows us to either create an application we can drop files we want to sign onto, or create a finder plugin so we can right click(or ctrl-click if you're on a single button trackpad or mouse) and sign it from there.
6. The basic usage for the signapk.jar included in the android mod file is as follows: java -jar signapk.jar testkey.x509.pem testkey.pk8 <update.zip> <update_signed.zip>
what we need to change is add the absolute path to signapk.jar, testkey.x509.pem, and testkey.pk8. Thats what is listed in the where field in the get info window comes into play, just type everything listed there right infront of each of those three files. In my case thats going to be /Applications/signapk/. We also need to change <update.zip> to "[email protected]" with the quotes. Thats what is actually going to be the input from either dragging and dropping or right clicking. Finally the last parameter we just need to remove because we made a duplicate of the file to be signed, and if theres no final parameter it overwrites the file sent to it. My final shell script is shown in the image below.
7. Save the file as an application if you want to drag and drop files onto it and Save it as a plugin and then select finder if you want to be able to right click and sign. When using a finder plugin you right click and go to more, then automator, then choose the plugin you just saved.
Thats It! whenever you use it it will automatically create a copy of the file you're signing (ex. Launcher.apk -> Launcher copy.apk or update.zip -> update copy.zip) and sign that. The copy is the signed version and the original is left untouched.
Feel free to modify this however you want, if someone wants to release a prebuilt version of this automator action, thats perfectly fine by me, you don't even need to ask for permission. Do whatever you want with it.

Thanks very much! I was getting tired of launching Parallels whenever I wanted to do something like this.

yes super useful, was sick of tossing files back and forth between my computers. definitely needs to be a sticky.

I couldn't get it to work for me with ADP1.1 When I try to boot up with update.zip I get the error that the files were not signed. For argument sake I redid everything a few times. And saved my files exactly where you saved them and still no luck. Any ideas?
::edit:: I think that my problem has something to do with certain files not changing to .apk when I change them back from .zip. Some of my .apks change to that black square that you know are some executable program while the rest remain little white ones. Any ideas on how to change them to normal executable files?

yeah, if you open the info (command + i) on the file you'll see that the file has the .zip hidden. In the info window you can delete the .zip extension and just leave the .apk. Theres a setting somewhere to enable file extensions always, and it's quite nice to have that enabled

I already have it enabled. That is why I can't figure out why some files do that and some don't.
Edit: Finder is reading some of them as Unix executable and others as documents. I guess the trick is trying to figure out how to fix that.

That would be as simple as running chmod on them in the console, however I've never had a problem with that, as long as they're named.apk and not .apk.zip I've never had a problem putting them back on the phone even if osx didn't see them as unix executables

That is the only thing I could think of and chmod did not work. But I am not 100% sure that it is even the files that is the problem.
::Edit:: After testing things a little more I think it has something to do with the signing itself. Even though it makes that copy I don't think it is actually signing the file. Would you be able to upload your program?

i have had the exact same problem as Broopa and its getting really anoying lol could someone please upload the file for us to use.

Anyone have any idea why the folders aren't getting signed. I even installed java from Apples developer site and no luck.

c'mon people...youve all done it can you please send some info our way??

sorry guys I don't know why it's not working now. I'll try to get it fixed and reposted.

Any updates on this? I still can't get it to work.

i created the workflow, saved it as a service for finder, and tried it out.
it creates the dupe file, but pops up with an error message:
The action "Run Shell Script" encountered an error.
there must be something wrong with the script itself, or the arguments being called by it.
is nobody still working on this? i know it's been over a year, but this would be very helpful to have available.

Related

[GUIDE] Restoring Swype the Easy Way

This post DOES NOT CONTAIN SWYPE BINARIES, and presumes that you have backed up your original Swype.apk and libSwypeCore.so files. If you forgot to, you can get them by doing an unyaffs on the system.img from any of your nandroid backups that would contain swype, or the G2's PC10IMG.zip, and extracting the files from system/lib/libSwypeCore.so and system/app/Swype.apk.
You can also check this post for other methods of attaining your old Swype files: http://forum.xda-developers.com/showthread.php?t=841603
DO NOT USE THIS ARCHIVE WITHOUT FIRST ADDING THE SWYPE FILES. BAD THINGS MAY HAPPEN. I'M NOT RESPONSIBLE FOR ANYTHING THAT HAPPENS TO YOUR PHONE EITHER WAY.
TO RESTORE THE SWYPE FILES FROM A NANDROID BACKUP:
See this post http://forum.xda-developers.com/showthread.php?t=835971 for the original PC10IMG.zip file that should theorietically also contain it - though I have not yet figured out how to extract files from its system.img
1. Locate your nandroid backup that you know you made when you had Swype​2. Find the system.img in the nandroid backup (probably in /sdcard/ClockworkMod/backup/)​3. Open an adb shell and execute the following:
mkdir /sdcard/system
cp /sdcard/ClockworkMod/backup/YOUR-BACKUP-NAME/system.img /sdcard/system/
cd /sdcard/system
unyaffs system.img​4. Mount your sdcard on your PC and navigate to the system/app folder and copy Swype.apk to your desktop​5. Navigate to the system/lib folder and copy libSwypeCore.so to your desktop​You can now safely delete the system folder on your sdcard (it's taking up a lot of space).​
Now you should have Swype.apk and libSwypeCore.so ready to go.
Once you get those files, you're ready to create the update zip:
1. Download the FixSwype.zip attached to the bottom of this thread, and edit it with your favorite archive editor (I prefer 7-Zip, because it's open-source and fully-featured).
You should see:
system
META-INF​
2. Browse to the system/app directory, and paste in your Swype.apk
then, go back up to the system/lib directory, and paste in the libSwypeCore.so​
3. Move the new FixSwype.zip to your SD Card, either via mounting it on your PC and manually copying it, or by "adb push FixSwype.zip /sdcard/"​
4. Reboot to recovery. Navigate to "apply zip from sdcard" or equivalent function, and select your FixSwype.zip.​5. You're done! Reboot the phone, go to Settings, Language & keyboard, and check "Swype". Enjoy! You now have a permanent Swype-restoring patch.​
Of course, you'll have to re-run this process any time you install a new ROM, as the new ROM will overwrite your existing /system partition, where Swype lives.
So, whenever you install a new rom just...
1. apply the new ROM's .zip file
2. apply the FixSwype.zip file
wash, rinse, repeat!​
Want to buy me a beer? Click here!
There's not really any need for this if you're using CM. Once you have Swype on your phone, create a file in /system/etc/ called custom_backup_list.txt. Each line in the file should be the path to a file that you want preserved when you flash a new version, with the leading /system/ removed. So, for swype, your /system/etc/custom_backup_list.txt would have:
app/Swype.apk
lib/libSwypeCore.so
(I also added app/Quickoffice.apk, along with the modified files for the fixed keymap.)
Once you have this file in place, Swype (and whatever else you list) will be preserved automatically for you every time you flash a new CM.
itp said:
There's not really any need for this if you're using CM. Once you have Swype on your phone, create a file in /system/etc/ called custom_backup_list.txt. ...
Click to expand...
Click to collapse
itp,
This is really good info to have! Thanks. I've heard rumors (unconfirmed by myself) that Rom Manager does not honor this file, so I'll leave my post up for the time being, for people who may find it useful or don't feel comfortable playing in /system.
how do i do a unyaffs on my stock backup rom so i can get the swype keyboard back? Also does this work on virtuous roms?
hate to break your heart, but the easier-est way is already made just by 3 clicks in an apk.
http://forum.xda-developers.com/showthread.php?t=841603
just download the apk in the link of mediafire through your phone or from computer move it to your sd card.
use a file manager/browser to locate and install the file.
open, look for the swype which it only shows that file...click and it will do the rest for you by itself.
oh and make sure you check it in the keyboard settings and uncheck any other keyboards you might have installed.
mbergh22 said:
how do i do a unyaffs on my stock backup rom so i can get the swype keyboard back? Also does this work on virtuous roms?
Click to expand...
Click to collapse
I just now updated the post above with directions for this. Oh, and yes it should work for any/all ROMs.
GunToYoMouth123 said:
hate to break your heart, but the easier-est way is already made just by 3 clicks in an apk.
http://forum.xda-developers.com/showthread.php?t=841603
Click to expand...
Click to collapse
Neat...I had seen that post before but not since it was updated with the apk. Cool.
does that apk work with virtuous roms? and which unayffs file do i download and where do i store it?
unyaffs is a command that is built in to Android
It says unyaffs not found
Sent from my HTC Vision using XDA App
mbergh22 said:
It says unyaffs not found
Click to expand...
Click to collapse
Hmm, make sure you're spelling it right... otherwise, not sure. It's possible (but unlikely) the ROM you're using doesn't include it. It's definitely in cyanogenmod...
Edit: here's a screenshot of when I used it...
{
"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"
}
From what I remember, unyaffs will not work on Mac. Are you on a Mac?
rraxda said:
From what I remember, unyaffs will not work on Mac. Are you on a Mac?
Click to expand...
Click to collapse
Nope windows 7 and I have even tried it through the terminal on my phone. I am using the latest virtuous rom.
rraxda said:
From what I remember, unyaffs will not work on Mac. Are you on a Mac?
Click to expand...
Click to collapse
This command is executed on the phone, not on the computer, so it wouldn't matter if it's Mac, Windows, Linux, BSD, etc...
mbergh22 said:
does that apk work with virtuous roms? and which unayffs file do i download and where do i store it?
Click to expand...
Click to collapse
Unfortunetly the apk i sent doesn't work for sense roms,you should ask the original poster . I tried on sense roms, and it says no swype found in back-up file. But for cm and froyo roms,it does work.
Sent from my HTC Vision using XDA App
Weaseal said:
This command is executed on the phone, not on the computer, so it wouldn't matter if it's Mac, Windows, Linux, BSD, etc...
Click to expand...
Click to collapse
Weaseal said:
Open an adb shell and execute the following:
mkdir /sdcard/system
cp /sdcard/ClockworkMod/backup/YOUR-BACKUP-NAME/system.img /sdcard/system/
cd /sdcard/system
unyaffs system.img[/INDENT]
Click to expand...
Click to collapse
My bad... I thought that when you said "open an adb shell" you were speaking of running adb shell from cmd? Is that wrong?

[CM9/AOKP][HOW TO] Change the background image of your settings menu/Dialer/Contacts

Hi all,
This guide is split into two parts as of now , part 1 is for changing the settings menu background and part 2 is for changing the backgground for dialer and contacts.
Part -1
may be this method is known to few but im posting this to people who dont know how to change the background image of the settings menu and other few.
Sample screenshots
{
"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"
}
Like it?
here is the method to do this.
Software needed :
1.7zip (to replace the image)
2.android sdk(to use adb commands to push/pull the files)
How it works:
We are modifying/replacing an image called "background_holo_dark.png" in the "framework-res.apk" which is responsible for displaying background images in menu.
Step 1:
Use the following adb command below to pull the "framework-res.apk" from your mobile to pc.
Code:
adb pull system/framework/framework-res.apk
Step 2:
Open the framework-res.apk via 7zip and navigate to the following directory
"framework-res.apk\res\drawable-nodpi\", you will see a file called "background_holo_dark.png". Delete the image and dont close the 7zip.
Preparing your own image:
Now use any png image you want to set as background , resize it to 512 x 512 via mspaint or any other image editing software and rename the file to "background_holo_dark.png".
Drag the newly created image file back to 7zip(to the same directory where the old file is deleted) and close the 7 zip .
Step 3:
Now its time to push the file back to mobile, type the following command in the same command prompt
Code:
adb remount
now type the following
Code:
adb push framework-res.apk system/framework
Step 4:
Now reboot your mobile, you will have the new background image enabled
Part-2
Wanna change the background of the dialer and contacts?? well read below,
Step 1:
Use the adb command (or u can use root explorer) to pull the "Contacts.apk" from your mobile to pc.
Step 2:
Open the Contacts.apk via 7zip and navigate to the following directory
"Contacts.apk\res\drawable-nodpi\", you will see a file called "background_dial_holo_dark.png". Delete the image and dont close the 7zip.
Drag the image (similar to the one created in part 1 of the guide) file back to 7zip(to the same directory where the old file is deleted) and close the 7 zip .
Step 3:
Now its time to push/copy back the file back to mobile. Copy back the file to the same directory from where it is copied.
Step 4:
Now reboot your mobile, you will have the new background image enabled
Your dialer and contacts shortcut may be missing from your launcher, just drag it back to the homescreen from the app drawer.
Step:5
This step is optional!!! If you do not get those shortcuts, enter cwm and wipe cache and dalvik cache.
Sample screenshots.
Note:
For users who know how to use root explorer can use the same to copy/paste the framework-res.apk before and after editing.
Sample images are taken with 160 dpi, this mod will work with all dpi.
credit:
vertimus (thanks to him , he helped finding the right image to replace)
you can find some ready to use backgrounds in this post ... will be updating this post when i find something beautiful for a background
updated with a few more images
Now the journy began, will try it soon
For those who don't have the sdk tools...
Root explorer can also be used in order to copy the framework-res.apk and after editing paste it again.
mitsos89 said:
For those who don't have the sdk tools...
Root explorer can also be used in order to copy the framework-res.apk and after editing paste it again.
Click to expand...
Click to collapse
Yeap
But doing this, just after copying, the phone made a small reboot. And after, I had the new background image
(I try with adb remount, but this command doesn't work...)
So I did it with ES Explorate
Black background
Thanks for this tutorial. Was having trouble using root explorer so I just used ES File Explorer and that worked fine. Finally have the black background I love in Settings.
Link is below for anyone that wants it
works also fine for non CM9 Rom, but the category bars (interface, device etc.) are not transparent. How to change it?
Thanks and Greetz
kr4mb3
Why developers from S2 not developing themes for ICS?
kachrukamble said:
Why developers from S2 not developing themes for ICS?
Click to expand...
Click to collapse
i think it will take some more time as still there are many users using gb. once ics hits stable , then we can see hell lot of themes
updated with a few more images, people who try this mod do post their background image in this thread so that it can be shared
wow i don't know the process was that easy.. also working on aokp and maybe cna rom since both cm9 based.. if no 7zip present Winrar could do the job..
here's mine..
background:
the background also effect other app that uses standard android framework
mass esolle
Here is mine.
Thanks bala_gamer for the info sweet as nice and simple cheers.
Heres mine:
mm i put the file in but didnt work.. is it the same file for ics roms
xinfinityoO said:
mm i put the file in but didnt work.. is it the same file for ics roms
Click to expand...
Click to collapse
you mean samsung ics roms? if you are using the stock theme for samsung roms then replace the following file in the same directory
"tw_background_dark.png".
If you are using themed samsung roms then you can give this guide a try
xinfinityoO said:
mm i put the file in but didnt work.. is it the same file for ics roms
Click to expand...
Click to collapse
Which rom you are using???. Let me know so i can help you.
thanks allot working what about other background like menu button also for dial-pad how to make it transparent ...... etc
I've been trying this more ever and I couldn't get it to work. I had it once but as soon as I flashed a theme of CM9 it was over-written and if I try to replace the file I always get a bootloop. And even worse is that I can't install Java for the pc program so if anyone can give me a step by step on how to do this with root explorer and 7zip that would be very appreciated
frigers said:
I've been trying this more ever and I couldn't get it to work. I had it once but as soon as I flashed a theme of CM9 it was over-written and if I try to replace the file I always get a bootloop. And even worse is that I can't install Java for the pc program so if anyone can give me a step by step on how to do this with root explorer and 7zip that would be very appreciated
Click to expand...
Click to collapse
its the same with root explorer
1. copy the framework-res.apk to your sd card.
2. edit the apk using the same procedure in the 1st post.
3. now copy the file to sdcard.
4. copy back the file from sd card to system/framework
5. set the permission as follows in root explorer
OOX
OXX
OXX
6.reboot
bala_gamer said:
its the same with root explorer
1. copy the framework-res.apk to your sd card.
2. edit the apk using the same procedure in the 1st post.
3. now copy the file to sdcard.
4. copy back the file from sd card to system/framework
5. set the permission as follows in root explorer
OOX
OXX
OXX
6.reboot
Click to expand...
Click to collapse
Do we need to re-sign the APK after pasting the image in the zip file? or we can simply put this APK back to the framework folder?
EDIT: Nevermind.. it works!! without re-signing the apk. thanks.

[TOOL] Verizon HTC One Splash Image Creator

With all the splash screen discussion and threads popping up, I decided it was time to make a tool which could help users create and flash their own splash screens.
Verizon HTC One Splash Image Creator
This simple Windows command-line tool allows the creation of splash images, which are automatically converted to zip files and placed in the 'flash' folder, ready to be flashed, which can be flashed by the second option. It also allows the backing-up of your current splash image, as well as extracting the image from custom '.img' files.
Instructions:
S-OFF is required for this to function!
Everything needed is included aside from the image you want to be a splash screen, and the on-screen directions are quite straight-forward.
Unzip it to a location you can easily find and run 'splash.bat'. If necessary, run it as Administrator.
Make sure you maintain the folder structure as it is in the zip.
DISCLAIMER:
This tool consists of several files, most of which I didn't create. Specifically, it includes the most up-to-date ADB and Fastboot files, along with the FFMPEG free software licensed under GPL, as well as 7-Zip, also licensed under GPL. I am not making money from this tool, therefore everything should be copacetic. All I'm doing is collecting them in one place, making it significantly easier to perform its specific function.
I can not be held responsible for your use of this tool. Flashing custom images generally can't brick your device, but if it does, the fault lies with you, the user. I am not liable. Use this tool at your own risk. This is for the Verizon HTC One only!
Screenshots:
{
"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"
}
Known Issues:
When creating a splash image, sometimes it asks you to specify whether the destination is a file or directory. It's a directory. I have overwrite and quiet mode on, so it shouldn't pop up and ask that. It only does it about 2 out of 30 times.
When flashing the splash zip, it sometimes tells me that fastboot flash isn't a valid command, despite it working without changing anything since the last time I ran it. I also tested it about 30 times, and it also only gave me that error twice. It immediately reboots and works again right after that without any modification.
Potential Limitations:
I have only been able to test this on the 1.10.605.8 software release. I don't know if you need to change the text in the android-info.txt file in the '/tools/' folder to the updated version or not. I would appreciate it if someone would test that for me who is currently on the new update.
Changelog:
Code:
v1.01 - Bux fix regarding folder structure.
v1.0 - Initial release.
Download:
http://d-h.st/OTD
Please let me know if you discover any bugs, or if you think you know why I have the two I have now. Also, let me know if it works on the .10 software update.
RESERVED
This isn't working for me. Its saying that '/tools/adb.exe' does not exist.
sebastianraven said:
This isn't working for me. Its saying that '/tools/adb.exe' does not exist.
Click to expand...
Click to collapse
Are you maintaining the folder structure as it is in the zip?
EDIT:
I did leave a bug in there regarding folder structure. I was operating from C:\ during testing, and left "C:" in there as part of the test for whether the needed files existed. If you were operating on a drive letter besides C:, it would throw that error. I removed that drive letter requirement. Please download version 1.01 and try it again from any drive letter you like.
IceDragon59 said:
Are you maintaining the folder structure as it is in the zip?
EDIT:
I did leave a bug in there regarding folder structure. I was operating from C:\ during testing, and left "C:" in there as part of the test for whether the needed files existed. If you were operating on a drive letter besides C:, it would throw that error. I removed that drive letter requirement. Please download version 1.01 and try it again from any drive letter you like.
Click to expand...
Click to collapse
Ok. Here's what I did:
Redownloaded the zip.
Unzipped and moved it to my C: drive to make this as simple as possible.
Ran as Administrator
Selected #2.
Got the same error.
sebastianraven said:
Ok. Here's what I did:
Redownloaded the zip.
Unzipped and moved it to my C: drive to make this as simple as possible.
Ran as Administrator
Selected #2.
Got the same error.
Click to expand...
Click to collapse
That's very odd. Are you placing a picture in the 'image' folder, using option #1 and converting it to the flashable zip, then trying to flash it? If there's no zip to flash, it throws an error, even though that's the wrong error.
ak074 said:
if this creates the .img to be flashed via hboot, then the android-info.txt will need to be changed to reflect the current version of the phone.
Click to expand...
Click to collapse
I know there is a way to fix it but yea it's better to be safe than sorry
on rezound I accidentally flashed a leaked one, so i couldn't flash any of these, we eventually figured out a way to fix it thankfully but it was a lesson learned
Good job man!
Worked great for me.
Thanks!
I would like to start using this tool, but I am using santods modded no-text hboot from the latest OTA...
What should the android-info.txt file have? do i just change the mainver?
peteschlabar said:
I would like to start using this tool, but I am using santods modded no-text hboot from the latest OTA...
What should the android-info.txt file have? do i just change the mainver?
Click to expand...
Click to collapse
I've used this with multiple ROMs and HBOOT versions, including the newest one, without altering anything in this program, and all worked without a problem. While I can't guarantee that that will always be the case, I haven't come across any problems as of yet. Flashing a splash image generally can't screw your phone up, but there are always exceptions. I really should update this tool with more specific instructions. Maybe I'll do that while I'm off over the holidays. To be specific in what I've tested it with, I've listed everything that I recall testing it with. I haven't seen it fail yet, and I haven't updated it since the original version.
ROMs tested with:
1.08.605.8
1.08.605.10
1.08.605.15
2.10.605.1
CM 10.2
HBOOTs tested with:
1.08.605.8 HBOOT 1.54.0000
1.08.605.10 HBOOT 1.54.0000
1.08.605.15 HBOOT 1.54.0000
2.10.605.1 HBOOT 1.55.0000
Santod's modded HBOOT 1.54.0000
RegawMOD Bootloader Customizer HBOOT 1.54.0000
Thanks! Worked great on 1.55hboot ViperOne 4.2.1 rom. Great work.

Windows 10 Mobile System32 supplement (taken from IoT build 14393)

I made a zip file with what I feel will be usable now that we have cmd working. This zip file includes cmd.exe, bcdedit.exe, powershell.exe, reg.exe, ipconfig.exe, tracert.exe, ping.exe, shutdown.exe, xcopy.exe, mountvol.exe, netsh.exe, sleep.exe, tlist.exe, tracelog.exe, tzutil.exe, winrshost.exe, and the files required for those all to function properly. Everything is in its correct place, just move the contents of the zip into system32 and reboot. I chose these files due to what I saw happening on the forums and what I personally needed, but if you need anything else, feel free to ask and I'll add it to the zip so you don't all have to download the entire IoT image.
https://1drv.ms/u/s!Ao6Il1GG4MMNouQZW4f7xWJWiDBf7g
{
"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"
}
Thanks for sharing but I can't use bcdedit.
ninjaofbacon said:
I made a zip file with what I feel will be usable now that we have cmd working. This zip file includes cmd.exe, bcdedit.exe, powershell.exe, reg.exe, ipconfig.exe, tracert.exe, ping.exe, shutdown.exe, xcopy.exe, mountvol.exe, netsh.exe, sleep.exe, tlist.exe, tracelog.exe, tzutil.exe, winrshost.exe, and the files required for those all to function properly. Everything is in its correct place, just move the contents of the zip into system32 and reboot. I chose these files due to what I saw happening on the forums and what I personally needed, but if you need anything else, feel free to ask and I'll add it to the zip so you don't all have to download the entire IoT image.
https://1drv.ms/u/s!Ao6Il1GG4MMNouQZW4f7xWJWiDBf7g
Click to expand...
Click to collapse
how can i run cmd in windows phone 10
parth0072 said:
how can i run cmd in windows phone 10
Click to expand...
Click to collapse
To run cmd on Windows 10 Mobile, look at the SFTP and cmd over SSH thread
BlueTR said:
Thanks for sharing but I can't use bcdedit.
Click to expand...
Click to collapse
I noticed that, I'm hoping to have this fixed within a few days
i guess this is for the older devices and non x50 windows devices or ?
Works on x50 devices
todarkness said:
i guess this is for the older devices and non x50 windows devices or ?
Click to expand...
Click to collapse
I don't have any x50 devices, but they should work for them too, I can't think of any reason they wouldn't
I got cmd.exe and the mui file in my system32 folder with the help of a ssh app on my android phone. How do I get the cmd function to work on my windows phone now?
svaethier said:
I got cmd.exe and the mui file in my system32 folder with the help of a ssh app on my android phone. How do I get the cmd function to work on my windows phone now?
Click to expand...
Click to collapse
If you have interop tools installed, tap the bottom button on the CMD page
I hit the cmd button on the bottom of the ssh page but nothing happens. It just says that the user failed to respond in time.
svaethier said:
I hit the cmd button on the bottom of the ssh page but nothing happens. It just says that the user failed to respond in time.
Click to expand...
Click to collapse
I've been getting that too, I've only been using SSH to use cmd. It does say cmd access is a work in progress, so I'm waiting for the next update to try to use it locally.
Have you been getting a not enough space to use command error when using ssh after putting the cmd exe and mui file into system32 even though you have 3+ gb left?
svaethier said:
Have you been getting a not enough space to use command error when using ssh after putting the cmd exe and mui file into system32 even though you have 3+ gb left?
Click to expand...
Click to collapse
What command are you trying to use?
It happens when I login to the ssh app to use cmd, it also says something about missing some text file for something. This didn't start happening until I put both cmd files into system32
svaethier said:
It happens when I login to the ssh app to use cmd, it also says something about missing some text file for something. This didn't start happening until I put both cmd files into system32
Click to expand...
Click to collapse
Is cmd.exe.mui in en-US?
Yes, I deleted both files from system32 then did the copy process over again but same message happens.
'the system cannot find message text for message number 0x2350 in the message file for application.'
svaethier said:
Yes, I deleted both files from system32 then did the copy process over again but same message happens.
'the system cannot find message text for message number 0x2350 in the message file for application.'
Click to expand...
Click to collapse
It sounds like cmd.exe.mui is in the wrong place, make sure it's in system32\en-US
The directory was called EN-US so copying it to en-US didn't correctly copy it over
svaethier said:
The directory was called EN-US so copying it to en-US didn't correctly copy it over
Click to expand...
Click to collapse
Is it working now?

How to up date LeEco Le Pro3, no root, no TWRP, 100% Stock

I am a New Pro3 owner, and a old XDA flasher. These days I just want stability and battery life. So given no one is getting OTA updates because the LeEco US office are... well about to close doors? Or at a minimum they are not maintaining the OTA servers as of today (09/06/2017 MM/DD/YEAR). I took it on myself to figure out how to get the updates and how to do them.
What you need:
These three files, nothing else.
5.8.019_sta.zip
5.8.020_sta.zip
5.8.021_sta.zip
Found here.
https://drive.google.com/open?id=0B2EAg2WU3OwpSHRMdEZ0Tks0a3M
It is very simple, but also very finicky.
1. Download 5.8.019_sta.zip, rename to update.zip
2. Place the update.zip on the root directory of your phone storage
3. Go to Settings -> System update (about 3/4 the way down)
4. Top right corner will see three vertical dots, tap the dots and select "local update" (see image)
{
"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"
}
5. When you select "local update" if you did everything correct it should say "Update package found bla bla bla". Click continue.
That's it, it will load the file, reboot in to recovery and flash the file.
Then just follow this process for each file 19s->20s-21s. Make sure you remove the last update.zip before you put the new one in place.
Now, here is how it can be "finicky". For some reason using an android file manager to rename the files to "update.zip" corrupts the file in some way... and the update once you get in to the recovery section of the auto update fails. BEST PRACTICE IS TO DOWN LOAD THE FILES TO YOUR PC, THEN RENAME IT ON YOUR PC TO update.zip AND TRANSFER TO YOUR PHONES ROOT STORAGE.
Why? no clue, but you can try it either way... but if you find it failing try ^^
Hi, thanks for sharing the files, nuch appreciated.
For some reason I cannot acces the files today ?
bethe said:
Hi, thanks for sharing the files, nuch appreciated.
For some reason I cannot acces the files today ?
Click to expand...
Click to collapse
https://drive.google.com/drive/folders/0B2EAg2WU3OwpSHRMdEZ0Tks0a3M?usp=sharing
made a new sharable link
Hi and thanks for sharing. If you don't mind could you tell me
what's included in these updates?
dallorsj said:
Hi and thanks for sharing. If you don't mind could you tell me
what's included in these updates?
Click to expand...
Click to collapse
Just google "5.8.019_sta" (for each one)
You should be able to find the change-log somewhere.
Edward,
Works great! Just some notes for everyone else.
1) Make sure phone is set to MTP (Media Transfer Protocol).
2) If you are using Windows and are 'dragging and dropping' onto the device just copy to the phone icon in file explorer, that will put it at / which is where it needs to be.
3) When I did this and used the local update option, it didn't even prompt for 19S, it just moved forward and started the upgrade and rebooted the phone. All it asked me to confirm was right when I selected local update to 'make sure' I wanted to do it. No version check, etc. I was on 18S, btw.
Are you saying you went straight from 18s to 21s? Without the intermediary updates? Are you bootloader locked or unlocked?
Thanks for all of those OTAs. I was restoring my device to stock and every update kept failing when I tried to manually update it. Note: Update will fail if your OTA is not called update.zip.
IT IS CASE SENSITIVE; in other words, it will fail if you name is 'Update.zip'.
Thanks again and this post should be stickied tbh.
If my phone has twrp and on a custom rom could i use the same steps to go back to stock?
Sent from my LEX727 using XDA-Developers Legacy app
Ugh
I could not resist the $199 sale on Amazon despite knowing all the shortcomings. I am starting to regret this decision ... somewhat ... especially since Amazon no longer lets you return phones & can only exchange within 10 days.
Anyhow, I was excited when I got this phone the next day after I ordered it but my 1st frustration was that I could not do any system updates. I read about all the improvements like app drawer & really wanted them but no, it kept saying my system was up to date (still on 18 mind you). Which led me to this thread ... but now my computer will not recognize the Le Pro 3 when I connect it. I tried different USB ports & cords and no luck so far. I also cannot download the above links from my phone so I am kind of stuck @ the moment ...
I do, however, think that I got the work around for the notification issue as they seem to be coming in now, so that's good.
Overall, the phone mostly works so I am not totally mad at this purchase but getting the updates would be nice.
Quick Question: if I try to install Lineage OS, will the phone still have the T-Mobile wifi calling?
Thank you all for this super helpful forum for basic users like me.
UPDATE: Rebooting the phone got my computer to recognize the phone. However, I have followed all the instructions above (downloaded the file, renamed it update.zip, dragged & dropped it right on the phone in explorer, but it still will not find it with the local update.
I downloaded the Cheetah File Manger which shows you the Root Directory, which did not look like where I put mine. So I tried to move it over to the Root Directory but it would not let me paste it there. So close ...................................... calling it a night ...... sigh
i wanted to follow your guidelines but there is no system update in settings in my device. i ve bought it from banggood if that info is useful.
Could you please add check sums for these files.
Thanks in advance!
Try to update my X727 from 5.8.018s to 5.8.019s:
1. Renamed 5.8.019_sta.zip to update.zip and copied it to phone root.
2. From File Manager pressed on update.zip and choose "Upgrade", it has started updating "Upgrading, do not power off the phone".
3. The phone rebooted and entered to Recovery with an error message: "Failed to update! Cause: Installation failed"
4. Presses Back-button and tried again "Update system" and got an error message "Failed to update! Cause: APK not found"
What's wrong?

Categories

Resources