[SUGESTION TO DEVS] Make roms for locked bootloaders - Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A

Hello all devs, I have a suggestion that I think many people that cant unlock the bootloader will think very nice.
The sugestion is that the devs if they time to make a version like JJs hybrid rom for locked bootloaders.
I have also tried the Miui rom, and I removed the format script and boot.img and it booted fine without any major problems.
So my sugestion is that the devs makes their roms for stockkernel for people with locked bootloader, and makes a deletion script that removes all the files from the old rom.
Devs, what do you think about my idea?

Thats not possible to remove format script...
If you dont format system partition, it will be overloaded with applications and frameworks from Old and New ROM... the two ROM appz might not share the same sign keys... that would result in Bootloop or Series of FCs on install...

jjdoctor said:
Thats not possible to remove format script...
If you dont format system partition, it will be overloaded with applications and frameworks from Old and New ROM... the two ROM appz might not share the same sign keys... that would result in Bootloop or Series of FCs on install...
Click to expand...
Click to collapse
Here are a solution that I think maybe works:
First create a homemade format script that removes all the stuff on partiation, but it doesnt run the format options, it just deltes everything manually from recovery.
And then just remove the format script from the roms zipfile and remove the boot.img too.
Then just resign the zip file with sign by enyblock.
Thats should work, maybe somebody can try it?

DevStaffAndroid said:
Here are a solution that I think maybe works:
First create a homemade format script that removes all the stuff on partiation, but it doesnt run the format options, it just deltes everything manually from recovery.
And then just remove the format script from the roms zipfile and remove the boot.img too.
Then just resign the zip file with sign by enyblock.
Thats should work, maybe somebody can try it?
Click to expand...
Click to collapse
thats practically not possible either...
MIUI, CM9 have different appz and framework...
applications aside, who has enough time to write a delete script for more than a thousand lib and other system files?..
I am trying to find out the files that don't load on statup after installing a flashable zip on Locked bootloaders... that is better way of finding a solution..

jjdoctor said:
thats practically not possible either...
MIUI, CM9 have different appz and framework...
applications aside, who has enough time to write a delete script for more than a thousand lib and other system files?..
I am trying to find out the files that don't load on statup after installing a flashable zip on Locked bootloaders... that is better way of finding a solution..
Click to expand...
Click to collapse
But isnt there a way to just remove all folders using recursive deletion, isnt that the easiest way to make a deletion script?
And then just remove the format script and boot.img.
With my my solution ive managed to run the miui based on offcial semc ics on my Xperia Ray it worked fine.

Me: Hmm.. What is this thread?
Self: Looks to be someone requesting something from Developers.
Me: Oh - that's nice. Did they say please?
Self: Yeah looks like they kinda did. But looks like they posted it in Development!!!
Me: DOH! Is there any actual development taking place?
Self: No! It's just a discussion thread!
Me: :facepalm: Well looks like it needs to be moved to General.
Self: Hope they learn their lesson.

jerdog said:
me: Hmm.. What is this thread?
Self: Looks to be someone requesting something from developers.
Me: Oh - that's nice. Did they say please?
Self: Yeah looks like they kinda did. But looks like they posted it in development!!!
Me: Doh! Is there any actual development taking place?
Self: No! It's just a discussion thread!
Me: :facepalm: Well looks like it needs to be moved to general.
Self: Hope they learn their lesson.
Click to expand...
Click to collapse
hahahahahahahaha
you make my day hahahaha

This is why most custom ROMs require custom kernel
Needs unlocked bootloader
(actually hybrom does not contain a boot image.Thus, when you install hybrom you don't mess with your boot image at all.BUT recovery from nAa is installed in /system and while system is formated during the installation of hybrom,recovery messes with it self.That's why unlocked bootloader and a custom kernel with recovery is necessary for now to install hybrom)
Click to expand...
Click to collapse
Source: http://forum.xda-developers.com/showthread.php?t=1373435
It means, that if Recovery is installed in /system folder, and you want to install custom ROM, which (mostly) replaces the system folder, Recovery would be removed and would end up in complete stop with bootloop.
If Recovery is installed in the kernel, then the whole /system partition can be removed without affecting the Recovery at all.
Also, stock kernels have quite low functionality, that's why it is not widely used.

Someguyfromhell said:
This is why most custom ROMs require custom kernel
Source: http://forum.xda-developers.com/showthread.php?t=1373435
It means, that if Recovery is installed in /system folder, and you want to install custom ROM, which (mostly) replaces the system folder, Recovery would be removed and would end up in complete stop with bootloop.
If Recovery is installed in the kernel, then the whole /system partition can be removed without affecting the Recovery at all.
Also, stock kernels have quite low functionality, that's why it is not widely used.
Click to expand...
Click to collapse
But I restored my nAa CWM backups several times and that as I know formats the system before the restore..

Yeah, about the boot.img, can we dont just mod the chargemoon to load the rom?
Or charger?

DevStaffAndroid said:
Yeah, about the boot.img, can we dont just mod the chargemoon to load the rom?
Or charger?
Click to expand...
Click to collapse
Loading the ROM is not the problem, it is the functionality.
Modifying stock kernel can be done, but if you want to make it work, you have to unlock bootloader to install it also.

Someguyfromhell said:
Loading the ROM is not the problem, it is the functionality.
Modifying stock kernel can be done, but if you want to make it work, you have to unlock bootloader to install it also.
Click to expand...
Click to collapse
But I mean the roms that are built for stockkernel like some of the miui roms?
Skickat från min Xperia ray via Tapatalk 2

Related

[9/30] RW access on /system

THIS WILL NO LONGER BE MAINTAINED and is officially killed
go here if you want rw access and get the version without a kernel.(assuming you have a kernel installed that has aufs support)
IF YOU FLASHED THE UPDATE.ZIP THAT WAS ON THIS PAGE...PLEASE DO THE FOLLOWING:
You need to remove the init script and static busybox that were installed on your device. You have to do this in recovery mode since your rw access is not real.
Download the version linked to above and place it at the root of your sdcard.
open rom manager
select boot to recovery
boot to recovery while plugged in to computer
then from computer:
Code:
adb shell
mount /system
mount /data
rm /system/etc/init.d/99sysrw
rm /data/bin/busybox
umount /system
umount /data
exit
and from the phone:
flash BlaY0's update.zip you put on the sdcard
Really cool for your contributions.
I have no clue what you said, though. Will I be able to uninstall system apps with this? I'm guessin not as you were mostly speaking of partitions.
Lemme guess, brings ext2/3 etc together for something?
wow, best news that I have heard all day.
Ah! Thank you so much. I was just asking about this a couple weeks ago.
Sent from my T-Mobile myTouch 3G Slide using XDA App
does this mean that we can use metamorph now?
sorry if its a stupid question
Hayzie said:
Really cool for your contributions.
I have no clue what you said, though. Will I be able to uninstall system apps with this? I'm guessin not as you were mostly speaking of partitions.
Lemme guess, brings ext2/3 etc together for something?
Click to expand...
Click to collapse
No, You will not be able to uninstall apps with this (at least I don't think). It doesn't actually let you write to the /system partition, it just creates an overlay.
And No it does not even look for an ext partition, it just uses the data partition.
rodriguez27 said:
does this mean that we can use metamorph now?
sorry if its a stupid question
Click to expand...
Click to collapse
Don't really know, I haven't tried. Bear in mind however since it is on your data partition, space could be an issue. Any files changed would then be stored in /data/sysrw.
thanks for the quick info
I'm gonna try this out with Android Commander. With this I should be able to remove apps and delete files without restarting into recovery and mounting everything. Right?
dumfuq said:
No, You will not be able to uninstall apps with this (at least I don't think). It doesn't actually let you write to the /system partition, it just creates an overlay.
Click to expand...
Click to collapse
apparently I was wrong.
as a test I did...
Code:
rm system/app/com.amazon.mp3.apk
while the phone was booted and it worked!
Even after a reboot I do not have com.amazon.mp3.apk installed
It worked for me too, I used android commander booted and running and removed out of /system/apps android.tether.apk, mytouchmusic-signed.apk, and twitter.apk. I had a force close when I removed one thing (I am sure it was running in the background)
They all were gone after a reboot too, I was also able to update adfree just fine.
Any way this can be built into roms?
Thanks for the hard work!
dumfuq said:
No, You will not be able to uninstall apps with this (at least I don't think). It doesn't actually let you write to the /system partition, it just creates an overlay.
And No it does not even look for an ext partition, it just uses the data partition.
Don't really know, I haven't tried. Bear in mind however since it is on your data partition, space could be an issue. Any files changed would then be stored in /data/sysrw.
Click to expand...
Click to collapse
Hey dumfuq, thanks for this! Great idea on porting this badboy! One question though... from what I understood from the source thread is that will use the EXT. Partition for data if you have it right? So it won't break a2sd? I think I understood that correctly. Plus you need your kernel and that should make it work on any rom. I assume it won't overwite the OC kernel either. I'm excited to try this one out but I'm in the middle of rebuilding my rom so I can make a new backup (my old corrupted finally). I will test out as much as I can and let you know if different roms work. I should be done reinstalling by tomorrow (i have like 200 apps, lol!). This might turn out to be a good way to skip nandroiding and wiping all together if it turns out to work properly with a2sd/a2fat32... don't ya think?
sino8r said:
Hey dumfuq, thanks for this! Great idea on porting this badboy! One question though... from what I understood from the source thread is that will use the EXT. Partition for data if you have it right? So it won't break a2sd? I think I understood that correctly. Plus you need your kernel and that should make it work on any rom. I assume it won't overwite the OC kernel either. I'm excited to try this one out but I'm in the middle of rebuilding my rom so I can make a new backup (my old corrupted finally). I will test out as much as I can and let you know if different roms work. I should be done reinstalling by tomorrow (i have like 200 apps, lol!). This might turn out to be a good way to skip nandroiding and wiping all together if it turns out to work properly with a2sd/a2fat32... don't ya think?
Click to expand...
Click to collapse
This version is not the same as blayo's for the legend. It is closer to the desire one (although I used info from both).
Mine will not even try to detect an ext partition at this point, it just uses the data partition regardless of what is available.
Also nothing at all will get overwritten with this unless you happen to have an /system/etc/init.d/99sysrw file. It doesn't copy the kernel or modules, instead it just assumes you have a supported version . The only thing this update.zip does is add the script into init.d.
dumfuq said:
This version is not the same as blayo's for the legend. It is closer to the desire one (although I used info from both).
Mine will not even try to detect an ext partition at this point, it just uses the data partition regardless of what is available.
Also nothing at all will get overwritten with this unless you happen to have an /system/etc/init.d/99sysrw file. It doesn't copy the kernel or modules, instead it just assumes you have a supported version . The only thing this update.zip does is add the script into init.d.
Click to expand...
Click to collapse
I see... so basically, only cm based roms will work. Well, eventually, most us will move to cm based roms once bluetooth and a few minor bugs are worked out. Well, thanks for the info!
sino8r said:
I see... so basically, only cm based roms will work. Well, eventually, most us will move to cm based roms once bluetooth and a few minor bugs are worked out. Well, thanks for the info!
Click to expand...
Click to collapse
I haven't used them, but I think the newer sense roms support init.d scripts so you should be all good.
Working great on Fenix 2.0 with one of dumfuqs OC kernals...thank you much for this.
V2 is posted. It is essentially BlaY0's script for legend. I've only tested with no ext partition, but hopefully if you have one it will use it to store sysrw.
dumfuq said:
V2 is posted. It is essentially BlaY0's script for legend. I've only tested with no ext partition, but hopefully if you have one it will use it to store sysrw.
Click to expand...
Click to collapse
just so you guys now, v2 probably doesn't work for people with who want it on the ext. Blay0 fixed his though (to support non ext users), so I'll give it a look here soon.
Both versions do not work on stock kernel. Am I missing something? Should I use dumfuq kernel or cyanogenmod kernel in order to use this?
Sent from my T-Mobile myTouch 3G Slide using Tapatalk
WHAT!!?? My slide has finally lost it's parasite, com.amazon.mp3 you are toast now. You and your friends kickback, talkback, soundback, twitter... not sure what else I erased, oh genie widget. Thanks dumfuq!! You are the man
Everyone that does this, make sure to check cyanogen's wiki on making a barebones rom so you don't delete something you actually need (of course you did make a nandroid before doing this so no need to worry if you do).
You won't actually delete anything... overlay just makes you (and system) think it is deleted.

Window animations CyanogenMod

OK! This isn't as simple as it was for BlaY0's ROM. I think the reason is that some people are on nightlies which are stable, so they don't bother using the "official" stable one, or that people use a version that's slightly after 6.1, and could be though of as 6.1.1 (if you have the option for a rotary lockscreen, that's you). This means that frameworks differ slightly, which means I can't a one-zip-for-all type release. There are 2 ways round this:
You make it yourself by going to circle.glx.nl
I do it in a metamorph
I have made a metamorph for the fly-in animation, see here: http://forum.xda-developers.com/showpost.php?p=10217215&postcount=18
This is kind of in testing, but it should work. Let me know.
this animation work on the stock rom?
lollazzo said:
this animation work on the stock rom?
Click to expand...
Click to collapse
Only on cyanogenmod. And it might even not work on that, I'm not sure
Swyped from my HTC Legend
How did you iplemented those window animations?
Did you the Ultimate Online Kitchen? http://circle.glx.nl/
Cause I tried that once but it didn't work :s
Edit: Nevermind, just implemented it in CM 7.0 and it works perfectly
can you do this with bounce animation?
edit:I made it and it functions..in cm 7.0
It gave me boot loop on CM7 ... !
Aminmvb said:
It gave me boot loop on CM7 ... !
Click to expand...
Click to collapse
Did you wiped Dalvik Cache ?
matn013 said:
Did you wiped Dalvik Cache ?
Click to expand...
Click to collapse
Yep , even with adb !
This is for CM 6.1
I am on 6.1, with wiped cache and bootloops. A disclaimer would have been nice. I trusted this was tested and functional since it's not in the development section
greenolive said:
I am on 6.1, with wiped cache and bootloops. A disclaimer would have been nice. I trusted this was tested and functional since it's not in the development section
Click to expand...
Click to collapse
Well, they are tested on my phone. I've pulled them for now, and I'll try again and test a little more thoroughly.
If you didn't backup you can go grab framework-res.apk from the CM-6.1 zip file that you installed from (if you're anything like me it'll still be on your SD card) and push it back to your device with ADB. If you're S-ON you will need to be in recovery mode. Make sure system is mounted (there's an option for this in the "partitions" menu) That will fix the bootloop issue.
Once again, I'm very sorry about this, I'll look into it and upload amended versions. Or, if you feel like being bold you can make it yourself: circle.glx.nl
EDIT:
Attached is a flashable zip that should get you back to normal I'd still wipe dalvik-cache with this one
EDIT 2:
OP updated with fixed versions
EDIT 3:
Things are still screwed for some people, EDIT 1 has been undone
Yup, thanks for the tip. I pushed it back and its booting fine. Well of course you can't test it on more devices than your own. My post might seem a bit cranky. My bad... Grumpy because of hunger I suppose
But what super-special stuff did you do for it to work on your device?
greenolive said:
Yup, thanks for the tip. I pushed it back and its booting fine. Well of course you can't test it on more devices than your own. My post might seem a bit cranky. My bad... Grumpy because of hunger I suppose
But what super-special stuff did you do for it to work on your device?
Click to expand...
Click to collapse
You're completely entitled to be cranky, I screwed up. Again. Try with the new version I posted in the OP. It should be better. And I tend to do stuff live, without all the flashing of zips, so maybe I missed something the first time 'round. (/system overlay, restarting the android framework and ADB)
Will try in a sec!
Well, S-OFF can cause f***-ups
greenolive said:
Will try in a sec!
Well, S-OFF can cause f***-ups
Click to expand...
Click to collapse
Ha haa, S-OFF was done AFTER these MODs. But I still use an overlay on /system for a lot of stuff.
Alright, I tried the new zip and its booting up fine. And the fly-in graphics are working. Too bad all I see are all running processes being killed. Over and over again. Something is not what it should. Still progress
EDIT: Even the zip that should restore framework-res.apk causes the killing of processes. Restored the one from the 6.1 zip and its fine now
Working fine for me. This is nifty, got any other animations up your sleeves?
Edit: Oh wow, just realized how many this changes. Nice.
@greenolive. This is strange. I've just made a metamorph, but I gotta test it on a fresh install of CM.
@speedyink, there are more. I just need to find a way to release these for CM so that they work for everyone.
EDIT:
==================================================================================
Ok, I have made a metamorph Do not try to flash this zip. In order to use this you need either S-OFF or /system overlay. This should be a little more forgiving with the specific build of CM you're using. It is attached to this post, and won't make it to the OP until I'm a little more confident. This IS tested. I wiped everything and installed a new version of CM just so I could test this without my other modifications affecting it.
In testing, I didn't need to wipe dalvik-cache, but if you get problems do that before you complain at me
Ah, one more thing. You may wonder how this is any better than the zips I posted earlier. Well, as metamorph replaces the files it needs in your framework-res.apk, as opposed to replacing the whole apk (that's what the zips did), there is a smaller chance of errors caused by the the "wrong" framework.
i have cyanogen 6.1. for me the zip file got me into a boot loop and the metamorph did nothing. however i did manage to make it work by copying the anim folder from your zip file manually into my framewrok-res.apk file
I've been tried the metamorph version on CM7 nightlies and it worked on all of those roms .
Ty TGF.

Possible list of Files, which can trip "bootloops"?

Hey Guys, I want to ask whats the reason for bootloops. I'm sick of them, I get them too often now.
I change themes sometimes, and suddenly all I'm left is bootloop. I change screen-lock type and again bootloops.
What my idea is, One can go into CWM recovery, mount the system and push/over-write some files through ADB & restore bootloop-free OS. What I don't know is list of files which can be reason for these bootloops.
Rushyang said:
Hey Guys, I want to ask whats the reason for bootloops. I'm sick of them, I get them too often now.
I change themes sometimes, and suddenly all I'm left is bootloop. I change screen-lock type and again bootloops.
What my idea is, One can go into CWM recovery, mount the system and push/over-write some files through ADB & restore bootloop-free OS. What I don't know is list of files which can be reason for these bootloops.
Click to expand...
Click to collapse
If you mean reboots FAT has them, switched back to vo-1 CM build 17.02.2012 (best and fastest ROM ive used!)
http://forum.xda-developers.com/showthread.php?t=1360889
tomsons26 said:
If you mean reboots FAT has them, switched back to vo-1 CM build 17.02.2012 (best and fastest ROM ive used!)
http://forum.xda-developers.com/showthread.php?t=1360889
Click to expand...
Click to collapse
No. I'm talking in general. I also had these problems with other ROMs. Lucky I always had CWM Backup ready to restore them. But no-one is free enough to take CWM backup daily. So it's better to have solution of it I think.
Rushyang said:
No. I'm talking in general. I also had these problems with other ROMs. Lucky I always had CWM Backup ready to restore them. But no-one is free enough to take CWM backup daily. So it's better to have solution of it I think.
Click to expand...
Click to collapse
I also had these problems with other ROM.
Click to expand...
Click to collapse
Then its not a ROM problem is it?!
Make a backup
Try flashing newer official samsung firmware and then restore backup.
Doing this will update modem and some suff in the phone that a ROM can't
The only way is running on the bootloop adb logcat and look on the log what crashes the system. For my I made a SMS backup every day, and CWM backup one in the week and deleted the old backups.
every file in system partition can cause bootloop. Even a single line in build.prop can cause bootloop.
Sent from your phone
tomsons26 said:
Then its not a ROM problem is it?!
Make a backup
Try flashing newer official samsung firmware and then restore backup.
Doing this will update modem and some suff in the phone that a ROM can't
Click to expand...
Click to collapse
But I have never changed modem and other kernel. I'm not on custom kernel either. All I have done till date is, rooted my SGA and flashed custom ROMs. That's it. So I don't think modem or other stuffs might be the problem here.
dragonnn said:
The only way is running on the bootloop adb logcat and look on the log what crashes the system. For my I made a SMS backup every day, and CWM backup one in the week and deleted the old backups.
Click to expand...
Click to collapse
So, do you mean that when my SGA is on bootloop, I can connect with ADB logcat and check at the same time what causes the problem? That sounds interesting.
an0nym0us_ said:
every file in system partition can cause bootloop. Even a single line in build.prop can cause bootloop.
Sent from your phone
Click to expand...
Click to collapse
When you apply the new theme through "Theme Change" engine in CM7. Which files are altered?
Rushyang said:
But I have never changed modem and other kernel. I'm not on custom kernel either. All I have done till date is, rooted my SGA and flashed custom ROMs. That's it. So I don't think modem or other stuffs might be the problem here.
So, do you mean that when my SGA is on bootloop, I can connect with ADB logcat and check at the same time what causes the problem? That sounds interesting.
When you apply the new theme through "Theme Change" engine in CM7. Which files are altered?
Click to expand...
Click to collapse
It depends on the theme.....how it themes...
Sent from my GT-S5830 using XDA App
Prawesome said:
It depends on the theme.....how it themes...
Sent from my GT-S5830 using XDA App
Click to expand...
Click to collapse
Guys, cut to the chase already! Let's consider the normal theme "System" or "Androidian". & Then go to the most changes applying them "UOT Kitchen".
No one, "actually" know or caring to share?
Anyway, let me tell you what happened just now, I changed "LockScreen Wallpaper" from CyanogenMod Settings and boooom! Bootloop. Restoring Nandroid back up now.
Is there anyway to know which files are being changed when I did that?

How to remove CMW recovery without reinstalling OS?

as the topic
newestuser said:
as the topic
Click to expand...
Click to collapse
What are you running (kernel + rom) at the moment?
And why do you want it removed?
SmG67 said:
What are you running (kernel + rom) at the moment?
And why do you want it removed?
Click to expand...
Click to collapse
im running everything stock,
installed just to quickly test so praised ArcMini custom rom. So i restored the backup later on because i didnt liked custom rom.
I felt that the battery drains a bit quicker now, i re-recalibrated and still feels like battery does drain faster than was before.
So i suspect its because i installed CMW.
newestuser said:
im running everything stock,
installed just to quickly test so praised ArcMini custom rom. So i restored the backup later on because i didnt liked custom rom.
I felt that the battery drains a bit quicker now, i re-recalibrated and still feels like battery does drain faster than was before.
So i suspect its because i installed CMW.
Click to expand...
Click to collapse
its more likely apps that are running in the background and widgets you have on the desktop, try a different rom such as lite version of cm7 and underclock your phone,
as far as my understanding goes, cmw is just a tool for installing roms backups ect and doesn't run when you are using it much like booting into a recovery panel on a pc possibly, basically it should not effect your battery drain, though I may be wrong,
I hope this help
no its not apps, because i did backup and restore and after restore battery drain started happening. If i didnt changed anything except installing CMW what else couldve cause that ? every app and configuration was the same...
no custom roms, i have tried and stock rom wins all the way except the extras 2.3 has, but still stock is more stable and graphicly better looking
so is there a way to remove ?
newestuser said:
no its not apps, because i did backup and restore and after restore battery drain started happening. If i didnt changed anything except installing CMW what else couldve cause that ? every app and configuration was the same...
no custom roms, i have tried and stock rom wins all the way except the extras 2.3 has, but still stock is more stable and graphicly better looking
so is there a way to remove ?
Click to expand...
Click to collapse
you could re-flash the original kernel, via flash tool, this will get rid of CMW and set thing to how they where, if you are using a custom kernel or stock kernel with additional modules that could also be responsible for your increased battery drain, you should be able to find the stock kernel on this forum as others have asked for it, alternatively I thing there is a way to get the stock kernel from pc companion
good luck hope this help
well im already using stock kernel...
thing is i dont want to reinstall OS i just want to remove CMW reinstalling os means i have reinstall apps and again link to link2sd
newestuser said:
well im already using stock kernel...
thing is i dont want to reinstall OS i just want to remove CMW reinstalling os means i have reinstall apps and again link to link2sd
Click to expand...
Click to collapse
Installing CWM installs Chargemon, Charger and Recovery.tar to /system/bin and 'sh' to system/xbin. I'm fairly sure chargemon and charger are custom replacements to files that already existed, so i'm not sure removing them would be wise. you can remove Recovery.tar though, which is the main CWM program. Not sure if the 'sh' file in system/xbin is safe to remove either, or what it does exactly.
In Roms that run on kernels that have CWM built in, the chargemon, recovery and the 'sh' file are not present in the ROM, so they may be safe to remove.
Make sure you keep backups of those files, or just rename them at first (just add a 2 at the end of the filename should disable them) to see if it leads to any problems, before you remove them altogether.
SmG67 said:
Installing CWM installs Chargemon, Charger and Recovery.tar to /system/bin and 'sh' to system/xbin. I'm fairly sure chargemon and charger are custom replacements to files that already existed, so i'm not sure removing them would be wise. you can remove Recovery.tar though, which is the main CWM program. Not sure if the 'sh' file in system/xbin is safe to remove either, or what it does exactly.
In Roms that run on kernels that have CWM built in, the chargemon, recovery and the 'sh' file are not present in the ROM, so they may be safe to remove.
Make sure you keep backups of those files, or just rename them at first (just add a 2 at the end of the filename should disable them) to see if it leads to any problems, before you remove them altogether.
Click to expand...
Click to collapse
sh is the shell. It's installed by default and I wouldn't recommend removing it under any circumstances
x10man

[D6603] 23.0.1.A.5.77 Telenor + debloated version

So, this is just a pristine (as "untouched" as possible) image of the Norwegian telenor one.
What I have done:
I've extracted everything, deodexed it, and put everything, excluding all useless junk, in here. Nothing is edited or removed.
All I've added is SuperSU, busybox and ES File explorer. And changed /system/etc/customization/settings/config.prop so the phone is in US English on first boot. (Well, that's the only thing I've edited)
Only files that aren't deodexed are playstationcertified.odex and com.android.nfc_extras.odex. There's no .jar-files for them so...
I copied playstationcertified.odex to com.playstation.playstationcertified.odex since AndroPlus mentioned something about it somewhere. Don't know how important this is.
What kernel should I use with this?
I'd recommend AndroPlus' work any day. It's awesome! So head over and hit that thanks-button for him to show how awesome you think it is!
http://forum.xda-developers.com/showpost.php?p=56439759&postcount=1
If you do use one of his 27-and-on-kernels you can format /system and /cache as F2FS.
Do not format /data as F2FS though. Do not do it. The phone won't boot if /data is formatted as F2FS.
Don't know why not.
If this bricks your phone or whatever else problem arises, I'm not responsible or of much help.
All I can vouch for is it runs fine on my D6603 Z3 phone. With /cache and /system formatted as F2FS.
(Also runs fine with /cache and /system as ext4, if you're wondering)
Does it work with a locked or unlocked bootloader?
It works with an unlocked bootloader. Don't know if it works with a locked one, mine is unlocked.
Here you go:
shrunk-D6603_23.0.1.A.5.77_R12B_Telenor.zip
Here are the files that have been removed:
http://www.mediafire.com/download/vybrb0k5l0s5coy/removed.zip
They're just collected in a zip-file with various folders that tells you where they belong. So you can just take what ever you feel is missing and put it "back" in place in the shrink-zip above.
Here is the original (but still deodexed) thing in one big chunk:
http://www.mediafire.com/download/85evwwlu7fn7vul/23.0.1.A.5.77_Telenor.zip
Just for the sake of the challenge, here is as small as I manage to squeeze it. Just about 1GB on the phone after first installation (420MB as a download).
1. The background is "black" on boot. You need to touch and hold the screen, choose "themes", and select the one theme there is. There is no longer any automation-process that does this on first boot.
2. You need to set language yourself. Go to "settings", "language and keyboard", and change it to the language of your preference.
3. You now have a small ROM on your phone!
http://www.mediafire.com/download/0ei9bjbb8dfn99c/small-D6603_23.0.1.A.5.77_R12B_Telenor.zip
"But I need this and that program, can't you add..."
You do it! Just put what ever program you have or want in to /system/app on the phone (that is, in the zip-file). Some programs needs to be in /system/priv-app (they will force close on you until you put them in /system/priv-app - to really confuse you, playstation app has to be in /system/etc/product/applications, or it won't work. Why I have no idea...).
"But nothing happens when I hit the search bar on top..."
I removed Google Search. If you want it you can put it in /system/priv-app.
"I want to add wallpapers and ringtones"
Here you go. Just add ringtones and wallpapers to their respective folders and zip up, then install just like you'd install a ROM.
http://www.mediafire.com/download/5f5745fo5jlu4qb/add-ringtones-wallpapers.zip
Gonna give this a go later..
Just wondering, if you have already done the drm restore method listed in androkernel thread do you lose it when you flash a rom via zip? Is there anyway to get the drm fix to work on this rom?
Thanks!
Guitarfreak26 said:
Gonna give this a go later..
Just wondering, if you have already done the drm restore method listed in androkernel thread do you lose it when you flash a rom via zip? Is there anyway to get the drm fix to work on this rom?
Thanks!
Click to expand...
Click to collapse
No, I haven't. My point is generally just to make a "pristine" ROM. That is, I've removed what I don't think is needed (I'll upload the "leftovers" in a zip, after doing some more work), but other than that, this is just the way the original ROM was.
With added root and a file explorer.
But it's not that hard to add the stuff from that zip-file. They're just a few files that are extracted to overwrite some files in /system. Just open up the drm-zip and you'll see. The script for DRM doesn't do anything other than just extract (and overwrite) the files inside the zip. So if you want, you could just try to add those files to this and make that happen yourself.
What's the process for getting it as f2fs? Total novice with file systems but saw you guys talking about it in the kernel thread? Is it a case of installing it then converting in twrp?
Sent from my iPhone using Tapatalk
Has anybody tried this on locked bootloader?
The OP says they don't know since they have unlocked bootloader.
Thanks
@Verbato, please for next build i request 2 things, 1. Please remove the wipe internal storage upon flashing, 2. Please add the clock and calendar back, i think many users feel the way i do saying the clock and calendar are vital system apps that were removed, thanks for your work, the rom is smooth and fast with f2fs
corpsegrinder62 said:
@Verbato, please for next build i request 2 things, 1. Please remove the wipe internal storage upon flashing, 2. Please add the clock and calendar back, i think many users feel the way i do saying the clock and calendar are vital system apps that were removed, thanks for your work, the rom is smooth and fast with f2fs
Click to expand...
Click to collapse
Whats the best way to set it up with f2fs? Op said he will release a zip soon with missing apps etc
Guitarfreak26 said:
Whats the best way to set it up with f2fs? Op said he will release a zip soon with missing apps etc
Click to expand...
Click to collapse
The easiest way i done it is i used androplus kernel v27 with multirom twrp 2.8.5, flash with fota if u need to. Go to wipe, advanced wipe, tick which partition you want, eg. System, click change/repair file system - F2FS, do it with system and cache, just be warned - it will wipe both /data and /data/media so backup first. Last step is flash rom zip, sit back, relax, and enjoy f2fs partition, you should notice apps launch tons faster after doing it. Cannot format /data to f2fs though as op mentioned, system and cache only.
@Corpsegrinder Sure, no problem. If it's annoying you, the wiping of /data, I can just send you a new updater-script. It's inside of META-INF. If you download the first file over you'll find calendar and clock in /system/app. They're called "SemcClock.apk" and "SemcCalendar.apk".
I'll remark out the /data-wipe and add clock+cal in the next update.
Updated. No deletion of any data in... data. Added calc and calender. Will put in some work to make it even smaller. Means quicker, means less CPU-usage, and so less battery usage.
corpsegrinder62 said:
just be warned - it will wipe both /data and /data/media so backup first
Click to expand...
Click to collapse
Not any more.
Working on making it a slight bit smaller/quicker/etc.
Root and recovery
Hi. I really appreciate your work putting a debloated rom together for us.
I'm quite new to Z3 roms and feel quite overwhelmed by all the technical info in the various threads. Do you know if/how I can flash this with TWRP and keep the phone rooted?
I did the downgrade/giefroot/recovery process that doesn't need to unlock bootloader, so I'm sitting on the .93 build for now.
KnuckleSnackwich said:
Hi. I really appreciate your work putting a debloated rom together for us.
I'm quite new to Z3 roms and feel quite overwhelmed by all the technical info in the various threads. Do you know if/how I can flash this with TWRP and keep the phone rooted?
I did the downgrade/giefroot/recovery process that doesn't need to unlock bootloader, so I'm sitting on the .93 build for now.
Click to expand...
Click to collapse
Download and pre-root .77 with PRFCreator, flash it through recovery, re-flash recovery itself, switch off and then on again (dnt reboot)
I really like this since i hate bloatware. Is there any chance to get a lollipop version with minimal to no bloatware?
Will this work on the D6616?
any link for AndroPlus kernel? link in OP not working. thank you.

Categories

Resources