[PROGRAM] Infiniflash v1.2 ~ It makes life easier. - Android Software Development

The purpose of this program is to make my life easier when developing on the Android Platform. At he same time it may also make your life easier. I would like to keep this project totally open source and I include all of the source files withing the .zip that it comes in. What does this program do? It will allow you to flash custom ROMs straight from your computer, fast and hassle-free.
In this new version, I have done a ton of error/big fixes, rewrote quite a lot, and finally added wiping functionality. Enjoy!
Infiniflash REQUIRES that your device has ClockworkMod Recovery or any recovery that supports /cache/recovery/extendedcommand.
By the way, if you can think of a better name/icon for this program, please, please, please tell me.
Screenshot:
{
"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"
}
For full documentation and to download please visit: http://infinimod.com/ideas/

tried to use it
was not successful
1.pluged my DHD to pc (charge only)
2.run infiniflash.exe
3.have selected the rom
4.success comes and says the rom is going to be flashed from recovery
5.DHD goes to recovery
6.after 3 secs back restarted and nothing happened
what did I wrong?

mohammadsp said:
tried to use it
was not successful
1.pluged my DHD to pc (charge only)
2.run infiniflash.exe
3.have selected the rom
4.success comes and says the rom is going to be flashed from recovery
5.DHD goes to recovery
6.after 3 secs back restarted and nothing happened
what did I wrong?
Click to expand...
Click to collapse
I have a DHD as well and had the same issue. You must install the driver for it to work on your device.
1) Visit this link to download and install HTC Sync (which contains the driver): http://goo.gl/P3ZP1
2) After installation plug your device in.
3) To verify you have the driver, open the Infiniflash folder, hold the shift key and right click on the tools folder. Click open command prompt.
4) Now type in the command: adb devices
5) If your device showed up, it worked! Otherwise, try restarting or syncing your phone in HTC Sync, it should start working eventually.
6) Now that you have the driver, Infiniflash will *hopefully* work from now on.
Best of luck
Cheers.

Infinimint said:
I have a DHD as well and had the same issue. You must install the driver for it to work on your device.
1) Visit this link to download and install HTC Sync (which contains the driver): http://goo.gl/P3ZP1
2) After installation plug your device in.
3) To verify you have the driver, open the Infiniflash folder, hold the shift key and right click on the tools folder. Click open command prompt.
4) Now type in the command: adb devices
5) If your device showed up, it worked! Otherwise, try restarting or syncing your phone in HTC Sync, it should start working eventually.
6) Now that you have the driver, Infiniflash will *hopefully* work from now on.
Best of luck
Cheers.
Click to expand...
Click to collapse
yes true
the problem is that the pc doesn't recognize the phone
will give it a try
thanks

mohammadsp said:
yes true
the problem is that the pc doesn't recognize the phone
will give it a try
thanks
Click to expand...
Click to collapse
No problem, don't forget to tell us if it worked

This looks awesome, and I would use it but is there a different button for wiping to ext 4 and 3? All the roms I seem to switch between use different formats.
Thanks

Joey93 said:
This looks awesome, and I would use it but is there a different button for wiping to ext 4 and 3? All the roms I seem to switch between use different formats.
Thanks
Click to expand...
Click to collapse
By wiping to ext3 & ext4 do you mean formatting the /system partition to one of those formats? If so I might be able to implement it or make an add-on . By the way, which device requires you to do that? I've never heard of that before... are you sure it's a requirement?

Oops Double Post.

Has anyone successfully used this program?

even tho i cannot use this app as i am on linux i will salute your development as this app is a great idea. thank you for your contribution. wish i knew more about programming and could help port this over to linux but alas...

Grondinm said:
even tho i cannot use this app as i am on linux i will salute your development as this app is a great idea. thank you for your contribution. wish i knew more about programming and could help port this over to linux but alas...
Click to expand...
Click to collapse
Thank you very much! I think I'll port it over soon, but the only bad part about that is that I have no idea how to make GUI's in Linux so it would be command line only .
It's funny that you mention that though because I'm a Linux user myself and never really thought about it.

Related

Having issues unrooting!

I'm using flipz 1.56 RUU and for some reason, when it tells me to connect the phone to the PC, it says it cannot be found. I usually use a MAC to connect my Hero and all sorts of stuff, and I just found a PC to be able to unroot. What seems to be the issue? I know the phone is connected because I can look at it's folders and such.
BOOGIE_BOTZ said:
I'm using flipz 1.56 RUU and for some reason, when it tells me to connect the phone to the PC, it says it cannot be found. I usually use a MAC to connect my Hero and all sorts of stuff, and I just found a PC to be able to unroot. What seems to be the issue? I know the phone is connected because I can look at it's folders and such.
Click to expand...
Click to collapse
I'm having this EXACT same issue... But, if you can look at its folders, go into the notifications and set it to "charge only" and make sure USB debugging is enabled.
You need to install HTC Sync on the PC in order to use the RUU.
mrinehart93 said:
You need to install HTC Sync on the PC in order to use the RUU.
Click to expand...
Click to collapse
Yup, you beat me to it mrinehart hahaha. =]
Grrr...oh well unrooting I stay
Am about to unroot so I can take my Hero in to sprint, I have dust under the screen. Anyone want to point out the best (easiest) way to unroot?
I seen a post where it could be done by just sdcard, would that or using the kitchen be the best way to go?
I am running a 2.1 ROM.
Thanks!
http://forum.xda-developers.com/showthread.php?p=6070797#post6070797
Method 1 is dead simple
Just 5 steps?? WoW
I looked for a little bit today at work and could not find anything this easy. LOL
Anyone tested this?
1. Download the following file: http://www.multiupload.com/Q3RMV5MTRF
2. place in /root of SD card
3. Reboot phone into HBoot mode, by holding Volume Down
4. Press action (the trackball) when prompted
5. Reboot phone
while i havent done it, so cant confirm, the unroot from sd does seem to be the most foolproof way to do it. all their going to look for is the correct recovery.img and stock feel, so it only makes sense
Cool, Thanks!! I am going to give this a try (15 mins before I run in to sprint) I am going to hate to go with about my custom rom and add the added stuff I get with root!
chaos67731 said:
Just 5 steps?? WoW
I looked for a little bit today at work and could not find anything this easy. LOL
Anyone tested this?
1. Download the following file: http://www.multiupload.com/Q3RMV5MTRF
2. place in /root of SD card
3. Reboot phone into HBoot mode, by holding Volume Down
4. Press action (the trackball) when prompted
5. Reboot phone
Click to expand...
Click to collapse
Well i wrote the guide and I just literally did this method this afternoon
and to be fair the last two steps aren't really anything much at all...
rt1oo said:
Well i wrote the guide and I just literally did this method this afternoon
and to be fair the last two steps aren't really anything much at all...
Click to expand...
Click to collapse
What's HBoot?
BOOGIE_BOTZ said:
What's HBoot?
Click to expand...
Click to collapse
HBoot is recovery mode, When you power up the phone holding down the volume button.
{EDIT} Still not sure what the problem was. But I ran the older kitchen and tried the rooter and it worked just jine. {edit}
OK, I did the 5 little steps and then I went to kitchen to root my phone again..
I phone reboots and when I try to go to HBoot so I can nandroid a backup I have I get this screen.
{
"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"
}
Anyone know what the problem is?

[PROGRAM] De-Captivated (One-click UNLOCK/ROOT/SIDELOADER/TETHER/MARKET ENABLER)

{
"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"
}
De-Captivated
I created this root and unlock combo modeled after the old iPhone jailbreaks which allowed you to unlock. Technically speaking this is not one click, but it is the single fastest way to do both. Right now it is only Mac, but it could come to PC eventually if I have time and find a tester. Remember, that if this application works I would really appreciate it if you donate.
It does the following:
Roots
Unlocks
Installs android-wifi-tether
Installs Market enabler
Sideloads
Required:
Mac
Samsung Captivate
Other carrier SIM card
How to use:
Just download the file from the link below or in the attachments:
Newest version
Now mount the DMG file and you should see this:
Drag the folder to the hard drive picture BUT NOTHING ELSE. Once the folder finishes copying just double click on the icon with the lock and run the program (it opens in a terminal window). It is VERY self explanatory from there and it includes step by step directions. I hope this program helps.
If you tried unlocking too many times:
It will then ask you for another code. Enter the unfreeze code that it gives you on the very last screen of the program. Enter that.
Donate:
This program took a long time to make and I would really appreciate it if you donate. Your donations will help me keep this program up-to-date. Currently I only accept PayPal donations at:
http://bit.ly/cplmLk
Credits:
NBS11 for this program and the mac unlock source
DaGentooBoy for the unlock meathod
Unfreeze code finder by RazvanG
Bowsa2511 for the code to extract unlock
Blackjackboy for root method
reserved if I need it later
Another great post Nbs! You certainly are a team player
I don't have access to a OS X system to test this, but when you have a Windows solution set-up, let me know for testing.
I don't get it, when I try to load this on my PC it doesn't do anything? J/k ;-P looks cool man, I hope it works as great as it looks! (I'm sure it is)
Clienterror said:
I don't get it, when I try to load this on my PC it doesn't do anything? J/k
Click to expand...
Click to collapse
Haha I thought you were serious for a minute. Yeah. Well for now its Mac only because PC's do not really handle shell scripts well. I will probably convert it later with the help of someone else but until then its mac only (and if you have linux you can get it to work if u change a few things)
I have added sideloading functionality to the app.
Platform independent solution!!
http://forum.xda-developers.com/showthread.php?t=751934
designgears said:
Platform independent solution!!
http://forum.xda-developers.com/showthread.php?t=751934
Click to expand...
Click to collapse
It doesn't unlock....
Sorry, I just got home from work.
I'm now looking at the files you sent me, you talking about the files inside the other folder (not the mac os one) right?
Bowsa2511 said:
Sorry, I just got home from work.
I'm now looking at the files you sent me, you talking about the files inside the other folder (not the mac os one) right?
Click to expand...
Click to collapse
I am assuming that is it. If there is a weird folder with basically nothing in it that is probably a folder that Mac OSX adds to everything that is hidden but shows up on windows.
What are the paths you want incorporated?
Sent from my SAMSUNG-SGH-I897 using XDA App
Bowsa2511 said:
What are the paths you want incorporated?
Sent from my SAMSUNG-SGH-I897 using XDA App
Click to expand...
Click to collapse
I am confused by what that means? I just want the paths converted to the windows equivlent (instead of / c:// etc.)
nbs11 said:
I am confused by what that means? I just want the paths converted to the windows equivlent (instead of / c:// etc.)
Click to expand...
Click to collapse
Oh, ok lol

[Q] Need Unlocking Help -Rooting with a Mac/Online Codes Not Working

Yes, I searched. I have a GS2 Locked to Virgin Mobile in Canada.
First off, I have a mac, so the whole rooting/unlocking thing seems to be impossible as ODIN and the other programs are all .exe's.
I tried buying a code online and they said they couldn't unlock it and most others sites don't like the phone as compatible.
What are my options here?
Thanks all.
Borrow a real computer.
to root use this to flash the correct kernel from here
to unlock
I have used Heimdall and it works
I'm struggling here. heimdall doesn't read .tar. I extract the tar and I just get an zimage and nothing more.
It seemed simpler on Odin, but I'm lost on this.
Take tar or the zimage and put it in the kernel slot and hit flash, it's less picky about the file type.
Sent from my GT-I9100 using XDA Premium App
I appreciate the help, but it's not that simple. It says firmware.xml is missing when I put it under the load package tab under firmware.
When I put it under the flash tab, it says not a valid PIT type. These are the only two places I can select a file.
{
"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"
}
veyka said:
to root use this to flash the correct kernel from here
to unlock
I have used Heimdall and it works
Click to expand...
Click to collapse
could you verify that you have managed to flash with latest version of Heimdall? i have tried everything with beta2, 1.3 and it simply refused to work. i just used a pc to update to latest version, and i have no files to flash to test (it's been one day and if something happens i have to reintsall everything again), so if you could verify this, or teach me a trick or two to get it to work, it will be much appreciated
FWIW, I loaded 1.1 and it was not compatible. 1.2 looked the same as 1.3 for me.
SGS2 has only been supported from version 1.2 onwards, maybe try the newest 1.3 that's just been released.
I have never used it apart from on windows, it looks like you may need to give it a pit before it will do anything.
You should be able to find it in an official rom, when I get home in 4-5 hours ill have a look at it.
Sent from my GT-I9100 using XDA Premium App
The screen looks like the ones I posted on 1.3.
Then you will need a pit from a stock rom, might try reading the faq
Sent from my GT-I9100 using XDA Premium App
HOWTO: flashing via Heimdall Suite 1.3.0
1) put your phone into download mode
2) connect to pc
3) load Heimdall GUI
4) click Utility tab
5) click detect device (if it detected goto 6, if not install drivers which should come with Heimdall)
6) click save as under "download pit", save it somewhere easy to find with a name like SGS2 (no need to add .pit)
7) hit download
8) phone will reboot, put back into download mode
9) click "flash" tab
10) click "browse" near the top and select your pit you saved earlier
11) on the righthand side there is a window saying "Partitions(files)" click "add" below it
12) select "kernel" on the lefthand side below "partition details"
13) click Browse below "partition details", select the kernel you want
It should now look like the attached pic
If it does, hit Start, and it should flash
i think problem with mac is still there :
although i have yet to try flash a ROM or parts of it, to see if it could successfully flash it.
EDIT: nope, it does not work , still the same error
Same issue here.
6) click save as under "download pit", save it somewhere easy to find with a name like SGS2 (no need to add .pit)
Click to expand...
Click to collapse
What I am selecting here? It asks you to DL something.
8) phone will reboot, put back into download mode
Click to expand...
Click to collapse
Phone just gets attached error - nothing further.

ubuntu touch - WIP Download available - updated 03/23

{
"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"
}
VERY work in progress. Wifi works flakily use an open network to play with the keyboard tends to freak out when typing in a network password.
This is a PREVIEW of what this platform will become. It is not finished. Many apps are just placeholders. The good news the system image is built and you can just plug in new ubuntu images as they become available.
to install latest daily (as of 03/23/13)
Reboot into Recovery
Backup! - expect everything to be deleted if you do not.
WIPE (wipe data/factory reset) This is required!
Flash system image
Flash Ubuntu image
Flash Layout fix
Reboot
To reverse the process use adb reboot recovery - or hold power off button till it shuts down then restart in recovery - yes it's obnoxious but the reboot and power off commands are absent from ubuntu still. Once back in recovery wipe and flash a replacement android rom and you'll be back to normal.
YOU ARE RESPONSIBLE FOR YOUR OWN ACTIONS DO NOT FLASH THIS IF YOU CAN'T RTFM.
kernel source: https://github.com/RobotApocalypse/kernel_acer_a500
I be following your progress then good work !
I figured you would do this but I still can't find a good reason to run it. Nothing works (which is the nature of this not your fault). lol
blazingwolf said:
I figured you would do this but I still can't find a good reason to run it. Nothing works (which is the nature of this not your fault). lol
Click to expand...
Click to collapse
yeah I have issues ... it will get better as they improve userland. They're moving to a raring base soon and hopefully some of the blanks will be filled in
*fixed layout
randomblame said:
yeah I have issues ... it will get better as they improve userland. They're moving to a raring base soon and hopefully some of the blanks will be filled in
*fixed layout
Click to expand...
Click to collapse
After this gets to a more stable state for the A500 would someone be able to port it to the A200?
wifi is up
Raw speed
Hey Randomblame,
You keep me amazed by the speed at which you are able to get these new iterations running on our 2 year old machine. If anything it has re-validated to my what a good purchase the A500 was. Its developers like you that have made me a huge open source convert and I look forward for t he day when OS's will be device agnostic.
Thanks again for the effort behind this port and hope to see the platform emerge.
OP updated with download links and instructions.
Can I Dual Boot?
I would love to use it and still have my Android
BTW,
Grat work!
TY!
Godmik said:
Can I Dual Boot?
I would love to use it and still have my Android
BTW,
Grat work!
TY!
Click to expand...
Click to collapse
I wouldn't recommend it this uses a massive chunk of the /data partition and its not really something to be used as much as it is something to be toyed with
randomblame said:
I wouldn't recommend it this uses a massive chunk of the /data partition and its not really something to be used as much as it is something to be toyed with
Click to expand...
Click to collapse
can we repartition fs to use separate /data for android and Ubuntu?
He does it again, that ol' randomblame! So, any cautions on backing up and restoring, or is it just like an other Android ROM? I assume there's always APX mode to fall back on in case of catastrophe.
Good job! randomblame:good:
Unfortunately, my tablet is damaged.
pjsports said:
Good job! randomblame:good:
Unfortunately, my tablet is damaged.
Click to expand...
Click to collapse
So's mine bud kids are heartless lol I need to install a touch recovery my volume buttons are done for. Its a pretty easy process I can walk you through the build if you want.
randomblame, I'm developing for another Tegra 2 device, and I"m stuck at a black screen. How long did yours take to boot? Was there any other changes you made?
I'm stuck on the black screen too
Luckily Ubuntu touch still supports adb and logcat for debugging - a black screen isn't exactly something I can trouble shoot read your logs I'm sure the issue will become apparent.
well...
Is it fast and smooth enough to have some FUN with it?
Anyway, Good Job on porting ubuntu touch on our a500! I was really eager to hear about your excellent jelly bean port, so I downloaded it and
flashed it immediately.
randomblame said:
Luckily Ubuntu touch still supports adb and logcat for debugging - a black screen isn't exactly something I can trouble shoot read your logs I'm sure the issue will become apparent.
Click to expand...
Click to collapse
No connection It doesn't recognize it. Would love to read my logs, lol.
I'm already restoring my backup...
sry
but, I'll follow your progress
and again
Thank you!

[GUIDE][Tool][WindowsOnly][NonRoot] USB Reverse Tethering

Hello there!
Since the most recent guide thread ((that I found) [GUIDE] USB Reverse Tethering - New method) does is quite
complicated for many and requires root and for the sake of simplicity, I wanted to present a simpler alternative
to you here in a separate thread, which works without root and is not outdated.
If this violates any XDA rules, please close the thread.
-This method works 100% on Android 9. For other versions you need to check.
-Very useful for people whose wifi module is broken (like mine x.x)
I will attach the .zip here as well as pictures for a better understanding.
Requirements are:
-A working USB connection
-USB debugging enabled.
-A Windows computer
-adb
First, of course, we need to unzip the .zip.
In this case it doesn't matter where.
{
"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"
}
Second, we need to open the console and go to the path of the extracted .zip
CD path\to\gnirhtet-rust-win64
Third, we press tab 2 times in the cmd, space, write install and press enter.
When that's finished, we press tab again twice, space and write run and press enter.
Alternatively, if "gnirehtet" is already installed, you can use the .bat, provided in the .zip to start it.
That's it! You got reverse usb tethering!
thank you for sharing, i followed the steps but didn't succeed in getting internet
i think you should mention having adb in systempath or just extract your program in adb directory
my steps were
get adb fastboot and extract it
get your program extracted inside adb directory
start cmd normally without admin rights
execute first command in your post to install ( returned success)
execute second command ( returnt 1 at the end ) but no internet
Code:
2022-07-30 00:41:44.389 ERROR Main: Cannot start client: Command adb ["reverse",
"localabstract:gnirehtet", "tcp:31416"] returned with value 1
i should am running AOSP 7.1
**solved
i report it working on AOSP 7.1
solution = use an up-dated version of adb-tools
0cold said:
**solved
i report it working on AOSP 7.1
solution = use an up-dated version of adb-tools
Click to expand...
Click to collapse
Lol
Can you host network as a hotspot using reverse tethering?
Edit: Yes you can using VPNHotspot
How to share the usb reverse tethered share via hotspot
konrino said:
Can you host network as a hotspot using reverse tethering?
Edit: Yes you can using VPNHotspot
Click to expand...
Click to collapse
How
The problem im facing is that im able to use the internet but the apps are not detecting it as an actual connection and showing no internet. Is there any way we can emulate or fake our wifi or mobile data is turned on and connected?
patelmilanun said:
The problem im facing is that im able to use the internet but the apps are not detecting it as an actual connection and showing no internet. Is there any way we can emulate or fake our wifi or mobile data is turned on and connected?
Click to expand...
Click to collapse
I think that's a problem of the application, which wants a specific connection e.g. wifi or mobile data.
actually i want to update the phone using this method to download update package
patelmilanun said:
actually i want to update the phone using this method to download update package
Click to expand...
Click to collapse
This should be no problem.
It was creating the problem but then I just reflashed whole stock ROM and bam my phone is better than before
working thank you for this program.
You may also check the re-link app at https://re-link.io, as it doesn't even need ADB on Windows, making it safer to use

Categories

Resources