Error flashing ROM. - XDA Assist

Hi,
I've built a ROM from source for my device but when I flash it on my device, it says:
Code:
blkdiscard failed: Invalid argument
E: Error /stoage.../RR.zip (Status 7)
How should I fix it?

Hi there,
You can start from reading this guide for beginner: [GUIDE]**Beginners guide to programming-C,C++,Bash,Python,java**[GUIDE], or ask your question in the general forum related to your concern:
> Android Development and Hacking > Android Software Development
Good luck

Related

[Q] Trying (and failing) to load b9 ICS port onto my Nexus S 3g

Hi guys, first post. Need a little bit of help here..firstly let me apologize if i have asked this in the wrong place...ive got no idea whats going on here sorry!
Ive got a Nexus S 3g..running version 2.3.6
The baseband version is I9023XXKF1 and kernel version 2.6.35.7-gf5f63ef
I had no problems rooting the phone and getting to the clockwork recovery, and after having downloaded the new b9 build of the ICS from http://forum.xda-developers.com/showpost.php?p=18622852&postcount=1 i put it on the sd card and then tried to load it but i got this message....
Finding update package...
Opening update package...
Installing update...
assert failed: get prop ("ro.product.device") =="crespo" l l getprop (ro.build.product") == "crespo" l l getprop ("ro.product.board") == "crespo"
E:Error in /sdcard/update.zip
(Status 7)
Installation aborted
Is there something i have done wrong, or something i need to do in order to get this running alright on my phone? Any help would be much appreciated
Cheers guys

[Q] Please Help Xperia TL LT30at

ok, I have searched the forums and I don't think i am a nooby, though i may come across of being one. I have installed custom roms on many devices ...ie: samsung galaxy s2, htc inspire, htc vivids. and i follow directions pretty well but this has got me stumped.
now i just got a new sony xperia tl lt30at from at&t (rooted and cwm installed) and have been trying for days to install a custom rom.
the first rom i have tried was Xperiment and i get
-- Installing: /sdcard/XperimenT_2.0.zip
Finding update package...
Opening update package...
Installing update...
assert failed: getprop("ro.product.device") == "
LT30p" || getprop("ro.build.product") == "LT30p"
|| getprop("ro.product.device") == "mint
" || getprop("ro.build.product") == "mint"
E:Error in /sdcard/XperimenT_2.0.zip
(Status 7)
Installation aborted.
Checked my prop.build and states LT30at.
every other rom i have tried gives same error.
Device info:
Android Version: 4.1.2
Kernal: 3.4.0-g3c4s0f6-00786-g0cc4bd6
Build#9.1.F.1.120
I have searched the forums and i guess i just don't understand how to fix this problem.
Thank you guys for any help provided. This forum is an asset to the community.

ANDROID STUDIO, Gradle build failed! *URGENT*

Whenever I try generating a singed app or try running the built app on my device it shows error :-
Error:Execution failed for task ':app:transformClassesWithDexForDebug'.
> com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command 'C:\Program Files\Java\jdk1.7.0_45\bin\java.exe'' finished with non-zero exit value 1
Can anyone tell me what can be the reason and how can i resolve this!!
(Gradle build failure)
I have already referred to many other sites but I think XDA developers is the best place to discuss this.....
Please reply ASAP!
Thanks
Dev_developer said:
Whenever I try generating a singed app or try running the built app on my device it shows error :-
Error:Execution failed for task ':app:transformClassesWithDexForDebug'.
> com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command 'C:\Program Files\Java\jdk1.7.0_45\bin\java.exe'' finished with non-zero exit value 1
Can anyone tell me what can be the reason and how can i resolve this!!
(Gradle build failure)
I have already referred to many other sites but I think XDA developers is the best place to discuss this.....
Please reply ASAP!
Thanks
Click to expand...
Click to collapse
I know this is xda-developers.com, but I reccomend you post your problem on StackOverflow. Remember to explain your problem in great detail or you won't get any help.
Solve
Simply try to clean project (build->clean project) and retry again !
If it won't work :
1) Go to project structure and check java version
2) Give me more info !

[Completed] CM13 Comparing TZ Version, assert failed Error 7 while Installing latest Nightly

Hi, noob to CM13. Currently have cm-13.0-20160604-NIGHTLY-Z00T running on my Asus Zenfone 2 (ZE551KL). I have been trying to update to a newer build with no success, any build newer than 6/14 fails, and 6/14 itself is horribly unstable. The error message from the log file is as follows:
Comparing TZ version TZ.BF.3.0.C3-00025 to TZ.BF.3.0.R2-00064script aborted: assert failed:, asus.verify_trustzone("TZ.BF.3.0.C3-00025") == "1"
Comparing TZ version TZ.BF.3.0.C3-00025 to TZ.BF.3.0.R2-00064
assert failed: asus.verify_trustzone("TZ.BF.3.0.C3-00025") == "1"
Updater process ended with ERROR: 7
I:Legacy property environment disabled.
Error installing zip file '/data/media/0/cmupdater/cm-13.0-20160704-NIGHTLY-Z00T.zip
By the way, I am using TWRP to update.
From my google searches, other people have claimed this is an outdated firmware problem, but I couldn't find anything on how to update my firmware.
Any help is greatly appreciated.
Hi,
Thanks for using XDA assist.
Please create a XDA account and post here:
[GENERAL HELP] Post Your Questions Here Instead of Making a New Thread
Good Luck! - gsstudios

Help!! error in selecting lunch omni_device

hi guys and good day everyone please i ask you help how to solve this error, im building twrp for my phone oppo a71 cph1717 everything is good from syncing to . build/envsetup.sh
and when i enter lunch i got this error
[email protected]:~/twrp$ lunch
You're building on Linux
Lunch menu... pick a combo:
1. aosp_arm-eng
2. aosp_arm64-eng
3. aosp_mips-eng
4. aosp_mips64-eng
5. aosp_x86-eng
6. aosp_x86_64-eng
7. omni_CPH1717-user
8. omni_CPH1717-userdebug
9. omni_CPH1717-eng
Which would you like? [aosp_arm-eng] 7
build/core/product_config.mk:239: *** _nic.PRODUCTS.[[device/Cph1717/omni_CPH1717.mk]]: "device/oppo/CPH1717/device.mk" does not exist. Stop.
File "/home/osboxes/twrp/build/tools/roomservice.py", line 109
except IOError, ES.ParseError:
^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: multiple exception types must be parenthesized
build/core/product_config.mk:239: *** _nic.PRODUCTS.[[device/Cph1717/omni_CPH1717.mk]]: "device/oppo/CPH1717/device.mk" does not exist. Stop.
** Don't have a product spec for: 'omni_CPH1717'
** Do you have the right repo manifest?
[email protected]:~/twrp$
its the same error when i pick 8 and 9 please help guys im using
Ubuntu 22.10 Kinetic Kudu please help guys any answer will be appreciated
Wrong place. Should have get posted here:
Android Q&A, Help & Troubleshooting
This forum is for all of your questions about Android Development and Hacking. If you need help troubleshooting a problem, please be as specific as possible by describing your software configuration, including the ROM, kernel, and any modifications you've done.
forum.xda-developers.com

Categories

Resources