[Q]making a new rom

isko95

Senior Member
May 6, 2012
1,165
241
0
Lombardy
i'm trying to make a rom based on latest minicm7 nightly for x10 mini pro
when i flash it everything works, except root access..
i tried to change superuser app (superSU and superuser) but nothing..
maybe i deleted some files that needs superuser to work..

ANY IDEA?
@SmG67 @nobodyAtall @BlazeXperia @pongnamu @Kilroy. @Emperor.dk @Crazy Seed @drilleffect @erfandl @Chuck95
or anyone else?

PLEASE REPLY EVEN IF YOU'RE NOT SURE!!
 

Kilroy.

Senior Member
Aug 5, 2012
314
186
0
Cologne
i'm trying to make a rom based on latest minicm7 nightly for x10 mini pro
when i flash it everything works, except root access..
i tried to change superuser app (superSU and superuser) but nothing..
maybe i deleted some files that needs superuser to work..

ANY IDEA?

@SmG67 @nobodyAtall @BlazeXperia @pongnamu @Kilroy. @Emperor.dk @Crazy Seed @drilleffect @erfandl @Chuck95
or anyone else?

PLEASE REPLY EVEN IF YOU'RE NOT SURE!!
Extract the system/app/Superuser.apk and the system/xbin/su files from any deodexed, MiniCM7 based ROM and replace the files in your ROM with those. Be sure to set the correct permissions in the updater-script.
 
  • Like
Reactions: isko95

SmG67

Senior Member
May 2, 2012
2,147
855
0
how to set proper permissions in updater script? :)
set_perm(0, 0, 04755, "/system/xbin/su");

Assuming 'su' is in /system/xbin.

The superuser.apk in /system/app will get the same permissions as everything else in there through a set_perm_recursive line for the entire folder. :)
 
  • Like
Reactions: isko95

SmG67

Senior Member
May 2, 2012
2,147
855
0
is it possible to disable bootanimation as default?
Just don't put one in.
There is a build.prop setting for it or maybe something you can do in init.d, but i can't remember what.
If you leave it out the system won't waste any time in displaying it anyway :)

For build.prop: debug.sf.nobootanimation=1
GIYF :)
 
Last edited:
  • Like
Reactions: isko95

isko95

Senior Member
May 6, 2012
1,165
241
0
Lombardy
Just don't put one in.
There is a build.prop setting for it or maybe something you can do in init.d, but i can't remember what.
If you leave it out the system won't waste any time in displaying it anyway :)

For build.prop: debug.sf.nobootanimation=1
GIYF :)
and for init.d?
and in which line do i have to put that in buil.prop? because i alredy tried to put that in build prop but in the last line, but nothing change when it boots, it shows the bootanim..
 
Last edited:

isko95

Senior Member
May 6, 2012
1,165
241
0
Lombardy
So, for now its working?

Sent from my E10i
yes, but i wanted to try to use another superuser app, but only the old one works (by CHAINSDD) supersu and superuser doesnt work, they said the rom has obsolete binary, binary which with superuser works...
i wonder why
 

SmG67

Senior Member
May 2, 2012
2,147
855
0
yes, but i wanted to try to use another superuser app, but only the old one works (by CHAINSDD) supersu and superuser doesnt work, they said the rom has obsolete binary, binary which with superuser works...
i wonder why
The various superuser apk's are only a front-end for the capabilities offered by the su binary, an older su binary will not have all the options that the newer apk's are taking advantage off, that's why they complain about it being obsolete. That is usually one of the first things that gets updated when you start using Google Play. :)
 

isko95

Senior Member
May 6, 2012
1,165
241
0
Lombardy
The various superuser apk's are only a front-end for the capabilities offered by the su binary, an older su binary will not have all the options that the newer apk's are taking advantage off, that's why they complain about it being obsolete. That is usually one of the first things that gets updated when you start using Google Play. :)
so i cant replace the stock one?
where i can find to set default settings and cyanogenmod settings?
 

isko95

Senior Member
May 6, 2012
1,165
241
0
Lombardy
how can i modify the default system theme (which cant be uninstalled)?
which file to find and modify and in which folder?
ps. i already search this but nothiing found solution
 

SmG67

Senior Member
May 2, 2012
2,147
855
0
please reply! :(
Custom ROMS usually have a custom .apk which contains the theme you can set with Theme chooser (minicm7 has minicm7.apk, minicm10 has minicm10.apk) The rest of the user-interface (the "google" stuff) is in framework-res.apk and systemui.apk as far as I know. And then there are some app-specific graphics in individual .apk's like calendar, mms and contacts apps etc.
I'd start with Emperor.dk's tutorial if you want to start learning about theming.
 
Last edited:

isko95

Senior Member
May 6, 2012
1,165
241
0
Lombardy
Custom ROMS usually have a custom .apk which contains the theme you can set with Theme chooser (minicm7 has minicm7.apk, minicm10 has minicm10.apk) The rest of the user-interface (the "google" stuff) is in framework-res.apk and systemui.apk as far as I know. And then there are some app-specific graphics in individual .apk's like calendar, mms and contacts apps etc.
I'd start with Emperor.dk's tutorial if you want to start learning about theming.
yes, i know, thanks for reply!
but in theme chooser there is also a theme called "system" which it can be uninstalled, how can i theme that?
 

isko95

Senior Member
May 6, 2012
1,165
241
0
Lombardy
That's probably the framework-res/systemui stuff
guys, do you know why when i open .xml files with notepad i see a lot of rectangles written "null" (or something else) within? i cant read anything... i was trying to modify some AndroidManifest.xml
please reply
 
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone