Hi guys I occured an error while trying to compile my own rom .. I'm actually a starter to developing roms .. and so I tried compiling a Stock 4.0.4 rom for the nexus S and I got this error:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Text version :
host C++: libLLVMJIT <= external/llvm/lib/ExecutionEngine/JIT/OProfileJITEventListener.cpp
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined [enabled by default]
<built-in>:0:0: note: this is the location of the previous definition
host C++: libbccExecutionEngine <= frameworks/compile/libbcc/lib/ExecutionEngine/Compiler.cpp
<command-line>:0:0: error: "_FORTIFY_SOURCE" redefined [-Werror]
<built-in>:0:0: note: this is the location of the previous definition
host C++: libbccExecutionEngine <= frameworks/compile/libbcc/lib/ExecutionEngine/FileHandle.cpp
<command-line>:0:0: error: "_FORTIFY_SOURCE" redefined [-Werror]
<built-in>:0:0: note: this is the location of the previous definition
cc1plus: all warnings being treated as errors
make: *** [out/host/linux-x86/obj/STATIC_LIBRARIES/libbccExecutionEngine_intermediates/FileHandle.o] Error 1
make: *** Waiting for unfinished jobs....
cc1plus: all warnings being treated as errors
make: *** [out/host/linux-x86/obj/STATIC_LIBRARIES/libbccExecutionEngine_intermediates/Compiler.o] Error 1
[email protected]:~/ICS_SOURCE#
Click to expand...
Click to collapse
.. Can anyone help me ? not sure what to do ..
I was using this video ; http://www.youtube.com/watch?v=OS5c_ws_N7g
What OS?
What operating system are you using? I know you can only use the master branch if above ubuntu 10.04....
martyd73 said:
What operating system are you using? I know you can only use the master branch if above ubuntu 10.04....
Click to expand...
Click to collapse
12.04 beta ...
Sent from my Nexus S using XDA
Bump?
Related
How can i (Create,Read,Write,Delete) Files and Directories in Isolated Storage on Windows Phone?(VB.Net)(Visual Studio 2012)
------------------------------------------------------
i use this codes but i see some error.
Create file:
Code:
Dim sw As New StreamWriter(New IsolatedStorageFileStream("FirstRun\a.txt", FileMode.Create, file))
sw.WriteLine(Textbox1.text)
read form isolated storage:
Code:
Dim file As IsolatedStorageFile = IsolatedStorageFile.GetUserStoreForApplication()
file.CreateDirectory("UserTexts")
Dim sw As New StreamReader(New IsolatedStorageFileStream("UserTexts\user.txt", FileMode.Open, file))
read file:
Code:
TXTBlock.Text = sw.ReadToEnd()
sw.Close()
Delete file:
Code:
Dim file As IsolatedStorageFile = IsolatedStorageFile.GetUserStoreForApplication()
file.DeleteFile("Temp\a.txt")
Delete folder:
Code:
file.DeleteDirectory("Temp")
Create folder:
Code:
Dim file As IsolatedStorageFile = IsolatedStorageFile.GetUserStoreForApplication()
file.CreateDirectory("FirstRun")
please give me correct codes.
What error do you see?
mcosmin222 said:
What error do you see?
Click to expand...
Click to collapse
Error 1 Value of type 'System.IO.FileAccess' cannot be converted to 'System.IO.IsolatedStorage.IsolatedStorageFile'
Dim sw As New StreamReader(New IsolatedStorageFileStream("UserTexts\user.txt", FileMode.Open, FileAccess.ReadWrite, FileShare.ReadWrite, file))
Methods have overloads. Check them out. If you don't know what a method overload is, check wikipedia.
http://en.wikipedia.org/wiki/Function_overloading
mcosmin222 said:
Dim sw As New StreamReader(New IsolatedStorageFileStream("UserTexts\user.txt", FileMode.Open, FileAccess.ReadWrite, FileShare.ReadWrite, file))
Click to expand...
Click to collapse
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
it geting error.
shayan4shayan said:
it geting error.
Click to expand...
Click to collapse
Replace file with IsolatedStorageFile.getuserStoreForApplication()
Hi, i've been trying to compile android from source for the amlogic
i followed the steps shown in the openlinux amlogic website
but i got stuck in an* error*after the "make otapackage" step regarding the wifi 8189es realtek drivers.
if any one faced the same issue or can offer any help i'd really appreciate it.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
i couldn't upload the output to the make file so here's a snippet of the output right before the error
/home/adham-negm/ESSRAA/Android/custom_rom/amlogic_SourceCode/S905X-SDK/git/common/scripts/Makefile.build:444: recipe for target '/home/adham-negm/ESSRAA/Android/custom_rom/amlogic_SourceCode/S905X-SDK/git/hardware/wifi/realtek/drivers/8189es/rtl8189ES/8189es.o' failed
make[5]: *** [/home/adham-negm/ESSRAA/Android/custom_rom/amlogic_SourceCode/S905X-SDK/git/hardware/wifi/realtek/drivers/8189es/rtl8189ES/8189es.o] Error 1
/home/adham-negm/ESSRAA/Android/custom_rom/amlogic_SourceCode/S905X-SDK/git/common/Makefile:1293: recipe for target '_module_/home/adham-negm/ESSRAA/Android/custom_rom/amlogic_SourceCode/S905X-SDK/git/hardware/wifi/realtek/drivers/8189es/rtl8189ES' failed
make[4]: *** [_module_/home/adham-negm/ESSRAA/Android/custom_rom/amlogic_SourceCode/S905X-SDK/git/hardware/wifi/realtek/drivers/8189es/rtl8189ES] Error 2
Makefile:133: recipe for target 'sub-make' failed
make[3]: *** [sub-make] Error 2
Makefile:26: recipe for target 'all' failed
make[2]: *** [all] Error 2
make[2]: Leaving directory '/home/adham-negm/ESSRAA/Android/custom_rom/amlogic_SourceCode/S905X-SDK/git/out/target/product/p212/obj/KERNEL_OBJ'
device/amlogic/common/wifi_driver.mk:125: recipe for target 'multiwifi' failed
make[1]: *** [multiwifi] Error 2
make[1]: Leaving directory '/home/adham-negm/ESSRAA/Android/custom_rom/amlogic_SourceCode/S905X-SDK/git'
device/amlogic/p212/Kernel.mk:55: recipe for target 'out/target/product/p212/obj/KERNEL_OBJ/arch/arm64/boot/Image.gz' failed
make: *** [out/target/product/p212/obj/KERNEL_OBJ/arch/arm64/boot/Image.gz] Error 2
make: *** Deleting file 'out/target/product/p212/obj/KERNEL_OBJ/arch/arm64/boot/Image.gz'
make: *** Waiting for unfinished jobs....
host C++: libicui18n-host <= external/icu/icu4c/source/i18n/fphdlimp.cpp
make: *** wait: No child processes. Stop.
[0;31m#### make failed to build some targets (57:31 (mm:ss)) ####[00m
Click to expand...
Click to collapse
sometimes you get by the error, by pre copying the file to the destination. The make process will then skip it.
Hi everyone I need help with my old tablet with telechip.
I try to flash it via TWDN V7 but I get only this error:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
and log:
Code:
============================================
FWDN V7 -- v2.22
============================================
[DEBUG] CFwdnPort::Check_VtcUsbPortChange: \\?\usb#vid_140e&pid_b086#5&377c05b5&0&5#{db6585b8-0409-4ee6-9636-e595901c59ca} is pluged.
[DEBUG] CFwdnDownload::DeviceArrivalEvent: Device Arrival Event (dev=0)
Download Session - Start!
Device Init - Start!
Device Init - Complete! - (0sec 40)
Device's SerialNumber : SN_NOT_EXIST
[DEBUG] CFwdnDownload::eek:nDownloadDefault: check=1 filepath=C:\Users\René\Downloads\dwdaw\lk.rom filesize=1837KB type=0
[DEBUG] CFwdnDownload::eek:nDownloadDefault: check=1 filepath=C:\Users\René\Downloads\dwdaw\NAND Data.fai filesize=2992KB type=5
[DEBUG] CFwdnDownload::Verify_ImageFile: [HEADER] : Size=96 CRC=0x04F0E6F1
[DEBUG] CFwdnDownload::Verify_ImageFile: Image Version : TCC FAT IMG V0.1
[DEBUG] CFwdnDownload::Verify_ImageFile: DISKSIZE = 0x170800000
Write BOOT - Start!
Write Serial Number : 0000001966A58FBB1712081113250026
[ERROR] CFwdnDownload::Write_BOOT: Target Memory = NAND
[ERROR] CFwdnDownload::Write_BOOT: 0x0C000012
[ERROR] ROM Write Failure!
Download Session - Ending...
Download Session - End!
[ERROR] ########## Download is failed! ##########
[DEBUG] CFwdnPort::Check_VtcUsbPortChange: \\?\usb#vid_140e&pid_b086#5&377c05b5&0&5#{db6585b8-0409-4ee6-9636-e595901c59ca} is unpluged.
Please help me fast I really need it to fix it, i know its only old Android 4.0.4 tablet but I still use it...
Hello guys ,
Thanks in advance for any help that I may receive.
Im trying to compile a kernel for my HTC One M8, based on the LineageOS-Kernel (from Github; android_kernel_htc_msm8974), with binfmt_misc support.
My approach:
1. Getting the Kernel Source with the git clone command and downloading+unzip the ndk toolset (r14b)
2. Moving both Extracted "Source Code" and "NDK Folders" to "Testing" folder
3. cd ~/Testing, then: export CROSS_COMPILE=/home/canberk/Testing/ndk/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-
4. cd htc ( folder with kernel source)
5. make clean && make mrproper
6. export ARCH=arm
7. make msm8974_defconfig
8. make gconfig, in order to configure the kernel with a graphical menu
9. make –j4
But after starting the process, im getting this error.... (Error: arch/arm/boot/dts/msm8974-fluid.dtsi:721.2-3 label or path, 'dsi_tosh_720_vid', not found)
I have no idea, what that means or did i just forget a command ? I need your help :crying:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
UPDATE 16.01.2019:
By installing the device-tree-compiler (available in the ubuntu repos), my first problem was solved.
I did compile my kernel successfully (without any errors), but now i cant boot it, by typing : fastboot boot zImage.
I have no idea what to do now. My phone just simply restarts, but still uses the default kernel.
Hi everyone!
In this post I will introduce a Command Line Interface that I published to create H5 to QuickApps in a different way.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
As in the above figure, my aim was to write one-line to create a quick app and then input application parameters with an interactive way.
Basically this commands can be used to create a single app:
Code:
npx [user=10925755]@onurkenis[/user]/create-quick-app # run via npx without installing
In another way, we can define properties inline and missing properties will be asked respectively, just like in the previous figure.
Code:
npx [user=10925755]@onurkenis[/user]/create-quick-app
--appName="My App"
--packageName=com.onurkenis.myApp
--url=https://github.com/onurkenis/create-quick-app
--icon=./icon.png
There is another mode to create quick apps which is batch app creation. This mode allows us to give a json file instead of app properties and we are able to create many projects at once that we added to our json file.
This is the structure of the JSON file and number of applications to add is up to us.
Code:
{
"projects": [
{
"appName": "TestApp1",
"packageName": "com.onurkenis.one",
"url": "https://github.com/onurkenis/create-quick-app",
"icon": "C:/Pictures/optional_icon.jpg"
},
{
"appName": "TestApp2",
"packageName": "com.onurkenis.two",
"url": "https://github.com/onurkenis/create-quick-app"
},
{
"appName": "TestApp3",
"packageName": "com.onurkenis.three",
"url": "https://github.com/onurkenis/create-quick-app"
}
]
}
To create multiple QuickApps with the created JSON, this commands can be triggered:
Code:
npx [user=10925755]@onurkenis[/user]/create-quick-app --fromJson=path_of_json # run via npx without installing
To get rpk file, you can do followings and check PROJECT_PATH/dist folder.
Code:
cd PROJECT_PATH
npm install
npm run release
If you want to check out my project in github or npm, here are the links.
Github: /onurkenis/create-quick-app
Npm: /@onurkenis/create-quick-app
All suggestions are welcomed.
Thanks.