[T/V/TL/TX][TWRP][PhilZ Touch][CWM] XZDualRecovery Q&A - Sony Xperia T, TL, TX, V

-=[XZDualRecovery]=-
PhilZ Touch & CWM & TWRP
*** For Locked and Unlocked BOOTLOADERS! ***
Welcome to the Xperia T/V/TX/TL Questions & Answers thread!
I proudly present you the first and only DUAL RECOVERY for locked boot loaders on our lovely Xperia phones!
If you have an unlocked bootloader and chose to keep the STOCK Sony kernel, you can also use this MOD.
Currently supported XPERIA models:
These are also links to the device specific Q&A threads.
Xperia Z: SO-02E, C6602, C6603, C6606, C6616
Xperia ZL: C6502, C6503, C6506
Xperia Tablet Z: SO-03E, SGP311, SGP312, SGP321, SGP351
Xperia Z Ultra: C6802, C6806, C6833, C6843
Xperia Z1: C6902, C6903, C6906, C6943, C6916
Xperia Z1 Compact: D5502, D5503, D5506
Xperia Z2: D6502, D6503, D6506, D6543, D6563
Xperia Tablet Z2: SGP511, SGP512, SGP521, SGP551, SGP561
Xperia ZR: C5602, C5603, C5606
Xperia T, TX, TL and V: LT30p, LT29, LT30at, LT25i
Xperia S: LT26i
Xperia SP: C5302, C5303
Xperia T2 Ultra: D5303, D5322
Xperia Z3: D6603, D6633, D6643, D6653, D6616
Xperia Z3 Compact: D5803, D5833
Xperia Tablet Z3 Compact: SGP621, SGP641, SGP651
To follow development, be sure to check the DevDB thread!​

XZDualRecovery User Manual

Special Thanks:
@DooMLoRD for all his excellent work on our much loved Sony phones!
The Team Win developers for TWRP
The ClockWorkMod developers for CWM
@alexocean for his awesome job testing almost all FW releases and the discovery of SuperSU causing problems for the installation of this recovery!
@RoberM for testing
@surdu_petru for testing and handy pointers
@Androxyde for allowing to use his linux and mac adb binaries.
@lancebukkake for finding the TWRP 'fix' to use exFAT formatted sdcards!
@delewer for the final fix for TWRP and its use of exFAT formatted sdcards
@DevShaft for some code help on the windows installer (the menu!)
@Androxyde again, but now for his bash code/script suggestions... oh boy this guy is a genius! :highfive:
@Tamirwig and @shoey63 for their excellent job at testing early BETA's (Xperia Z)
@gregbradley for his extensive testing on the Xperia Z1
Well, enjoy! :fingers-crossed:
The origins of this XZDualRecovery package are in the packages done by:
Krabappel2548, Cpasjuste and DooMLoRD
Thank you for your excellent work guys! :victory:
[Locked Bootloader]CWM recovery 6.0.2.8 for locked bootloaders v4[25-03] by Krabappel2548
[APP/RECOVERY] TWRP 2.4.3.0 for lockled bootloaders installer by Cpasjuste
[KERNEL][Z] DooMKernel {JB}(v06)[20130414] by DooMLoRD
Your thanks (and donations) should (also) go out to them, they deserve it! :highfive:

Is it possible to flash this recovery by using and overwriting this one ?

BreckZeBoulay said:
Is it possible to flash this recovery by using and overwriting this one ?
Click to expand...
Click to collapse
Yes, it should work ok. Just check if /system/bin/chargemon exists. If it does you can use xzdualrecovery. I know @peetr_ used taimport as the replacement for chargemon, so until you remove the replacement taimport and rename the binary you will have 2 recovery packages installed and working :angel:

I've got a weird issue with this recovery (tested with the three ones include) and not with the one of peetr_.
I've made my own rom, and i can't flash the zip, there's "error argument" when formating system.
my script :
Code:
ui_print("- Formating /system");
format("ext4", "EMMC", "/dev/block/platform/msm_sdcc.1/by-name/System", "0", "/system");
ui_print("- Copying to /system");
mount("ext4", "EMMC", "/dev/block/mmcblk0p12", "/system");
package_extract_dir("system", "/system");
if i mod the script like this :
Code:
ui_print("- Formating /system");
format("ext4", "EMMC", "/dev/block/mmcblk0p12");
ui_print("- Copying to /system");
mount("ext4", "EMMC", "/dev/block/mmcblk0p12", "/system");
package_extract_dir("system", "/system");
Formating is done but after system is not copy into /system, the flash is too fast (not a second), but there's no error ^^
May be it's not the right place to post this and may be it's a known issue....

BreckZeBoulay said:
I've got a weird issue with this recovery (tested with the three ones include) and not with the one of peetr_.
I've made my own rom, and i can't flash the zip, there's "error argument" when formating system.
my script :
Code:
ui_print("- Formating /system");
format("ext4", "EMMC", "/dev/block/platform/msm_sdcc.1/by-name/System", "0", "/system");
ui_print("- Copying to /system");
mount("ext4", "EMMC", "/dev/block/mmcblk0p12", "/system");
package_extract_dir("system", "/system");
if i mod the script like this :
Code:
ui_print("- Formating /system");
format("ext4", "EMMC", "/dev/block/mmcblk0p12");
ui_print("- Copying to /system");
mount("ext4", "EMMC", "/dev/block/mmcblk0p12", "/system");
package_extract_dir("system", "/system");
Formating is done but after system is not copy into /system, the flash is too fast (not a second), but there's no error ^^
May be it's not the right place to post this and may be it's a known issue....
Click to expand...
Click to collapse
Actually, it sounds like a problem I had a while back. Can you enter recovery (any will do) and then adb shell to the device to type:
Code:
busybox lsof
You'll get a list with files 'locking' anything anywhere. See if you can find a lock on '/system' or just simply '/bin'
Also, I ususally steer clear from the edify format and just do:
Code:
unmount("/system");
run_program("/sbin/make_ext4fs", "/dev/block/platform/msm_sdcc.1/by-name/System");
mount("ext4", "EMMC", "/dev/block/platform/msm_sdcc.1/by-name/System", "/system");
This has worked flawlessly on any device I have ever owned or built anything for, except when there are file locks still lurking of course

[NUT] said:
Actually, it sounds like a problem I had a while back. Can you enter recovery (any will do) and then adb shell to the device to type:
Code:
busybox lsof
You'll get a list with files 'locking' anything anywhere. See if you can find a lock on '/system' or just simply '/bin'
Click to expand...
Click to collapse
I never try but I try to do this after children time
Another question : there are two different versions :
XT-lockeddualrecovery2.7.101-BETA.flashable.zip (6.5MB)
and
XT-lockeddualrecovery2.7.102-BETA.installer.zip (8.23MB)
which one i prefer ?

BreckZeBoulay said:
I never try but I try to do this after children time
Another question : there are two different versions :
XT-lockeddualrecovery2.7.101-BETA.flashable.zip (6.5MB)
and
XT-lockeddualrecovery2.7.102-BETA.installer.zip (8.23MB)
which one i prefer ?
Click to expand...
Click to collapse
XT-lockeddualrecovery2.7.103-BETA.installer.zip :angel:

oups open your eyes Breck ! :silly:
and make some space in this enormous list Nut !
I try ASAP !

Work on JB4.1.2?? Xperia V
Sent from my LT25i using xda app-developers app

jose78987 said:
Work on JB4.1.2?? Xperia V
Sent from my LT25i using xda app-developers app
Click to expand...
Click to collapse
It should yes.

[NUT] said:
Actually, it sounds like a problem I had a while back. Can you enter recovery (any will do) and then adb shell to the device to type:
Code:
busybox lsof
You'll get a list with files 'locking' anything anywhere. See if you can find a lock on '/system' or just simply '/bin'
Click to expand...
Click to collapse
Code:
C:\Users\Pierre\Desktop\sdk\platform-tools>adb shell
~ # ←[6nbusybox lsof
busybox lsof
1 /init /dev/__null__ (deleted)
1 /init /dev/__null__ (deleted)
1 /init /dev/__null__ (deleted)
1 /init /dev/__kmsg__ (deleted)
1 /init /dev/__properties__
1 /init /dev/log/main
1 /init /dev/log/radio
1 /init /dev/log/events
1 /init /dev/log/system
1 /init socket:[6740]
1 /init socket:[6742]
1 /init socket:[6743]
1 /init pipe:[6808]
1 /init pipe:[6808]
1 /init socket:[6753]
336 /sbin/busybox /dev/__null__ (deleted)
336 /sbin/busybox /dev/__null__ (deleted)
336 /sbin/busybox /dev/__null__ (deleted)
336 /sbin/busybox /sbin/init.sh
336 /sbin/busybox /dev/__properties__
963 /init /dev/__null__ (deleted)
963 /init /dev/__null__ (deleted)
963 /init /dev/__null__ (deleted)
963 /init /dev/__kmsg__ (deleted)
963 /init /dev/__properties__
963 /init socket:[21673]
963 /init socket:[21675]
963 /init socket:[21676]
963 /init socket:[23627]
963 /init /dev/__properties__
964 /init /dev/__null__ (deleted)
964 /init /dev/__null__ (deleted)
964 /init /dev/__null__ (deleted)
964 /init /dev/__kmsg__ (deleted)
964 /init /sys/fs/selinux/status
964 /init /dev/__properties__
964 /init socket:[23136]
964 /init /dev/__properties__
976 /sbin/recovery /dev/null
976 /sbin/recovery /tmp/recovery.log
976 /sbin/recovery /tmp/recovery.log
976 /sbin/recovery /dev/tty0
976 /sbin/recovery /dev/graphics/fb0
976 /sbin/recovery /dev/log/main
976 /sbin/recovery /dev/input/event0
976 /sbin/recovery /dev/input/event9
976 /sbin/recovery /dev/__properties__
976 /sbin/recovery /dev/input/event8
976 /sbin/recovery /dev/input/event7
976 /sbin/recovery /dev/input/event6
976 /sbin/recovery /dev/__properties__
976 /sbin/recovery /dev/input/event5
976 /sbin/recovery /dev/input/event4
976 /sbin/recovery /dev/input/event3
976 /sbin/recovery /dev/input/event2
976 /sbin/recovery /dev/input/event1
976 /sbin/recovery /dev/log/radio
976 /sbin/recovery /dev/log/events
976 /sbin/recovery /dev/log/system
1057 /sbin/adbd /dev/null
1057 /sbin/adbd /dev/null
1057 /sbin/adbd /dev/null
1057 /sbin/adbd socket:[23632]
1057 /sbin/adbd socket:[23633]
1057 /sbin/adbd socket:[23634]
1057 /sbin/adbd /dev/android_adb
1057 /sbin/adbd socket:[23635]
1057 /sbin/adbd /dev/__properties__
1057 /sbin/adbd socket:[23636]
1057 /sbin/adbd socket:[21775]
1057 /sbin/adbd socket:[23637]
1057 /sbin/adbd /dev/__properties__
1057 /sbin/adbd socket:[21778]
1057 /sbin/adbd socket:[21779]
1057 /sbin/adbd /dev/ptmx
1061 /sbin/busybox /dev/pts/0
1061 /sbin/busybox /dev/pts/0
1061 /sbin/busybox /dev/pts/0
1061 /sbin/busybox /dev/__properties__
1061 /sbin/busybox socket:[21775]
1061 /sbin/busybox /dev/tty
1061 /sbin/busybox /dev/__properties__
~ # ←[6n
is it good for you ?

@BreckZeBoulay yes, flashing should work fine now.
Before .103 xzdualrecovery still had some issues with problematic binaries. 103 fixed that.

[NUT] said:
@BreckZeBoulay yes, flashing should work fine now.
Click to expand...
Click to collapse
No it doesn't work.
Same error : format () expects 3 args, got 5
And after a few seconds (just have time to tape the error ^^), the screen turn black and reboot.
Just to be clear, what is installed at the moment :
- TX with stock deodex rooted .199 FW
- XT-lockeddualrecovery2.7.103-BETA installed with installer
- PhilZ Touch CWM Advanced Edition v1.7 by peetr_

BreckZeBoulay said:
No it doesn't work.
Same error : format () expects 3 args, got 5
And after a few seconds (just have time to tape the error ^^), the screen turn black and reboot.
Just to be clear, what is installed at the moment :
- TX with stock deodex rooted .199 FW
- XT-lockeddualrecovery2.7.103-BETA installed with installer
- PhilZ Touch CWM Advanced Edition v1.7 by peetr_
Click to expand...
Click to collapse
Does it do this on both twrp and Philz?
-Edit-
Try it using my format command to see if it will work that way. It could be a problem with the fact this is built against cm11.

[NUT] said:
Does it do this on both twrp and Philz?
-Edit-
Try it using my format command to see if it will work that way. It could be a problem with the fact this is built against cm11.
Click to expand...
Click to collapse
with Philz (the one include in XT-lockeddualrecovery), error :
E: can't make /tmp/update_binary
EDIT : and after a few seconds, screen turning black and reboot.
I just put this command in my script updater ?
I stop test for this evening, my battery is too low.

Hi bro
Works great on my xv jb 4.3 stock rooted, tx !!!:thumbup:
Sent from my LT25i using xda app-developers app

Great work, but can you pleas tidy up http://nut.xperia-files.com/ a little? It's a lot of mess now.

BreckZeBoulay said:
with Philz (the one include in XT-lockeddualrecovery), error :
E: can't make /tmp/update_binary
EDIT : and after a few seconds, screen turning black and reboot.
I just put this command in my script updater ?
I stop test for this evening, my battery is too low.
Click to expand...
Click to collapse
If you could continue testing using both PhilZ Touch AND TWRP and let me know what does and doesn't work in either recoveries?
I'll try to update XZDR tonight with the latest version of PhilZ, hoping it might have been fixed in the mean time...
on the format command subject:
Replace this code:
Code:
format("ext4", "EMMC", "/dev/block/platform/msm_sdcc.1/by-name/System", "0", "/system");
with:
Code:
unmount("/system");
run_program("/sbin/make_ext4fs", "/dev/block/platform/msm_sdcc.1/by-name/System");
mount("ext4", "EMMC", "/dev/block/platform/msm_sdcc.1/by-name/System", "/system");
Besides this code change... in your update script, do you unmount the system partition before you try to format it?
If you don't it might be the cause of the reboot... (it will cause a kernel panic based on dramatic changes on the filesystem...)

Related

[SOLVED] Flash custom ROM with ADB

Is there any way to flash a custom rom with ADB? I would assume there is, as ADB can do everything else, heh.
I have read up on the ADB tutorials and such that are on here, as well as the stuff that is supplied with a quick google search, and have not been able to find anything significant to this specific question.
Any advice would be great. Thanks
EDIT:
So, digging around in the DroidExplorer source code, I came across this:
Code:
public void ApplyUpdate ( string device ) {
/*
mkdir -p /cache/recovery/
echo 'boot-recovery' >/cache/recovery/command
echo '--nandroid' >> /cache/recovery/command
echo '--update_package=SDCARD:update.zip' >> /cache/recovery/command
*/
ShellRun ( device, "mkdir -p /cache/recovery/" );
ShellRun ( device, "echo 'boot-recovery ' > /cache/recovery/command" );
//ShellRun ( device, "echo '--nandroid ' >> /cache/recovery/command" );
ShellRun ( device, "echo '--update_package=SDCARD:update.zip' >> /cache/recovery/command" );
RebootRecovery ( device );
}
So I opened up ADB, and began plunking around.
I started from the recovery menu, in console mode.
Code:
C:\Users\Jason>adb shell
/ # recovery --update_package=/sdcard/update.zip
recovery --update_package=/sdcard/update.zip
C:\Users\Jason>
That restarted recovery mode, and attempted to mount/load/verify/flash update.zip. I did not have an update.zip on the SDCard, so naturally it errored out (yay).
Next, I decided to try a few things with the phone booted up:
Code:
C:\Users\Jason>adb remount
remount succeeded
C:\Users\Jason>adb shell "echo 'boot-recovery ' > /cache/recovery/command"
C:\Users\Jason>adb shell "echo '--update_package=SDCARD:update.zip' >> /cache/recovery/command"
C:\Users\Jason>adb shell "reboot recovery"
C:\Users\Jason>
That in turn rebooted the G1, and again, attempted to install the update.zip.
Complete output of the RA-Dream-v1.5.2 is as follows:
Code:
Build : RA-dream-v1.5.2
Finding update package...
Opening update pacakge...
E:Can't open /sdcard/update.zip
(No such file or directory)
Installation aborted.
That leads me to believe that this process should work flawlessly, as long as I point to the correct .zip file (update.zip, or SuperD-AOSP...zip).
Now, another thing that I need to do is to figure out how to perform the wipe actions that the recovery menu has. Does anyone know what is ran when I choose any of the 3 wipe options? (I assume they are just rm -rf on the appropriate directories, but I would like to be sure first)
EDIT2:
Gotta love open source After quite a bit more googling, this is what I found (located in the source code for ra-dream-v1.5.2):
Code:
* The arguments which may be supplied in the recovery.command file:
* --send_intent=anystring - write the text out to recovery.intent
* --update_package=root:path - verify install an OTA package file
* --wipe_data - erase user data (and cache), then reboot
* --wipe_cache - wipe cache (but not user data), then reboot
As well as:
Code:
recovery.c(849): "/sbin/wipe dalvik",
recovery.c(859): "/sbin/wipe ext",
recovery.c(869): "/sbin/wipe battery",
recovery.c(879): "/sbin/wipe rotate",
Using that information, I think I can finally start my lil applicatoin, heh. Thanks for letting me answer my own questions (I wont argue with a good learning experience)
Thanks dude been tryna figure this out for a week and stumbled on ur thread...played around with the commands and got data wipe cache wipe to work but couldnt figure out dalvik or ext wipe...flashed cyan rc3 and gapps. thanks again, my home button doesnt work and couldnt get anything done in the recovery menu. props!
Did you manage to write the application for ADB ROM flash? My home button and trackball do not work. ADB ROM install/flash is my only hope.
Shayind4
AWESOME!
I just ran the few lines as follows with all my info there, and it was the ONLY way to load a new rom. My cliq has a broken home key, making it impossible to use any recovery. Props for these lines, helped teach a newb something.
C:\Users\Jason>adb remount
remount succeeded
C:\Users\Jason>adb shell "echo 'boot-recovery ' > /cache/recovery/command"
C:\Users\Jason>adb shell "echo '--update_package=SDCARD:update.zip' >> /cache/recovery/command"
C:\Users\Jason>adb shell "reboot recovery"
I was just thinking of giving this a try because i thought using adb might go faster than just going the cwm or watever route using just rom mgr or what have you, so does it go by as fast as it does using cwm? or does adb do it faster?
I assume its the same but I'm just wondering what your experience says
@jmhecker: Did you know how to install a ROM from my PC or maybe from CACHE or DATA directory? I'm trying to install this one http://forum.xda-developers.com/showthread.php?t=1011384 but I get errors while trying to do I think due to space because this ROM has 81MB and my phone is a HTC Magic without sdcard due to hardware problems. Any tip or help on this?
Cheers and thx in advance
Thank you!
You have no idea how much help you were to me.
I just bought this unbranded chinese tablet and i tried to set a pattern unlock to it, then to find out that it didn't accept my pattern afterwards.. I was essentially locked out of the thing that i just bought.. I eventually figured out the key combination to access recovery mode but for some reason it seemed to auto select update via sdcard... But the first thing it would check for is a file called "factory_update_param.aml", googled it and it was a simple text file with
--update_package=/sdcard/update.zip
within it. Searching for it i came across it your post, linking the two together i had realised the manufacturer had locked out the recovery mode and replaced it with a simple script that would run whatever stated in the file.
I just replaced it with the
--wipe_data
as you stated and it worked wonders! Factory reset and back to the way i first opened it out of the box!
You saved me 50$ for the shipping back to hong kong! Thank you!
This post is just what I'm looking for.
I have bricked my tablet: Storage Options Scroll 7". I've been looking for a solution and I think the only way is to flash the original Firmware with adb commands.
My only problem is when I write "adb shell" the computer says that can't find the device. I tried diferent drivers with no luck. On the device manager the Android is in yellow and doesn't recognize the device. I tried with the google drivers from SDK and the VTC drivers without any luck.
What drivers did you use?
If I can get the right drivers this method will save my scroll tablet.
Thanks
You saved my tab.
My tab sdcard not read, so I had to change little for adb commands.
adb shell "echo 'boot-recovery ' > /cache/recovery/command"
adb shell "echo '--update_package=/nand/update.zip' >> /cache/recovery/command"
adb shell "reboot recovery"
Click to expand...
Click to collapse
)
( this didn't work for me: adb shell "echo '--update_package=nand:update.zip' >> /cache/recovery/command"
Thanks to you everything is ok
Hello i was trying to flash update.zip this way but i bumped into wall -.-
In my /cache/recovery/last_log i saw this lines
Finding update package...
I:Update location: SDCARD:/update.zip
E:unknown volume for path [SDCARD:/update.zip]
E:Can't mount SDCARD:/update.zip
Installation aborted.
Click to expand...
Click to collapse
i tryed with
--update_package=SDCARD:update.zip
and
--update_package=/sdcard/update.zip
Phone boot into recovery but end's with (dead xD) green android with opened chest
and big ugly red triangle with !
At that point adb is still working i write adb reboot and phone boot normally and then i take a look in last_log...
Any help with this one?
Edit: strange thing that in last_log before those error lines recovery seems to read my new build info
Code:
Starting recovery on Thu Jul 5 13:49:00 2012
recovery filesystem table
=========================
0 /tmp ramdisk (null) (null) 0
1 /boot emmc /dev/block/mmcblk0p9 (null) 0
2 /cache ext4 /dev/block/mmcblk0p16 (null) 0
3 /data ext4 /dev/block/mmcblk0p20 (null) 0
4 /misc emmc /dev/block/mmcblk0p8 (null) 0
5 /recovery emmc /dev/block/mmcblk0p17 (null) 0
6 /system ext4 /dev/block/mmcblk0p14 (null) 0
call get_bootloader_message
get_args:
I:Got arguments from /cache/recovery/command
I:fopen_path 1 /data/fota/ipth-muc.prop
I:fopen_path 2 /data/fota/ipth-muc.prop
I:fopen_path 3 /data/fota/ipth-muc.prop
I:Failed to open /data/fota/ipth-muc.prop, use default pkg location:/cache/fota
I:Delta package does not exist /cache/fota/ipth_package.bin
recovery.c : import_kernel_cmdline lge.frst = flag3
framebuffer: fd 4 (480 x 800)
Command: "/sbin/recovery" "--update_package=SDCARD:/update.zip"
ro.secure=1
ro.allow.mock.location=0
ro.debuggable=0
ro.build.id=Optimus_L7_Revolution
ro.build.display.id=Optimus_L7_Revolution
ro.build.version.incremental=lgp700-V10g.rooted
ro.build.version.sdk=15
ro.build.version.codename=REL
ro.build.version.release=4.0.3
ro.build.date=2012. 06. 23. (토) 08:17:57 KST
ro.build.date.utc=1340407077
ro.build.type=user
ro.build.user=bgdonline
ro.build.host=anemone
ro.build.tags=test-keys
ro.product.model=LG-P700
ro.product.brand=lge
ro.product.name=u0_open_eu
ro.product.device=u0
ro.product.board=7x27
ro.product.cpu.abi=armeabi-v7a
ro.product.cpu.abi2=armeabi
ro.product.manufacturer=LGE
ro.product.locale.language=en
ro.product.locale.region=GB,en
ro.wifi.channels=
ro.board.platform=msm7627a
ro.build.product=u0
ro.build.description=u0_open_eu-user 4.0.3 Optimus_L7_Revolution lgp700-V10g.rooted test-keys
ro.build.fingerprint=lge/u0_open_eu/u0:4.0.3/Optimus_L7_Revolution/lgp700-V10g.rooted:user/test-keys
ro.build.characteristics=default
rild.libpath=/system/lib/libril-qc-1.so
rild.libargs=-d /dev/smd0
persist.rild.nitz_plmn=
persist.rild.nitz_long_ons_0=
persist.rild.nitz_long_ons_1=
persist.rild.nitz_long_ons_2=
persist.rild.nitz_long_ons_3=
persist.rild.nitz_short_ons_0=
persist.rild.nitz_short_ons_1=
persist.rild.nitz_short_ons_2=
persist.rild.nitz_short_ons_3=
ril.subscription.types=NV,RUIM
DEVICE_PROVISIONED=1
debug.sf.hw=1
debug.enabletr=false
debug.composition.7x27A.type=mdp
debug.composition.7x25A.type=mdp
persist.gsm.sms.forcegsm7=1
persist.cne.UseCne=none
persist.cne.bat.range.low.med=30
persist.cne.bat.range.med.high=60
persist.cne.loc.policy.op=/system/etc/OperatorPolicy.xml
persist.cne.loc.policy.user=/system/etc/UserPolicy.xml
persist.cne.bwbased.rat.sel=false
persist.cne.snsr.based.rat.mgt=false
persist.cne.bat.based.rat.mgt=false
persist.cne.rat.acq.time.out=30000
persist.cne.rat.acq.retry.tout=0
persist.cne.fmc.mode=false
persist.cne.fmc.init.time.out=30
persist.cne.fmc.comm.time.out=130
persist.cne.fmc.retry=false
media.stagefright.enable-player=true
media.stagefright.enable-scan=true
media.stagefright.enable-http=true
media.stagefright.enable-fma2dp=true
media.stagefright.enable-aac=true
media.stagefright.enable-qcp=true
ro.opengles.version=131072
ro.use_data_netmgrd=true
persist.data.ds_fmc_app.mode=0
persist.ims.regmanager.mode=0
ro.bluetooth.request.master=false
ro.qualcomm.bluetooth.ftp=true
ro.qualcomm.bluetooth.sap=false
ro.qualcomm.bluetooth.hfp.wbs=false
ro.bluetooth.remote.autoconnect=true
persist.omh.enabled=1
ro.config.ehrpd=true
ro.qualcomm.cabl=1
ro.fm.analogpath.supported=true
ro.fm.transmitter=false
ro.fm.mulinst.recording.support=false
ro.hw_plat=7x27a
ro.emmc.sdcard.partition=20
debug.camcorder.disablemeta=0
ro.hiddenreset=0
ro.device.hapticfeedback=0
ro.lge.swversion=V10g-JUN-23-2012
ro.lge.hwversion=
ro.lge.factoryswversion=
ro.lge.basebandversion=MSM7227A-1-AA
hwui.render_dirty_regions=false
ro.max.fling_velocity=5000
ro.hwui.text_cache_width=1536
ro.hwui.text_cache_height=384
ro.build.target_operator=OPEN
ro.build.target_country=EU
ro.build.target_region=EU
ro.build.factory_operator=EUR
ro.build.factory_country=XX
ro.com.google.clientidbase=android-lge
ro.com.google.clientidbase.gmm=android-lge
ro.com.google.clientidbase.yt=android-lge
ro.com.google.clientidbase.am=android-lge
ro.com.google.clientidbase.ms=android-lge
ro.camera.sound.forced=1
keyguard.no_require_sim=true
ro.com.android.dataroaming=false
ro.com.android.dateformat=MM-dd-yyyy
ro.config.ringtone=Beyond_the_Dream.ogg
ro.config.notification_sound=Pebble.ogg
ro.config.alarm_alert=Alarm1.ogg
ro.vendor.extension_library=/system/lib/libqc-opt.so
persist.radio.cdg2_flag=false
wifi.supplicant_scan_interval=20
wlan.chip.vendor=qcom
ro.lge.touchkey=BACK|HOME|MENU
ro.device.networkmode=WCDMA
ro.telephony.default_network=3
ro.radio.ratdisplay=true
ro.config.bt.amp=no
ro.sf.lcd_density=240
media.video.max-width=854
media.video.max-height=480
media.divx-video.max-width=854
media.divx-video.max-height=480
ro.emmc=0
ro.sf.hwrotation=180
ro.lge.audio_scenario=SOUNDEXCEPTION
ro.lge.audio_soundexception=true
ro.lge.audio_soundprofile=true
lge.signed_image=true
dalvik.vm.heapstartsize=10m
dalvik.vm.heapgrowthlimit=48m
dalvik.vm.heapsize=128m
drm.service.enabled=true
ro.lge.capp_core=true
ro.lge.capp_drm=true
ro.lge.capp_divx_drm=true
ro.lge.capp_almond=true
ro.lge.capp_optimusui=true
ro.lge.capp_resource=true
ro.lge.capp_wapservice=true
ro.lge.lazy_service_bringup=true
ro.lge.capp_touch_scroller=true
ro.lge.capp_touch_ldi=true
ro.lge.capp_key_light_off=true
ro.lge.capp_key_exception=true
ro.lge.capp_keyled_timeout=true
ro.lge.capp_lockscreen=true
ro.com.google.gmsversion=4.0_r2
ro.setupwizard.mode=DISABLED
ro.livewallpaper.map=DISABLED
ro.nfc.port=I2C
lge.nfc.fwpatchv13=yes
lge.nfc.indicator=yes
lge.nfc.setype=uicc
dalvik.vm.dexopt-flags=m=y
net.bt.name=Android
net.change=net.bt.name
dalvik.vm.stack-trace-file=/data/anr/traces.txt
ro.factorytest=0
ro.serialno=bd28a52
ro.bootmode=recovery
ro.baseband=msm
ro.carrier=unknown
ro.bootloader=unknown
ro.hardware=u0
ro.revision=0
ro.crypto.fs_type=ext4
ro.crypto.fs_real_blkdev=/dev/block/mmcblk0p20
ro.crypto.fs_mnt_point=/data
ro.crypto.fs_options=barrier=1,data=ordered,noauto_da_alloc,errors=panic
ro.crypto.fs_flags=0x00000406
ro.crypto.state=unencrypted
ro.encrypt_state=0
persist.sys.usb.config=charge_only,adb
persist.radio.adb_log_on=0
persist.radio.mem_leak_debug=0
persist.radio.voip_enabled=0
persist.radio.sma_voice_3gpp=0
persist.radio.net_pref_0=2
persist.radio.net_pref_1=3
persist.radio.tuneaway=1
persist.radio.paging_priority=0
persist.radio.mcc-list=FFF
persist.radio.first_no_sim=
persist.radio.iccid-changed=0
persist.radio.iccid=8938105210033115009
persist.radio.prev-mcc=220
persist.radio.same-mcc=1
persist.radio.tmp-mcc=220
persist.radio.first-mcc=220
persist.radio.first-boot=11
persist.service.bt.bdaddr=c0:cc:e5:c6:a0:00
persist.sys.profiler_ms=0
persist.service.system.dirty=1
persist.lge.first_boot=0
persist.sys.timezone=Europe
persist.sys.language=en
persist.sys.country=GB
persist.sys.localevar=
persist.gsm.mms.enabled=true
persist.sys.system_volume=4
persist.sys.sound_enable=1
init.svc.brd=running
init.svc.recovery=running
init.svc.adbd=running
init.svc.rmt_storage=running
init.svc.atd=restarting
Finding update package...
I:Update location: SDCARD:/update.zip
E:unknown volume for path [SDCARD:/update.zip]
E:Can't mount SDCARD:/update.zip
Installation aborted.
the android with the open chest is showing it is trying to apply update. the triangle with ! is the defult recovery screen.
so I take it you don't have a custom recovery, are you rooted?
Sent from my HTC Vision using xda premium
demkantor said:
the android with the open chest is showing it is trying to apply update. the triangle with ! is the defult recovery screen.
so I take it you don't have a custom recovery, are you rooted?
Sent from my HTC Vision using xda premium
Click to expand...
Click to collapse
Rooted yes, custom recovery i still can't use untill Secure booting is off.... This lg model (optimus l7) have Secure boot and custom recovery can't work on stock rom, that is why i try this way....
got ya, don't know much about lgs - maybe ask in that forum
Sent from my HTC Vision using xda premium
This solution works generally in android im just curious why recovery can't mount sdcard and is it possible to flash it from internal memory? Because when im in root explorer and when im in / i have /sdcard < internal memory and /sdcard/external_sd < external memory
btw we still don't have our sub forum im only one currently working on this model
Will this only work with RA recovery or other ones like TeamWin?
dont know what teamwin recovery is (assume its for the evo 4g) but it should work fine as a few other posters got it workinig with other recoveries.
but even if it doest an unlocked bootloader should allow you to do all the commands via fastboot, wipe flash etc.
jmhecker said:
Code:
C:\Users\Jason>adb remount
remount succeeded
C:\Users\Jason>adb shell "echo 'boot-recovery ' > /cache/recovery/command"
C:\Users\Jason>adb shell "echo '--update_package=SDCARD:update.zip' >> /cache/recovery/command"
C:\Users\Jason>adb shell "reboot recovery"
C:\Users\Jason>
Click to expand...
Click to collapse
I just tried to do that with my custom ROM but I got this error:
Code:
Finding update package...
I:Update location: /sdcard/my_custom_rom.zip
Opening update package...
I:1 key(s) loaded from /res/keys
Verifying update package...
I:verify_file returned 1
E:signature verification failed
Installation aborted.
My ROM is signed with test-key same as the one in /res/keys, I can't understand why the error..
does your recovery support turning off sig check? if not you may need to find a new method of signing
Sent from my HTC Vision using xda premium
demkantor said:
does your recovery support turning off sig check? if not you may need to find a new method of signing
Sent from my HTC Vision using xda premium
Click to expand...
Click to collapse
I'm using CWM 5.0.2.8; from the menu I can disable the signature verification but can't do it via cmd line.
I'm wondering why I can't flash my ROM even if /res/keys and CERT.RSA using the same key?! I'm missing something?

[q] removing apps2sd and integrating data2ext [helpers will be credited]

So I want to incorporate data2ext into my rom instead of apps2sd. I need devs/helpers with 1 or both of my problems:
1. removing apps2sd
2. integrating/getting data2ext to work on my rom
Any help that gets me closer to acheiving either one of those goals will get you credit in helping with the creation of my rom in not only the first post but i'll announce that you/you all helped me get data2ext/apps2sd removed in the thread as well.
again all help appreciated and welcome thanks everyone
I uploaded some zips of a collection of files I found involving data2ext. I don't know what to do with them as far as adding them to my rom to enable data2ext by default. Again any help appreciated
Look in /system/etc/init.d for any scripts that may be do do with apps2ext and remove them
As for data2ext, there are 2 ways. You could simply copy the script I wrote to /system/etc/init.d/ and make sure the file /data/local/dodata2ext exists on first boot (put it in your update.zip). This would give the option to disable it if they so desire.
The other option would be to copy the bit after "[ -f $FLAG ] || exit 0" into your own script in /system/etc/init.d and ensure that's executable. This would make it run on every boot, whether the user likes it or not. If you go down this route you'll need to check for syntax errors and the like.
Hope this helps, I'll keep an eye on this thread for a bit so just shout if you need more help
TheGrammarFreak said:
Look in /system/etc/init.d for any scripts that may be do do with apps2ext and remove them
As for data2ext, there are 2 ways. You could simply copy the script I wrote to /system/etc/init.d/ and make sure the file /data/local/dodata2ext exists on first boot (put it in your update.zip). This would give the option to disable it if they so desire.
The other option would be to copy the bit after "[ -f $FLAG ] || exit 0" into your own script in /system/etc/init.d and ensure that's executable. This would make it run on every boot, whether the user likes it or not. If you go down this route you'll need to check for syntax errors and the like.
Hope this helps, I'll keep an eye on this thread for a bit so just shout if you need more help
Click to expand...
Click to collapse
Do I also remove apps2sd files? Also which of those data2ext files.do I need for data2ext to work?
Sent from my DROIDX using XDA Premium App
kifno said:
Do I also remove apps2sd files? Also which of those data2ext files.do I need for data2ext to work?
Sent from my DROIDX using XDA Premium App
Click to expand...
Click to collapse
Well, all the scripts do the same thing, pretty much. So whichever you like I suppose. And ye, you probably want to remove all the files to do with a2sd
TheGrammarFreak said:
Well, all the scripts do the same thing, pretty much. So whichever you like I suppose. And ye, you probably want to remove all the files to do with a2sd
Click to expand...
Click to collapse
I removed all the files that are involved with app2sd and I couldn't get past splash screen
Sent from my DROIDX using XDA Premium App
Also which of those data2ext files do I need? Tune2fs, etc?
Sent from my DROIDX using XDA Premium App
so i added mke2fs to the /system/bin and the i added it to the tools by syslinking it and then i removed apps2sd from the rom and added your 40data2ext (from the v7)
rezipped the rom resigned flashed booted etc etc
then i did the following
kifno said:
couldn't start data2ext
Code:
/ # mke2fs -m0 -b4096 /dev/block/mmcblk0p2
mke2fs -m0 -b4096 /dev/block/mmcblk0p2
mke2fs 1.41.6 (30-May-2009)
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
124928 inodes, 124905 blocks
0 blocks (0.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=130023424
4 block groups
32768 blocks per group, 32768 fragments per group
31232 inodes per group
Superblock backups stored on blocks:
32768, 98304
Writing inode tables: done
Writing superblocks and filesystem accounting information: done
This filesystem will be automatically checked every 32 mounts or
180 days, whichever comes first. Use tune2fs -c or -i to override.
/ # data2ext --enable
data2ext --enable
/sbin/sh: data2ext: not found
/ # data2ext --enable
data2ext --enable
/sbin/sh: data2ext: not found
/ #
C:\Users\Queen35>adb shell
sh-3.2# data2ext --enable
data2ext --enable
/system/xbin/data2ext: line 6: basename: command not found
sh-3.2#
couldn't start data2extv7 i was so close to doing it too!!! lol
i added the files to the zip, removed apps2sd, then i did the following above
so close can you help out?
Click to expand...
Click to collapse
any idea grammarfreaK? btw thanks for all the help you're giving me
ik it should work on the hero b/c even though this is a sense 2.1 rom it worked on gingerbread for the hero...so i know there had to be a way to get data2ext to work on the sense
I'm sure it will work. It's late for me though, I'll help in the morning
twitter.com/TheGrammarFreak
TheGrammarFreak said:
I'm sure it will work. It's late for me though, I'll help in the morning
twitter.com/TheGrammarFreak
Click to expand...
Click to collapse
looking forward to the morning then
as of now nfx provided me with a a2sd free version base for my rom so now i don't have to worry about a2sd problems just intergrating this script by default into my rom and making sure it works
Ho ho ho.
First things first: I'm sorry for being unhelpful, or not being quick with help.
Moving on!
You need to put my script in your update.zip in the directory /system/etc/init.d and you need to set your updater script to symlink from /system/bin to the script. I can't remember how that works, but looking into the updater script in my flashable zip will shed light on the situation.
The next step is thus: put a script in your update.zip (probably under tmp) which executes this command "touch /data/local/dodata2ext". You'll need to make the updater script mount /data. Also in your update script you'll need the "run_program()" command. In the parenthesis you need the path to the script (I think). That will set the script up to run on first boot.
twitter.com/TheGrammarFreak
Not at my desktop now but once I am if I have questions later then I'll post here.
Sent from my DROIDX using XDA Premium App
TheGrammarFreak said:
Ho ho ho.
First things first: I'm sorry for being unhelpful, or not being quick with help.
Moving on!
You need to put my script in your update.zip in the directory /system/etc/init.d and you need to set your updater script to symlink from /system/bin to the script. I can't remember how that works, but looking into the updater script in my flashable zip will shed light on the situation.
The next step is thus: put a script in your update.zip (probably under tmp) which executes this command "touch /data/local/dodata2ext". You'll need to make the updater script mount /data. Also in your update script you'll need the "run_program()" command. In the parenthesis you need the path to the script (I think). That will set the script up to run on first boot.
twitter.com/TheGrammarFreak
Click to expand...
Click to collapse
no problem with the speed of your help bro just glad you're helping me out
now on to the problems/questions.... would this be the correct way to edit the update script?
for the bold red part would i make a blank file then add touch /data/local/dodata2ext then save it as dodata2ext (without an file extention)? then where would i put that file after wards? also you said i need to make it mount data where in the updater-script would i make it do that? i didn't add it to the install data2ext section of the updater-script b/c the above commands already mount it and never unmounted it.....also if you see the bold red size 3 sections of the updater-script code, below did i make the correct changes to the updater-script? those are my questions as of now hopefully i got something right and again thanks for the help
Code:
#
ui_print("Istalling [Espresso 2.1]");
ui_print("Cattui Varietal v2 (3-13-11)");
#
show_progress(0.1, 0);
ui_print("Deleting dalvik and boot cache");
delete_recursive("/data/dalvik-cache/");
delete_recursive("/data/boot-cache/");
ui_print("Wiping /system");
format("MTD", "system");
delete("/system/xbin/busybox");
delete_recursive("/system/xbin");
mount("MTD", "system", "/system");
ui_print("Copying /system");
package_extract_dir("system", "/system");
ui_print("Setting symlink's");
symlink("toolbox", "/system/bin/cat");
symlink("toolbox", "/system/bin/chmod");
symlink("toolbox", "/system/bin/chown");
symlink("toolbox", "/system/bin/cmp");
symlink("toolbox", "/system/bin/date");
symlink("toolbox", "/system/bin/dd");
symlink("toolbox", "/system/bin/df");
symlink("toolbox", "/system/bin/dmesg");
symlink("dumpstate", "/system/bin/dumpcrash");
symlink("toolbox", "/system/bin/getevent");
symlink("toolbox", "/system/bin/getprop");
symlink("toolbox", "/system/bin/hd");
symlink("toolbox", "/system/bin/id");
symlink("toolbox", "/system/bin/ifconfig");
symlink("toolbox", "/system/bin/iftop");
symlink("toolbox", "/system/bin/insmod");
symlink("toolbox", "/system/bin/ioctl");
symlink("toolbox", "/system/bin/kill");
symlink("toolbox", "/system/bin/ln");
symlink("toolbox", "/system/bin/log");
symlink("toolbox", "/system/bin/ls");
symlink("toolbox", "/system/bin/lsmod");
symlink("toolbox", "/system/bin/mkdir");
symlink("toolbox", "/system/bin/mke2fs");
symlink("toolbox", "/system/bin/mount");
symlink("toolbox", "/system/bin/mv");
symlink("toolbox", "/system/bin/netstat");
symlink("toolbox", "/system/bin/newfs_msdos");
symlink("toolbox", "/system/bin/notify");
symlink("toolbox", "/system/bin/printenv");
symlink("toolbox", "/system/bin/ps");
symlink("toolbox", "/system/bin/renice");
symlink("toolbox", "/system/bin/rm");
symlink("toolbox", "/system/bin/rmdir");
symlink("toolbox", "/system/bin/rmmod");
symlink("toolbox", "/system/bin/route");
symlink("toolbox", "/system/bin/schedtop");
symlink("toolbox", "/system/bin/sendevent");
symlink("toolbox", "/system/bin/setconsole");
symlink("toolbox", "/system/bin/setprop");
symlink("toolbox", "/system/bin/sleep");
symlink("toolbox", "/system/bin/smd");
symlink("toolbox", "/system/bin/start");
symlink("toolbox", "/system/bin/stop");
symlink("toolbox", "/system/bin/sync");
symlink("toolbox", "/system/bin/top");
symlink("toolbox", "/system/bin/umount");
symlink("toolbox", "/system/bin/vmstat");
symlink("toolbox", "/system/bin/watchprops");
symlink("toolbox", "/system/bin/wipe");
[B][COLOR="Red"][SIZE="3"]symlink ("/system/etc/init.d/40data2ext", "/system/xbin/data2ext");[/SIZE][/COLOR][/B]
ui_print("Setting permissions and tweaks");
set_perm_recursive(0, 0, 0755, 0644, "/system/");
set_perm_recursive(0, 2000, 0755, 0755, "/system/bin");
set_perm(0, 3003, 06755, "/system/bin/ip");
set_perm(0, 3003, 02750, "/system/bin/netcfg");
set_perm(0, 3004, 02755, "/system/bin/ping");
set_perm_recursive(1002, 1002, 0755, 0440, "/system/etc/bluez");
set_perm(0, 0, 0755, "/system/etc/bluez");
set_perm(1002, 1002, 0440, "/system/etc/dbus.conf");
set_perm(1014, 2000, 0550, "/system/etc/dhcpcd/dhcpcd-run-hooks");
set_perm(0, 2000, 0550, "/system/etc/init.goldfish.sh");
set_perm(0, 0, 04755, "/system/bin/bash");
symlink("/system/bin/bash", "/system/bin/sh");
set_perm_recursive(0, 0, 0777, 0777, "/system/etc/init.d");
set_perm(0, 0, 0777, "/system/etc/init.d/00banner");
set_perm(0, 0, 0777, "/system/etc/init.d/01sysctl");
set_perm(0, 0, 0777, "/system/etc/init.d/02firstboot");
set_perm(0, 0, 0777, "/system/etc/init.d/05dalvik2cache");
set_perm(0, 0, 0777, "/system/etc/init.d/06memtweak");
set_perm_recursive(0, 2000, 0755, 0750, "/system/etc/init.d/06tweaks");
set_perm(0, 0, 0777, "/system/etc/init.d/40data2ext");
set_perm(0, 0, 0777, "/system/etc/init.d/99complete");
set_perm(0, 0, 0777, "/system/bin/sysinit");
set_perm(0, 0, 06755, "/system/bin/su");
set_perm(0, 0, 04755, "/system/xbin/busybox");
symlink("/system/bin/su", "/system/xbin/su");
symlink("/system/etc/init.d/40data2ext", "/system/xbin/data2ext");
set_perm_recursive(0, 0, 0755, 0555, "/system/etc/ppp");
show_progress(0.1, 10);
show_progress(0.2, 0);
ui_print("Installing Busybox");
run_program("installbusybox");
run_program("check_data_app");
ui_print("Copying /data");
mount("MTD", "userdata", "/data");
package_extract_dir("data", "/data");
set_perm_recursive(1000, 1000, 0771, 0644, "/data/app");
[B][COLOR="red"][SIZE="3"]ui_print("Installing data2ext2");
run_program("/system/etc/init.d/40data2ext");[/SIZE][/COLOR][/B]
ui_print("Writing boot.img");
package_extract_file("boot.img","/tmp/boot.img");
write_raw_image("/tmp/boot.img", "boot");
delete("/tmp/boot.img");
show_progress(0.2, 10);
ui_print("Your Espresso is Ready!");
unmount("/system");
unmount("/data");
2 questions
Hi All:
I apologize in advance if I missed something. I've read all of the posts to your other thread on this, but still don't understand the following two things:
1) Now that I have data2ext up and running on my heroc (downloaded the EXT4 version from your other thread today), will wiping my dalvik cache really erase my apps? Or was that a problem only in your initial release?
2) Does it make a difference whether I install apps on my SD card or internally now?
Thanks for all your hard work!
Jim
Oh also BTW I'm trying to make data2ext enabled permanently by default Rom install (no toogling on or off....just always data2ext enabled).....that way you'll know what my goal is
Sent from my DROIDX using XDA Premium App
Oh! Permanently on? That makes life easier then.
Code:
#!/system/bin/sh
PATH=/system/xbin:/system/bin
PROP=cm.data2ext.active
echo "Initiating Data2EXT..."
PARTNO=2
EXTPART=mmcblk0p${PARTNO}
EXTDEV=/dev/block/${EXTPART}
DATADIR=/mnt/asec/data
COUNT=0
DOT=.
if mountpoint sd-ext; then
umount /sd-ext
fi
echo "Waiting for SD card to settle..."
while [ ! -h /sys/block/mmcblk0 ]; do
echo $DOT
DOT=${DOT}.
sleep 1
COUNT=$((COUNT+1))
if [ "$COUNT" -ge 10 ]; then
echo "No SD card present or SD card too slow, aborting..."
exit 1
fi
done
if [ -d "/sys/block/mmcblk0/${EXTPART}" ]; then
if [ ! -b "$EXTDEV" ]; then
echo "Device file does not exist, creating it..."
mknod $EXTDEV b 179 $PARTNO
chmod 600 $EXTDEV
fi
echo "Executing file system check..."
if e2fsck -pf $EXTDEV || e2fsck -pf $EXTDEV; then
echo "Mounting ${EXTDEV} to /data..."
else
echo "Partition check failed, manual intervention required, aborting..."
exit 1
fi
[ -d "$DATADIR" ] || mkdir $DATADIR
mount --move /data $DATADIR
if mount -t ext2 -o nosuid,nodev,noatime,nodiratime $EXTDEV /data; then
echo "EXT partition mounted..."
echo 128 > /sys/devices/virtual/bdi/179:0/read_ahead_kb
else
echo "Mount failed, reverting to normal mode..."
mount --move $DATADIR /data
exit 1
fi
if [ ! -f /data/.data2ext ]; then
echo "First time initiation, copying files to EXT partition..."
chown 1000.1000 /data
chmod 775 /data
cd $DATADIR
cp -a `ls -A|egrep -v '^misc$|^system$|^property$|^local$|^lost\+found$|^data$'` /data/
for DIR in misc system property local data; do
ln -s ${DATADIR}/${DIR} /data/${DIR}
done
touch /data/.data2ext
fi
echo "Data2EXT enabled..."
setprop $PROP 1
else
echo "No partition for Data2EXT available, aborting..."
fi
sync
Stick that in a file named "40data2ext" and put that in /system/etc/init.d
Sorted.
Sorry it's taken so long to figure this out, I kinda assumed you'd want to default to having it on but give the choice of turning it off.
One more thing: are you wanting this to kick ass in benchamarks? If so, use this version:
Code:
#!/system/bin/sh
PATH=/system/xbin:/system/bin
PROP=cm.data2ext.active
echo "Initiating Data2EXT..."
PARTNO=2
EXTPART=mmcblk0p${PARTNO}
EXTDEV=/dev/block/${EXTPART}
DATADIR=/mnt/asec/data
COUNT=0
DOT=.
if mountpoint sd-ext; then
umount /sd-ext
fi
echo "Waiting for SD card to settle..."
while [ ! -h /sys/block/mmcblk0 ]; do
echo $DOT
DOT=${DOT}.
sleep 1
COUNT=$((COUNT+1))
if [ "$COUNT" -ge 10 ]; then
echo "No SD card present or SD card too slow, aborting..."
exit 1
fi
done
if [ -d "/sys/block/mmcblk0/${EXTPART}" ]; then
if [ ! -b "$EXTDEV" ]; then
echo "Device file does not exist, creating it..."
mknod $EXTDEV b 179 $PARTNO
chmod 600 $EXTDEV
fi
echo "Executing file system check..."
if e2fsck -pf $EXTDEV || e2fsck -pf $EXTDEV; then
echo "Mounting ${EXTDEV} to /data..."
else
echo "Partition check failed, manual intervention required, aborting..."
exit 1
fi
[ -d "$DATADIR" ] || mkdir $DATADIR
mount --move /data $DATADIR
if mount -t ext2 -o nosuid,nodev,noatime,nodiratime $EXTDEV /data; then
echo "EXT partition mounted..."
echo 128 > /sys/devices/virtual/bdi/179:0/read_ahead_kb
else
echo "Mount failed, reverting to normal mode..."
mount --move $DATADIR /data
exit 1
fi
if [ ! -f /data/.data2ext ]; then
echo "First time initiation, copying files to EXT partition..."
chown 1000.1000 /data
chmod 775 /data
cd $DATADIR
cp -a `ls -A|egrep -v '^misc$|^system$|^property$|^local$|^lost\+found$'` /data/
for DIR in misc system property local; do
ln -s ${DATADIR}/${DIR} /data/${DIR}
done
touch /data/.data2ext
fi
echo "Data2EXT enabled..."
setprop $PROP 1
else
echo "No partition for Data2EXT available, aborting..."
fi
sync
[email protected] said:
Hi All:
I apologize in advance if I missed something. I've read all of the posts to your other thread on this, but still don't understand the following two things:
1) Now that I have data2ext up and running on my heroc (downloaded the EXT4 version from your other thread today), will wiping my dalvik cache really erase my apps? Or was that a problem only in your initial release?
2) Does it make a difference whether I install apps on my SD card or internally now?
Thanks for all your hard work!
Jim
Click to expand...
Click to collapse
I hate double posting, but I'm gonna do it anyway
1) a bug only present in my initial release. Wiping dalvik-cache from recovery won't delete your apps, but I'm not sure that it'll properly wipe it with data2ext enabled (dalvik cache has moved, I'm not sure it CWM checks the ext partition or not)
2) No
----------------
@kifno: I'm kicking around in Google talk atm, if you want "real time" help. Same username
TheGrammarFreak said:
@kifno: I'm kicking around in Google talk atm, if you want "real time" help. Same username
Click to expand...
Click to collapse
Pm me your Google talk name....so we can discuss this faster and hopefully finish this tonight....
I still have more questions
Sent from my DROIDX using XDA Premium App
TheGrammarFreak said:
I hate double posting, but I'm gonna do it anyway
1) a bug only present in my initial release. Wiping dalvik-cache from recovery won't delete your apps, but I'm not sure that it'll properly wipe it with data2ext enabled (dalvik cache has moved, I'm not sure it CWM checks the ext partition or not)
2) No
Click to expand...
Click to collapse
Thanks, I really appreciate it.
Yrs,
Jim

[DEV RESOURCES] Eternity Project CWM Kernel Flash with AUTO Tegrapart recognizer

Welcome to the Eternity Project's Olympus CWM Kernel Flasher with AUTO Tegrapart recognizer Thread!
What's it?
It is inspired by the idea that koush had with AnyKernel. It is intended for use only for devs. It will copy the CMDLINE of your device and assemble a boot.img with your own cmdline, so you can use the same package for deploying kernels to all different tegrapart devices.
What will it do and how much time will it take
It will take the current device's cmdline and assemble the bootimg. The required files has to be named "eternityImage" (kernel image) and "eternityrd.gz" (ramdisk/initrd).
The process of taking the cmdline and assembling the new bootimg will be done almost instantly. It should take like 0.2 seconds.
What I need
- A PC
- A kernel zImage
- A RamDisk
- Eventually a WiFi module
- A BRAIN
What does it contain:
- Scripts and files that needs to be executed
- Nothing else.
The funny part
Those are the scripts used by the KernelFlasher package. You can modify them (especially the update-script) as you want. Just remember to add credits
Creating the boot image:
Code:
#!/sbin/sh
echo \#!/sbin/sh > /tmp/createnewboot.sh
echo /tmp/mkbootimg --kernel /tmp/eternityImage --ramdisk /tmp/eternityrd.gz --cmdline \"$(cat /proc/cmdline)\" --output /tmp/eternityprj.img >> /tmp/createnewboot.sh
chmod 777 /tmp/createnewboot.sh
/tmp/createnewboot.sh
return $?
Recovery update-script
Code:
ui_print(" ");
ui_print("Eternity Project for Motorola Olympus: ATRIX");
ui_print(" ");
ui_print(" ll ll ll ll ll");
ui_print("E ll ll ll ll ll");
ui_print("T ll ll ll ll ll");
ui_print("E oooooooooooooo ");
ui_print("R lllllloooooooooooooollllll");
ui_print("N lllllloooooooooooooollllll");
ui_print("I oooooAP20ooooo ");
ui_print("T lllllloooooooooooooollllll");
ui_print("Y lllllloooooooooooooollllll");
ui_print("P oooooooooooooo ");
ui_print("R ll ll ll ll ll");
ui_print("J ll ll ll ll ll");
ui_print(" ll ll ll ll ll");
ui_print(" ");
ui_print("Update contains: Kernel+Modules");
ui_print("Developed by kholk");
set_progress(1.000000);
ui_print("Converting SYSTEM to EXT4");
run_program("/sbin/tune2fs" , "-O" , "extents,uninit_bg,dir_index" , "/dev/block/mmcblk0p12");
ui_print("Running FSCK...");
run_program("/sbin/e2fsck" , "-pf" , "/dev/block/mmcblk0p12");
ui_print("Extracting Modules...");
mount("ext4" , "EMMC" , "/dev/block/mmcblk0p12" , "/system");
package_extract_dir("system", "/system");
unmount("/system");
ui_print("Extracting Kernel Files...");
package_extract_dir("kernel", "/tmp");
set_perm(0, 0, 0777, "/tmp/mkbootimg.sh");
set_perm(0, 0, 0777, "/tmp/mkbootimg");
ui_print("Detecting your ATRIX CMDLINE...");
run_program("/tmp/mkbootimg.sh");
ui_print("Detected! Custom EternityProject Kernel created.");
ui_print("Erasing Boot Partition...");
run_program("/sbin/busybox", "dd", "if=/dev/zero", "of=/dev/block/mmcblk0p11");
ui_print("Writing Boot Image...");
run_program("/sbin/busybox", "dd", "if=/tmp/eternityprj.img", "of=/dev/block/mmcblk0p11");
ui_print("All done.");
ui_print("Remember to check for updates frequently!");
ui_print("Enjoy!");
Download
MegaUpload
The Eternity Project Developer,
-kholk
Cool! Now to find out what it does...
wirednix said:
Cool! Now to find out what it does...
Click to expand...
Click to collapse
According to the Eternity Project Kernel thread this appears to be an automated way to determine the correct kernel for AT&T or international, or other Tegra options. It is intended so that devs can release a single package and take user error out of the equation for some releases.
wirednix said:
Cool! Now to find out what it does...
Click to expand...
Click to collapse
kholk said:
What will it do and how much time will it take
It will take the current device's cmdline and assemble the bootimg. The required files has to be named "eternityImage" (kernel image) and "eternityrd.gz" (ramdisk/initrd).
The process of taking the cmdline and assembling the new bootimg will be done almost instantly. It should take like 0.2 seconds.
Click to expand...
Click to collapse
Emh...........

Problem updating from one CyanogenMod nightly build to another.

Hi,
I'm currently running a nightly build of CyanogenMod 9 (9-20120618-NIGHTLY-p3) on my Galaxy Tab 10.1v, and I am trying to update to a newer build.
I've downloaded '9-29120712-NIGHTLY-p3' and saved the zip on my SD card. I reboot into clockwork mod recovery and, after clearing the cache, I try to apply the update zip. I also tried installing it using the ROM Manager, but it still fails. I don't understand why it won't work. Please help!!!!
This is log:
---------------
Starting recovery on Sun Jul 14 05:39:43 2019
framebuffer: fd 4 (1280 x 800)
ClockworkMod Recovery v5.8.3.1
recovery filesystem table
=========================
0 /tmp ramdisk (null) (null) 0
1 /efs ext4 /dev/block/mmcblk0p1 (null) 0
2 /recovery emmc /dev/block/mmcblk0p2 (null) 0
3 /boot emmc /dev/block/mmcblk0p3 (null) 0
4 /system ext4 /dev/block/mmcblk0p4 (null) 0
5 /cache ext4 /dev/block/mmcblk0p5 (null) 0
6 /data ext4 /dev/block/mmcblk0p8 (null) 0
7 /preload ext4 /dev/block/mmcblk0p10 (null) 0
W:Unable to get recovery.fstab info for /datadata during fstab generation!
W:Unable to get recovery.fstab info for /emmc during fstab generation!
W:Unable to get recovery.fstab info for /sdcard during fstab generation!
W:Unable to get recovery.fstab info for /sd-ext during fstab generation!
I:Completed outputting fstab.
Irocessing arguments.
I:Checking arguments.
I:device_recovery_start()
Command: "/sbin/recovery"
ro.secure=1
ro.allow.mock.location=0
ro.debuggable=1
persist.sys.usb.config=adb
ro.build.id=IMM76D
ro.build.display.id=IMM76D
ro.build.version.incremental=eng.koush.20120428.005633
ro.build.version.sdk=15
ro.build.version.codename=REL
ro.build.version.release=4.0.4
ro.build.date=Sat Apr 28 00:57:05 PDT 2012
ro.build.date.utc=0
ro.build.type=userdebug
ro.build.user=koush
ro.build.host=Koushik-Lion.local
ro.build.tags=test-keys
ro.product.model=GT-P7510
ro.product.brand=samsung
ro.product.name=GT-P7510
ro.product.device=p4wifi
ro.product.board=p3
ro.product.cpu.abi=armeabi-v7a
ro.product.cpu.abi2=armeabi
ro.product.manufacturer=samsung
ro.product.locale.language=en
ro.product.locale.region=US
ro.wifi.channels=
ro.board.platform=tegra
ro.build.product=p4wifi
ro.build.description=GT-P7510-user 3.2 HTJ85B UEKMM release-keys
ro.build.fingerprint=samsung/GT-P7510/GT-P7510:3.2/HTJ85B/UEKMM:user/release-keys
ro.build.characteristics=tablet,nosdcard
ro.cm.device=p4wifi
ro.opengles.version=131072
wifi.interface=eth0
rild.libpath=/system/lib/libsec-ril-apalone.so
rild.libargs=-d /dev/ttys0
keyguard.no_require_sim=true
ro.com.android.dateformat=MM-dd-yyyy
wifi.supplicant_scan_interval=15
dalvik.vm.heapstartsize=5m
dalvik.vm.heapgrowthlimit=48m
dalvik.vm.heapsize=256m
ro.rommanager.developerid=cyanogenmod
ro.url.legal=http://www.google.com/intl/%s/mobile/android/basic/phone-legal.html
ro.url.legal.android_privacy=http://www.google.com/intl/%s/mobile/android/basic/privacy.html
ro.com.google.clientidbase=android-google
ro.com.android.wifi-watchlist=GoogleGuest
ro.setupwizard.enterprise_mode=1
ro.com.android.dataroaming=false
ro.cm.version=9.0.0-RC0-p4wifi-UNOFFICIAL
ro.modversion=9.0.0-RC0-p4wifi-UNOFFICIAL
ro.config.ringtone=CyanTone.ogg
ro.config.notification_sound=CyanMessage.ogg
ro.config.alarm_alert=CyanAlarm.ogg
dalvik.vm.lockprof.threshold=500
dalvik.vm.dexopt-flags=m=y
net.bt.name=Android
net.change=net.bt.name
dalvik.vm.stack-trace-file=/data/anr/traces.txt
ro.factorytest=0
ro.serialno=2884143423F4557
ro.bootmode=unknown
ro.baseband=207_DB120215
ro.carrier=unknown
ro.bootloader=P7100BUKC8
ro.hardware=p3
ro.revision=14
ro.emmc=0
init.svc.recovery=running
init.svc.adbd=stopping
sys.usb.state=adb
service.adb.root=1
ro.cwm.prefer_tar=true
I:Checking for extendedcommand...
I:Running extendedcommand...
Waiting for SD Card to mount (20s)
I:using /data/media, no /sdcard found.
SD Card mounted...
Verifying SD Card marker...
a684e0f33ac9a63ea2f20f2798d687fa
I:Running script:
I:
ui_print("ROM Manager Version 5.0.0.8");
ui_print("July 13, 2012");
ui_print("Preparing to install ROM...");
run_program("/cache/dowipedalvikcache.sh");
assert(install_zip("/sdcard/Download/cm-9-20120712-NIGHTLY-p3.zip"));
parse returned 0; 0 errors encountered
ROM Manager Version 5.0.0.8
July 13, 2012
Preparing to install ROM...
about to run program [/cache/dowipedalvikcache.sh] with 1 args
mount: mounting /dev/block/mmcblk0p8 on /data failed: Device or resource busy
mount: mounting /dev/block/mmcblk0p5 on /cache failed: Device or resource busy
mount: can't find /sd-ext in /etc/fstab
umount: can't umount /sd-ext: Invalid argument
run_program: child exited with status 1
-- Installing: /sdcard/Download/cm-9-20120712-NIGHTLY-p3.zip
Finding update package...
I:Update location: /sdcard/Download/cm-9-20120712-NIGHTLY-p3.zip
I:using /data/media, no /sdcard found.
Opening update package...
Installing update...
script aborted: assert failed: getprop("ro.product.device") == "p3" || getprop("ro.build.product") == "p3"
assert failed: getprop("ro.product.device") == "p3" || getprop("ro.build.product") == "p3"
E:Error in /sdcard/Download/cm-9-20120712-NIGHTLY-p3.zip
(Status 7)
Installation aborted.
result was NULL, message is: assert failed: install_zip("/sdcard/Download/cm-9-20120712-NIGHTLY-p3.zip")
I:using /data/media, no /sdcard found.
OH YES! Don't worry, I figured it out. I needed to use the Recovery from here: http://droidbasement.com/db-blog/?p=2487, flashed with Odin.
use flash .zip from sdcard instead
BTW you can always flash it using the option "flash .zip from sdcard " insstead.It has never given me problems so far
p.s. I am a p4 user.

4.4.2 device fails OTA update everytime

This device was originally 4.4.3 stock when I got it from AT&T but after messing with it and it being my first android device, I managed to softbrick it. I got the phone working again following this thread: http://forum.xda-developers.com/showpost.php?p=53454972&postcount=1
Now my problem is that no matter what I do I can't get the OTA update to work. Its been like this since the softbrick but I never really cared until 5.0 came out. What happens is the update downloads, reboots to install, stops at 32%, retries, and stops again at 32%. I've tried doing a fresh odin install of G900AUCU1ANCE to remove root and what aver else but it never works. always stops at 32%. The only thing I can think would be the issue is that the bootloader is still 4.4.3 or G900AUCU2AND3 but I don't know how i would go about fixing that. Any help would be appreciated.
I have grabbed the log file from the last failed update, the error is consistent with all the other failed updates on this device.
Code:
__bionic_open_tzdata: couldn't find any tzdata when looking for localtime!
__bionic_open_tzdata: couldn't find any tzdata when looking for GMT!
__bionic_open_tzdata: couldn't find any tzdata when looking for posixrules!
Starting recovery on Tue Apr 29 09:15:25 2014
[collecting table information]
recovery filesystem table
=========================
0 /boot emmc /dev/block/platform/msm_sdcc.1/by-name/boot 0
1 /recovery emmc /dev/block/platform/msm_sdcc.1/by-name/recovery 0
2 /system ext4 /dev/block/platform/msm_sdcc.1/by-name/system 0
3 /data ext4 /dev/block/platform/msm_sdcc.1/by-name/userdata -16384
4 /cache ext4 /dev/block/platform/msm_sdcc.1/by-name/cache 0
5 /sdcard vfat /dev/block/mmcblk1p1 0
6 /efs ext4 /dev/block/platform/msm_sdcc.1/by-name/efs 0
7 /modem emmc /dev/block/platform/msm_sdcc.1/by-name/apnhlos 0
8 /mdm emmc /dev/block/platform/msm_sdcc.1/by-name/modem 0
9 /tmp ramdisk ramdisk 0
stat() of /dev/block/platform/msm_sdcc.1/by-name/cache succeeded on try 1
[initialize init-recovery]
#mount /system
stat() of /dev/block/platform/msm_sdcc.1/by-name/system succeeded on try 1
/system sucessfully mounted
#unmount /cache
/cache sucessfully unmounted
#exec -f /system/bin/e2fsck -v -y /dev/block/platform/msm_sdcc.1/by-name/cache
e2fsck 1.42.6 (21-Sep-2012)
/dev/block/platform/msm_sdcc.1/by-name/cache: clean, 24/32000 files, 45708/128000 blocks
#mount -f /cache
stat() of /dev/block/platform/msm_sdcc.1/by-name/cache succeeded on try 1
/cache sucessfully mounted
#cat -f --no-exist /cache/recovery/command > /cache/recovery/last_command
existed '/cache/recovery/last_command'
#ls /cache/recovery/
-rw-r--r-- root root 80 2015-04-19 06:08 last_command
-rw-r--r-- root root 30 2015-04-19 06:08 last_install
-rw-r--r-- system system 285043 2015-04-19 06:08 last_recovery
-rw-r--r-- system system 0 2015-04-19 06:08 last_last_kernel
-rw-r--r-- system system 131118 2015-04-19 06:08 last_kernel
-rw------- system system 77 2015-04-19 06:21 command
-rw-r----- root root 22251 2015-04-19 06:08 last_log.1
#mount /data
stat() of /dev/block/platform/msm_sdcc.1/by-name/userdata succeeded on try 1
/data sucessfully mounted
#fcut --limited-file-size=256k -f /data/log/recovery_log.txt /tmp/recovery_backup.txt
/system sucessfully unmounted
/data sucessfully unmounted
running init-recovery time : 0.085s
[collecting command]
I:Got arguments from /cache/recovery/command
ro.boot.boot_recovery=1
locale is [en_US]
[initialize ui and event]
load : /res/images/font.png
overscan percent : 0
initalized graphics for qualcomm..
initalized for hlte
defined msm8974
pixel format -> GGL_PIXEL_FORMAT_RGBX_8888
framebuffer: fd 4 (1080 x 1920)
[screen info]
xres = 1080, yres = 1920, xres_virtual = 1080,yres_virtual = 3840
bits_per_pixel = 32
height = 115, width = 65
id = mdssfb_90000
smem_start = 0x7df00000 (len 32505856)
line_length = 4352
mmio_start = 0x00000000 (len 0)
accel = 0, visual = 2
not turn off screen
load : /res/images/icon_installing.png
load : /res/images/icon_error.png
load : /res/images/icon_att_fota_installing.png
load : /res/images/icon_att_fota_updating.png
load : /res/images/icon_att_fota_complete.png
load : /res/images/icon_att_fota_error.png
load : /res/images/icon_tmo_fota_complete.png
load : /res/images/icon_tmo_fota_error.png
load : /res/images/progress_empty.png
load : /res/images/progress_fill.png
load : /res/images/installing_text.xdpi.png
installing_text: en_US (481 x 57 @ 754)
load : /res/images/erasing_text.xdpi.png
erasing_text: en_US (165 x 57 @ 754)
load : /res/images/no_command_text.xdpi.png
no_command_text: en_US (260 x 57 @ 754)
load : /res/images/error_text.xdpi.png
error_text: en_US (98 x 57 @ 754)
load : /res/images/indeterminate01.png
load : /res/images/indeterminate02.png
load : /res/images/indeterminate03.png
load : /res/images/indeterminate04.png
load : /res/images/indeterminate05.png
load : /res/images/indeterminate06.png
load : /res/images/icon_installing_overlay01.png
load : /res/images/icon_installing_overlay02.png
load : /res/images/icon_installing_overlay03.png
load : /res/images/icon_installing_overlay04.png
load : /res/images/icon_installing_overlay05.png
load : /res/images/icon_installing_overlay06.png
load : /res/images/icon_installing_overlay07.png
Command: "/sbin/recovery" "--update_package=/cache/fota/2400258.cfg" "--carry_out=att_fota" "--locale=en_US"
previous_runs = 0
send_intent = (null)
update_package = /cache/fota/2400258.cfg
att_fota_update = 1
tmo_fota_update = 0
wipe_data = 0, wipe_cache = 0,wipe_sdcard = 0,delete_data = 0,wipe_data_crypto = 0,wipe_carrier = 0,no_wipe_custom=0
data_resizing = 0
wipe_hdd_secure = 0
show_ui_text = 0
update_factory_csc = 0, update_home_csc = 0, factory_fota = 0
carry_out = att_fota
tima_kernal_recovery = 0
[property list]
af.resampler.quality=4
mm.enable.qcom_parser=37491
mm.enable.smoothstreaming=true
ro.qc.sdk.izat.service_mask=0x0
ro.qc.sdk.izat.premium_enabled=0
ro.qc.sdk.audio.ssr=false
ro.qc.sdk.audio.fluencetype=none
ro.qc.sdk.camera.facialproc=false
ro.qc.sdk.sensors.gestures=true
ro.qc.sdk.gestures.camera=false
ro.sf.lcd_density=480
ro.adb.secure=1
ro.com.google.gmsversion=4.4.2_r1
ro.com.google.clientidbase=android-samsung
ro.com.google.clientidbase.am=android-att-us
ro.com.google.clientidbase.ms=android-att-us
ro.com.google.clientidbase.yt=android-samsung
ro.com.google.clientidbase.gmm=android-samsung
ro.com.android.dateformat=MM-dd-yyyy
ro.gps.agps_provider=1
ro.sec.fle.encryption=true
ro.boot.emmc=true
ro.boot.sec_atd.tty=/dev/ttyHSL0
ro.boot.baseband=msm
ro.boot.hardware=qcom
ro.boot.serialno=a13796ff
ro.boot.bootloader=G900AUCU2AND3
ro.boot.debug_level=0x4f4c
ro.boot.warranty_bit=0
ro.boot.boot_recovery=1
ro.boot.emmc_checksum=3
ro.boot.nvdata_backup=0
ro.boot.cp_debug_level=0x55FF
ro.data.large_tcp_window_size=true
ro.emmc=true
ro.hdmi.enable=true
ro.hwui.path_cache_size=8
ro.hwui.layer_cache_size=32
ro.hwui.shape_cache_size=2
ro.hwui.texture_cache_size=48
ro.hwui.gradient_cache_size=1
ro.hwui.drop_shadow_cache_size=4
ro.hwui.text_large_cache_width=2048
ro.hwui.text_small_cache_width=1024
ro.hwui.text_large_cache_height=1024
ro.hwui.text_small_cache_height=512
ro.wifi.channels=
ro.allow.mock.location=0
ro.board.platform=msm8974
ro.build.id=KOT49H
ro.build.PDA=G900AUCU1ANCE
ro.build.date=Fri Mar 14 13:15:55 KST 2014
ro.build.date.utc=1394770555
ro.build.host=SWDD5913
ro.build.knox.container=
ro.build.tags=release-keys
ro.build.type=user
ro.build.user=dpi
ro.build.scafe=capuccino
ro.build.scafe.shot=single
ro.build.scafe.size=short
ro.build.display.id=KOT49H.G900AUCU1ANCE
ro.build.product=klteatt
ro.build.selinux=1
ro.build.selinux.enforce=1
ro.build.version.sdk=19
ro.build.version.release=4.4.2
ro.build.version.codename=REL
ro.build.version.incremental=G900AUCU1ANCE
ro.build.changelist=964333
ro.build.hidden_ver=G900AUCU1ANCE
ro.build.description=klteuc-user 4.4.2 KOT49H G900AUCU1ANCE release-keys
ro.build.fingerprint=samsung/klteuc/klteatt:4.4.2/KOT49H/G900AUCU1ANCE:user/release-keys
ro.build.characteristics=att
ro.error.receiver.default=com.samsung.receiver.error
ro.hdcp2.rx=tz
ro.slook.ver=1
ro.config.knox=v30
ro.config.tima=1
ro.config.ringtone=ATT_Firefly_Default.ogg
ro.config.alarm_alert=Morning_flower.ogg
ro.config.timaversion=3.0
ro.config.notification_sound=Whisper.ogg
ro.config.rm_preload_enabled=0
ro.kernel.qemu=0
ro.secure=1
ro.secwvk=144
ro.vendor.extension_library=/vendor/lib/libqc-opt.so
ro.carrier=unknown
ro.product.cpu.abi=armeabi-v7a
ro.product.cpu.abi2=armeabi
ro.product.name=klteuc
ro.product.board=MSM8974
ro.product.brand=samsung
ro.product.model=SAMSUNG-SM-G900A
ro.product.device=klteatt
ro.product.locale.region=US
ro.product.locale.language=en
ro.product.manufacturer=samsung
ro.baseband=msm
ro.bootmode=unknown
ro.chipname=MSM8974PRO
ro.hardware=qcom
ro.opengles.version=196608
ro.qualcomm.cabl=1
ro.revision=14
ro.security.mdpp.ux=Enabled
ro.security.mdpp.ver=1.0
ro.security.mdpp.release=2
ro.security.vpnpp.ver=1.4
ro.security.vpnpp.release=1
ro.serialno=a13796ff
ro.bootloader=G900AUCU2AND3
ro.debuggable=0
ro.debug_level=0x4f4c
ro.factorytest=0
ro.setupwizard.mode=OPTIONAL
ro.product_ship=true
ro.warranty_bit=0
ro.boot_recovery=1
ro.emmc_checksum=3
ro.nvdata_backup=0
ro.securestorage.support=true
ro.cp_debug_level=0x55FF
ro.use_data_netmgrd=false
dev.pm.dyn_samplingrate=1
lpa.decode=false
lpa.use-stagefright=true
mmp.enable.3g2=true
net.bt.name=Android
net.change=net.bt.name
ril.subscription.types=NV,RUIM
init.svc.healthd=running
init.svc.ueventd=running
init.svc.recovery=running
qcom.hw.aac.encoder=true
rild.libargs=-d /dev/smd0
rild.libpath=/system/lib/libsec-ril.so
vidc.debug.level=1
debug.sf.hw=1
debug.egl.hw=1
debug.disable.bwc=1
debug.mdpcomp.logs=0
debug.composition.type=c2d
media.stagefright.enable-aac=true
media.stagefright.enable-qcp=true
media.stagefright.enable-http=true
media.stagefright.enable-scan=true
media.stagefright.enable-fma2dp=true
media.stagefright.enable-player=true
media.enable-commonsource=true
media.aac_51_output_enabled=true
dalvik.vm.heapsize=512m
dalvik.vm.heapmaxfree=8m
dalvik.vm.heapminfree=2m
dalvik.vm.heapstartsize=8m
dalvik.vm.heapgrowthlimit=128m
dalvik.vm.stack-trace-file=/data/anr/traces.txt
dalvik.vm.heaptargetutilization=0.75
tunnel.audio.encode=true
tunnel.decode=true
tunnel.audiovideo.decode=true
persist.cne.feature=0
persist.gps.qc_nlp_in_use=1
persist.hwc.mdpcomp.enable=true
persist.sys.usb.config=mtp
persist.sys.wfd.virtual=0
persist.sys.dalvik.vm.lib=libdvm.so
persist.sys.logkit.ctrlcode=0
persist.sys.whitelist=/system/etc/whitelist_appops.xml
persist.sys.storage_preload=1
persist.sys.strict_op_enable=false
persist.data.netmgrd.qos.enable=false
persist.demo.hdmirotationlock=false
persist.rild.nitz_plmn=
persist.rild.nitz_long_ons_0=
persist.rild.nitz_long_ons_1=
persist.rild.nitz_long_ons_2=
persist.rild.nitz_long_ons_3=
persist.rild.nitz_short_ons_0=
persist.rild.nitz_short_ons_1=
persist.rild.nitz_short_ons_2=
persist.rild.nitz_short_ons_3=
persist.audio.fluence.speaker=true
persist.audio.fluence.voicerec=false
persist.audio.fluence.voicecall=true
persist.debug.wfd.enable=1
persist.radio.add_power_save=1
persist.radio.apm_sim_not_pwdn=1
persist.timed.enable=true
persist.speaker.prot.enable=false
persist.security.ams.enforcing=1
persist.fuse_sdcard=true
keyguard.no_require_sim=true
security.mdpp=None
security.mdpp.result=None
telephony.lteOnCdmaDevice=0
DEVICE_PROVISIONED=1
stat() of /dev/block/platform/msm_sdcc.1/by-name/efs succeeded on try 1
[Installing package]
-- Installing package...
Finding update package...
I:Update location: /cache/fota/2400258.cfg
stat() of /dev/block/platform/msm_sdcc.1/by-name/system succeeded on try 1
MDFPP_I: Load MDFPP takes 53(ms).
stat() of /dev/block/platform/msm_sdcc.1/by-name/userdata succeeded on try 1
Opening update package...
MDFPP_I: Already /system mounted!
MDFPP_I: Skip MDFPP FOTA Verify(Not Enabled(4))
I:read key e=3 hash=20
I:read key e=3 hash=20
I:2 key(s) loaded from /res/keys
Verifying update package...
I:comment is 1796 bytes; signature 1778 bytes from end
signed len : 170283566
hash 20 :83 95 83 88 ef 26 ae 68 d1 1d e6 eb 42 0c 55 c1 1f 29 e0 db
I:whole-file signature verified against key 0
I:verify_file returned 0
MDFPP_I: 'Free MDFPP' takes 0(ms).
Installing update...
Register_libbootloader_updater Qcom msm8960
open failed '/sys/fs/scfs/system_type' - No such file or directory
îVerifying current system...
partition read matched size 55068416 sha 0634d70068cf5a37655f5f3812b38d073ee76e42
contents of partition "/dev/block/platform/msm_sdcc.1/by-name/apnhlos" didn't match EMMC:/dev/block/platform/msm_sdcc.1/by-name/apnhlos:7082752:f3dce373f42163b6daa188c28995b16c300c56bc:7082752:e97a3c2a11717d3008f57bcb10e5c892dcc8cb95
file "EMMC:/dev/block/platform/msm_sdcc.1/by-name/apnhlos:7082752:f3dce373f42163b6daa188c28995b16c300c56bc:7082752:e97a3c2a11717d3008f57bcb10e5c892dcc8cb95" doesn't have any of expected sha1 sums; checking cache
failed to stat "/cache/saved.file": No such file or directory
failed to load cache file
failed to stat "/data/.saved.file": No such file or directory
failed to load data file
script aborted: "EMMC:/dev/block/platform/msm_sdcc.1/by-name/apnhlos:7082752:f3dce373f42163b6daa188c28995b16c300c56bc:7082752:e97a3c2a11717d3008f57bcb10e5c892dcc8cb95" has unexpected contents.
"EMMC:/dev/block/platform/msm_sdcc.1/by-name/apnhlos:7082752:f3dce373f42163b6daa188c28995b16c300c56bc:7082752:e97a3c2a11717d3008f57bcb10e5c892dcc8cb95" has unexpected contents.
E :Error in /cache/fota/2400258.cfg
(Status 7)
E:Error in /cache/fota/2400258.cfg
(Status 7)
Finding update package...
I:Update location: /cache/fota/2400258.cfg
MDFPP_I: Already /system mounted!
MDFPP_I: Load MDFPP takes 4(ms).
stat() of /dev/block/platform/msm_sdcc.1/by-name/cache succeeded on try 1
stat() of /dev/block/platform/msm_sdcc.1/by-name/userdata succeeded on try 1
Opening update package...
MDFPP_I: Already /system mounted!
MDFPP_I: Skip MDFPP FOTA Verify(Not Enabled(4))
I:read key e=3 hash=20
I:read key e=3 hash=20
I:2 key(s) loaded from /res/keys
Verifying update package...
I:comment is 1796 bytes; signature 1778 bytes from end
signed len : 170283566
hash 20 :83 95 83 88 ef 26 ae 68 d1 1d e6 eb 42 0c 55 c1 1f 29 e0 db
I:whole-file signature verified against key 0
I:verify_file returned 0
MDFPP_I: 'Free MDFPP' takes 0(ms).
Installing update...
Register_libbootloader_updater Qcom msm8960
open failed '/sys/fs/scfs/system_type' - No such file or directory
îVerifying current system...
partition read matched size 55068416 sha 0634d70068cf5a37655f5f3812b38d073ee76e42
contents of partition "/dev/block/platform/msm_sdcc.1/by-name/apnhlos" didn't match EMMC:/dev/block/platform/msm_sdcc.1/by-name/apnhlos:7082752:f3dce373f42163b6daa188c28995b16c300c56bc:7082752:e97a3c2a11717d3008f57bcb10e5c892dcc8cb95
file "EMMC:/dev/block/platform/msm_sdcc.1/by-name/apnhlos:7082752:f3dce373f42163b6daa188c28995b16c300c56bc:7082752:e97a3c2a11717d3008f57bcb10e5c892dcc8cb95" doesn't have any of expected sha1 sums; checking cache
failed to stat "/cache/saved.file": No such file or directory
failed to load cache file
failed to stat "/data/.saved.file": No such file or directory
failed to load data file
script aborted: "EMMC:/dev/block/platform/msm_sdcc.1/by-name/apnhlos:7082752:f3dce373f42163b6daa188c28995b16c300c56bc:7082752:e97a3c2a11717d3008f57bcb10e5c892dcc8cb95" has unexpected contents.
"EMMC:/dev/block/platform/msm_sdcc.1/by-name/apnhlos:7082752:f3dce373f42163b6daa188c28995b16c300c56bc:7082752:e97a3c2a11717d3008f57bcb10e5c892dcc8cb95" has unexpected contents.
E :Error in /cache/fota/2400258.cfg
(Status 7)
E:Error in /cache/fota/2400258.cfg
(Status 7)
FOTA_update_success_log_result()
stat() of /dev/block/platform/msm_sdcc.1/by-name/cache succeeded on try 1
Update Fail. File is written. status = 7
Installation aborted.
[installing post-recovery]
#mount /cache
stat() of /dev/block/platform/msm_sdcc.1/by-name/cache succeeded on try 1
/cache sucessfully mounted
#mkdir system cache 0775 /cache/recovery
#cp -y -f -v /tmp/recovery_backup.txt /cache/recovery/last_recovery
/tmp/recovery_backup.txt -> /cache/recovery/last_recovery (262144 bytes)
transferred in writed time : 0.002s closed time : 0.012s progressed with 125.00M byte/sec
src : -rw-r--r-- root root 262144 2014-04-29 09:15 recovery_backup.txt
dst : -rw-r--r-- system system 262144 2015-04-19 06:22 last_recovery
#mount /data
stat() of /dev/block/platform/msm_sdcc.1/by-name/userdata succeeded on try 1
/data sucessfully mounted
#mkdir system log 0775 /data/log
#cp -y -f -v /tmp/recovery_backup.txt /data/log/recovery_log.txt
/tmp/recovery_backup.txt -> /data/log/recovery_log.txt (262144 bytes)
transferred in writed time : 0.002s closed time : 0.031s progressed with 125.00M byte/sec
src : -rw-r--r-- root root 262144 2014-04-29 09:15 recovery_backup.txt
dst : -rw-r--r-- system system 262144 2015-04-19 06:22 recovery_log.txt
/cache sucessfully unmounted
/data sucessfully unmounted
running post-recovery time : 0.082s
I:Saving locale "en_US"
stat() of /dev/block/platform/msm_sdcc.1/by-name/cache succeeded on try 1
void copy_log_file(const char*, const char*, int) :: create recovery log file '/cache/recovery/log'
void copy_log_file(const char*, const char*, int) :: create recovery log file '/cache/recovery/last_log'
Teir said:
This device was originally 4.4.3 stock when I got it from AT&T but after messing with it and it being my first android device, I managed to softbrick it. I got the phone working again following this thread: http://forum.xda-developers.com/showpost.php?p=53454972&postcount=1
Now my problem is that no matter what I do I can't get the OTA update to work. Its been like this since the softbrick but I never really cared until 5.0 came out. What happens is the update downloads, reboots to install, stops at 32%, retries, and stops again at 32%. I've tried doing a fresh odin install of G900AUCU1ANCE to remove root and what aver else but it never works. always stops at 32%. The only thing I can think would be the issue is that the bootloader is still 4.4.3 or G900AUCU2AND3 but I don't know how i would go about fixing that. Any help would be appreciated.
I have grabbed the log file from the last failed update, the error is consistent with all the other failed updates on this device.
Code:
__bionic_open_tzdata: couldn't find any tzdata when looking for localtime!
__bionic_open_tzdata: couldn't find any tzdata when looking for GMT!
__bionic_open_tzdata: couldn't find any tzdata when looking for posixrules!
Starting recovery on Tue Apr 29 09:15:25 2014
[collecting table information]
recovery filesystem table
=========================
0 /boot emmc /dev/block/platform/msm_sdcc.1/by-name/boot 0
1 /recovery emmc /dev/block/platform/msm_sdcc.1/by-name/recovery 0
2 /system ext4 /dev/block/platform/msm_sdcc.1/by-name/system 0
3 /data ext4 /dev/block/platform/msm_sdcc.1/by-name/userdata -16384
4 /cache ext4 /dev/block/platform/msm_sdcc.1/by-name/cache 0
5 /sdcard vfat /dev/block/mmcblk1p1 0
6 /efs ext4 /dev/block/platform/msm_sdcc.1/by-name/efs 0
7 /modem emmc /dev/block/platform/msm_sdcc.1/by-name/apnhlos 0
8 /mdm emmc /dev/block/platform/msm_sdcc.1/by-name/modem 0
9 /tmp ramdisk ramdisk 0
stat() of /dev/block/platform/msm_sdcc.1/by-name/cache succeeded on try 1
[initialize init-recovery]
#mount /system
stat() of /dev/block/platform/msm_sdcc.1/by-name/system succeeded on try 1
/system sucessfully mounted
#unmount /cache
/cache sucessfully unmounted
#exec -f /system/bin/e2fsck -v -y /dev/block/platform/msm_sdcc.1/by-name/cache
e2fsck 1.42.6 (21-Sep-2012)
/dev/block/platform/msm_sdcc.1/by-name/cache: clean, 24/32000 files, 45708/128000 blocks
#mount -f /cache
stat() of /dev/block/platform/msm_sdcc.1/by-name/cache succeeded on try 1
/cache sucessfully mounted
#cat -f --no-exist /cache/recovery/command > /cache/recovery/last_command
existed '/cache/recovery/last_command'
#ls /cache/recovery/
-rw-r--r-- root root 80 2015-04-19 06:08 last_command
-rw-r--r-- root root 30 2015-04-19 06:08 last_install
-rw-r--r-- system system 285043 2015-04-19 06:08 last_recovery
-rw-r--r-- system system 0 2015-04-19 06:08 last_last_kernel
-rw-r--r-- system system 131118 2015-04-19 06:08 last_kernel
-rw------- system system 77 2015-04-19 06:21 command
-rw-r----- root root 22251 2015-04-19 06:08 last_log.1
#mount /data
stat() of /dev/block/platform/msm_sdcc.1/by-name/userdata succeeded on try 1
/data sucessfully mounted
#fcut --limited-file-size=256k -f /data/log/recovery_log.txt /tmp/recovery_backup.txt
/system sucessfully unmounted
/data sucessfully unmounted
running init-recovery time : 0.085s
[collecting command]
I:Got arguments from /cache/recovery/command
ro.boot.boot_recovery=1
locale is [en_US]
[initialize ui and event]
load : /res/images/font.png
overscan percent : 0
initalized graphics for qualcomm..
initalized for hlte
defined msm8974
pixel format -> GGL_PIXEL_FORMAT_RGBX_8888
framebuffer: fd 4 (1080 x 1920)
[screen info]
xres = 1080, yres = 1920, xres_virtual = 1080,yres_virtual = 3840
bits_per_pixel = 32
height = 115, width = 65
id = mdssfb_90000
smem_start = 0x7df00000 (len 32505856)
line_length = 4352
mmio_start = 0x00000000 (len 0)
accel = 0, visual = 2
not turn off screen
load : /res/images/icon_installing.png
load : /res/images/icon_error.png
load : /res/images/icon_att_fota_installing.png
load : /res/images/icon_att_fota_updating.png
load : /res/images/icon_att_fota_complete.png
load : /res/images/icon_att_fota_error.png
load : /res/images/icon_tmo_fota_complete.png
load : /res/images/icon_tmo_fota_error.png
load : /res/images/progress_empty.png
load : /res/images/progress_fill.png
load : /res/images/installing_text.xdpi.png
installing_text: en_US (481 x 57 @ 754)
load : /res/images/erasing_text.xdpi.png
erasing_text: en_US (165 x 57 @ 754)
load : /res/images/no_command_text.xdpi.png
no_command_text: en_US (260 x 57 @ 754)
load : /res/images/error_text.xdpi.png
error_text: en_US (98 x 57 @ 754)
load : /res/images/indeterminate01.png
load : /res/images/indeterminate02.png
load : /res/images/indeterminate03.png
load : /res/images/indeterminate04.png
load : /res/images/indeterminate05.png
load : /res/images/indeterminate06.png
load : /res/images/icon_installing_overlay01.png
load : /res/images/icon_installing_overlay02.png
load : /res/images/icon_installing_overlay03.png
load : /res/images/icon_installing_overlay04.png
load : /res/images/icon_installing_overlay05.png
load : /res/images/icon_installing_overlay06.png
load : /res/images/icon_installing_overlay07.png
Command: "/sbin/recovery" "--update_package=/cache/fota/2400258.cfg" "--carry_out=att_fota" "--locale=en_US"
previous_runs = 0
send_intent = (null)
update_package = /cache/fota/2400258.cfg
att_fota_update = 1
tmo_fota_update = 0
wipe_data = 0, wipe_cache = 0,wipe_sdcard = 0,delete_data = 0,wipe_data_crypto = 0,wipe_carrier = 0,no_wipe_custom=0
data_resizing = 0
wipe_hdd_secure = 0
show_ui_text = 0
update_factory_csc = 0, update_home_csc = 0, factory_fota = 0
carry_out = att_fota
tima_kernal_recovery = 0
[property list]
af.resampler.quality=4
mm.enable.qcom_parser=37491
mm.enable.smoothstreaming=true
ro.qc.sdk.izat.service_mask=0x0
ro.qc.sdk.izat.premium_enabled=0
ro.qc.sdk.audio.ssr=false
ro.qc.sdk.audio.fluencetype=none
ro.qc.sdk.camera.facialproc=false
ro.qc.sdk.sensors.gestures=true
ro.qc.sdk.gestures.camera=false
ro.sf.lcd_density=480
ro.adb.secure=1
ro.com.google.gmsversion=4.4.2_r1
ro.com.google.clientidbase=android-samsung
ro.com.google.clientidbase.am=android-att-us
ro.com.google.clientidbase.ms=android-att-us
ro.com.google.clientidbase.yt=android-samsung
ro.com.google.clientidbase.gmm=android-samsung
ro.com.android.dateformat=MM-dd-yyyy
ro.gps.agps_provider=1
ro.sec.fle.encryption=true
ro.boot.emmc=true
ro.boot.sec_atd.tty=/dev/ttyHSL0
ro.boot.baseband=msm
ro.boot.hardware=qcom
ro.boot.serialno=a13796ff
ro.boot.bootloader=G900AUCU2AND3
ro.boot.debug_level=0x4f4c
ro.boot.warranty_bit=0
ro.boot.boot_recovery=1
ro.boot.emmc_checksum=3
ro.boot.nvdata_backup=0
ro.boot.cp_debug_level=0x55FF
ro.data.large_tcp_window_size=true
ro.emmc=true
ro.hdmi.enable=true
ro.hwui.path_cache_size=8
ro.hwui.layer_cache_size=32
ro.hwui.shape_cache_size=2
ro.hwui.texture_cache_size=48
ro.hwui.gradient_cache_size=1
ro.hwui.drop_shadow_cache_size=4
ro.hwui.text_large_cache_width=2048
ro.hwui.text_small_cache_width=1024
ro.hwui.text_large_cache_height=1024
ro.hwui.text_small_cache_height=512
ro.wifi.channels=
ro.allow.mock.location=0
ro.board.platform=msm8974
ro.build.id=KOT49H
ro.build.PDA=G900AUCU1ANCE
ro.build.date=Fri Mar 14 13:15:55 KST 2014
ro.build.date.utc=1394770555
ro.build.host=SWDD5913
ro.build.knox.container=
ro.build.tags=release-keys
ro.build.type=user
ro.build.user=dpi
ro.build.scafe=capuccino
ro.build.scafe.shot=single
ro.build.scafe.size=short
ro.build.display.id=KOT49H.G900AUCU1ANCE
ro.build.product=klteatt
ro.build.selinux=1
ro.build.selinux.enforce=1
ro.build.version.sdk=19
ro.build.version.release=4.4.2
ro.build.version.codename=REL
ro.build.version.incremental=G900AUCU1ANCE
ro.build.changelist=964333
ro.build.hidden_ver=G900AUCU1ANCE
ro.build.description=klteuc-user 4.4.2 KOT49H G900AUCU1ANCE release-keys
ro.build.fingerprint=samsung/klteuc/klteatt:4.4.2/KOT49H/G900AUCU1ANCE:user/release-keys
ro.build.characteristics=att
ro.error.receiver.default=com.samsung.receiver.error
ro.hdcp2.rx=tz
ro.slook.ver=1
ro.config.knox=v30
ro.config.tima=1
ro.config.ringtone=ATT_Firefly_Default.ogg
ro.config.alarm_alert=Morning_flower.ogg
ro.config.timaversion=3.0
ro.config.notification_sound=Whisper.ogg
ro.config.rm_preload_enabled=0
ro.kernel.qemu=0
ro.secure=1
ro.secwvk=144
ro.vendor.extension_library=/vendor/lib/libqc-opt.so
ro.carrier=unknown
ro.product.cpu.abi=armeabi-v7a
ro.product.cpu.abi2=armeabi
ro.product.name=klteuc
ro.product.board=MSM8974
ro.product.brand=samsung
ro.product.model=SAMSUNG-SM-G900A
ro.product.device=klteatt
ro.product.locale.region=US
ro.product.locale.language=en
ro.product.manufacturer=samsung
ro.baseband=msm
ro.bootmode=unknown
ro.chipname=MSM8974PRO
ro.hardware=qcom
ro.opengles.version=196608
ro.qualcomm.cabl=1
ro.revision=14
ro.security.mdpp.ux=Enabled
ro.security.mdpp.ver=1.0
ro.security.mdpp.release=2
ro.security.vpnpp.ver=1.4
ro.security.vpnpp.release=1
ro.serialno=a13796ff
ro.bootloader=G900AUCU2AND3
ro.debuggable=0
ro.debug_level=0x4f4c
ro.factorytest=0
ro.setupwizard.mode=OPTIONAL
ro.product_ship=true
ro.warranty_bit=0
ro.boot_recovery=1
ro.emmc_checksum=3
ro.nvdata_backup=0
ro.securestorage.support=true
ro.cp_debug_level=0x55FF
ro.use_data_netmgrd=false
dev.pm.dyn_samplingrate=1
lpa.decode=false
lpa.use-stagefright=true
mmp.enable.3g2=true
net.bt.name=Android
net.change=net.bt.name
ril.subscription.types=NV,RUIM
init.svc.healthd=running
init.svc.ueventd=running
init.svc.recovery=running
qcom.hw.aac.encoder=true
rild.libargs=-d /dev/smd0
rild.libpath=/system/lib/libsec-ril.so
vidc.debug.level=1
debug.sf.hw=1
debug.egl.hw=1
debug.disable.bwc=1
debug.mdpcomp.logs=0
debug.composition.type=c2d
media.stagefright.enable-aac=true
media.stagefright.enable-qcp=true
media.stagefright.enable-http=true
media.stagefright.enable-scan=true
media.stagefright.enable-fma2dp=true
media.stagefright.enable-player=true
media.enable-commonsource=true
media.aac_51_output_enabled=true
dalvik.vm.heapsize=512m
dalvik.vm.heapmaxfree=8m
dalvik.vm.heapminfree=2m
dalvik.vm.heapstartsize=8m
dalvik.vm.heapgrowthlimit=128m
dalvik.vm.stack-trace-file=/data/anr/traces.txt
dalvik.vm.heaptargetutilization=0.75
tunnel.audio.encode=true
tunnel.decode=true
tunnel.audiovideo.decode=true
persist.cne.feature=0
persist.gps.qc_nlp_in_use=1
persist.hwc.mdpcomp.enable=true
persist.sys.usb.config=mtp
persist.sys.wfd.virtual=0
persist.sys.dalvik.vm.lib=libdvm.so
persist.sys.logkit.ctrlcode=0
persist.sys.whitelist=/system/etc/whitelist_appops.xml
persist.sys.storage_preload=1
persist.sys.strict_op_enable=false
persist.data.netmgrd.qos.enable=false
persist.demo.hdmirotationlock=false
persist.rild.nitz_plmn=
persist.rild.nitz_long_ons_0=
persist.rild.nitz_long_ons_1=
persist.rild.nitz_long_ons_2=
persist.rild.nitz_long_ons_3=
persist.rild.nitz_short_ons_0=
persist.rild.nitz_short_ons_1=
persist.rild.nitz_short_ons_2=
persist.rild.nitz_short_ons_3=
persist.audio.fluence.speaker=true
persist.audio.fluence.voicerec=false
persist.audio.fluence.voicecall=true
persist.debug.wfd.enable=1
persist.radio.add_power_save=1
persist.radio.apm_sim_not_pwdn=1
persist.timed.enable=true
persist.speaker.prot.enable=false
persist.security.ams.enforcing=1
persist.fuse_sdcard=true
keyguard.no_require_sim=true
security.mdpp=None
security.mdpp.result=None
telephony.lteOnCdmaDevice=0
DEVICE_PROVISIONED=1
stat() of /dev/block/platform/msm_sdcc.1/by-name/efs succeeded on try 1
[Installing package]
-- Installing package...
Finding update package...
I:Update location: /cache/fota/2400258.cfg
stat() of /dev/block/platform/msm_sdcc.1/by-name/system succeeded on try 1
MDFPP_I: Load MDFPP takes 53(ms).
stat() of /dev/block/platform/msm_sdcc.1/by-name/userdata succeeded on try 1
Opening update package...
MDFPP_I: Already /system mounted!
MDFPP_I: Skip MDFPP FOTA Verify(Not Enabled(4))
I:read key e=3 hash=20
I:read key e=3 hash=20
I:2 key(s) loaded from /res/keys
Verifying update package...
I:comment is 1796 bytes; signature 1778 bytes from end
signed len : 170283566
hash 20 :83 95 83 88 ef 26 ae 68 d1 1d e6 eb 42 0c 55 c1 1f 29 e0 db
I:whole-file signature verified against key 0
I:verify_file returned 0
MDFPP_I: 'Free MDFPP' takes 0(ms).
Installing update...
Register_libbootloader_updater Qcom msm8960
open failed '/sys/fs/scfs/system_type' - No such file or directory
îVerifying current system...
partition read matched size 55068416 sha 0634d70068cf5a37655f5f3812b38d073ee76e42
contents of partition "/dev/block/platform/msm_sdcc.1/by-name/apnhlos" didn't match EMMC:/dev/block/platform/msm_sdcc.1/by-name/apnhlos:7082752:f3dce373f42163b6daa188c28995b16c300c56bc:7082752:e97a3c2a11717d3008f57bcb10e5c892dcc8cb95
file "EMMC:/dev/block/platform/msm_sdcc.1/by-name/apnhlos:7082752:f3dce373f42163b6daa188c28995b16c300c56bc:7082752:e97a3c2a11717d3008f57bcb10e5c892dcc8cb95" doesn't have any of expected sha1 sums; checking cache
failed to stat "/cache/saved.file": No such file or directory
failed to load cache file
failed to stat "/data/.saved.file": No such file or directory
failed to load data file
script aborted: "EMMC:/dev/block/platform/msm_sdcc.1/by-name/apnhlos:7082752:f3dce373f42163b6daa188c28995b16c300c56bc:7082752:e97a3c2a11717d3008f57bcb10e5c892dcc8cb95" has unexpected contents.
"EMMC:/dev/block/platform/msm_sdcc.1/by-name/apnhlos:7082752:f3dce373f42163b6daa188c28995b16c300c56bc:7082752:e97a3c2a11717d3008f57bcb10e5c892dcc8cb95" has unexpected contents.
E :Error in /cache/fota/2400258.cfg
(Status 7)
E:Error in /cache/fota/2400258.cfg
(Status 7)
Finding update package...
I:Update location: /cache/fota/2400258.cfg
MDFPP_I: Already /system mounted!
MDFPP_I: Load MDFPP takes 4(ms).
stat() of /dev/block/platform/msm_sdcc.1/by-name/cache succeeded on try 1
stat() of /dev/block/platform/msm_sdcc.1/by-name/userdata succeeded on try 1
Opening update package...
MDFPP_I: Already /system mounted!
MDFPP_I: Skip MDFPP FOTA Verify(Not Enabled(4))
I:read key e=3 hash=20
I:read key e=3 hash=20
I:2 key(s) loaded from /res/keys
Verifying update package...
I:comment is 1796 bytes; signature 1778 bytes from end
signed len : 170283566
hash 20 :83 95 83 88 ef 26 ae 68 d1 1d e6 eb 42 0c 55 c1 1f 29 e0 db
I:whole-file signature verified against key 0
I:verify_file returned 0
MDFPP_I: 'Free MDFPP' takes 0(ms).
Installing update...
Register_libbootloader_updater Qcom msm8960
open failed '/sys/fs/scfs/system_type' - No such file or directory
îVerifying current system...
partition read matched size 55068416 sha 0634d70068cf5a37655f5f3812b38d073ee76e42
contents of partition "/dev/block/platform/msm_sdcc.1/by-name/apnhlos" didn't match EMMC:/dev/block/platform/msm_sdcc.1/by-name/apnhlos:7082752:f3dce373f42163b6daa188c28995b16c300c56bc:7082752:e97a3c2a11717d3008f57bcb10e5c892dcc8cb95
file "EMMC:/dev/block/platform/msm_sdcc.1/by-name/apnhlos:7082752:f3dce373f42163b6daa188c28995b16c300c56bc:7082752:e97a3c2a11717d3008f57bcb10e5c892dcc8cb95" doesn't have any of expected sha1 sums; checking cache
failed to stat "/cache/saved.file": No such file or directory
failed to load cache file
failed to stat "/data/.saved.file": No such file or directory
failed to load data file
script aborted: "EMMC:/dev/block/platform/msm_sdcc.1/by-name/apnhlos:7082752:f3dce373f42163b6daa188c28995b16c300c56bc:7082752:e97a3c2a11717d3008f57bcb10e5c892dcc8cb95" has unexpected contents.
"EMMC:/dev/block/platform/msm_sdcc.1/by-name/apnhlos:7082752:f3dce373f42163b6daa188c28995b16c300c56bc:7082752:e97a3c2a11717d3008f57bcb10e5c892dcc8cb95" has unexpected contents.
E :Error in /cache/fota/2400258.cfg
(Status 7)
E:Error in /cache/fota/2400258.cfg
(Status 7)
FOTA_update_success_log_result()
stat() of /dev/block/platform/msm_sdcc.1/by-name/cache succeeded on try 1
Update Fail. File is written. status = 7
Installation aborted.
[installing post-recovery]
#mount /cache
stat() of /dev/block/platform/msm_sdcc.1/by-name/cache succeeded on try 1
/cache sucessfully mounted
#mkdir system cache 0775 /cache/recovery
#cp -y -f -v /tmp/recovery_backup.txt /cache/recovery/last_recovery
/tmp/recovery_backup.txt -> /cache/recovery/last_recovery (262144 bytes)
transferred in writed time : 0.002s closed time : 0.012s progressed with 125.00M byte/sec
src : -rw-r--r-- root root 262144 2014-04-29 09:15 recovery_backup.txt
dst : -rw-r--r-- system system 262144 2015-04-19 06:22 last_recovery
#mount /data
stat() of /dev/block/platform/msm_sdcc.1/by-name/userdata succeeded on try 1
/data sucessfully mounted
#mkdir system log 0775 /data/log
#cp -y -f -v /tmp/recovery_backup.txt /data/log/recovery_log.txt
/tmp/recovery_backup.txt -> /data/log/recovery_log.txt (262144 bytes)
transferred in writed time : 0.002s closed time : 0.031s progressed with 125.00M byte/sec
src : -rw-r--r-- root root 262144 2014-04-29 09:15 recovery_backup.txt
dst : -rw-r--r-- system system 262144 2015-04-19 06:22 recovery_log.txt
/cache sucessfully unmounted
/data sucessfully unmounted
running post-recovery time : 0.082s
I:Saving locale "en_US"
stat() of /dev/block/platform/msm_sdcc.1/by-name/cache succeeded on try 1
void copy_log_file(const char*, const char*, int) :: create recovery log file '/cache/recovery/log'
void copy_log_file(const char*, const char*, int) :: create recovery log file '/cache/recovery/last_log'
Click to expand...
Click to collapse
I had a similar problem. Figured out that i was low on memory. I had to delete pictures and apps to free up around 3gig. Then it worked perfect.
Sent from my SM-P900 using Tapatalk
Also take it in consideration that if you want root on lollipop you need to follow the threads in this forum in AT&T General rather than take the OTA.
If you stay with AT&T and like having your phone rooted you will learn that the OTA's are the worst mistake you can make to just accept. Theres enough detail on why this is the case in other threads but if its really what you want to do you have to be completely on stock and work your way up slowly.

Categories

Resources