As seen on the front page: http://www.xda-developers.com/android/streamline-your-app-theming-with-batchapktool/ (Thanks nikwen and Will!)
I never was overly happy with available solutions/tools/scripts for theming. So, over time my collection of homegrown batch scripts grew... and now I made a menu interface for them to collect them in a (for me, at least) logical manner. I'm gonna put them up here, maybe some people might find them useful.
BatchAPKTool differs from other Apktool/Smali-manager scripts in a few ways. It doesn't do everything everybody might find useful in a script, but it gets basic things done really fast and really neat. Where it makes sense, several working steps are combined into one command. BatchAPKTool is not a monolithic script. You can use the main menu script (!0-batchapktool-menu.bat), or you can simply click the various single scripts to get stuff done, which is usually the fastest option. There aren't a lot of folders to keep track of - everything is basically done in the root folder of the script. Just drop some APKs there and get going. BatchAPKTool automatically makes backups of the original files. And, of course, the name of the script comes from the fact that you don't select a single APK file to work with, but everything is done in batch (it's the user's responsibility to not mix system and user apps when signing/pushing/installing APKs).
On first startup the script checks if Java is installed on the computer, and sends you to the Java website if not. It also pulls the framework from your device and installs it for Apktool. After that you're good to go. The frameworks are tagged, so one can easily switch when developing for different devices.
The main menu (orange font) shows everything in order that's needed for theming system APKs. Basically, just go from option 1 to option 6 (or 7) and be done. The additional options (red font) contain features one might need as well - options 1 to 3 for non-system apps - but not as often as the main menu ones. Options 4 to 6 are just some 'internals'. It's all pretty self-explanatory, methinks:
{
"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"
}
Prerequisites are - besides Java - a custom recovery like TWRP that can mount partitions (for pushing system apps), and of course USB debugging enabled, ie. a working ADB connection.
I probably packed some safety checks in the scripts that might break operation on certain systems. Bug reports are welcome.
Tools included:
7za v9.20
aapt v0.2
adb v1.0.31
apktool v1.5.2
DeflOpt v2.07
jpegoptim v1.2.2
OptiPNG v0.7.4
signapk [?]
Stripper v1.5.5.60
zipalign
(I didn't include PNGOut for optimizing images, since it is extremely demanding, even on modern hardware... but one can easily add it to the toolchain.)
Changelog:
v1.01 Streamlined some functions, more (in)sanity checks, better integration of framework switching function
v1.00 Initial release
Cool.
Suggested it for the portal.
Awesome - thanks a lot!
A slightly updated version is coming sometime soon.
New v1.01 in first post.
Changelog: Streamlined some functions, more (in)sanity checks, better integration of framework switching function.
dfkt_ said:
New v1.01 in first post.
Changelog: Streamlined some functions, more (in)sanity checks, better integration of framework switching function.
Click to expand...
Click to collapse
Not really into cooking ROMs these days, but this tool will definately help if I enter the kitchen again and try my hand at themimg.
Thanks a lot :good:
Thanks for this, it's really productive
Thanks for this tool, Really useful & helpful!
Thanks bro, it makes so much things easier
Thanks mate. I'll give a try asap
I saw your thread from the portal and this is worth cuz it looks very useful on paper :good:
Glad you guys find it useful.
Don't hesitate to report eventual bugs, or illogical combinations of options, etc.
dfkt_ said:
On first startup the script checks if Java is installed on the computer, and sends you to the Java website if not.
Click to expand...
Click to collapse
Thanks for putting this together, but I think the download Java links in your script should point to the JRE download page instead of the main page for Java:
Java JRE download page
dfkt_ said:
As seen on the front page: http://www.xda-developers.com/android/streamline-your-app-theming-with-batchapktool/ (Thanks nikwen and Will!)
I never was overly happy with available solutions/tools/scripts for theming. So, over time my collection of homegrown batch scripts grew... and now I made a menu interface for them to collect them in a (for me, at least) logical manner. I'm gonna put them up here, maybe some people might find them useful.
BatchAPKTool differs from other Apktool/Smali-manager scripts in a few ways. It doesn't do everything everybody might find useful in a script, but it gets basic things done really fast and really neat. Where it makes sense, several working steps are combined into one command. BatchAPKTool is not a monolithic script. You can use the main menu script (!0-batchapktool-menu.bat), or you can simply click the various single scripts to get stuff done, which is usually the fastest option. There aren't a lot of folders to keep track of - everything is basically done in the root folder of the script. Just drop some APKs there and get going. BatchAPKTool automatically makes backups of the original files. And, of course, the name of the script comes from the fact that you don't select a single APK file to work with, but everything is done in batch (it's the user's responsibility to not mix system and user apps when signing/pushing/installing APKs).
On first startup the script checks if Java is installed on the computer, and sends you to the Java website if not. It also pulls the framework from your device and installs it for Apktool. After that you're good to go. The frameworks are tagged, so one can easily switch when developing for different devices.
The main menu (orange font) shows everything in order that's needed for theming system APKs. Basically, just go from option 1 to option 6 (or 7) and be done. The additional options (red font) contain features one might need as well - options 1 to 3 for non-system apps - but not as often as the main menu ones. Options 4 to 6 are just some 'internals'. It's all pretty self-explanatory, methinks:
Prerequisites are - besides Java - a custom recovery like TWRP that can mount partitions (for pushing system apps), and of course USB debugging enabled, ie. a working ADB connection.
I probably packed some safety checks in the scripts that might break operation on certain systems. Bug reports are welcome.
Tools included:
7za v9.20
aapt v0.2
adb v1.0.31
apktool v1.5.2
DeflOpt v2.07
jpegoptim v1.2.2
OptiPNG v0.7.4
signapk [?]
Stripper v1.5.5.60
zipalign
(I didn't include PNGOut for optimizing images, since it is extremely demanding, even on modern hardware... but one can easily add it to the toolchain.)
Changelog:
v1.01 Streamlined some functions, more (in)sanity checks, better integration of framework switching function
v1.00 Initial release
Click to expand...
Click to collapse
Now this will come in handy very very much! Keep up the good work and keep adding features to it
Sent from my Galaxy Nexus using Tapatalk 4
Not sure that your quote is useful.
8notime said:
Thanks for putting this together, but I think the download Java links in your script should point to the JRE download page instead of the main page for Java:
Java JRE download page
Click to expand...
Click to collapse
Yeah, that's a dilemma - the URL for the JRE direct download link is dynamic (the "1880261" part), changes with each new version. So the script would have to be constantly updated (or some really sophisticated URL crawler implemented). The lazy-but-safe way of linking to the index page is probably the best I can offer. Or maybe it's safe to link to the root JDK/JRE download page (which seems to have a fixed URL), and tell people that the JRE is enough, no need to get the JDK.
THANK YOU
Great tool. Im currently working on my dialpad theme. Great find! :good:
Related
Check post #2 for the guides, post #3 for the theme list
-----------------------------------------------------------------------------------
This is a thread dedicated to themes for Android. Help is available by clicking the links at the bottom of this post. This is not just for Kaiser users but since that's what I have, this is where I post.
-----------------------------------------------------------------------------------
**** NOTE ****
I have made my first app, StaySafe that lets you back up proprietary apps and put them into a clean, legal ROM. All of my ROMs will be in accordance with the Google C&D order.
-----------------------------------------------------------------------------------
My Themes:
** Manup456 and JAC you are the best themers! Please donate to them, sorry the credit wasn't here but it is now.**
If you like these themes, it's mostly because of Manup456:
You know if you can, you should show him some love:
Dark Donut 1.0
Themed black, much of Hero's looks and keyboard (without keylogging). Stable
Download: http://www.mediafire.com/?mgcztjwmihn
MD5sum: cc83cc96296bc3599d45634c595a956a
{
"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"
}
Dark Donut 2.1
Has a new clock, AdvancedLauncher, blurry animations, ad blocking hosts file, many of Cyanogen's enhancements (thank him) such as locking Home in memory, vibrate ever 45 seconds during call, etc. Compcache setting in Spare Parts is for another kernel so ignore that. I'd recommend turning on animations for the full effect.
Download: http://www.mediafire.com/?wyzy2lnyzny
MD5sum: 3d3944859d6026c427f11b2aeb9fd0a6
Dark Tattoo
Latest Tattoo update. Blacked out, some other features.
Download: http://www.mediafire.com/?dy5y34jmym0
MD5sum: f3785765d9182c8d45c2dab55b584e0c
There's more on the way. Feedback, requests, issues are welcome. Anything from clocks to full themes.
-----------------------------------------------------------------------------------
I'm not really good at development I've just done this for a while. The themes were in large part from Manup456 and JAC's ROMs. The real dev heroes are dzo, vilord, zenulator, mssmison, pmos69, jamezelle, kb7sqi, the Dream and MT3G people and everyone else who helped out. The list goes on. If you're able to donate, they deserve it.
-----------------------------------------------------------------------------------
Helpful links and people who have helped me get where I'm at:
Google Android and Linux for KAISER!!-- Main thread for Android on our phones
Linux and Android for Vogue (Kernel Thread)-- Dzo's thread for kernel development. He got us started and is a legend here.
Zenulator's threads for Vogue (they work for us too). He has dedicated a lot of time to helping us out.
Android with sense UI for the vogue
Vogue Android 1.6 Donut
Android 2.0 Eclair for the Vogue
-----------------------------------------------------------------------------------
Quick reference
Table of Contents
Files to modify
A word on APK files
Convert binary XML into human-readable text
How to deodex files
Closing notes
-------------------------------------------------------------------------
Files to modify:
/system/app/Launcher.apk--
kind of self explanatory
/system/app/Phone.apk--
this does not contain the dialer. only the keypad while in a call.
/system/app/Contacts.apk--
this contains the actual dialer images among other things
/system/framework/framework-res.apk--
main files to edit. minor changes here can crash your system if you fail at it.
/system/framework/framework-res.apk/res/layout/status_bar.xml--
hex edit this to change the notification bar text color
In a hex editor, search for 00 00 1C and replace the next 3 value with HTML color codes (RGB)
Refer to this for more info
/system/framework/services.jar
Changing notification text color, among other things..
Refer to this excellent guide. Worked for me.
-------------------------------------------------------------------------
A word on APK files
APK files are signed (SHA1 sigs) so don't just unzip, paste and zip back or you will wonder why things don't work. The easiest method is to use a GUI ZIP program like 7zip or Ark (Linux) to open the archive without extracting it. Drop your images over the existing ones and call it a day.
There is also apkopt which can optimize APKs (as the name implies) but will create a temporary folder with which you can inject your images to before it is resigned by the script. Some files do not like to be optimized like framework-res.apk which is why I don't use this method.
-------------------------------------------------------------------------
Convert binary XML into human-readable text
I haven't done this yet but feel I should list it here. You should be able to make changes, compile back (see the next section below) and diff the binary result for future reference.
http://forum.xda-developers.com/showthread.php?t=514412
-------------------------------------------------------------------------
How to deodex files
Generally it is not too difficult. There are some APKs that will throw errors and I'm trying to figure them out. It's a tedious but simple process and luckily I made some scripts to more or less automate it. I use Linux so BASH scripts are all you're getting.
I made a script that will take an app folder of APK and ODEX files and dump the dex files into subfolders. You will then need to add the dex file to the APK to finish. Unfortunately, because the process runs on the phone, you can overload it if you just try to run the output script. Many APKs required me to go line by line such as Music.apk because they are large files and for some reason the script will not wait for the first part to run so you must manually enter them and wait for each line to finish. I know, I'd love some help with this.
I've attached Deodex_Step1.sh.txt. Rename it to .sh and execute in the folder with APK and ODEX files and it will create a script RunScript.sh with the commands needed to deodex. As I said, this is very memory intensive and I could not just run this script so I went through and did a few at a time, careful to watch for errors and retry until it was done.
You need to download deodexerant (or take it from the SDK), smali and baksmali from here. I shouldn't have to mention that whatever build you are deodexing, you need to be running that on your phone when you connect.
Now, you will have RunScript.sh in the folder. You must connect to the phone with ADB. Set up the environment:
Code:
adb push deodexerant /data/local
adb shell chmod 755 /data/local/deodexerant
adb forward tcp:1234 tcp:1234
Here's an example for deodexing Browser.apk from the RunScript.sh you will end up making:
Code:
adb shell /data/local/deodexerant /system/app/Browser.odex 1234 &
java -jar baksmali.jar -o output/Browser.odex/out/ -x :1234 Browser.odex
java -Xmx512M -jar smali.jar output/Browser.odex/out/ -o output/Browser.odex/classes.dex
adb shell killall deodexerant && clear && echo Done Processing Browser.odex
Important notes are that smali.jar and baksmali.jar were put in the same folder and that I am actively killing the deodexerant process at the end to help prevent overloads though they can and will occur between the baksmali and smali commands so watch out.
Okay, still with me? Now you have a folder called "output" with a subfolder "Browser.odex/" containing classes.dex. Open the Browser.apk file with Ark (Linux) or 7zip and drop in the classes.dex file.
Repeat for all files and you're done.
-------------------------------------------------------------------------
Closing notes
If you are not using an ext2 system partition then you have more patience than I will ever have. It's easy to test your themes on the system using ADB to push your modified files. I recommend that you, in ADB, run "stop" and kill vold, service-manager and acore then run "start" to return to the Android splash screen. Protip: If you use the terminal on the phone you will freeze it the moment you type "stop" so use ADB.
That's all I can think of. Please share any tips you have to help others
Current list of themed ROMs posted on this thread
---------------------------------------------------------------------------------------------------------
Dark Donut--
Mine, check first post.
Dark Tattoo--
Mine, check first post.
Plemen's Hero Blend Themed Donut--
Themed Donut. Check the link for screenshots, downloads, etc. Very clean looks.
Jamezelle's Red Themed Hero
Very nice red theme. Hero ROM. Link is to the post with screenshots and download
Garynsa's The Dudes Cupcake
Click above for the post with download link. No screenshots yet.
what is your base rom for your theme, I have been working on plain ION and Donut trying to decide which I want to stick with
Taken from HTC's site. It's the Donut OTA update that just came out: http://developer.htc.com/adp.html
Apps are deodexed too
COOL; thank you for making this thread
enatefox this is good man. hope more devs get involved with theming
how do i install this theme?
modmouse78, please refer to the links at the bottom of the first post. I posted just the system.sqsh file but you need the other files to get it to boot. To save you, and anyone else who doesn't know how to boot Android, a search please refer to the following:
Instructions
Vogue Hero files
Vogue-Android files
Follow the guide, use the two other links to get the files you need to boot, refer to the links at the bottom of the first post, get it to boot, learn to theme, post the theme here. Take the latest basefiles zip, Haret.exe, the latest zImage (kernel) and the system.sqsh image I posted. Besides the system.sqsh, available in the first post here, all of those files are on the two links above and generally you should use the newest ones. To figure out what I mean you will need to read the links at the bottom of the post as various bugs are reported, etc. Hope that helps and if not, please search/post on the main threads to get a faster answer on troubleshooting if needed.
If you already know about editing images, the image I posted only had framework-res.apk, services.jar, Launcher.apk (soon to be Advanced Launcher) and Phone and you could just overwrite another Donut with those files on an ext2 partition so long as the image is (of course) writable and you have a de/unodexed build. The link on HTC's site I posted has from 1.1 to 1.6 images all unodexed as in never were to start with and it's a candy store for getting a full ROM readily available to edit. In the interest to get people to contribute themes, I can post about deodexing and working with smali files but there are other sites that can explain that as well already.
I hope you dont mind enate but I think I will try your unodexed build for my base from what i have read today that right there is my problem.
Feel free to use it but let me know or link back if you can so people can stay updated while I bugfix.
Great thread enatefox - here is something to add to your list:
/system/framework/contacts.apk--
this contains the resources for the dialer
Check out my themed Donut here complete with themed dialer:
http://forum.xda-developers.com/showthread.php?p=4850339#post4850339
Thanks, updated the second post howto. Feel free to add your screenshots and link here. It's really for showcasing themed ROMs and the links to threads for them. Now I can update the ROM I posted..
i am running donut on my kaiser. I tried replacing this theme with the one that i had and it would never boot.
any updates in data for donut?
I don't have data so can't work on it.
Updated the first page link with a new system image that has the HTC dialer theme. If you're using the last one I posted you can just replace it and keep your old data.img.
loving the dark donut!
is it just me or is dark donut the most stable donut ive tried??
Good to hear, I'm using it for now and found it's pretty reliable. Hopefully I can finish getting wifi issues resolved in the rootfs.img so I can do a bundle. I fixed a bunch of issues but still can only connect to local IPs..
Added plemen's themed Donut to the list. First page, 3rd post will be the running list of ROMs people post in this thread.
great job on the themes.
[ROM][26.07.10] >> [email protected]_2.2.0_5_os << [AOSP/NO SenseUI] [codename: Be My Hero]
As mentioned in my sig., I don't mind appreciation.
Just mention your xda handle while filling in the donation form. Thanks to everybody who contributed.
Specific/Unique Features:
- Available localisations: English, Polish, Russian and Japanese.
DON'T ask about support for other languages; should need be, download any of the locale utils on the market
- JIT, A2DP, OpenGL
- The Tasty Bits:
I've been wondering about a few aspects of the android build system, and what I have found confirmed my suspicions;
In order to minimize build-system fragmentation, and what goes with it, maintenance, most of the code is built for compatibility instead of performance.
That is why I have tried what has, to my knowledge, never been done before on Hero-like devices (dream, sapphire, eris and the rest).
Some code breakage happened along the way, but that was to be expected.
Nethertheless, the new [email protected] is built with that specific spirit in mind. Be aware, that this is HIGHLY experimental, but the latest user tests confirmed that everything's good.
GIve it a spin and leave some feedback, if you find anything out (really) of the ordinary.
This is a peel-the-skin-feel-the-bones naked version of the regular [email protected] ROM (which is mainly geared for my personal use). Bug submissions and/or constructive criticism is appreciated, but DON'T bug me about missing features.
Custom kernel.
performance tweaks
native loopback support (along with crypto)
network fixes (wlan, bridging, *tables, tunneling, etc)
utf8 (have to rebuild system apps though...)
ext2, ext4 (be aware that journalling is overkill for a 528MHz CPU)
alsa
Power savings
and others...
Is it stable? It is enough for me.
Play, test, and help out.
Issues/Bugs/Fixes:
- Force Closes
FIX:
>>> You'll have to pull the files with adb and repush them (push the odex FIRST, THEN the apk)
- Camera isn't working atm.
- Your Hero is stuck at the bootscreen, bootloops, random crashes:
FIXES:
>>>Make sure you have AT LEAST Radio version 6.35.09.26 (recommended: > 6.35.15.01 <) Click to download
>>> You might be the unlucky owner of a Hero unable to handle exotic freqs like 19 MHz/748 MHz. If such is the case, go back to recovery and flash > THIS < kernel.
RTFM:
- The ROM isn't signed most of the time. You can get by this issue by
1: installing the excellent > Clockwork Recovery <
How to install: # adb push recovery-clockwork-2.5.0.1-hero.img /cache/rec.img
# adb shell flash_image recovery /cache/rec.img
or
2: use the Engineering SPL
or
3: sign it yourself (google for autosign - you need to have android SDK installed)
- It WILL take quite a while to initialize after flashing (a few minutes).
- You MUST restart after the first boot (sys. init.), otherwise the system will work at a crawling pace, since all apps are running, due to being initialized at first boot. The cruising performance will be reached after you setup your system and restart.
You might experience problems signing in, in case you don't restart (or you can disable and re-enable mobile network).
>> AOSP Hybrid N4k3d [2.1] (current) <<
>> [email protected] semi-naked [2.2] (current) <<
{
"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"
}
Benchmarking (Linpack:Neocore):
Will try out tomorrow, nice to have another Dev here. Welcome!
Great to see u in this forum sir.... android is just so much better than winmo
Thanks for the ROM
Welcome to the Android world!
Great to see (another) big name from the WinMo section in here .
Will be trying out your stuff for sure!
Quick question (no, didn't try your ROM yet, still playing around to get MCR 2.9 working ok):
You removed all but en_US you say. Also the dictionaries for the HTC_IME? I want everything on my phone in english, except the messages that I type , so it would be a shame if those dictionaries were gone.
If they _are_ gone, can you explain me which files so I can try putting them back myself from a stock ROM / MCR ROM?
(Another one actually: Did you find it hard to dive into building ROMs and customizing for Android?
With years of Linux experience I thought it was the first thing I would be doing with my 1st Android device... but it seems I played around with WinMo builds, packages, NK.exe's, ROM/SYS's for so long I'm stuck in my ways . Didn't touch anything from the SDK yet except adb.exe and fastboot.exe to flash.).
@dipje:
1: Dictionaries are untouched.
2: Customizing is a much more pleasant experience than with WinMo.
As a matter of fact, I just got my Hero device, and need to build up an Android modding knowledge (Android-specific).
Linux-specific knowledge is not a problem, since I'm an admin.
I'll be taking care of different aspects of the ROM in the long run, rebuilding and optimizing bit by bit:
base apps, kernel (I find it pointless, most of the ROMs use quite a few init scripts - even in the initrd, instead of consolidating...)
I have an idea about installing debian (arm) on android, chrooting into that, and building the android system from there.
No need to setup cross-compile toolchains on our x86 PCs (try that if you've run into problems setting a toolchain on a host PC).
^.^
Though we'll be limited to 528Mhz and ram... But hey, if you've got a big sdcard, just setup a big swap on it.
;]
Apart from that, we can have a nearly full blown linux distro running at all times on the Hero (which would negatively impact battery life, but hey, it's just for the fun)
An ad-hoc wifi would be setup at all times, + sshd (along with vnc?)
So we can always X-forward our display or whatver.
The ideas an possibilities are endless.
Hi,
will definitely try your ROM. Glad to have you here! Good Luck!
//dzieki i powodzenia
//edit
OMG this Rom is super fast. Everyting works great so far. Well done. BTW. Firmware 2.0 ??
cant we get an update.zip file for this... this adb thing is a bit difficult process....thankx for the rom anyways..
Nice another dev creating roms.
Btw, isn't advanced task manager a paid app?
Thanks a lot.
and plz continue dev
naTTan said:
Nice another dev creating roms.
Btw, isn't advanced task manager a paid app?
Click to expand...
Click to collapse
I've searched for it, and looks like it is.
Looks like the repo I was using included some warez.
Will be removed and I'll add another task manager.
Thanks for the info.
norao said:
Thanks a lot.
and plz continue dev
Click to expand...
Click to collapse
Continue?
I'm just getting started.
;]
adwinp said:
Continue?
I'm just getting started.
;]
Click to expand...
Click to collapse
Hey adwin,
ki position? glad to see you on the hero cooking path.hehehe. good job chef. will flash as soon as i get home.
cheers/
deeren
ADWINP: cool going bro. its realy nice and hopeful to see cookers joining hero cooking. keep it up bro. cheers.
adwinp said:
It WILL take a while to initialize after flashing, since I've yet to learn how to obtain .odex from apks.
Click to expand...
Click to collapse
Sorry, missed that message!
To get odex from APKs, you use dexopt-wrapper.
To put odex back into APKs, you use the smali project - http://code.google.com/p/smali/.
P
modaco said:
Sorry, missed that message!
To get odex from APKs, you use dexopt-wrapper.
To put odex back into APKs, you use the smali project - http://code.google.com/p/smali/.
P
Click to expand...
Click to collapse
Hey Paul.
I was a bit surprised at the lack of feedback, but thanks.
;]
Updates:
1: added a few screenshots of the new wip build (not yet uploaded)
2: replaced Advanced Task Manager by the quite good tasKiller
3: recompiled kernel; a few kinks to iron out, like adding the wlan module and splash, but other than that, it's fast.
Added support for a few more fs (like ext4)
Here's what you get:
sysfs
rootfs
bdev
proc
debugfs
sockfs
pipefs
anon_inodefs
oprofilefs
tmpfs
inotifyfs
configfs
devpts
ext3
ext4dev
ext2
cramfs
ramfs
msdos
vfat
iso9660
nfs
nfs4
cifs
udf
yaffs
yaffs2
rpc_pipefs
Added a few network features like net bridging, proper unicode support (though it has to be configured in the os itself; didn't check if the system libraries have utf support)
raid also was added (in case someone wants to play with ROL/RON - Raid Over Lan)
The new kernel will be available with a new [email protected] build.
Yees, glad to see another great rom cooker for HTC HERO community. Really a good news.
Good luck
silly question
Why does the firmware version say 2.0
Please, upload somewhere else.
Thanks adwinp,
Downloading now. I will run it for a while and feedback to you my comments.
So far everything looks to be working well after upgrading from MDC 2.9 without a wipe.
Not sure I like the transparent lock screen. I tend to use the default HTC scene with with the 4 icons along the bottom of the screen. When locked, the text on the icons can be seen and makes things looked a little confused.
Hi there!
As i said on a thread (bit long time ago), i had the intention of making an opensource file manager for the kin.
So i have been working on for two days, and i'm reserving this thread for its releases and descriptions.
It will be given as donationware, which means that you can take it for free and donate if you wish (or not to... )
SECURITY DISCLAIMER
- As you can imagine, by using this tool you have not guaranteed the operational state with your device and is provided "as is". You are the only responsable on the effects if could have on your device, even though i tested locally all the options for hours. Like you do for 3rd party non-certified software.
- DO NOT, i repeat DO NOT unplug the device nor close the program while writing or reading from the device. Errors states are unknown and you may scr3w up your flash memory.
{
"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"
}
- If during the usage, it takes long, WAIT for the transmission to end. Errors are handled by the program and in the last cases there are 2 to 3 levels of error treatment, notificating you in the info box and storing a brief description on the "error.log" file when it's ultra. (I'm still human, new errors can appear).
- IF during this usage the kin gets a "Connected" window and the program is clossed without closing that window, then it's the time where you can unplug and it will reset the device communication values, pluggin again. If you reach this state without doing magic, notify it to solve the bug.
Characteristics
- Libusb driver given for the kin (needs to remove the Zune one)
- Windows (XP,7) 32/64 bits. Linux (through Mono), Mac Osx(through Mono Framework) Compatibility
- Developed in pure c# (using libusbdotnet)
- Developped in layers:
----> Usb
----> Mtp Functions
----> Mtp<->Interface manager
----> Interface
Images V0.01
Requirements
- OS:
---> Windows
------->Net Framework 2.0
------->Libusb-win32 driver(provided below)
---> Linux
------->Root mode to access the devices.
------->Mono
------->Libusb 1-0 components
---> Mac OsX (Checked with Snow Leopard, PAIN IN THE ASS)
-------> Mono framework
-------> Libusb-1.0 source (sourceforge)
----------> Modern OSX compile for 64 bits. Mono needs 32 bits. Compile (as root) with:
Code:
sudo su
./configure CC="gcc -m32"
make CC="gcc -m32"
make CC="gcc -m32" install
*Note: it takes a looooooooooooooooooong time to load the first time. be patient
*Note2: if mono yells about needing X11 for Winforms, download Wireshark for OSX, which has X11 easy installation inside (needed for it).
Download links
Kin Driver (libusb-win32): (Create one with InfWizard for the kin PID and VID)
32 bit version: http://www.mediafire.com/?0nhrdn7f5je6dcx
64 bit version: (please use above version)
Source: ***Still needs a bit more documentation, cleaning and binary testing for errors ***
* Note that i DONT have a 64 bit hardware, so i based its compatibility on the failed running in my Windows 7 (aka "this is for other architecture error")
** Note that to use this driver you MUST remove the Zune driver. I recommend to test it on a clean virtual machine first
Functions
- TreeView Kin Storage explorer (Auto Resyncs after each operation)
---> Select one or multiple items with the checkboxes next to them.
- Batch upload to the kin (to the root of the tree)
---> Select one ore more files from the selection dialog and go go go. Any file, anytime
-------> **Danger** pressing twice will upload files twice, be patient.
- Multiple file download from the kin
----> Mark any file from the tree and press "Download". The file will be downloaded to a subfolder "Downloads" next to the exe, where the tree storage has been replicated.
-------> **Danger** Folder and Playlists and other files are just logical, and have no size, so program deals with them as folders (and are created emptied in the local system at the pc)
- Multiple file delete
-------> Mark any file from the tree and press "Delete". After confirmation, the files selected will be removed from the device.
-------> **Danger** Folders are not deleted. Infobox at the bottom will inform you if a file could not be deleted.
-------> **Danger** I trickied it so the storage root could not be deleted... ahhh smart little fellas.. you were already thinking in that huh! rofl.
Known issues
- During my random tests around, i found that sometimes (dunno why exactly), the kin <-> Kino communication skips a step, messing up the mtp communication schema. The solution i used in this release was to show the root storage without children nodes. As this case is an error, you should tell me if you know a repeatable way to get it so i can retest and solve it.
To keep going with the kin, close Kino, and unlock the Connected window (slide your finger over it) and unplug & plug the usb again.
F.A.Q.
- Q: No donation button in the end?
- A: Nope. Just when it proves to be useful .
- Q: This works with Kin One devices?
- A: No. I only have access to Two (bricked) and TwoM devices, so cannot test for the little round turtle.
- Q: Do you provide a driver for Kin?
- A: Yes. It is only a bridge from the programs to the libusb-win32 functions. Unfortunately, you would have to remove the zune driver (Hardware manager) before using this one.
- Q: This bricks kin devices?
- A: At all.
- Q: This can hack the device?
- A: No. This is only a tool to upload and download files to your kin. If later it's used to hack, good anyway
- Q: Can this upload *any* file to the kin storage?
- A: Yes, binary files like exe, cab,pdf, ... will be labeled as 0x3000 (undefined filetype) for the kin.
- Q: Can i take the code and make my version called OmgKinManager?
- A: Yup. It would be a nice detail to include a little text in "about..." regarding me though
kk, apart from the above, i'm a bit stuck on the uploading procedure, doing it dinamically, not with known filesizes like i tested before.
I will try to get it to work and allow multiselection file dialogs.
Later, downloading, which is easier, as i just request files. I will try to make the selectable tree work, so several files can be downloaded at a time.
Btw, the tree is not a demo, it's my real storage, being asked to the kin. It's a long process, as i ask for the id's and their values to the kin to create a Tree structure, later parsed by the interface.
Whenever that and deletion is done, i will upload both the driver and the program/source to the public.
For Zune's functionality lost scared people, i would suggest to try on a windows virtual machine first (which i will do to test for .net framework requirements and so)
Way cool imn glad to see some progress
Nice work! I spend a lot of time on this forum reading posts and 75% of the time it's your post. You've spent a lot of time working on this project and we all appreciate it. Expect a donation from me in the near future
I'm speechless.
Hey john, you have only gotten into the media section correct? What type of things have you gotten to do if i may ask. If you want, I can help get "into" the other parts of the phone. A.K.A contacts. That's my main concern right now. I could care less of customizing the OS (which I will get to if you care to lend a hand.) Since I don't want to Say anything just yet, send me an email to [email protected]. I would like to help. I'm on my phone at the moment but tomorow I'll post how i got the phone into a writeable state (which I don't know if it still work. I've only tested twice.) If it doesn't work tomorrow, I'll donate my time during the week helping you guys. I may need to get a new battery.
P.S. It's taking me awhile to do this becuase I dont want to brick my phone. Im definately not using my enV touch!
please, read the faq above. this is not a hacking thing, but a sync one.
to be honest, i dont care about contacts cause i dont use this phone to make calls and i just wanted it to be more open. pinned apps or phone settings storage would be my only interest apart storage folder.
also, i dont want to keep secrets or long term waiting things. post what you want or dont post, but dont make it a teaser of nothing. plus i dont wanna go emailing people.
Props to you. Great utility, if it were able to get deeper into the system. Then it would be golden.
Edited for many reason
As some other forumeer seems to have gotten into the phone system, imma halt this development till acess range is shown (filesystem / storage / settings), if any.
There's no need to redo all the required mtp subsystem if we can get there by other (easier) means. OS native explorer, for example.
just go ahead and work on it in case the other guy fails. ^.^
oaktree333 said:
just go ahead and work on it in case the other guy fails. ^.^
Click to expand...
Click to collapse
Nice future-sight on this post
I just tested the file upload in the command-line again with static (coded by hand) filesizes.
Here is a new vid (hahaha famous ultralowres) where a file is upload to a just-formatted kin (CB+power).
File: dstpa.mp4 (BEP- Don't stop the party), 33.1MB
Destination: Kin storage root
Playable after upload: yup!
Mp4 tags: At all .
Just a upload showcase, not just naming the procedure .
nice nice ^.^
more freedom in file management I like.
woot goodjob
I have to give you kudos for your dedication. You kept at it even after you bricked your first kin.
I patiently await a release.
I'm trying to get the alpha release up today (tonight here).
I was in the mood and moved my coding-ass. Solved most of the problems on-the-go, but downloading.
I'm trying to allow multidownload keeping same directories on the pc... just cause i wanted to... rofl.
Hummmmm,
EVERYDAYIAMSHUFFLIN
Mmm after discovering several things, and implementing a lot of bugfixes (didnt know some things about MTP), there it is.
here, and all the versions are updated and uploaded in the 1st post, among the driver for it.
As posted there, i suggest to use it on a virtual machine with .net framework 2.0 cause the removal of the zune's driver for the kin.
You can now take your kin and (if the driver & program behave correctly), upload the files you want to the Kin.
Any type of file, any time.
I'm pretty naughty telling this, but apart from uploading....... i don't check for the file contents... so if any of you want to turn a .exe into .mp4 to look for exploits i wouldnt blame you for testing....
Double naughty if i say that Zune doesnt load info from the files itself, but only what was transfered from MTP (.. poor fella)
You can check that, cause it will only load the filename and name of the mp3, ... cause i did that (before today, i just sent filename, which makes its name blank on zune, like you saw in my video from BEP).
Hope you all enjoy and no errors appear.. rofl.
Btw, there's no donate option, cause i think it's more fair to think about that when the program is known to work, and not just alpha releases .
It's 02:53 AM here, so i better go to bed, to work tomorrow and that things....
I just wish this thing could play games lol.
@Johnkussack
Wow. I have to say thank you for putting your time and effort into really hacking this phone. I can't wait to see someone get android or wp7 running on this thing (if it's even possible with the hack you have, I'm not sure). Ether way, thanks for everything.
I'm proudly presenting you...
Android App Remover by Omar_Bazaraa
{
"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"
}
About the tool
You are an Android developer?
You remove the same certain apps and files each time you re-base your ROM on a newer version?
Or when you release a new update for your ROM?
This tool will certainly help you.
It is a simple Windows tool that will help you in removing and deleting unwanted apps and cleaning the ROM from useless stuff.
It will do all the work automatically in only one second!
This tool is primarily built for Sense 5.
It should also work on previous versions of Sense and it should even work on any other Android ROM, but first you must make sure that the directories of apps in resource folder inside the tool's main folder are compatible with the same apps of your ROM.
If you are a normal user and want to clean your ROM, the best choice for you is Aroma ROM Cleaner by @Patrics83.
How the tool works
This is a very simple tool, all you need to do is to extract your ROM.zip then enter the directory of the root folder of your ROM (system folder) then check the apps you want to remove then press Delete button, finally zip your ROM again.
Deleting custom apps & files
This tool offers a good feature that allows you to remove any app or file that is not found in the list, to set up your custom apps just go to resource\custom inside the tool's main folder and open one of the sixteen text files and add the directory of your unwanted app.
Example:
I want to remove Face Unlock which is not supported by the tool, all I need to do is to open resource\custom\custom1.txt and add these lines:
Code:
\app\FaceLock.apk
\lib\libfacelock_jni.so
\vendor\pittpatt
Make sure that:
Lines must begin with Backslash '\'.
You must not forget to write the extension of the file.
Apps or folders must be separated only by New-line.
The tool offers sixteen custom apps, but if you need more you can combine more than one app in each custom text file, as it can handle unlimited number of lines.
Download & Changelog
Android App Remover v2.2
Changelog
v2.2 - 01/09/2014
Added animation effects while showing or hiding the log.
Added the ability to sort the log either by name or size.
Now the tool will display the size of each existing checked file.
Now the tool will save your last log layout choice.
Many minor changes and fixes.
Important notes
You can support me and my tool by:
Pressing Thanks button.
Rating my thread with five stars.
Sharing your opinion and providing me with your feedback on this tool.
Giving me some suggestions to include through updates.
Posting any issue you find, so I could fix it.
Sharing policy
You are allowed to use this tool without my permission and without giving credit to me, but please let me know if you are going to use it.
For the people who are going to copy this thread to other sites, don't forget to give credit to me (Omar_Bazaraa) and please don't change download links.
Previous Changelog
Tool's Previous Changelog
Code:
[CENTER]v2.1 - 16/04/2014
Changed the tool's mechanism, the tool is now more faster.
Added the ability to hide the log.
Added keyboard shortcuts to all the tool's buttons.
Now the log will be sorted alphabetically.
Now the tool will display the name of all files inside the checked folder.
Now the ProgressBar is more accurate.
Added MenuStrip in the tool's interface.
Re-enabled the splash screen.
Now the new fonts will be displayed correctly.
Many minor changes and fixes.
v2.0 - 08/03/2014
Added a log with the name of the existing checked files, to copy it just double click.
Now the tool will display the number of the existing checked files.
Added the ability to set the directories by dragging and dropping.
Added the ability to delete saved directories by pressing Shift+Del.
Faster tool performance, but you need to refresh it manually.
New font is used in the tool.
The splash screen is temporarily disabled.
Fixed an error related to personal ROM directories switching and saving.
Many minor changes and fixes.
v1.9 - 27/01/2014
Made some changes to the tool's interface.
Added another custom apps, now there are sixteen.
Many minor changes and fixes.
v1.8 - 21/11/2013
Added the ability to delete a whole folder.
Support deleting keyboard languages.
Fixed some runtime errors that could have been happened in previous versions.
Polished the tool's internal programming codes, 60% less codes.
Many minor changes and fixes.
v1.7 - 06/10/2013
Added a new feature to show size when apps are checked.
Now the tool will save all your chosen ROM directories.
Many minor changes and fixes.
v1.5 - 24/09/2013
Changed tool's interface.
Added splash screen when launching the tool.
Added ProgressBar to show the percentage of tool's processes.
Many minor changes and fixes.
v1.2 - 08/09/2013
Added backup & restore features.
Added one more custom app, now there are five.
Added option to rename custom apps' title, in Settings button.
Made some changes to the tool's interface.
Polished the tool's internal programming codes, the tool is now more faster and lighter.
Many minor changes and fixes.
v1.0 - 01/09/2013
Initial release[/CENTER]
The difference between the performance of version 2.0 and the previous versions
Nice tool!
mike1986. said:
Nice tool!
Click to expand...
Click to collapse
One of the reasons of making this tool is to return you a favor for all your great works.
Because you sometimes forget to remove some lib files from your ROM.
In ARHD 31.x you forget to remove (libchromeview.so - libgoggles_clientvision.so - libgoogle_recognizer_jni.so) and some other files.
So I hope that this tool will help you.
Hello. What is the difference between this and ROM Cleaner, besides that you run this tool on your pc before copying the rom to SD card and that you flash the ROM Cleaner after the rom?
Sent from my HTC One X using Tapatalk 4
reneftw said:
Hello. What is the difference between this and ROM Cleaner, besides that you run this tool on your pc before copying the rom to SD card and flashing the ROM Cleaner after the rom?
Sent from my HTC One X using Tapatalk 4
Click to expand...
Click to collapse
You are right. :good:
ROM Cleaner is an Aroma script that will remove apps after installing the ROM.
But my tool is a Windows program for developer or for anyone who want to remove apps before installing the ROM.
Great and useful Tools ,thanks man :good:
Looks great
exquisite work :laugh:
essi_baba said:
Great and useful Tools ,thanks man :good:
Click to expand...
Click to collapse
chriswroth said:
Looks great
Click to expand...
Click to collapse
ExoticMe said:
exquisite work :laugh:
Click to expand...
Click to collapse
Thanks
flexnet.apk for htc
Can the flexnet.apk be deleted? I thought it is part of Sense or has something to do with network.
Tseng17 said:
Can the flexnet.apk be deleted? I thought it is part of Sense or has something to do with network.
Click to expand...
Click to collapse
I don't know what exactly FlexNet is, but I found no side effects when I remove it.
omar_bazaraa said:
I don't know what exactly FlexNet is, but I found no side effects when I remove it.
Click to expand...
Click to collapse
How can I found root/system?
It's really useful tool, I have to download it and use it, by the way Bro Dev @omar_bazaraa may I use it for other handheld such as Xperia? (sorry for my stupid question if you think).
Thanks bro Dev.
Why I can't found root when click browse?
Sent from my HTC One X using xda app-developers app
vitorhumel said:
How can I found root/system?
Click to expand...
Click to collapse
The root folder is just the ROM's main folder.
So extract your ROM.zip and browse to system folder.
Sent from my HTC One X.
broim kaskus said:
It's really useful tool, I have to download it and use it, by the way Bro Dev @omar_bazaraa may I use it for other handheld such as Xperia? (sorry for my stupid question if you think).
Thanks bro Dev.
Click to expand...
Click to collapse
Yes, you can. But check the directories of apps in resource folder first.
Sent from my HTC One X.
vitorhumel said:
Why I can't found root when click browse?
Sent from my HTC One X using xda app-developers app
Click to expand...
Click to collapse
Root is not a name of a folder. You can't find a folder called "root"
Just browse to system folder.
Sent from my HTC One X.
New update is coming soon. Any suggestions?
This is the support thread of PixelFlasher
(PixelFlasher is an open-source self contained GUI tool to facilitate Pixel phone device flashing/rooting/updating with extra features).
Note: This thread is meant for issues and problems faced in Google Pixel 6 Pro devices, generic issues that are device agnostic should be discussed in the main thread.
For full details on where to download / usage and feature set of the tool, visit the main thread at XDA or the project's Github page.
Troubleshooting:
If you need support or assistance, the best way to get is by generating a support file from within PixelFlasher.
You can hit that big Support button on the main screen, or select it from the Help menu.
The generated support.zip file is sanitized (redacted) to keep your sensitive information (username device id ...) private.
Placeholder
Placeholder
this is an interesting project.
can you add a way to flash all partition/boot slots easily for new users? I think that can resolve a ton of issues. (the flash tool doesn't do this, just reinstalls some of the images like bootloader and raidio).
Alekos said:
this is an interesting project.
can you add a way to flash all partition/boot slots easily for new users? I think that can resolve a ton of issues. (the flash tool doesn't do this, just reinstalls some of the images like bootloader and raidio).
Click to expand...
Click to collapse
There's some discussion ongoing in the main thread of PixelFlasher about advanced options.
Feel free to chime in there, as this point is not specific to Pixel 6 Pro and would help all devices if it is discussed in the main thread.
📳🔥 PixelFlasher, a GUI tool for flashing / updating / rooting / managing Pixel phones.
DESCRIPTION As the name suggests this is an application to flash (update) Pixel™ phones (possibly all Google™ made phones/tablets, YMMV.) PixelFlasher at its core is a UI layer (with bells and whistles) on top of adb / fastboot commands, hence...
forum.xda-developers.com
badabing2003 said:
There's some discussion ongoing in the main thread of PixelFlasher about advanced options.
Feel free to chime in there, as this point is not specific to Pixel 6 Pro and would help all devices if it is discussed in the main thread.
📳🔥 PixelFlasher, a GUI tool for flashing / updating / rooting / managing Pixel phones.
DESCRIPTION As the name suggests this is an application to flash (update) Pixel™ phones (possibly all Google™ made phones/tablets, YMMV.) PixelFlasher at its core is a UI layer (with bells and whistles) on top of adb / fastboot commands, hence...
forum.xda-developers.com
Click to expand...
Click to collapse
Done, check the new release.
New Release:
March 24, 2022 v1.2.0.1-alpha release.
Added Advanced Configuration menu which unlocks advanced features such as:
- Flashing to both slots
- Disabling Verity
- Disabling Verification
- (More features to come)
The UI will now display the chosen Android Platform Tool's version.
Added an option to toggle verbose console output (help troubleshooting, more verbosity to come).
Stability fixes.
New Release: (See full details here on xda or here at github)
April 03, 2022 v2.0.0.0-pre release.
Major refactoring
Added Advanced (Expert) mode UI.
Basic mode keeps UI simple and hides expert features.
Support for setting active slot.
Reboot options (recovery, system, bootloader)
Moved custom ROM options to expert mode.
Added custom flashing to expert mode, can now flash to live (temporary root), or custom flash any image to any partition.
Moved flashing to both slots, disabling verity / verification to expert mode.
Many other improvements, validations and checks.
Updated documentation.
Update:
Version 2.0.1 which includes a hotfix for issue reported here.
Flawless one click update. Thanks. This going to be my default update tool.
Just used it to flash April update on my 6 Pro. Worked like a charm. Thanks.
Also used this to get to April from February and it was one of the simplest things I've ever had to do. Excellent work on this.
It keeps saying magisk is not on my phone, but it is, and it's not hidden.
According to the logs it thinks my phone is not rooted, but it is.
Edit: Followed the instructions and it updated perfectly though, just weird it thinks my phone is not rooted. Awesome app my friend, will be using this as long as it works!
Zach Alt said:
It keeps saying magisk is not on my phone, but it is, and it's not hidden.
According to the logs it thinks my phone is not rooted, but it is.
Edit: Followed the instructions and it updated perfectly though, just weird it thinks my phone is not rooted. Awesome app my friend, will be using this as long as it works!
Click to expand...
Click to collapse
Thanks for bringing this up, I'll add it to the guide,
Shell would need root permission for it to be able to do detect and use magisk.
{
"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"
}
badabing2003 said:
Thanks for bringing this up, I'll add it to the guide,
Shell would need root permission for it to be able to do detect and use magisk.
View attachment 5581317
Click to expand...
Click to collapse
Awesome, I'll enable it for next month's update. Again, thanks for this software, it's awesome.
I toggled root access for shell and now my phone shows as rooted in Pixel Flasher.
New Release:
April 06, 2022 v2.1.0 release
Setup dedicated profile directory.
Put logs in the profile directory and maintain log history.
Plumbing for Linux support (just the flashing part is left to do).
Plumbing for new workflow.
Bugfix to handle name conflict in ROM filename.
Various minor improvements.
Update documentation.
Forgot to mention this but I was running this last night and did a dry run before the real thing, it progressed but my cable was apparently faulty so it lost connection mid way (good thing I did dry run and thank you for having it). Anyway, when it lost connection it caused the app to lock up. I closed it in task manager but the files were stuck in use and I had to find and kill the processes still open to free them up before I could start again.
Suggestion: add a check for and close of any existing processes related to the pixel flasher program if it gets reopened to avoid things being stuck in use. I work in IT so I was fine poking around to kill those processes but not everyone will be.
If you can't, maybe just add the list of processes to the OP so people can kill them on their own.
wgrant said:
Forgot to mention this but I was running this last night and did a dry run before the real thing, it progressed but my cable was apparently faulty so it lost connection mid way (good thing I did dry run and thank you for having it). Anyway, when it lost connection it caused the app to lock up. I closed it in task manager but the files were stuck in use and I had to find and kill the processes still open to free them up before I could start again.
Suggestion: add a check for and close of any existing processes related to the pixel flasher program if it gets reopened to avoid things being stuck in use. I work in IT so I was fine poking around to kill those processes but not everyone will be.
If you can't, maybe just add the list of processes to the OP so people can kill them on their own.
Click to expand...
Click to collapse
The reason that happened is because PixelFlasher is running flash-all equivalent script, which has fastboot commands in it, most fastboot commands (aside from informational ones) are blocking, i.e. it waits for device.
Because your cable was faulty and your device was not appearing connected, it got blocked waiting for it.
It's a good idea to display a message and the PID of the spawned process, the user can kill it if they wish.
I really don't want to intervene with that spawned process as it is the one flashing your phone, any glitch in there and it could mess up the phone.
badabing2003 said:
The reason that happened is because PixelFlasher is running flash-all equivalent script, which has fastboot commands in it, most fastboot commands (aside from informational ones) are blocking, i.e. it waits for device.
Because your cable was faulty and your device was not appearing connected, it got blocked waiting for it.
It's a good idea to display a message and the PID of the spawned process, the user can kill it if they wish.
I really don't want to intervene with that spawned process as it is the one flashing your phone, any glitch in there and it could mess up the phone.
Click to expand...
Click to collapse
That's a good idea as well, better to not force a closure of the process and instead inform then give the user the information necessary to close it themselves. It was definitely the fastboot process that was holding the files. Once I killed that it was fine for me to proceed. Providing a pop up with the PID or even just the process name (unless the PID is always the same) and instructions in that pop up would certainly help someone get out of a jam without needing to reboot the computer.
I've done some stuff like this project with batch but this blows that completely out of the water. Excellent work, you should be proud of what you've given to the community.
can I also root my Pixel with that?