Related
Can anybody compile mkbootimg for linux x86? Since the one's I found in other threads dosen't have --base support. And I don't understand how you compile the mkbootimg.h :/
Here you go.
Simple advice: do an android generic build so you'll get lots of usefull tools compiled.
Reagards
gecka said:
Here you go.
Simple advice: do an android generic build so you'll get lots of usefull tools compiled.
Reagards
Click to expand...
Click to collapse
Thx, I want to do that but don't know how, new to linux and android development
Everything explained here:
http://source.android.com/download
gecka said:
Everything explained here:
http://source.android.com/download
Click to expand...
Click to collapse
Thx, I know that one, but not how to compile the code :/
behnaam said:
Thx, I know that one, but not how to compile the code :/
Click to expand...
Click to collapse
Well it is explained....
Building the code
To build the files, run make from within your working directory:
$ cd ~/mydroid
$ make
Click to expand...
Click to collapse
Just start following the steps and tell me if you have a problem.
How could i compile mkbootimg?
Download AOSP
. build/env_setup.sh (Make sure your SHELL is bash(Or at least not zsh)
make mkbootimg
Or
make mkbootimg mkbootfs fastboot adb
(If you have to do a full build you can but for few tools might as well not).
I now this thread is a bit old, but there may be some people able to solve my problem here..
unrandomsam said:
Download AOSP
. build/env_setup.sh (Make sure your SHELL is bash(Or at least not zsh)
make mkbootimg
Or
make mkbootimg mkbootfs fastboot adb
(If you have to do a full build you can but for few tools might as well not).
Click to expand...
Click to collapse
That works indeed! And I am on OS X with MacPorts. Thanks guys!
Now… I needed to compile a different mkbootimg, the one that makes use of md5, for the bcm21553 CPU family. I had the full directory with the Android.mk and the .c file. I solved removing the mkbooting directory from the AOSP and putting this new one instead.
Isn't there any other way? I hoped it was just a matter of writing make in the new module/tool directory after setting the environment but such isn't the case.
And another thing: what the heck are the .mk files?? Are they specific to the Android SDK? I can't find anything in Internet.
Hi
I loved the drop down toggles on Epsilon rom and I was wondering if any dev by any chance could make one for stock GSM razr ics? That would be awesome because the you cant get rid of the notification icon on the apps that is in the market. I would really appreciate that and I hope it's not that big of a problem. A recovery zip that is compatible with bootmenu 0.2.7(the latest version on market) and something in the style of the epsilon rom clean and goes with motoblur stock? http://miralaonline.net/images/7g2av.png
Thank you!
http://forum.xda-developers.com/showthread.php?t=1765303
Use the search function.
Theme them yourself if you don't like it
And remember to thank the author.
Sent from my XT910 using xda app-developers app
FrAsErTaG said:
http://forum.xda-developers.com/showthread.php?t=1765303
Use the search function.
Theme them yourself if you don't like it
And remember to thank the author.
Sent from my XT910 using xda app-developers app
Click to expand...
Click to collapse
Thanks for this frasertag, does it work with retail nonefigs? I searched but I didnt find that thread!
Also it says "DEODEXED only" and I dont know if I am deodexed
romdroid. said:
Thanks for this frasertag, does it work with retail nonefigs? I searched but I didnt find that thread!
Also it says "DEODEXED only" and I dont know if I am deodexed
Click to expand...
Click to collapse
Code:
adb shell
ls -l /system/app/ | grep odex
if you have nothing, you're de-odex, if you have entries, you're odexed
sevenup30 said:
Code:
adb shell
ls -l /system/app/ | grep odex
if you have nothing, you're de-odex, if you have entries, you're odexed
Click to expand...
Click to collapse
Thanks I'll check that later when I am home, but does it work with official nonefigs ics? And what if I am not de-odex, can I do it myself somehow or is it not noob-friendly?
romdroid. said:
Thanks I'll check that later when I am home, but does it work with official nonefigs ics? And what if I am not de-odex, can I do it myself somehow or is it not noob-friendly?
Click to expand...
Click to collapse
i don't know if it will work, i never tried, it's a little bit complicated to make it working, if you never mod APK it's hard to do it.
oh OK I'll check if I am de-odex or not but I hope this thread can stay here so maybe someone can make flashable zip for official ICS releases:good:
and maybe someone can make flashable file for odexed?
Apparently I am odexed, so I would be grateful if someone could release this mod to work with latest official ics and for odexed system, I bet there is people out there who would love to have this also. Thanks
Sent from my MZ601 using XDA Premium HD app
romdroid. said:
Apparently I am odexed, so I would be grateful if someone could release this mod to work with latest official ics and for odexed system, I bet there is people out there who would love to have this also. Thanks
Sent from my MZ601 using XDA Premium HD app
Click to expand...
Click to collapse
you must be DE-odexed, it can't be done odexed. search over xUltimate to deodex your system
sevenup30 said:
you must be DE-odexed, it can't be done odexed. search over xUltimate to deodex your system
Click to expand...
Click to collapse
Thanks. Found this guide -> http://technologic101.wordpress.com/2012/07/24/tutorial-how-to-deodex-a-stock-android-rom/
Is it that way you de-odex the system and is the guide according to your knowledge also compatible with RAZR?
it seems to be fine, i worked for ics
sevenup30 said:
it seems to be fine, i worked for ics
Click to expand...
Click to collapse
Thanks mate, question about your guide
must have /system rw or do it from bootmenu, go to custom recovery mount /system then :
Click to expand...
Click to collapse
Go into bootmenu -> mount /system and then I write the code in cmd, correct?
romdroid. said:
Thanks mate, question about your guide
Go into bootmenu -> mount /system and then I write the code in cmd, correct?
Click to expand...
Click to collapse
yes, and i forget a step
chmod 644 /system/app/SystemUI.apk
sevenup30 said:
yes, and i forget a step
chmod 644 /system/app/SystemUI.apk
Click to expand...
Click to collapse
Hmm OK I would be grateful if you could edit the code because I will simply copy it and paste it :laugh::good:
I followed that guide and I think I am de-odexed now, I ran your code
Code:
adb shell
ls -l /system/app/ | grep odex
and I got this
Code:
C:\Program\Android\android-sdk\platform-tools>adb shell
ls -l /system/app/ | grep [email protected]_spyder:/ $
de-odexed or not?
Also if I just want notification toggles, do I need to copy this whole code or is it unnecessary?
Code:
adb push SystemUI.apk /tmp/
adb push services.jar /tmp/
adb push android_policy.jar /tmp/
adb shell
su
mv /system/app/SystemUI.apk /tmp/SystemUI.apk.bak
mv /system/framework/services.jar /tmp/services.jar.bak
mv /system/framework/android_policy.jar /tmp/android_policy.jar.bak
mv /tmp/SystemUI.apk /system/app/
mv /tmp/services.jar /system/framework/
mv /tmp/android_policy.jar /system/framework/
chmod 644 /system/app/SystemUI.apk
chmod 644 /system/framework/services.jar
chmod 644 /system/framework/android_policy.jar
reboot
I only downloaded toggle_battery.zip unpacked it and put it in android-sdk\platform-tools
correct?
PS. I only need the notification toggles and not the 1% battery, is there a way to just flash the notification toggles seperate?
Appreciate your help and time, sevenup30
The tutorial is very simple,
First of all I would like to thank @NoobCoder, IF script, although is wrong! But I want to thank him!
1: unpacking the kernel, in init.rc
Search
Set this property so surfaceflinger # is not started by system_init
Setprop system_init.startsurfaceflinger 0
Let's add
# xiangxin: fix LED
Start data_restore
Then in the last added
# Xiangxin: FIX LED service
Service data_restore /sbin/data_restore.sh
User root
Oneshot
Disabled
OK, init.rc is corrected, download the attachment to data.tar, data_restore.sh
Added to the kernel, the /sbin directory!
The attachment of the system directory into your ZIP package!
OK tutorial end!
xx214718247 said:
Please moderator, don't move this post, I just write my method! Please stay one day!
Download the attachment, there is a modified file and not modified files!
Click to expand...
Click to collapse
No one will remove because you give awesome job about front camera
Sent from my ST25i using Tapatalk 2
Little Zed said:
No one will remove because you give awesome job about front camera
Sent from my ST25i using Tapatalk 2
Click to expand...
Click to collapse
Brother, you really fast!
Could you explain better what it does? For what android version it is?
Inviato dal mio Xperia U usando Tapatalk 4
Xperia_Modder said:
Could you explain better what it does? For what android version it is?
Inviato dal mio Xperia U usando Tapatalk 4
Click to expand...
Click to collapse
jb! ics works natively because it's official from sony!
I mean 4.1 or 4.2? Stock or cm?
Inviato dal mio Xperia U usando Tapatalk 4
Xperia_Modder said:
I mean 4.1 or 4.2? Stock or cm?
Inviato dal mio Xperia U usando Tapatalk 4
Click to expand...
Click to collapse
he worked only for stock...so i believe stock 4.1
It's for stock only.
He inserted a bash script in init.rc to run during boot. This script will place the light_themes and lightservice.soc in /data with the related dalvik-cache so that illumination_service can find the necessary files to light up the led bar.
Nice approach @xx214718247 bro
BTW, where's the tutorial ? Your title says it's a tutorial
NoobCoder said:
It's for stock only.
He inserted a bash script in init.rc to run during boot. This script will place the light_themes and lightservice.soc in /data with the related dalvik-cache so that illumination_service can find the necessary files to light up the led bar.
Nice approach @xx214718247 bro
BTW, where's the tutorial ? Your title says it's a tutorial
Click to expand...
Click to collapse
Now is it necessary to flash ur fix first before this or should we use this..only whileflashing Rom
Also....will this work if we wipe data/ factory reset??
Sent from my ST25i using XDA Premium 4 mobile app
kantry123 said:
Now is it necessary to flash ur fix first before this or should we use this..only whileflashing Rom
Also....will this work if we wipe data/ factory reset??
Sent from my ST25i using XDA Premium 4 mobile app
Click to expand...
Click to collapse
if all kernels include this then no need to flash my fix.
Since it's in the kernel, even after wiping data/cache, it'll work.
@xx214718247, so every time phone boots, it'll run data_restore.sh and replace light_themes and lightservice.soc. Wouldn't it remove our last saved color and set it back to default everytime ??
NoobCoder said:
It's for stock only.
He inserted a bash script in init.rc to run during boot. This script will place the light_themes and lightservice.soc in /data with the related dalvik-cache so that illumination_service can find the necessary files to light up the led bar.
Nice approach @xx214718247 bro
BTW, where's the tutorial ? Your title says it's a tutorial
Click to expand...
Click to collapse
Kernel maker, added to the kernel? My accessory, which is not a comparison?
NoobCoder said:
It's for stock only.
He inserted a bash script in init.rc to run during boot. This script will place the light_themes and lightservice.soc in /data with the related dalvik-cache so that illumination_service can find the necessary files to light up the led bar.
Nice approach @xx214718247 bro
BTW, where's the tutorial ? Your title says it's a tutorial
Click to expand...
Click to collapse
Yes, restart, manual setting! If you can find a better way, please tell me, or have a better idea, please tell me? Thank you
NoobCoder said:
if all kernels include this then no need to flash my fix.
Since it's in the kernel, even after wiping data/cache, it'll work.
@xx214718247, so every time phone boots, it'll run data_restore.sh and replace light_themes and lightservice.soc. Wouldn't it remove our last saved color and set it back to default everytime ??
Click to expand...
Click to collapse
At present, I have no better way, let him after the restart does not need to be manually set? You study? If you can, please tell me?
is this ready to flash ?
i tried and says installation aborted
NoobCoder said:
It's for stock only.
He inserted a bash script in init.rc to run during boot. This script will place the light_themes and lightservice.soc in /data with the related dalvik-cache so that illumination_service can find the necessary files to light up the led bar.
Nice approach @xx214718247 bro
BTW, where's the tutorial ? Your title says it's a tutorial
Click to expand...
Click to collapse
I have an idea? In the first boot, SH, script, create a file in data, second boot, scanning, whether to set up the file, if not, then run the SH script! If there is not running a SH script!
sv2hqx said:
is this ready to flash ?
i tried and says installation aborted
Click to expand...
Click to collapse
No. This is a kernel authors!
xx214718247 said:
No. This is a kernel authors!
Click to expand...
Click to collapse
ok
didn't know
xx214718247 said:
I have an idea? In the first boot, SH, script, create a file in data, second boot, scanning, whether to set up the file, if not, then run the SH script! If there is not running a SH script!
Click to expand...
Click to collapse
you can check if the file exists or not. If doesn't exist then run the bash script. I'm not expert in bash but it should work.
Code:
if [ -f light_themes -a -f lightservice.soc ];
then
# do nothing
else
run the script
fi
NoobCoder said:
you can check if the file exists or not. If doesn't exist then run the bash script. I'm not expert in bash but it should work.
Code:
if [ -f light_themes -a -f lightservice.soc ];
then
# do nothing
else
run the script
fi
Click to expand...
Click to collapse
I will try! Thank you very much
NoobCoder said:
you can check if the file exists or not. If doesn't exist then run the bash script. I'm not expert in bash but it should work.
Code:
if [ -f light_themes -a -f lightservice.soc ];
then
# do nothing
else
run the script
fi
Click to expand...
Click to collapse
Brother, your statement should not!
if [ -e /data/light_themes ]
then
# do nothing
exit
else
/sbin/busybox rm -r /tmp/data.tar
/sbin/busybox cp /sbin/data.tar /tmp/data.tar
busybox tar zxvf $tar_file
fi
Hi Respected XDA Developers,
I am really interested in making a custom ROM for Note 5 (N920C). I am really new to these things, I have seen tutorials on XDA for developing ROM's from source, I don’t want to do that, I want to modify stock ROM of my device like I want to ROOT , BusyBox, Fonts, 5-way reboot,Build.prop tweaks, galaxy s6 edge features, battery saving tweaks and many other kind of useful tweaks.
So Please Will Someone Guide Me In This Process, I want to become a developer, I need the help of other senior developer.
Hopefully you people will help me out
I want to make custom Rom with editing stock touchwiz Rom too. I can't find tutorial like we want. I hope someone will help us ASAP.
GT-I9190 cihazımdan Tapatalk kullanılarak gönderildi
umuturunc said:
I want to make custom Rom with editing stock touchwiz Rom too. I can't find tutorial like we want. I hope someone will help us ASAP.
GT-I9190 cihazımdan Tapatalk kullanılarak gönderildi
Click to expand...
Click to collapse
Yah i cant find a proper guide which is suitable for noob people like us, i really hope that some of the renowned developers will help us out as soon as possible ?
That would be a very long guide....
At the very least a "ask any question forum", I too would like to learn more. When I ask a question in forums it seems no one wants to help noobs.
The Sickness said:
That would be a very long guide....
Click to expand...
Click to collapse
Yah that would be long, atleast give us a start.
Well, I build roms and kernels....I can help yall out. But, be aware, I only run Linux, NO Windows
The Sickness said:
Well, I build roms and kernels....I can help yall out. But, be aware, I only run Linux, NO Windows
Click to expand...
Click to collapse
Okay sir i have linux installed, please help me out, give me a start
Which distro? And have you installed the correct packages for android?
The Sickness said:
Which distro? And have you installed the correct packages for android?
Click to expand...
Click to collapse
Ubuntu 14.04.
no i have not installed android packages yet.
toheedasad said:
Ubuntu 14.04.
no i have not installed android packages yet.
Click to expand...
Click to collapse
Ok...I'm going to post a script here in a bit that will install all the required packages, java7, and apktool...
EDIT: Here is the script... extract the .sh file from the zip. You will need to modify it just a bit for the sudo chown -R sick:sick /home/sick/Desktop/apktool.
Where it says sick you need to change to your file name. You need to change it everywhere it says sick.
Open a terminal, type ./installs. It will ask you for your password. Type it in. The script is automated.....when it comes to java you need to say "ok".....
Let me know when your done.
The Sickness said:
Ok...I'm going to post a script here in a bit that will install all the required packages, java7, and apktool...
EDIT: Here is the script... extract the .sh file from the zip. You will need to modify it just a bit for the sudo chown -R sick:sick /home/sick/Desktop/apktool.
Where it says sick you need to change to your file name. You need to change it everywhere it says sick.
Open a terminal, type ./installs. It will ask you for your password. Type it in. The script is automated.....when it comes to java you need to say "ok".....
Let me know when your done.
Click to expand...
Click to collapse
Sir i changed sick to my pc name is that ok?
and the script is running will update you in a min or soo
EDIT: chown: missing operand after ‘toheed-TitanX:toheed-TitanX/home/toheed-TitanX/Desktop/apktool’
Try 'chown --help' for more information.
chown: missing operand after ‘toheed-TitanX:toheed-TitanX/home/android/Desktop/apktool.jar’
Try 'chown --help' for more information.
chmod: cannot access ‘/home/android/Desktop/apktool’: No such file or directory
chmod: cannot access ‘/home/android/Desktop/apktool.jar’: No such file or directory
mv: cannot stat ‘/home/toheed-TitanX/Desktop/apktool’: No such file or directory
mv: cannot stat ‘/home/toheed-TitanX/Desktop/apktool.jar’: No such file or directory
got this error
toheedasad said:
Sir i changed sick to my pc name is that ok?
and the script is running will update you in a min or soo
EDIT: chown: missing operand after ‘toheed-TitanX:toheed-TitanX/home/toheed-TitanX/Desktop/apktool’
Try 'chown --help' for more information.
chown: missing operand after ‘toheed-TitanX:toheed-TitanX/home/android/Desktop/apktool.jar’
Try 'chown --help' for more information.
chmod: cannot access ‘/home/android/Desktop/apktool’: No such file or directory
chmod: cannot access ‘/home/android/Desktop/apktool.jar’: No such file or directory
mv: cannot stat ‘/home/toheed-TitanX/Desktop/apktool’: No such file or directory
mv: cannot stat ‘/home/toheed-TitanX/Desktop/apktool.jar’: No such file or directory
got this error
Click to expand...
Click to collapse
What should i write instead of sick?
You are missing : between your name. What is the name?
No i am putting : in my name.
Name is toheed
And pc name is toheed-TitanX
toheedasad said:
No i am putting : in my name.
Name is toheed
And pc name is toheed-TitanX
Click to expand...
Click to collapse
Then it needs to be:
toheed:toheed
Don't use pc name.
Okay i will try and let you know
EDIT: I have uploaded the log.
I didn’t got any apk tool
EDIT1: just checked 'usr/local/bin' folder apk tool is there
You have apktool. Open terminal and type apktool
The Sickness said:
You have apktool. Open terminal and type apktool
Click to expand...
Click to collapse
Yup Its There
What's next?
toheedasad said:
Yup Its There
What's next?
Click to expand...
Click to collapse
Get @SuperR. kitchen and set it up. Just read his OP...
http://forum.xda-developers.com/chef-central/android/kitchen-superrs-kitchen-t3202296
Hi, I've been programming for a few years now. I primarily made Windows and Linux programs. In the last 6 months, I've followed guides on XDA to root a few of my devices and installed a custom ROM on one (it worked great). I was wondering if anyone experienced in actually developing rooting methods would be able to point me in the right direction for developing my own. Are there any good resources I could use to learn the process? Any help is appreciated. Thanks in advance!
Rooting Android simply means to add SU-binary to Android, preferredly to /system/bin or /system/xbin.
jwoegerbauer said:
Rooting Android simply means to add SU-binary to Android, preferredly to /system/bin or /system/xbin.
Click to expand...
Click to collapse
Thanks! I have heard a little about that. Do you know how I would go about getting those files? Is there a certain website I download them from? Do I need to copy them from a real Linux file system?
Brendanp01 said:
Thanks! I have heard a little about that. Do you know how I would go about getting those files? Is there a certain website I download them from? Do I need to copy them from a real Linux file system?
Click to expand...
Click to collapse
You can fetch the matching SU-binary from here:
AutomatedRoot/files at main · R0rt1z2/AutomatedRoot
Root your MediaTek arm64 device using mtk-su (CVE-2020-0069). - AutomatedRoot/files at main · R0rt1z2/AutomatedRoot
github.com
jwoegerbauer said:
You can fetch the matching SU-binary from here:
AutomatedRoot/files at main · R0rt1z2/AutomatedRoot
Root your MediaTek arm64 device using mtk-su (CVE-2020-0069). - AutomatedRoot/files at main · R0rt1z2/AutomatedRoot
github.com
Click to expand...
Click to collapse
Thank you for all your help!