Restore your missing flashlight in Lollipop - AT&T HTC One (M7)

A friend flashed the AT&T RUU and was asking about the Flashlight app
It seems to be missing, so here's the one I pulled from a previous version
https://www.androidfilehost.com/?fid=23991606952610427
I just dropped the file in my adb/fastboot folder and sideloaded it
C:\adb>adb install C:\adb\com.htc.flashlight-418632162-v4.5.2312261521.535443.377886.apk
3039 KB/s (558973 bytes in 0.179s)
pkg: /data/local/tmp/com.htc.flashlight-418632162-v4.5.2312261521.535443.377886.apk
Success
C:\adb>
Click to expand...
Click to collapse
It works !

Related

[Q] Force install an app?

Recently I installed the Eternity 2 build003a Rom and it removed the Backup and Restore app. The problem is my most recent (and most important backup) is saved with that app. I tried reinstalling the app with root explorer, package installer, ADB shell but it won't let me install it. With the package installer it keeps saying "Application not installed!" and with the ADB shell it gives me this error:
C:\Android\Tools>adb install -r Backupandrestore.apk
486 KB/s (2386714 bytes in 4.794s)
pkg: /data/local/tmp/Backupandrestore.apk
Failure [INSTALL_FAILED_UPDATE_INCOMPATIBLE]
I downloaded the APK from the Sony website so it should be compatible. I would like to know is there a way of forcefully installing an app? If not is there any other apps out there that can use the stock backup and restore app files to restore the phones data?
if u had the apk file, try using side loaded to install it. google search :
Android Central Sideload Wonder Machine 1.0
after u successfully implemented the sideload machine, thick the Update existing app
xcxa23 said:
if u had the apk file, try using side loaded to install it. google search :
Android Central Sideload Wonder Machine 1.0
after u successfully implemented the sideload machine, thick the Update existing app
Click to expand...
Click to collapse
Just tried the AC Sideloader and it gives me the same error as the ADB shell (Not compatible)
JohnDoeJD said:
Recently I installed the Eternity 2 build003a Rom and it removed the Backup and Restore app. The problem is my most recent (and most important backup) is saved with that app. I tried reinstalling the app with root explorer, package installer, ADB shell but it won't let me install it. With the package installer it keeps saying "Application not installed!" and with the ADB shell it gives me this error:
C:\Android\Tools>adb install -r Backupandrestore.apk
486 KB/s (2386714 bytes in 4.794s)
pkg: /data/local/tmp/Backupandrestore.apk
Failure [INSTALL_FAILED_UPDATE_INCOMPATIBLE]
I downloaded the APK from the Sony website so it should be compatible. I would like to know is there a way of forcefully installing an app? If not is there any other apps out there that can use the stock backup and restore app files to restore the phones data?
Click to expand...
Click to collapse
Check post 2 on the Eternity thread unless you have already that is
http://forum.xda-developers.com/showthread.php?t=865580

[Q] Rooting not successful

I have pretty much read through the entirety of the Bootloader thread in Dev and while I found similar questions I didn't find an answer so I am hoping someone can point me in the right direction. This is my second Rezound, I was able to root the first but it died (Thank goodness I got their warranty) so on to number two. I got it unlocked and I am running the one click. I was making the normal mistakes of not getting rid of sync, alternate adb etc. but I have cleared all that and now I get the following:
Code:
Press any key to continue . . .
--- WAITING FOR DEVICE ---
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
--- Device Connected ---
Checking for previous attempts...
Pushing Zergrush...
481 KB/s (23060 bytes in 0.046s)
Setting Permissions...
Gaining Perm Root (Aka running zergrush)...
[**] Zerg rush - Android 2.2/2.3 local root
[**] (C) 2011 Revolutionary. All rights reserved.
[**] Parts of code from Gingerbreak, (C) 2010-2011 The Android Exploid Crew.
[+] Found a GingerBread ! 0x00000118
[*] Scooting ...
[*] Sending 149 zerglings ...
[*] Sending 189 zerglings ...
[-] Hellions with BLUE flames !
--- WAITING FOR DEVICE ---
--- Device Connected ---
Pushing Busybox
1529 KB/s (1075144 bytes in 0.686s)
Setting Permissions...
Remounting System...
mount: permission denied (are you root?)
Coping Busybox to /system/xbin/...
/system/xbin/busybox: cannot open for write: Read-only file system
Installing Busybox...
Unable to chmod /system/xbin/busybox: No such file or directory
Unable to chmod /system/xbin/busybox: No such file or directory
/system/xbin/busybox: not found
Installing Superuser...
failed to copy 'tools\su' to '/system/bin/su': Read-only file system
Unable to chmod /system/bin/su: No such file or directory
Unable to chmod /system/bin/su: No such file or directory
rm failed for /system/xbin/su, Read-only file system
link failed Read-only file system
failed to copy 'tools\Superuser.apk' to '/system/app/./Superuser.apk': Read-only
file system
Removing tools That Was Pushed To Data...
Congrats You Are Now Perm Rooted...
Press any key to continue . . .
Perm rooted? No sir. For whatever reason it looks like it's choking on installing busybox. What have I over looked? Thank you!
Follow the link in my sig... One click won't work anymore with the OTA firmware.
i think i can help
hold down the -volume button and hold the power down get into hboot push pwer once and go to recovery (note hit the power button to select ) now in blue screen go to devopment menu hit power now go to install su&superuser now reboot and you are rooted. i spent hours trying to root and nowhere does it say to do this but it worked for me now check for root from basic root checker if it works hit the thanks button
You have to gain root through recovery now as far as I know.
Sent from my ADR6425LVW
Con,
I want to use CWM since I paid for it with my last phone. You reference the OTA update version of the CWMPH98IMG.zip where might I find that?
You have to use amon ra to get root. Afterwards you can reinstall cwm. I don't have an ota package of cwm because at this point amon ra is better for this phone and I still don't reccomend using cwm. If you want it, get it from rom manager after you root.
Sent from my ADR6425LVW using XDA App
Understood. I know that Koush did release a recovery for the Rezound. At least it shows up in ROM Manager. Out of curiosity is it possible to use Rom Manager with Amon Ra's Recovery?
redjak said:
Understood. I know that Koush did release a recovery for the Rezound. At least it shows up in ROM Manager. Out of curiosity is it possible to use Rom Manager with Amon Ra's Recovery?
Click to expand...
Click to collapse
No, you can use reboot to recovery with amon ra , but nothing else will work with it.
Bummer. Okay I downloaded OTAUPDATEAmonRaPH98IMG.zip and followed the directions in Con's guide and got to step 8 where the green text scrolled through but I did not get a prompt it popped me back to the HBOOT menu at which point I wasn't sure what to do. I rebooted and ran Root check but no root and I'm not sure what it is I'm going wrong.
Did you install SU from the developer menu in Amon RA?
EmerikL said:
Did you install SU from the developer menu in Amon RA?
Click to expand...
Click to collapse
I never got to Amon RA, after the text ran through it took me back to the HBOOT menu.
con247 said:
Follow the link in my sig... One click won't work anymore with the OTA firmware.
Click to expand...
Click to collapse
nevermind. I had to fix my board settings
fluidj said:
For some reason I can't see your sig.....
Click to expand...
Click to collapse
Here it is fluid http://forum.xda-developers.com/showthread.php?t=1418653
redjak said:
Here it is fluid http://forum.xda-developers.com/showthread.php?t=1418653
Click to expand...
Click to collapse
Did you ever install the ICS leak as a PH98IMG.zip?
Like everyone else says, use Aman Ra to get root.
con247 said:
Did you ever install the ICS leak as a PH98IMG.zip?
Click to expand...
Click to collapse
Not that I'm aware of. Unlocked via HTC Dev then ran the OneClick. After that failed I posted this thread. I did download the CWM version but did not flash it. The rest is in the thread.
Sent from my ADR6425LVW using XDA App
Did you put the amon ra image in the same directory as fastboot and run the fastboot command from the cmd line? I just updated mine today to the newest version.
Sent from my ADR6425LVW using xda premium
EmerikL said:
Did you put the amon ra image in the same directory as fastboot and run the fastboot command from the cmd line? I just updated mine today to the newest version.
Sent from my ADR6425LVW using xda premium
Click to expand...
Click to collapse
Cons directions said to do it from the phone. So I'm not sure what you're suggesting. I've never used fastboot from the command line except to follow HTC Dev directions.
Okay so here's a new twist I tried running the bootloader again on the phone and was able to catch that the green text said no image. It went so fast I wasn't able to be sure. I'm going to try downloading and flashing again.
Ok let me see if I can set this up for you. Its pretty easy.
Download this file.
Place it in the same folder that you setup for the HTCdev unlock.
Rename it to "recovery."
Go to the command prompt and type in this command: cd c:\nameoffolder (mine is c:\Android for example)
Boot into Hboot
Select Fastboot
Connect to PC
Then type this exactly : fastboot flash recovery recovery.img
That should get you loaded with Amon Ra.

How to modify Trebuchet launcher to be standalone app?

Hi, I've compiled Trebuchet launcher from CyanogenMod 9, and trying to install it with adb:
PHP:
$ adb install out/target/product/generic/system/app/Trebuchet.apk
3986 KB/s (7870141 bytes in 1.928s)
pkg: /data/local/tmp/Trebuchet.apk
Failure [INSTALL_FAILED_UPDATE_INCOMPATIBLE]
I tried on Nexus S with CM9 and Galaxy Nexus with stock JB. Why I'm getting this error?
P.S. I know, it should be placed to /system/app, but I want to make it to be installable as usual apk.
Ax-Soft said:
Hi, I've compiled Trebuchet launcher from CyanogenMod 9, and trying to install it with adb:
PHP:
$ adb install out/target/product/generic/system/app/Trebuchet.apk
3986 KB/s (7870141 bytes in 1.928s)
pkg: /data/local/tmp/Trebuchet.apk
Failure [INSTALL_FAILED_UPDATE_INCOMPATIBLE]
I tried on Nexus S with CM9 and Galaxy Nexus with stock JB. Why I'm getting this error?
P.S. I know, it should be placed to /system/app, but I want to make it to be installable as usual apk.
Click to expand...
Click to collapse
You are receiving this error because there was a previously installed app with the same name but different signature. Rename trebuchet to a unique package name. Then the app should install given proper SDK requirements are set.
TL;DR: Change the package name.
Sent from my Galaxy Nexus using xda premium

Fujitsu Arrows X F-02E

Any simple method to root this device? if any one already rooted "Fujitsu Arrowa X F02E" Please help. Thanks
hifi.madness said:
Any simple method to root this device? if any one already rooted "Fujitsu Arrowa X F02E" Please help. Thanks
Click to expand...
Click to collapse
Hello! There is a simple method to root the Fujitsu Arrow F02E. I also own one and rooted OK!
- First, install its ADB USB Driver here: http://spf.fmworld.net/oss/driver/f-02e/data/download.html
If youre using windows8, it may block installing unsigned driver, then just restart with troubleshooting option and "Disable Driver Signature Enforcement". You'll be able to install the driver normally
- Download this: http://www.mediafire.com/download/3o5bdwl64lz6r66
It may contain Japanese characters in file name, you should rename it to something easier to understand. Unzip it, then plug in your F02E, run the file "runme.bat". If you install ADB driver correctly, runme.bat will find your device and starts to root it. All you have to do is press any key when it requires. (about 2 times) Goodluck! :good:
Thanks mate, I really appreciate your effort. It works and I have done on my handset. I also like to ask if anyone install custom ROM on Fujitsu Arrows X F-02E?:good:
hifi.madness said:
Thanks mate, I really appreciate your effort. It works and I have done on my handset. I also like to ask if anyone install custom ROM on Fujitsu Arrows X F-02E?:good:
Click to expand...
Click to collapse
As far as I know, currently no one created custom Recovery or ROM for this phone yet.
System Apps F-02E
Hi!
I have already mount system as RW but deleted to many system apps. May somebody make a backup a /system/app and upload it?
Thanks!
sorry, i didn't get it
rtx101 said:
As far as I know, currently no one created custom Recovery or ROM for this phone yet.
Click to expand...
Click to collapse
is what's the difference between arrowa f-02e and arrows f-02e....i thought it's just a mis-type
is the root for arrows f-02e ???
i would
maxrusakoff said:
Hi!
I have already mount system as RW but deleted to many system apps. May somebody make a backup a /system/app and upload it?
Thanks!
Click to expand...
Click to collapse
i'm supposed to get it (airmail) in a couple of weeks. how do you want me to do that? using Titanium backup or just copying everything from the main SD ?
i lost system/app's backup... and missdelete some important file.
so someone upload system/app/ folder's zip file?
thanks.:crying:
Does anyone knows how to change default dialer on this device? And how to disable International dial assist?!? It drives me crazy ...
error
rtx101 said:
Hello! There is a simple method to root the Fujitsu Arrow F02E. I also own one and rooted OK!
- First, install its ADB USB Driver here:
If youre using windows8, it may block installing unsigned driver, then just restart with troubleshooting option and "Disable Driver Signature Enforcement". You'll be able to install the driver normally
- Download this:
It may contain Japanese characters in file name, you should rename it to something easier to understand. Unzip it, then plug in your F02E, run the file "runme.bat". If you install ADB driver correctly, runme.bat will find your device and starts to root it. All you have to do is press any key when it requires. (about 2 times) Goodluck! :good:
Click to expand...
Click to collapse
hello, I try this method after starting the operation rooting stop
this is what i get
-- F-02E ╥╗╝ⁿroot╣ñ╛▀ --
▒╛╚φ╝■└┤╫╘2ch┬█╠│íú└╢╔½dnxwj╝≥╥╫║║╗»íú
!! ╛»╕µ !!
1íóroot╓«║≤╜½╩º╚Ñ▒ú╨▐ú¼dnxwj║═╫≈╒▀╢╘┐╔─▄▓·╔·╬╩╠Γ▓╗╕║╚╬║╬╘≡╚╬íú
2íó┐¬╩╝root╘≥╩╙╬¬─π═¼╥Γ╫╘╨╨│╨╡ú╖τ╧╒íú
╟δ╫╘╨╨╫÷║├root╟░╫╝▒╕íú
PSú║╚⌠─·▓╗╧δrootú¼╟δ╓▒╜╙╣╪╡⌠╒Γ╕÷┤░┐┌íú
Press any key to continue . . .
╒²╘┌╕┤╓╞SuperUser...
╒²╘┌╚í╡├┴┘╩▒root...
1192 KB/s (1283460 bytes in 1.051s)
1118 KB/s (146652 bytes in 0.128s)
1163 KB/s (366952 bytes in 0.308s)
1161 KB/s (1578585 bytes in 1.327s)
[+] This may take a few minutes.
[-] Failure.
╒²╘┌╜Γ│²LSM...
Mapping kernel memory...
Detected kernel physical address at 0x80008000 form iomem
Attempt fb_mem_exploit...
OK.
Finding kallsyms address in memory...
Segmentation fault (core dumped)
╒²╘┌╣╥╘┌/system╕─╬¬rw...
mount: Operation not permitted
╒²╘┌╠ß╔²SuperUser╚¿╧▐...
/system/xbin/su: cannot open for write: Read-only file system
Unable to chown /system/xbin/su: No such file or directory
Unable to chmod /system/xbin/su: No such file or directory
╒²╘┌╓╪╨┬╣╥╘┌/system╬¬rw...
mount: Operation not permitted
╒²╘┌░▓╫░Superuser...
1161 KB/s (1578585 bytes in 1.327s)
pkg: /data/local/tmp/Superuser.apk
Failure [INSTALL_FAILED_ALREADY_EXISTS]
╣º╧▓─·ú¼─·╡─F-02E╥╤╛¡│╔╣ªroot┴╦íú
Press any key to continue . . .
if you pres any key : close

[Q] adb push in recovery

I am testing to make sure I can push files into my device when in recovery.
I was able to successfully push a file when the device is up with adb push test.txt /sdcard/ROMS
It was there and able to open
Now in Recovery (New file test1.txt)
adb devices showed my device in recovery
I entered adb push test1.txt /sdcard/ROMS
adb shows it completed successfully but I do not see the file once I boot back into my OS.
What am I missing?
that is odd you should now see your file. what program did you use to make the file?
is the file perchance in a 0 folder in sdcard0?
Try adb push test.txt /sdcard/ROMS/test.txt
Hope that helps.
Sent from my HTC6435LVW using Tapatalk 4 Beta
I used notepad to make the file. The file isn't anywhere else. I have even done a search. And I tried putting the name of the file at the end of the command. I'll try again in a bit.
Sent from my HTC6435LVW using Tapatalk 4 Beta
Download notepad++ and make a file then see what u have
Sent from my HTC6435LVW using XDA Premium HD app
Still nothing
t1gartist said:
Download notepad++ and make a file then see what u have
Sent from my HTC6435LVW using XDA Premium HD app
Click to expand...
Click to collapse
I have installed notepad ++ and created a txt from there as recommended. Still no change. Here is a print out of what I have done. Also note that I made a new directory in order to avoid any possibly directory conflicts.
C:\android-sdk-windows\platform-tools>adb push new2.txt /sdcard/ROMS/new2.txt
16 KB/s (258 bytes in 0.015s)
C:\android-sdk-windows\platform-tools>adb push new2.txt /sdcard/newfolder/new2.t
xt
20 KB/s (258 bytes in 0.012s)
C:\android-sdk-windows\platform-tools>adb devices
List of devices attached
FA33AS504665 recovery
C:\android-sdk-windows\platform-tools>adb push new2.txt /sdcard/newfolder/new2.t
xt
77 KB/s (258 bytes in 0.003s)
rockfreak101 said:
I have installed notepad ++ and created a txt from there as recommended. Still no change. Here is a print out of what I have done. Also note that I made a new directory in order to avoid any possibly directory conflicts.
C:\android-sdk-windows\platform-tools>adb push new2.txt /sdcard/ROMS/new2.txt
16 KB/s (258 bytes in 0.015s)
C:\android-sdk-windows\platform-tools>adb push new2.txt /sdcard/newfolder/new2.t
xt
20 KB/s (258 bytes in 0.012s)
C:\android-sdk-windows\platform-tools>adb devices
List of devices attached
FA33AS504665 recovery
C:\android-sdk-windows\platform-tools>adb push new2.txt /sdcard/newfolder/new2.t
xt
77 KB/s (258 bytes in 0.003s)
Click to expand...
Click to collapse
you've likely installed a 4.2 based rom recently (like cm10.1). these virtual paths get all jacked up when you do that, especially in recovery.
A few options
1.) don't do that
2.) push things to /data/local/tmp/ instead
3.) push things to /data/media/ instead
beaups said:
you've likely installed a 4.2 based rom recently (like cm10.1). these virtual paths get all jacked up when you do that, especially in recovery.
A few options
1.) don't do that
2.) push things to /data/local/tmp/ instead
3.) push things to /data/media/ instead
Click to expand...
Click to collapse
Thanks. I will look into the other two options. I had a feeling that may have been it, but no grounds for why. I have a 4.2 rom installed and I'm prepping to format my sdcard because I have crazy loads of old data that I don't need and don't know what is what, so I'm going to format insternal SD and push the backup of my current rom back in. I'm using 6.xGb of the space already. No good.
rockfreak101 said:
Thanks. I will look into the other two options. I had a feeling that may have been it, but no grounds for why. I have a 4.2 rom installed and I'm prepping to format my sdcard because I have crazy loads of old data that I don't need and don't know what is what, so I'm going to format insternal SD and push the backup of my current rom back in. I'm using 6.xGb of the space already. No good.
Click to expand...
Click to collapse
So I pushed the test txt file to the specified locations. My struggle is that on the phone with the native file manager I can't access the data folder, though I have it root access. I downloaded Astro and it shows there are no contents (with show hidden contents selected).
So my thought is what am I doing wrong or what can I do?
Sideload?
So. If I so desired. I could wipe my internal memory, and sideload the install of the OS, or a backup?
You could but you might need to ruu first if you do that, I'm not sure as recovery stuff is in your internal storage like database files. It might just recreate those though.
Sent from my VIPER DNA
beaups said:
you've likely installed a 4.2 based rom recently (like cm10.1). these virtual paths get all jacked up when you do that, especially in recovery.
A few options
1.) don't do that
2.) push things to /data/local/tmp/ instead
3.) push things to /data/media/ instead
Click to expand...
Click to collapse
I love option 1... made me lolz

Categories

Resources