Hi guys, i'm a newb at this but i wanna port and test firefox os to my galaxy ace 5830.....i'm stuck at :
Create the manifest file for the new device
Now you need to add the required repos to the manifest file for the new device; this manifest file is called default.xml. Refer to the b2g-manifest file on github for a template. Each device has its own branch; you can use the galaxy-s2 branch as a reference.
My question is do i git clone the fork i have of the b2g/manifest and edit the galaxy-s2.xml file to reflect the ace or what? I don't have the default.xml in my B2G folder......
dantheman1977 said:
Hi guys, i'm a newb at this but i wanna port and test firefox os to my galaxy ace 5830.....i'm stuck at :
Create the manifest file for the new device
Now you need to add the required repos to the manifest file for the new device; this manifest file is called default.xml. Refer to the b2g-manifest file on github for a template. Each device has its own branch; you can use the galaxy-s2 branch as a reference.
My question is do i git clone the fork i have of the b2g/manifest and edit the galaxy-s2.xml file to reflect the ace or what? I don't have the default.xml in my B2G folder......
Click to expand...
Click to collapse
Hi there,
im very interested in your project.
Did you getting through in the meantime?
To creating a manifest, you should use one from other device and edit it.
The best is Galaxy S II.
After this, you should open the manifest with gedit or any other editors.
Replace Galaxy S II device trees with yours and save the file as "default.xml" in directory that contains "build.sh".
Make an exact copy from your manifest and rename it to "<device_codename>.xml" for example "maguro.xml" for Galaxy Nexus Intl. or "i9082.xml" for Galaxy Grand Duos.
Now, open config.sh.
Copy one of the options in "case $1" section and use it as your template and add your device to it, like this:
Code:
"i9082")
echo DEVICE=i9082 >> .tmp-config &&
repo_sync $1
;;
Device variable is your device codename and name of your copied manifest file.
Note: this is for i9082 galaxy grand duos, you should edit it to yours.
Now, you can get the source using
Code:
ANDROIDFS_DIR=my_device_backup ./config.sh <device_codename> default.xml
Reference: "developer.mozilla.org/en-US/docs/Mozilla/Firefox_OS/Porting"
interesting..!!
dantheman1977 said:
Hi guys, i'm a newb at this but i wanna port and test firefox os to my galaxy ace 5830
Click to expand...
Click to collapse
Would definitely like to see this project being developed.
gonna keep an eye on this...
Good Luck
Good luck bro
dantheman1977 said:
Hi guys, i'm a newb at this but i wanna port and test firefox os to my galaxy ace 5830.....i'm stuck at :
Create the manifest file for the new device
Now you need to add the required repos to the manifest file for the new device; this manifest file is called default.xml. Refer to the b2g-manifest file on github for a template. Each device has its own branch; you can use the galaxy-s2 branch as a reference.
My question is do i git clone the fork i have of the b2g/manifest and edit the galaxy-s2.xml file to reflect the ace or what? I don't have the default.xml in my B2G folder......
Click to expand...
Click to collapse
It's 2014 . Any news about Firefox os on galaxy ace. This phone needs it. Firefox os is build for low end devices
dantheman1977 said:
Hi guys, i'm a newb at this but i wanna port and test firefox os to my galaxy ace 5830.....i'm stuck at :
Create the manifest file for the new device
Now you need to add the required repos to the manifest file for the new device; this manifest file is called default.xml. Refer to the b2g-manifest file on github for a template. Each device has its own branch; you can use the galaxy-s2 branch as a reference.
My question is do i git clone the fork i have of the b2g/manifest and edit the galaxy-s2.xml file to reflect the ace or what? I don't have the default.xml in my B2G folder......
Click to expand...
Click to collapse
This is inspiring. Imma start porting to some devices tomorrow
hi,i have to rebuild the source code for samsung galaxy core mobile ,i download the jellybean code and i try to rebuild , what is the target product name for samsung galaxy core and how i add the target device name in repo manifeast file , please help me , thank u
Hi to all, i'm new in the forum . I want debug android kernel for samsung s3 plus , so i downloaded it from
opensource.samsung.com , i've compiled with this configurations lines :
CONFIG_KGDB (for KGDB)
CONFIG_HAVE_ARCH_KGDB (for KGDB)
CONFIG_CONSOLE_POLL (for Android USB support)
CONFIG_MAGIC_SYSRQ (use sysrq to invoke KGDB)
CONFIG_USB_ANDROID_ACM
KGDB_TESTS_ON_BOOT
CONFIG_DEBUG_KERNEL
CONFIG_DEBUG_INFO
So i try to run kernel compiled using emulator-arm but the emulator is offline.
Where i wrong?
How to launch original kernel in emulator?
Thank you all.
Hello ,I don't have popular device (allview x1 xtreme mini). I want to create custom ROM for this device. Problem is in source ... I don't have it. I found clone of my device (IUNI U2) but this device also doesn't have source in internet. I only have basic files like: system.img ,recovery.img ,data.img ,boot.img etc. I extracted ramdisk ,kernel and dts (Device Tree Source) from boot.img but I don't know what to do next? PLS HELP! [Sorry for my english] (No one help?)
Hello, I am trying to compile Nethunter for Redmi 6A, I am using this tutorial on Youtube:-
"Can't send the url (cause i'm a new user)
Redmi 6A's Kernel Sources are available too, I need defconfig for Redmi 6A to compile Nethunter for Redmi 6A but I can't find defconfig of Redmi 6A! arch/arm64/configs contains multiple defconfigs, I can't find Redmi 6A's defconfig! Please Help!!
cactus-o-oss/arch/arm/configs/cactus_defconfig
Liquidfox48 said:
Hello, I am trying to compile Nethunter for Redmi 6A, I am using this tutorial on Youtube:-
"Can't send the url (cause i'm a new user)
Redmi 6A's Kernel Sources are available too, I need defconfig for Redmi 6A to compile Nethunter for Redmi 6A but I can't find defconfig of Redmi 6A! arch/arm64/configs contains multiple defconfigs, I can't find Redmi 6A's defconfig! Please Help!!
Click to expand...
Click to collapse
Need to look in arm not arm64.
arch/arm/configs
Also see is you have def config on the device. Look in /proc for config.gz
mrmazak said:
Need to look in arm not arm64.
arch/arm/configs
Also see is you have def config on the device. Look in /proc for config.gz
Click to expand...
Click to collapse
arch/arm/configs?? It contains a lot of files. Which one is for Redmi 6A??
/proc? config.gz?? I do know that we can extract kernel config from android devices, but i tried it on my Samsung On7 prime and it didn't work. I haven't tried it on Redmi 6A, maybe I don't know the exact procedure to do it correctly please let me know how to do it!
Liquidfox48 said:
arch/arm/configs?? It contains a lot of files. Which one is for Redmi 6A??
/proc? config.gz?? I do know that we can extract kernel config from android devices, but i tried it on my Samsung On7 prime and it didn't work. I haven't tried it on Redmi 6A, maybe I don't know the exact procedure to do it correctly please let me know how to do it!
Click to expand...
Click to collapse
To see which config in the source should be for your device. Look at the /system/build.prop.
Here is from my device.
ro.build.description=full_k62v1_64_bsp-user 8.1.0 O11019 1537518103 release-keys
So my defconfig is "k62v1_64_bsp"
Not always, but often the kernel config used to build kernel on device is saved on the device as well.
In my current phone. (Blu Vivo XL4 - mtk Helio p22). The config file was stored at "/proc/config gz"
From adb you can pull it. . Might need to be in rooted shell in order to get access, do not remember.
Try this adb cmd in your terminal to see
Code:
adb shell ls /proc | find "config"
That will show the contents of the /proc folder, and filter it to show only files with "config" in the name.
mrmazak said:
To see which config in the source should be for your device. Look at the /system/build.prop.
Here is from my device.
ro.build.description=full_k62v1_64_bsp-user 8.1.0 O11019 1537518103 release-keys
So my defconfig is "k62v1_64_bsp"
Not always, but often the kernel config used to build kernel on device is saved on the device as well.
In my current phone. (Blu Vivo XL4 - mtk Helio p22). The config file was stored at "/proc/config gz"
From adb you can pull it. . Might need to be in rooted shell in order to get access, do not remember.
Try this adb cmd in your terminal to see
Code:
adb shell ls /proc | find "config"
That will show the contents of the /proc folder, and filter it to show only files with "config" in the name.
Click to expand...
Click to collapse
"To see which config in the source should be for your device. Look at the /system/build.prop."
How to do it??
Liquidfox48 said:
"To see which config in the source should be for your device. Look at the /system/build.prop."
How to do it??
Click to expand...
Click to collapse
Several ways are possible.
1. Adb pull /system/build.prop
2. With root explorer type app. Browse to /system and open build.prop
3. File manager from TWRP
4. Open stock rom system image look for build.prop.
Liquidfox48 said:
"To see which config in the source should be for your device. Look at the /system/build.prop."
How to do it??
Click to expand...
Click to collapse
Here I looked on the GitHub shared kernel source, and the "cactus" defconfig is right there in the config folder.
https://github.com/MiCode/Xiaomi_Ke...actus-o-oss/arch/arm/configs/cactus_defconfig
mrmazak said:
Here I looked on the GitHub shared kernel source, and the "cactus" defconfig is right there in the config folder.
https://github.com/MiCode/Xiaomi_Ke...actus-o-oss/arch/arm/configs/cactus_defconfig
Click to expand...
Click to collapse
thanks, I also extracted config.gz from /proc/config.gz from TWRP
there are major difference between the Github's config and extracted config
which one to use?? the one extracted via TWRP from proc/config.gz or Github's config???
Note: I uncompressed the config.gz using archive manager in Ubuntu.
Liquidfox48 said:
thanks, I also extracted config.gz from /proc/config.gz from TWRP
there are major difference between the Github's config and extracted config
which one to use?? the one extracted via TWRP from proc/config.gz or Github's config???
Note: I uncompressed the config.gz using archive manager in Ubuntu.
Click to expand...
Click to collapse
Hopefully what you may find if you compare the two closely, is that the file from /proc/ will just have extra lines that are all "option not set".
The git hub source might build both configs, But not certain.
All I can suggest is to try both
mrmazak said:
Hopefully what you may find if you compare the two closely, is that the file from /proc/ will just have extra lines that are all "option not set".
The git hub source might build both configs, But not certain.
All I can suggest is to try both
Click to expand...
Click to collapse
Okay, so far I am using these tutorials to compile kernel of Redmi 6A for Nethunter:
https://github.com/offensive-security/kali-nethunter/wiki#70-porting-nethunter-to-new-devices
http://en.miui.com/thread-293285-1-1.html
https://youtu.be/6-oKLou69WM
Please have a look and help me understand what I am doing and how to do it properly.
If you have time please post a guide to compile kernel for Nethunter.
GitHub link to Nethunter:
https://github.com/offensive-security/kali-nethunter
Liquidfox48 said:
Okay, so far I am using these tutorials to compile kernel of Redmi 6A for Nethunter:
https://github.com/offensive-security/kali-nethunter/wiki#70-porting-nethunter-to-new-devices
http://en.miui.com/thread-293285-1-1.html
https://youtu.be/6-oKLou69WM
Please have a look and help me understand what I am doing and how to do it properly.
If you have time please post a guide to compile kernel for Nethunter.
GitHub link to Nethunter:
https://github.com/offensive-security/kali-nethunter
Click to expand...
Click to collapse
No, I am not making a how to guide.
Mainly because I am no expert , by any meaning of it.
But try and look at this GitHub. It is kernel builder who is making kernel for your device.
https://github.com/Dhoine/android_kernel_cereus
Hey anyone plz tell me how to Install Kali nethunter in redmi 6A