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?
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
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...........
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.