[Q] Integrate SU in rom - Galaxy Ace S5830 Q&A, Help & Troubleshooting

Hy people, i need someone help with superuser.
I want to integrate last version in my next rom but i fail to do that.
I know that kitchen is what i need to use, but i need help with that, i tryed and after i finish, rom failed to flash.

Dont use kitchen.
Which rom are you using and which kernel?

Take super user.apk and put it in /system/app
Then,take su bin file
Set perms for them in updater script..
Just refer the root package..
I am a potato, problem?

tj_droid said:
Dont use kitchen.
Which rom are you using and which kernel?
Click to expand...
Click to collapse
Vo-1 cm7 based rom.
It has outdated su app and binary.
Link to rom -> http://forum.xda-developers.com/showthread.php?t=1837056
Kernel it will be 22.07 firekernel, because it's the best in battery life (people want that, and me to)
I will try what Prawesome sayd, then will see.

Why do you need update su binary?
New su binaries are buggy.
Instead try Supersu. Download package from chainfire's original post. And place the files as mentioned by prawesome.

well as explained above u need to place superuser.apk in /system/app & su in /system/xbin and need to set permissions in updater-script as:
set_perm(0, 0, 04755, "/system/app/Superuser.apk");
set_perm(0, 0, 04755, "/system/xbin/su");
BUT
if older superuser.apk & its su binary is present in a kernel and it replaces it on /system at each boot, ramdisk in boot.img needs to be modified and newer files needed to be replaced !

psndna88 said:
well as explained above u need to place superuser.apk in /system/app & su in /system/xbin and need to set permissions in updater-script as:
set_perm(0, 0, 04755, "/system/app/Superuser.apk");
set_perm(0, 0, 04755, "/system/xbin/su");
BUT
if older superuser.apk & its su binary is present in a kernel and it replaces it on /system at each boot, ramdisk in boot.img needs to be modified and newer files needed to be replaced !
Click to expand...
Click to collapse
I will try that.
First i will try the simple one, with updater-script, if doesn't work, i will ask for help in ramdisk replacement !
Big thanx folks !

Try goo.im for the APK.
Sent from my GT-S5830 using Tapatalk 2

Prawesome said:
Take super user.apk and put it in /system/app
Then,take su bin file
Set perms for them in updater script..
Just refer the root package..
I am a potato, problem?
Click to expand...
Click to collapse
The kernel will flash another version at installation ... Só it has to be changed on the kernel mate
Sent from my GT-S5830 using xda premium

Yes, i need help in that ...
Kernel is prerooted (firekernel 22.07)
Can someone please help me with integration ?

Cryss said:
Yes, i need help in that ...
Kernel is prerooted (firekernel 22.07)
Can someone please help me with integration ?
Click to expand...
Click to collapse
Download ketut's tools
Decompile kernel
Decompile ramdisk also if needed
Replace binaries and apk
Controversies,controversies everywhere :what:

Cryss said:
Yes, i need help in that ...
Kernel is prerooted (firekernel 22.07)
Can someone please help me with integration ?
Click to expand...
Click to collapse
I can do that.. v simple .. just attach boot.img
Sent from my GT-S5830 using xda premium

psndna88 said:
I can do that.. v simple .. just attach boot.img
Sent from my GT-S5830 using xda premium
Click to expand...
Click to collapse
Here is it, big thanx man

Cryss said:
Here is it, big thanx man
Click to expand...
Click to collapse
there is no superuser.apk & su in ramdisk of boot.img.........
it might be in fire kernel aroma package somewhere... but definately not there in attached boot.img

psndna88 said:
there is no superuser.apk & su in ramdisk of boot.img.........
it might be in fire kernel aroma package somewhere... but definately not there in attached boot.img
Click to expand...
Click to collapse
Is not in the aroma package ...
What should i do ?

Cryss said:
Is not in the aroma package ...
What should i do ?
Click to expand...
Click to collapse
well it must be in initramfs file (kernel ramdisk )
Sent from my GT-S5830 using xda premium

psndna88 said:
well it must be in initramfs file (kernel ramdisk )
Sent from my GT-S5830 using xda premium
Click to expand...
Click to collapse
Can u help me with that ?

Cryss said:
Can u help me with that ?
Click to expand...
Click to collapse
well just an hr back I was looking into its aroma installer and yes I have some ideas... looking into it
Sent from my GT-S5830 using xda premium

psndna88 said:
well just an hr back I was looking into its aroma installer and yes I have some ideas... looking into it
Sent from my GT-S5830 using xda premium
Click to expand...
Click to collapse
I allready move kernel + files into rom and su hold me to release it ... that's nasty.
But i'll wait for you, no rush

i hope its solved..

Related

(Request) Put a build.prop into CWM-flashable *.zip .......PLEASE

I've got a phone that may or may not be totally frakked due to careless build.prop modding and have been asked to try and recover it without wiping, OS flashing, or any other methods that could potentially lead to a wipe. ADB is a no-go, but I've got CWM access. I've never needed to make a CWM-flashable *.zip before, so I never learned how. I'm crunched for time and could really just use a break. Could somebody please put this build.prop into a CWM-flashable *.zip for me?
http://db.tt/4dDMzozS
I would be extremely grateful!
Thanks in advance!
Sent from my GT-P6810 using XDA Premium HD app
please
Sent from my GT-P6810 using XDA Premium HD app
Ok I'll try.
I need to look how update script works.
Boy124 said:
Ok I'll try.
I need to look how update script works.
Click to expand...
Click to collapse
Thanks. I tried making my own but I keep getting error status 0 on install.
Sent from my GT-P6810 using XDA Premium HD app
Try this.
It does not contain format command, so it won't superbrick lol
ui_print("Never Play With Build.Prop ");
delete("/system/build.prop");
assert(package_extract_dir("boy124", "/system"));
set_perm(0, 0, 0755, "/system/build.prop");
ui_print("Done!");
Boy124 said:
Try this.
Click to expand...
Click to collapse
Thanks! Worked a treat. Figured out why mine wasn't working too. Oh, and nice work on the script... LOL! Unfortunately though, I was the only one who saw it. I should have made him flash it himself. Thank you again! I'll take what time I have left to stress the importance of nandroid backups.... especially when you're a flashaholic. I don't know what ROM he was running, but the default build.prop I got from him wasn't stock. Thanks!
Sent from my GT-P6810 using XDA Premium HD app
Mister_Mxyzptlk said:
Thanks! Worked a treat. Figured out why mine wasn't working too. Oh, and nice work on the script... LOL! Unfortunately though, I was the only one who saw it. I should have made him flash it himself. Thank you again! I'll take what time I have left to stress the importance of nandroid backups.... especially when you're a flashaholic. I don't know what ROM he was running, but the default build.prop I got from him wasn't stock. Thanks!
Sent from my GT-P6810 using XDA Premium HD app
Click to expand...
Click to collapse
Glad that it worked.
I just flashed it myself and it worked.
Sorry I used my own build.prop
Here's the one you actually wanted.
Boy124 said:
Sorry I used my own build.prop
Here's the one you actually wanted.
Click to expand...
Click to collapse
I already copied the default one over it. Thanks though.
Sent from my GT-P6810 using XDA Premium HD app
Thanks Boy124... You saved me...
Sent from my GT-N7000 using xda premium
Don't mind me... just uploading my build.prop so that I can download it to my tab... stupid gmail and their no zip policy lol
I have tried to run this script in my Sony Ericsson Neo V because I havent found any similar script for my device.
It shows that the scripts runs correctly, but the phone don't start as normal.
I have wiped dalvik cache and the simple cache, but nothing changed.
How can I really know if the script runs correctly here?
PS: The scripts assert was enabled in the CWM and it worked, I have tried changing the build.prop you put in you zip for the build.prop in the backup I made.
Thanks you a lot.
Alleby said:
I have tried to run this script in my Sony Ericsson Neo V because I havent found any similar script for my device.
It shows that the scripts runs correctly, but the phone don't start as normal.
I have wiped dalvik cache and the simple cache, but nothing changed.
How can I really know if the script runs correctly here?
PS: The scripts assert was enabled in the CWM and it worked, I have tried changing the build.prop you put in you zip for the build.prop in the backup I made.
Thanks you a lot.
Click to expand...
Click to collapse
replace in zip the buildprop of your actual device, you can take it out of any tar file with 7zip Should work, cant guarantee it thought.
how to put build.prop into samsung GT P6800
Boy124 said:
It does not contain format command, so it won't superbrick lol
ui_print("Never Play With Build.Prop ");
delete("/system/build.prop");
assert(package_extract_dir("boy124", "/system"));
set_perm(0, 0, 0755, "/system/build.prop");
ui_print("Done!");
Click to expand...
Click to collapse
please help me how can i put build.prop to my samsung galaxy GT P6800 please:crying:
jarokku said:
please help me how can i put build.prop to my samsung galaxy GT P6800 please:crying:
Click to expand...
Click to collapse
what do you mean? what happened?
how to put build.prop into samsung GT P6800
Boy124 said:
It does not contain format command, so it won't superbrick lol
ui_print("Never Play With Build.Prop ");
delete("/system/build.prop");
assert(package_extract_dir("boy124", "/system"));
set_perm(0, 0, 0755, "/system/build.prop");
ui_print("Done!");
Click to expand...
Click to collapse
nokiamodeln91 said:
what do you mean? what happened?
Click to expand...
Click to collapse
i have problem my samsung GT P6800 stuck at welcome logo after i edit build.prop and i dont know how to fix it....please help
do you have a backup of your build.prop anywhere on the phone ?
how to put build.prop into samsung GT P6800
jarokku said:
i have problem my samsung GT P6800 stuck at welcome logo after i edit build.prop and i dont know how to fix it....please help
Click to expand...
Click to collapse
nokiamodeln91 said:
do you have a backup of your build.prop anywhere on the phone ?
Click to expand...
Click to collapse
yes i do but not in my tablet,i put it in my pc
do you have CWM ? and a nandoid backup ?
else
is your pc able to see the storage when connected ? if not.. and if you have cwm, boot into that and mount usb storage and let me know

XXLB1 deodexed rom

hello everybody,
I want to get stock deodexed rom for my galaxy ace 5830i..
I know there is deodexed rom for other version, but I want deodexed rom for XXLB1 plz..
If anyone can make it for me this is a link for stock XXLB1 rom>>
http://www.mediafire.com/?4dy3fn4i4nt0arl
I'm wating for your help
plz guys, give me a hand !
I try to deodex my rom manually by using Xultimate, but I got problem with step 3
>>>>>>
^_^
now stuck on step 4 !!! why?
SadHeroXIII said:
plz guys, give me a hand !
I try to deodex my rom manually by using Xultimate, but I got problem with step 3
>>>>>>
^_^
now stuck on step 4 !!! why?
Click to expand...
Click to collapse
Use dsixda kitchen. Xultimate sucks at deodexing.
Sent from my GT-S5830i using xda premium
domnic79 said:
Use dsixda kitchen. Xultimate sucks at deodexing.
Sent from my GT-S5830i using xda premium
Click to expand...
Click to collapse
thanks, I will try ^_^
IF U wish
SadHeroXIII said:
thanks, I will try ^_^
Click to expand...
Click to collapse
Plz Bro when you succeed in deodexing this ROM , Upload your work & Thanks in advance:good:
hello, I finished deodexing the rom by using dsixda, but I can't install it !!
the installation abort everytime, any suggestion ?
SadHeroXIII said:
hello, I finished deodexing the rom by using dsixda, but I can't install it !!
the installation abort everytime, any suggestion ?
Click to expand...
Click to collapse
U added updater script?
Sent from my GT-S5830i using xda premium
domnic79 said:
U added updater script?
Sent from my GT-S5830i using xda premium
Click to expand...
Click to collapse
In fact, No
I used deodex file, and the script-updater is inside it !
can it works by this, or I need to add it by my self ?
SadHeroXIII said:
In fact, No
I used deodex file, and the script-updater is inside it !
can it works by this, or I need to add it by my self ?
Click to expand...
Click to collapse
Ur .zip file must contain META-INF folder with updater-script inside. Deodexed system/app & /framework folders & xbin folder with su & busybox files. U wil even need to add superuser .apk in /app if u wnt su.
Sent from my GT-S5830i using xda premium
domnic79 said:
Ur .zip file must contain META-INF folder with updater-script inside. Deodexed system/app & /framework folders & xbin folder with su & busybox files. U wil even need to add superuser .apk in /app if u wnt su.
Sent from my GT-S5830i using xda premium
Click to expand...
Click to collapse
I know, everything was correct !
>>>
I think I have another problem, boot.img couldn't be found !
I made a back up with cwm and take the system.rfs.tar as what it should.
what is the problem ?
how can I extract the boot.img ?
SadHeroXIII said:
I know, everything was correct !
>>>
I think I have another problem, boot.img couldn't be found !
I made a back up with cwm and take the system.rfs.tar as what it should.
what is the problem ?
how can I extract the boot.img ?
Click to expand...
Click to collapse
U wil find boot.img in kernel. Extract it. Even bmlunlock file .
Sent from my GT-S5830i using xda premium
just a question
I've fineshed deodex apps and frameworks, then is it possible to replace manually?
because I replaced TW by deodex one and it's work ^_^
so can I get deodex rom by replacing files?
​
SadHeroXIII said:
just a question
I've fineshed deodex apps and frameworks, then is it possible to replace manually?
because I replaced TW by deodex one and it's work ^_^
so can I get deodex rom by replacing files?
​
Click to expand...
Click to collapse
If u try to manually replace system files like systemui, ur fone wil go in endless bootloops. Its safer to flash making a flashable .zip
If ur having trouble making a .zip file den i can help u.
Sent from my GT-S5830i using xda premium
domnic79 said:
If u try to manually replace system files like systemui, ur fone wil go in endless bootloops. Its safer to flash making a flashable .zip
If ur having trouble making a .zip file den i can help u.
Sent from my GT-S5830i using xda premium
Click to expand...
Click to collapse
Thanks very much
I'm waiting for your help :good:
SadHeroXIII said:
Thanks very much
I'm waiting for your help :good:
Click to expand...
Click to collapse
I need ur build.prop file. Can u upload it?
domnic79 said:
I need ur build.prop file. Can u upload it?
Click to expand...
Click to collapse
hello,
I've upload these files(system.rfs.tar + deodexed app + deodexed framework )
here ^_^ http://www.mediafire.com/?jsx3n1fxw745uw1
>>
>>
Is this what u need ??
SadHeroXIII said:
hello,
I've upload these files(system.rfs.tar + deodexed app + deodexed framework )
here ^_^ http://www.mediafire.com/?jsx3n1fxw745uw1
>>
>>
Is this what u need ??
Click to expand...
Click to collapse
Lol.... No. I need the build.prop file which is there in system folder. Use root explorer to copy it on sd card.
domnic79 said:
Lol.... No. I need the build.prop file which is there in system folder. Use root explorer to copy it on sd card.
Click to expand...
Click to collapse
Looooool, hhh I can't stop laughing at my self
sorry for this mistake, here is build.prop
http://www.mediafire.com/?ch03nz7v6k52wzk
SadHeroXIII said:
Looooool, hhh I can't stop laughing at my self
sorry for this mistake, here is build.prop
http://www.mediafire.com/?ch03nz7v6k52wzk
Click to expand...
Click to collapse
Download Deodex Files.rar from attachment. Extract it. Make a folder named system. Add ur deodexed /app & /framework folder inside. Copy xbin folder & build.prop file from d extracted file & paste in system(Pic 2). Copy meta-inf folder outside system.(Pic no 1)
Use winrar to .zip it & flash.
domnic79 said:
Download Deodex Files.rar from attachment. Extract it. Make a folder named system. Add ur deodexed /app & /framework folder inside. Copy xbin folder & build.prop file from d extracted file & paste in system(Pic 2). Copy meta-inf folder outside system.(Pic no 1)
Use winrar to .zip it & flash.
Click to expand...
Click to collapse
Thank u very much, finally we get deodex rom for XXLB1 and we can get features of deodex roms :good:
islamhozifa said:
Plz Bro when you succeed in deodexing this ROM , Upload your work & Thanks in advance:good:
Click to expand...
Click to collapse
of course I'll did I will uplode it as soon as possible

[Q] installation Aborted

Soo.. Im Making A ROM But I Dont Know how to Flash My Zip That Suck I Cant Test Any Thing On My Phone
Can Anybody Help me How to Fix This Problem or How to Do Something to the zip so i can make it flashable in CWM
Thanks in Advance
The META-INF folder contains the updater-script file and other files to make the installation possible.
Sent from my GT-S5830i using xda premium
Ummm But.. If i Zip the Rom File And Flash it it Wont Work It will just abort EVEN If The Meta-INF Includes.. I Think il Just Download A Custom ROM And Remove its Files And Add mine Thats Da Only Way..
Boudz78 said:
Ummm But.. If i Zip the Rom File And Flash it it Wont Work It will just abort EVEN If The Meta-INF Includes.. I Think il Just Download A Custom ROM And Remove its Files And Add mine Thats Da Only Way..
Click to expand...
Click to collapse
Yes. That is indeed the ONLY way if you dont understand edify.
Sent from my GT-S5360 using xda app-developers app
Shaaan said:
Yes. That is indeed the ONLY way if you dont understand edify.
Sent from my GT-S5360 using xda app-developers app
Click to expand...
Click to collapse
I can help you by creating updater script

SuperUser to Su

Hey
I created that zip to replace your super user app with supersu
https://www.dropbox.com/s/kwmflyxedqfg053/superuser to su.zip
If I Helped You Please Press ThankS
instal via cwm?
92GTA said:
We also need to make sure this is based off the new patched ROM that mamaich made...
Well here is the rilcdma.dll from my 2.04 ROM:
Click to expand...
Click to collapse
Yes
ιтѕ ѕιmρℓє уσυ ℓιкє Mєαηѕ нιт тнαηкѕ
MŶ ŴŐŔĶŚ
αυтσ ρσятєя тαѕѕνє
αυтσ ρσятєя тσтσяσ
Mνιρ g-αρρѕ
g-αρρѕ яєmσνєя ѕ¢яιρт
There is already a zip provide by chainfire(dev of supersu).So search before you post
Sent from my GT-S5570 using XDA Premium 4 mobile app

How to deodexed stock lollipop rom?

Can someone share how to deodexed stock rom lollipop v 5.0.2
Sent from my XT1068 using XDA Premium 4 mobile app
Correct me if I'm wrong... but somehow, I think that would be difficult since the entire app is compiled to a ELF executable.
Also does Deodex still apply to ART?
amritmalviya said:
Can someone share how to deodexed stock rom lollipop v 5.0.2
Sent from my XT1068 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
My tool
You need linux
https://github.com/luca020400/deodextool
Don't have linux
Sent from my XT1068 using XDA Premium 4 mobile app
luca020400 said:
My tool
You need linux
https://github.com/luca020400/deodextool
Click to expand...
Click to collapse
Am hving linux system @luca can u tell me the procedure to deodex ??
pradeepmaddy said:
Am hving linux system @luca can u tell me the procedure to deodex ??
Click to expand...
Click to collapse
Hmm
Just read repo readme XD
Deodex Tool
You need the $app_name.apk/jar and $app_name.odex
Commands
mkdir odexed
cp *.apk odexed/.
cp *.jar odexed/.
cp *.odex odexed/.
./deodex.sh
luca020400 said:
Hmm
Just read repo readme XD
Deodex Tool
You need the $app_name.apk/jar and $app_name.odex
Commands
mkdir odexed
cp *.apk odexed/.
cp *.jar odexed/.
cp *.odex odexed/.
./deodex.sh
Click to expand...
Click to collapse
I need to place the odex files in odexed folder and have to do the commands rite ? And luca if possible can u give me the video tutorial for deodexing ?? it may help us thank you
pradeepmaddy said:
I need to place the odex files in odexed folder and have to do the commands rite ? And luca if possible can u give me the video tutorial for deodexing ?? it may help us thank you
Click to expand...
Click to collapse
https://www.youtube.com/watch?v=Vz32PamN69U
Sorry for everything
At least is a 1080p at 60 fps video
luca020400 said:
https://www.youtube.com/watch?v=Vz32PamN69U
Sorry for everything
At least is a 1080p at 60 fps video
Click to expand...
Click to collapse
Luca am getting this error .. could u explain me ??
pradeepmaddy said:
Luca am getting this error .. could u explain me ??
Click to expand...
Click to collapse
You have to install java
sudo apt-get install openjdk-7-jdk
eventhough same error coming...

Categories

Resources