My head is bleeding inside from all the reading and searching. I still consider myself a green when it comes to the makeup of android. I am a 40+ windows hacker who is not afraid to take a stab at anything. But I really need a few pointers here.
I am a stock ROM bare bone junkie. I like them clean with just a touch of modding for flare. And Electron, BigFau, and Flapjaxxx has already conquered the UCLF6 ROM. High Five for you 3. :highfive: Since nobody is thinking outside of ATT, I wanted to get a zipaligned, deodexed Rogers UXLF4 version going. It seems to have less bloat to start, has less restrictions (ex: hotspot activated even when using on ATT), and has features such as being able to select Network Mode (Ex: GSM only, HSPA only, GSM/HSPA, or LTE/GSM/HSPA) which the ATT ROM does not. What I have to start is a combine tar file. It includes amss.bin, boot.img, cache.img.ext4, mdm.bin, recovery.img, and system.img.ext4.
I finally ended up creating a version with Dsixda kitchen. Haven't installed it yet, but I am about to. Is the Dsixda a good way to start for a newb like me? Or should I be looking at xUltimate instead?
2 things right off the top that has me betwiddled is how to add the radio to the ROM with Dsixda. Seems everyone else has the AMSS and MDM in a tmp folder and these lines in the updater-script:
package_extract_dir("tmp", "/tmp");
run_program("/sbin/dd", "if=/tmp/mdm.bin", "of=/dev/block/mmcblk0p17");
run_program("/sbin/dd", "if=/tmp/amss.bin", "of=/dev/block/mmcblk0p13");
Is it as simple as that? Now take it easy guys on the answer.......
And the other is everyone's updater-script is similiar to each other, but way different than the one created with dsixda. Almost from the same template. So I know these weren't created completely from scratch. Almost leads me to believe that everyone is using different software/kitchen.
So how bout a firm but gentle kick in the right direction?
Nobody has anything to say??
You would be better off posting in the dev's section.
Sent from my SAMSUNG-SGH-I717 using Tapatalk 2
wish I could help brother..... but if your green, I'm glow in the dark neon green!!
I would ask a dev direct...
Bold yes, but if done politely, the are very helpful...
I wish you good luck sir!!!.....g
P.s......I'll test for you if you need them.....g
True
I was thinking the same thing, maybe ask a dev. I am sure that some might be more than willing to help/share their knowledge ?
Some list an IRC so you can chat. Its a little easier to troubleshoot code in a chat sesh rather than passing PM's back and forth.
It would'nt have to be a note dev.
curious did anythign come of this... i am interested in a rogers ics based rom myself
Did you receive any help yet ? I'm not a devloper, but I will try and help you.
Sent from my SAMSUNG-SGH-I717 using Tapatalk 2
No sir, or should I say BigSir, I received no help yet. First post pretty much says it all. Every ROM I checked out on here has the same updater script. I used Dsixda kitchen and mine was not the same. Plus after reading almost every page in the kitchen thread I saw no way to add the modem. Was going to hack away at it this weekend again. Would really like to get this stock ROM going for everyone and to give something back to XDA. I just need some pointers.
Agoattamer said:
No sir, or should I say BigSir, I received no help yet. First post pretty much says it all. Every ROM I checked out on here has the same updater script. I used Dsixda kitchen and mine was not the same. Plus after reading almost every page in the kitchen thread I saw no way to add the modem. Was going to hack away at it this weekend again. Would really like to get this stock ROM going for everyone and to give something back to XDA. I just need some pointers.
Click to expand...
Click to collapse
Start off with xUltimate. I have used it in the past and it's pretty decent for a beginner or novice. Whatever. Lol. Honestly if you just need the updater-script,you could use the updater-script from another rom. Just make the appropriate changes.
Sent from my SAMSUNG-SGH-I717 using Tapatalk 2
I will give xUltimate a try. Just seemed all ROMs had almost the same updater script and were much bigger than the 1 had created. I wouldn't know what to use from another updater script. I am totally a newb here.
Will xUltimate create a CWM install file? Doesn't that just deodex an installed odex ROM?
Related
I haven't been able to find a good answer on miui.us nor have I gotten a reply from any of the devs who have successfully ported to an unsupported device. I have searched for answers as much as possible, and I haven't been able to find out where miui devs get started. Are they compiling from source(I haven't found any source)? I plan on asking the same question there, but I have always gotten the best answers from the XDA community..
I'm waiting for my amaze 4g to come in the mail, the device doesn't have many devs, and while the main dev is working on ICS I figured I'd try to get into development(that is why I finally bought a new device) to see if I can offer the community something while we wait for ICS to get done/stable. If anyone can point me in the direction of where these devs go to get started, I would greatly appreciate it!
Silentbtdeadly said:
I haven't been able to find a good answer on miui.us nor have I gotten a reply from any of the devs who have successfully ported to an unsupported device. I have searched for answers as much as possible, and I haven't been able to find out where miui devs get started. Are they compiling from source(I haven't found any source)? I plan on asking the same question there, but I have always gotten the best answers from the XDA community..
I'm waiting for my amaze 4g to come in the mail, the device doesn't have many devs, and while the main dev is working on ICS I figured I'd try to get into development(that is why I finally bought a new device) to see if I can offer the community something while we wait for ICS to get done/stable. If anyone can point me in the direction of where these devs go to get started, I would greatly appreciate it!
Click to expand...
Click to collapse
They steal the code from CM source. Then they wrap it up in a closed source OS. So you won't find any source for it.
zelendel said:
They steal the code from CM source. Then they wrap it up in a closed source OS. So you won't find any source for it.
Click to expand...
Click to collapse
I figured it might be something like that, would explain why I haven't found anything really helpful.. but then the question becomes how do people port it to other devices? I'm personally a fan of the functionality it has over CM, and it would give the users of my device something to play with(and me something to learn/experiment with) while we wait for ICS to get built. Hell, if I can find some good resources, maybe I could contribute to the ICS build before it is done..
But while the resources I've been finding here are good, I learn best by tinkering, just figuring things out, so the resources between what is offered here and the finished product would do me the most good.
Silentbtdeadly said:
I haven't been able to find a good answer on miui.us nor have I gotten a reply from any of the devs who have successfully ported to an unsupported device. I have searched for answers as much as possible, and I haven't been able to find out where miui devs get started. Are they compiling from source(I haven't found any source)? I plan on asking the same question there, but I have always gotten the best answers from the XDA community..
I'm waiting for my amaze 4g to come in the mail, the device doesn't have many devs, and while the main dev is working on ICS I figured I'd try to get into development(that is why I finally bought a new device) to see if I can offer the community something while we wait for ICS to get done/stable. If anyone can point me in the direction of where these devs go to get started, I would greatly appreciate it!
Click to expand...
Click to collapse
So what we (miui porters) do is take the kernel from cm7 and some lib files from cm7 and add to an existing miui rom until it boots. It helps if you use a similar device as the base (I use the nexus s 4g as a base for my epic 4g ports b/c epic is pretty much a keyboarded version of the nexus s 4g).
Sent from my SPH-D700 using Tapatalk
xboxfanj said:
So what we (miui porters) do is take the kernel from cm7 and some lib files from cm7 and add to an existing miui rom until it boots. It helps if you use a similar device as the base (I use the nexus s 4g as a base for my epic 4g ports b/c epic is pretty much a keyboarded version of the nexus s 4g).
Sent from my SPH-D700 using Tapatalk
Click to expand...
Click to collapse
Where do you guys get the weekly build of miui from, I know it is updated every friday, but I haven't seen where they are getting it from..
The phone I want to develop for is the Amaze 4g, the Sensation is pretty much the same with just a underclocked cpu. The amaze is new enough that everything I've found says they are working on a cm9 build and skipping cm7 all together, so the best I can think of is grabbing some files from the sensation cm7(like you do the nexus) and stock files from the official gingerbread releases for the amaze.
The question is what files can I use from the sensation, will the files from stock ginger work, and which files need to be ported at all. The best I've found is this http://www.madteam.co/forum/support-65/how-to-port-miui/ which I've read the feedback on, and results seem to vary quite a bit.
Silentbtdeadly said:
Where do you guys get the weekly build of miui from, I know it is updated every friday, but I haven't seen where they are getting it from..
The phone I want to develop for is the Amaze 4g, the Sensation is pretty much the same with just a underclocked cpu. The amaze is new enough that everything I've found says they are working on a cm9 build and skipping cm7 all together, so the best I can think of is grabbing some files from the sensation cm7(like you do the nexus) and stock files from the official gingerbread releases for the amaze.
The question is what files can I use from the sensation, will the files from stock ginger work, and which files need to be ported at all. The best I've found is this http://www.madteam.co/forum/support-65/how-to-port-miui/ which I've read the feedback on, and results seem to vary quite a bit.
Click to expand...
Click to collapse
Since your devices are so close, try just copying system/lib/egl and system/lib/hw from stock to Sensation MIUI and also IDK if Amaze and Sensation kernels are compatible, but I'll assume not because that could lead to a brick. So copy boot.img from stock to MIUI. Then Logcat and see what the errors are and replace whatever files error (If it says libcamera failed, replace it with one from stock). It may never boot from a stockbased kernel, it does on some devices and not on others. You may also be able to unpack the boot.img from stock and Sensation MIUI and copy the Sensations intramfs/ramdisk from Sensations folder to Amaze's. Then repack the Amaze folder, which has the Sensation's intramfs in it and then try.
xboxfanj said:
Since your devices are so close, try just copying system/lib/egl and system/lib/hw from stock to Sensation MIUI and also IDK if Amaze and Sensation kernels are compatible, but I'll assume not because that could lead to a brick. So copy boot.img from stock to MIUI. Then Logcat and see what the errors are and replace whatever files error (If it says libcamera failed, replace it with one from stock). It may never boot from a stockbased kernel, it does on some devices and not on others. You may also be able to unpack the boot.img from stock and Sensation MIUI and copy the Sensations intramfs/ramdisk from Sensations folder to Amaze's. Then repack the Amaze folder, which has the Sensation's intramfs in it and then try.
Click to expand...
Click to collapse
Awesome, a place to start. My buy for the Amaze got screwed up, so I'm going to likely get one from tmobile.. but I've already put together a rom to spec that you have described, and I have a few kernels to try too. I hope that checking the logcat and making some tweaks based on the output I get a working rom, the next questions would be what a script looks like(on a pc or mac) I could just apply to pull the files from the different sources to apply to weekly released-- I am pretty sure that is what successful ports do.. and what I could do to be more of a developer rather than just porting or kang'ing. I just figured this would be a good way to get some working experience in the meantime.. but I am guessing that once a good build of an OS is out there, people aren't compiling from source. Seems like many are just learning aspects of the OS and tweaking stock roms with things they have found..
Thanks again for the advice, as soon as I have the phone to test it with, I am gonna give this a try
Silentbtdeadly said:
Awesome, a place to start. My buy for the Amaze got screwed up, so I'm going to likely get one from tmobile.. but I've already put together a rom to spec that you have described, and I have a few kernels to try too. I hope that checking the logcat and making some tweaks based on the output I get a working rom, the next questions would be what a script looks like(on a pc or mac) I could just apply to pull the files from the different sources to apply to weekly released-- I am pretty sure that is what successful ports do.. and what I could do to be more of a developer rather than just porting or kang'ing. I just figured this would be a good way to get some working experience in the meantime.. but I am guessing that once a good build of an OS is out there, people aren't compiling from source. Seems like many are just learning aspects of the OS and tweaking stock roms with things they have found..
Thanks again for the advice, as soon as I have the phone to test it with, I am gonna give this a try
Click to expand...
Click to collapse
Actually, one more suggestion on the kernel. Using dsixdas kitchen, extract the boot.Img from amaze stock and sensation miui and go to boot.img-ramdisk folder and go to init.RC on both devices using notepad++ and find the line that says bootclasspath and copy it from miui to amaze stock. Then recompile using dsixdas kitchen and then test
Sent from my GT-P7510 using Tapatalk
Disclaimer: I'm not an android dev but am interested in learning, really my only knowledge of dev'ing is the three hours or so I've spent so far failing at a port this morning. Don't be a douche, I just admitted my ignorance here.
If you don't know about PA (ParanoidAndroid) then go here and marvel > http://forum.xda-developers.com/showthread.php?t=1717079
It's been ported to the Atrix4G so I figured why not try dx2, and I'm using the A4G ROM in porting. I've been following the instructions here and keep getting hung up on rebuilding the modified framework-res.apk with apktool. The error I'm getting is in the attachments.
My process up to this point is:
- decompile framework-res.apk from PA and our CM9 rom.
- combine framework-res/res/values/ and framework-res/res/xml/ from CM9 to PA folder
- this is where rebuilding the apk fails...
Does anyone know anything about porting that can help? I feel like a lack of knowledge is my problem here.
I have nothing to contribute to this other than a simple good luck. It would be cool to have another option for this phone.
Questions should be asked in Q&A forums, not Development forums.
Thread moved.
Sent from my GT-I9100 using Tapatalk 2
wareju said:
Disclaimer: I'm not an android dev but am interested in learning, really my only knowledge of dev'ing is the three hours or so I've spent so far failing at a port this morning. Don't be a douche, I just admitted my ignorance here.
If you don't know about PA (ParanoidAndroid) then go here and marvel > http://forum.xda-developers.com/showthread.php?t=1717079
It's been ported to the Atrix4G so I figured why not try dx2, and I'm using the A4G ROM in porting. I've been following the instructions here and keep getting hung up on rebuilding the modified framework-res.apk with apktool. The error I'm getting is in the attachments.
My process up to this point is:
- decompile framework-res.apk from PA and our CM9 rom.
- combine framework-res/res/values/ and framework-res/res/xml/ from CM9 to PA folder
- this is where rebuilding the apk fails...
Does anyone know anything about porting that can help? I feel like a lack of knowledge is my problem here.
Click to expand...
Click to collapse
Looks pretty straight forward if you are following the instructions here.
http://forum.xda-developers.com/showpost.php?p=27602914&postcount=24
Just be real careful with the merge and edits.
Just as a test, does your build work if you do not modify the original framework-res.apk from PA?
Yeah that's the guide I was using but kept getting hung up on rebuilding the modified framework-res.apk. Haven't tried without making any framework-res changes, I figured that was crucial.
Sent from DX2 CM9
always a good idea to test your build environment on a known good file set.
DigitalMD said:
always a good idea to test your build environment on a known good file set.
Click to expand...
Click to collapse
You're already talking over my head ha, but yeah I do plan to dive back into this soon. If nothing else to learn some of the more technical sides of android. Also going to be running Linux alongside windows soon, may just wait until I get that up and running.
Sent from DX2 CM9
wareju said:
Disclaimer: I'm not an android dev but am interested in learning, really my only knowledge of dev'ing is the three hours or so I've spent so far failing at a port this morning. Don't be a douche, I just admitted my ignorance here.
If you don't know about PA (ParanoidAndroid) then go here and marvel > http://forum.xda-developers.com/showthread.php?t=1717079
It's been ported to the Atrix4G so I figured why not try dx2, and I'm using the A4G ROM in porting. I've been following the instructions here and keep getting hung up on rebuilding the modified framework-res.apk with apktool. The error I'm getting is in the attachments.
My process up to this point is:
- decompile framework-res.apk from PA and our CM9 rom.
- combine framework-res/res/values/ and framework-res/res/xml/ from CM9 to PA folder
- this is where rebuilding the apk fails...
Does anyone know anything about porting that can help? I feel like a lack of knowledge is my problem here.
Click to expand...
Click to collapse
i'd try using the original framework first and then trying to flash it to the dx2 like that. If anything you'd have to update the updater-script and build.prop first before it worked, but it'd be worth a try at least. I haven't messed with the dx2 too much for a while now, but I know for porting ROMs to the samsung fascinate I have to do a bunch of edits & then I have to get data to properly work right (which I'm not sure how to do). So I'd keep trying and keep trying because that'd honestly bring another ROM to the dx2.
I may try and port a rom to the dx2 in the near future, but idk yet.
EDIT: if you need a tester also hit me up on here [pm] or twitter [@ztotherad], my dx2 doesnt have data atm, but i can turn it back on if i need that
also, i may try paranoidandroid port with you, if thats cool
Hey all.
Well first i'm gonna talk a bit about myself.
I have Huawei Ascend G300, and before that i had Huawei Ideos X3 (my first android). I've been playing with ROM's flashing since almost the beginning but now i'm trying to learn a bit more. What i'm trying to do is to port a Sense ROM to my G300. From HTC One V to be exact (http://forum.xda-developers.com/showthread.php?t=1943412). I don't have any kind of experience in developing, this is my first try, but i guess i would learn more porting Sense than any other normal port as it is much deeper than others. Don't give me answers like "you can't do it based on your experience" or "if you want Sense buy HTC". This is Chef Central so i'm expecting tips from experienced Dev's. And this little project is just to learn more about how android works. Finally, i would get a decent HTC if i had money for it.
So, the guid i'm following:
http://forum.xda-developers.com/showthread.php?t=1707177
If you have more detailed guides please send them to me.
What i've done so far. In CM9 (base) i've edited init.rc copying from Sense ROM and compiled the boot.img back. I've tacken the keys from CM9 to Sense ROM. Copied the files that the guide told me to. After this i recompiled the Sense ROM. Tried to flash and got problems with updater script. So i took the updater script and binary from CM9 to Sense ROM and tried again. It flashed this time but doesnt get past Splash Screen.
I've not made changes in framework.res and build.prop yet (it's my next task).
So how am i going? Am i on a good path?
Thanks!
I'm also working on a sense port. And your doing well so far, however, I would recommend editing the updater - script to match your mount points from stock script instead of copying the stock script over. There are some important processes that run that are sense specific. I've only made it to boot animation so far.
Sent from my SPH-L710 using xda app-developers app
Let me also join you
jagannn said:
Let me also join you
Click to expand...
Click to collapse
Have you already started porting? If so how far have you gotten? We haven't made it to the lock screen yet.
Sent from my SPH-L710 using xda app-developers app
I have the ZTE Avail 2 (aka Z992) (and it sucks, considering it's a $70 phone, buying a new one isn't an option because I just built a computer). It hasn't had an update since 4.1.1 and it's very slow, (usually have only ~50mb of ram free when just sitting at launcher) even with all of the tricks to speed it up (greenfiy, cleaner, etc) and on top of that, it's loaded with features that ZTE put in that suck. So after searching and searching for a custom ROM with support for my phone, I can confirm there is zero. I looked at the rom dev tutorial - http://forum.xda-developers.com/showthread.php?t=1272270 and the kitchen program doesn't support my phone either. Does that mean I'm screwed? If there's a way to make a rom compatible other than the android kitchen or straight up learning to program, please tell me. I'm willing to learn anything that isn't hugely time consuming. Thanks for any replies.
FourZer0 said:
Does that mean I'm screwed? If there's a way to make a rom compatible other than the android kitchen or straight up learning to program, please tell me. I'm willing to learn anything that isn't hugely time consuming. Thanks for any replies.
Click to expand...
Click to collapse
No, you are not. You can try many other porting tutorials around the web. I found a list of phones similar to yours, might come in handy.
In fact, since your are trying to "port" ROMs, just think about the fact that "where did those ROMs come from?" Those ROMs were built from source code. The Android project is open source and if you are feeling adventurous, you can just grab the source code and compile it yourself for your device. It might be very easy or very tough, depending on your device. I would advise you to try to build Cyanogenmod 10.1 from source code. Check here and here.
And make sure to check this (must).
Cheers man! Trust me, trying to build Cyanogenmod from source will be a lot of fun!
Thank you! So I found CM for the xperia tipo, which was on the list of similar devices. I should use that one and change whatever needs to be changed, right?
Also, is it possible to do that for 4.4 stock? That may be a better idea if CM consumes too much ram
tuxboy said:
No, you are not. You can try many other porting tutorials around the web. I found a list of phones similar to yours, might come in handy.
In fact, since your are trying to "port" ROMs, just think about the fact that "where did those ROMs come from?" Those ROMs were built from source code. The Android project is open source and if you are feeling adventurous, you can just grab the source code and compile it yourself for your device. It might be very easy or very tough, depending on your device. I would advise you to try to build Cyanogenmod 10.1 from source code. Check here and here.
And make sure to check this (must).
Cheers man! Trust me, trying to build Cyanogenmod from source will be a lot of fun!
Click to expand...
Click to collapse
Okay, ignore my last replies, I've been reading a lot and kind of know what I'm doing now.
Only problem is, I can't find a stock rom of my phone! The closest thing I found was a custom ROM for a phone similar to mine, which is confirmed working to the one I actually have. So would that do okay? androidforums . com/prelude-all-things-root/795640-azazel-rom-z993-aio.html is the one. Thanks again for any help.
FourZer0 said:
Okay, ignore my last replies, I've been reading a lot and kind of know what I'm doing now.
Only problem is, I can't find a stock rom of my phone! The closest thing I found was a custom ROM for a phone similar to mine, which is confirmed working to the one I actually have. So would that do okay? androidforums . com/prelude-all-things-root/795640-azazel-rom-z993-aio.html is the one. Thanks again for any help.
Click to expand...
Click to collapse
You can easily take a backup of your current ROM. Try booting into recovery and making your own custom recovery (ClockWordMod).
tuxboy said:
You can easily take a backup of your current ROM. Try booting into recovery and making your own custom recovery (ClockWordMod).
Click to expand...
Click to collapse
Oh, I didn't know that would work, thanks again! I have my rom modded like crazy though, tons of xposed modules and build.prop edits, also I uninstalled a lot of stock apps - I'm sure I could get the build.prop somewhere, but what about the other things? Do they matter at all?
Edit: after the backup I now have a ton of tars, a recovery.img, and a boot.img. I extracted all of the tars, now do I just put all of the folders from the tars in a folder with the imgs and that's my base rom?
tuxboy said:
You can easily take a backup of your current ROM. Try booting into recovery and making your own custom recovery (ClockWordMod).
Click to expand...
Click to collapse
Okay, I've come pretty far and I've made several flashable zips and fixed many errors, but there's one thing I can't figure out - the updater script doesn't work, and I realized it's because I was using the one from the original port, and I need the one for my phone, which I can't get from the cwm recovery. I really need the whole META-INF folder. Where can I get that?
I tried for 1 week and i didnt find any official and stable rom for my samsung galaxy note 4 Sm 910h. I used resurrection remix unofficial and camara didnt worked there . Please any solution there help me
I read through the stickies. I tried to put together a working kitchen, etc. However, the links inside the guides are apparently obsolete. I got a lot of "unable to locate package" errors when trying to build up my my linux vm development environment. I should preface that I work in IT on the server side. I spend most of my days working from bash administering to linux servers, but I don't run Linux as my primary at home other than hobby vm's, so while the commands in the tutorials make sense to me, I am not really sure how to find the updated packages that I might need to complete my development environment.
I really want to learn how to develop my own ROMS, and I am looking for square 1, then square 2, etc. I have been googling, but everything I have stumbled into so far is outdated, which is why I am asking for help here.
Is there a class I can take out there, or online up to date guides/trainings? If you were looking to get started now, where would you begin. Any and all advice appreciated.
I found a more updated guide for creating the vm env. So I am off with that. Still open to advice for a noob if you feel like giving it, but I am at least past the first hurdle.
Anyone know where I can find the source code for my Galaxy Tab s2 so I can begin working on the rom?
Sent from my SM-T810 using Tapatalk
musiclover7 said:
I found a more updated guide for creating the vm env. So I am off with that.
Click to expand...
Click to collapse
Care to share? You are not probably not the only one looking for such....
This was the guide I followed, but I will say, I am unfortunately no further along now than I was before. I have a more or less working vm environment, but I got hung up at the point where you try to add a repo containing the ROM you want to work with. I very much want to improve/debloat the stock ROM that comes with my Galaxy Tab S2, but I could not figure out how to change those commands to work with that device rather than Cyanogen mod.
http://tutorialforlinux.com/2015/09...tu-15-10-wily-32-64bit-linuxgnu-visual-guide/
Someone needs to really write a book on this subject. There are some decent youtube videos out there that show some very basic things, but many of the posters appear to be hacks themselves, and they don't get very thorough. I've looked, there really appears to be no comprehensive source of information for those of us that are new to this sort of thing in the year 2016. There are some 4 year old guides, which contain broken links etc..
Now, I know that to create such a guide takes time, and I know that time is scarce, and I also know that there are probably a lot of other people like myself, coming to these forums every day, asking question after question. Could get pretty taxing to be someone in the know...
But really, there is no book? I mean, I'm watching this video and it just shows a guy editing files kind of willy nilly within the zip, explaining in a fashion what he is doing, but also stating that it's not really safe to change this stuff unless you know what you are doing... Well, that's what we are trying to learn. Thats why I am watching your video bud. Interesting...
So I'll ask again, if you were looking for step 1, 2, 3 in the year 2016, where would you start?
Sent from my SM-T810 using Tapatalk
musiclover7 said:
This was the guide I followed, but I will say, I am unfortunately no further along now than I was before. I have a more or less working vm environment, but I got hung up at the point where you try to add a repo containing the ROM you want to work with. I very much want to improve/debloat the stock ROM that comes with my Galaxy Tab S2, but I could not figure out how to change those commands to work with that device rather than Cyanogen mod.
Click to expand...
Click to collapse
You can debloat your original ROM without building it from source. You just need to download the original zip file and then unzip and deodex it and then you can remove programs and zip it again and then flash.
This guide does not talk about deodexing (because custom ROMs are always deodexed). So find the deodexing part here in the forum. Otherwise this guide tells it all.
http://xda-university.com/as-a-user/zip-based-rom-tweaking
When I unzip the file, I wind up with a single .Md5 file, about 2x the size of the original file. I am working with the stock image. There really are no ROMS for my device, which is why I am taking this on. I can further open up the md5 file say with winrar, and I wind up with 6 or so .img files with the correct names, like system, etc. At no point to I see folders.
I think I am missing something. This being stock ROM, maybe there is a step that needs to be taken with stock zips that is different from custom roms. If so, I would love that info.
I think this device is amazing, probably the best I have ever owned, and it would just be that much better with a new slick OS.
Sent from my SM-T810 using Tapatalk
musiclover7 said:
When I unzip the file, I wind up with a single .Md5 file, about 2x the size of the original file. I am working with the stock image. There really are no ROMS for my device, which is why I am taking this on. I can further open up the md5 file say with winrar, and I wind up with 6 or so .img files with the correct names, like system, etc. At no point to I see folders.
I think I am missing something. This being stock ROM, maybe there is a step that needs to be taken with stock zips that is different from custom roms. If so, I would love that info.
I think this device is amazing, probably the best I have ever owned, and it would just be that much better with a new slick OS.
Sent from my SM-T810 using Tapatalk
Click to expand...
Click to collapse
I have not deodexed a single stock ROM, but I guess deodexing brings you that folder structure from those imgs. Try to find out about deodexing.
---------- Post added at 08:34 PM ---------- Previous post was at 07:58 PM ----------
Which version of S2 do you have?
Here is at least one Deodexed + De-knoxed + Debloated ROM for T815 AOJ4:
http://forum.xda-developers.com/tab-s2/general/deodexed-knoxed-debloated-zip-t815-aoj4-t3272908
If it is LP or MM android then try finding deodexing and unzipping quides for those.
---------- Post added at 08:48 PM ---------- Previous post was at 08:34 PM ----------
Here is at least one new discussion of deodexing tool. Should work with LP and MM.
http://forum.xda-developers.com/android/software-hacking/tool-batch-deodex-rom-t3313150
---------- Post added at 09:35 PM ---------- Previous post was at 08:48 PM ----------
This might help unpacking your ROM.
http://forum.xda-developers.com/showthread.php?t=2138885
Thanks Lammpa! That gives me some good stuff to start cracking on. For the record, I have th 9.7 inch T810. It is a brilliant machine.
Sent from my SM-T810 using Tapatalk
musiclover7 said:
Thanks Lammpa! That gives me some good stuff to start cracking on. For the record, I have th 9.7 inch T810. It is a brilliant machine.
Sent from my SM-T810 using Tapatalk
Click to expand...
Click to collapse
No problem. I hope you manage to succeed.