Related
On the back of my previous hybrid root effort, I now have an even easier root solution!
Benefits of using this...
- auto A2SD pulled from Cyanogen's ROM (muchos kudos to him...) - just create your partition (I use EXT3) and you're done!
- much easier install process than before!
- root access (with 'adb remount' permissions for full access)
- superuser APK
- busybox is installed and configured, meaning you can use apps that use things such as 'swapon' (e.g. swapper)
- /data/init.sh is called at startup so you can create your own startup commands
- if you're a bit mad (like me) you can set the system partition to always mount RW using init.sh, to save adb remount'ing all the time (this is dangerous potentially ofc!)
- MORE TO COME - gimme your requests!
[caveat: i'm pretty new to Android tweaking, so use at your own risk!]
Details and download:
http://android.modaco.com/content/h...1-1-modaco-hero-patch-root-busybox-much-more/
Changelog
1.4
- Fixed WiFI issues (tested on fresh built Hero)
- USB debugging is now enabled by default
1.3
- A2SD from Cyanogen's latest ROM (full credit to Cyanogen!)
1.2
- Performance fix
1.1
- Initial Release
Well,
First off all, thank you for putting your effort in this. I really appriciate youre work sofar.
Nick
Brill - I would like to have a go, but worried that I'll be messed up cos already rooted (XDA Method) and also applied your Update from your rooting method to get adb remount (ta!!)
Can I just apply the update zip with no problems from those other rootings?
Hugs Dayzee
Other rootings have no impact, so it's cool.
Checking out a reported WiFi issue atm however...
P
no wifi problem here, no problem with previously rooted too
busybox works fine, trying ap2sd soon
stupid question.. how do i use ap2sd now
i applied update.zip once again
any help on the appstosd ????
We need to download the application, or is it built in to transfer all apps to the sd card?? Do we need to format the card with fat32 and ext2??
No probs with my install. Not done anything with it mind you, but no probs been thrown up as a result of doing it and wifi working fine. xxx
Dayzz
Why does the wifi work for some and not for other? Maybe thoose with a root already gets a working wifi and thoose without root before applying this gets a not functioning wifi...
wifi doesnt work for me... i really need it to work.. so im reverting back until it gets fixed..
I had already rooted using method here, then updated using this method and no wifi, restored nandroid backup and wifi back again.
I have the white sim free model, not sure if that makes any differance.
Also was rooted with the 1.2 method, then gave the 1.3 a try and no wifi... Anyone figure out how to get the apps to sd working???
@atsavlis what phone do you have? sim free or locked?
modaco said:
Other rootings have no impact, so it's cool.
Checking out a reported WiFi issue atm however...
P
Click to expand...
Click to collapse
Wifi doesn't work because the wlan.ko module of the people who are having problems is compiled for a different kernel version.
To solve the wifi issue, just include your(or the one of the same build of your boot.img) wlan.ko module in the "update".
You can find it in /system/lib/modules/
enlightener said:
Wifi doesn't work because the wlan.ko module of the people who are having problems is compiled for a different kernel version.
To solve the wifi issue, just include your(or the one of the same build of your boot.img) wlan.ko module in the "update".
You can find it in /system/lib/modules/
Click to expand...
Click to collapse
Not right actually... as the original kernel is being used.
Investigating now, I probably screwed up something in the init.rc in the boot image
P
For A2SD, as with other ROMs, just ensure you have a second partition on your SD card that is EXT3, and the A2SD app will do the magic itself.
P
ext3 ok ... i formated with ext2
That should work too...
P
modaco said:
Not right actually... as the original kernel is being used.
Investigating now, I probably screwed up something in the init.rc in the boot image
P
Click to expand...
Click to collapse
Have you checked that your kernel is the same as the kernel of the people who's wifi doesnt work?
Maybe it's simple to check logcat for any error while atempting to enable wifi
WARNING: THIS MOD IS INTENDED FOR ADVANCED USER
this mod is difficult to applied. for an easier method, you can use my guide here about increasing internal memory without dualboot kernel. if you want a NEW-BETTER-FASTER-BUGLESS method to save your internal memory, you can use my akuro mod in this thread
anyway, this is only one of dualboot implementation based on irfanbagus's work. I actually doing this for fun. this mod is actually intended for rom development for any rom dev who want to develop a custom rom without a risk got a bootloop in his device. please feel free to discuss all stuff about dualboot mod or how to enhance it but don't ask about how to install it on your device. if you don't know how to install it, it means this mod doesn't suitable for you. don't worry. there's a lot of alternative method to save your internal memory space as I've stated above.
let's get straight on how we do this. first of all, in this mod the second ROM will installed on sdcard with modified partition size. we'll make bigger partition on data and system partition. please look into the picture below.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
requirement:
1. know how to customize a rom.
2. know how to install a custom kernel
3. know how to partition sdcard, and of course
3. a sdcard minimal 8gb class 6.
what you'll nedd:
1. a custom rom to be modified.
2. a dualboot custom kernel. you can get it here. http://www.mediafire.com/?6zrkh6a872036x7
3. a modified rom installer script. http://www.mediafire.com/download.php?nxgiz0993brp9re
4. a partition tools.
5. all things needed to modify a rom.
the steps:
1. >>>SDCARD PARTITION<<<
make 4 partition on your sdcard. all partition is primary. my recommended setting for all partition is. 6gb fat32 on first partition, 300mb ext3 on 2nd partition, 300mb ext3 for 3rd partition, and the rest ext3 for 4th partition. you can modify the the 1st and 4th size but don't change the 2nd and 3rd partition size.
2. >>>install irfan's dualboot kernel<<<
feel free to use any method to install the kernel. you can use mai77's, faqbly's method or odin to install the kernel.
3. >>>ROM preparation<<<
extract your custom rom. replace meta-inf folder with the one I've give to you. this script will install your rom to your sdcard partition. re-zip the rom, then copy it to your formatted sdcard (in the 1st partition of course). if these script didn't work check irfan's original post for detailed guide on modifying installer script here http://forum.xda-developers.com/showthread.php?t=1598803
4. >>>dual boot setting and ROM installation<<<
create a blank file in sdcard named 'bootsdcard' then go to recovery mode. install your custom rom. wait till it finished then reboot. the first installation will take a longer than the usual. be patient.
finish. enjoy your 2nd rom with larger /data and /system partition
========
there are several possibilities on installing the new rom. in most cases, it have succesfully installed the rom (I've got no report on installation failure till this moment). but if the rom doesn't work, you'll need to modify the rom and the installer script.
DISCLAIMER:
1. DO IT WITH YOUR OWN RISK.
2. the succession rate is depend on your custom rom and your sdcard quality. do your best to modify it.
3. don't use a2sd or link2sd
4. don't install the app on sdcard when you use the 2nd rom.
5. it will get laggy if your sdcard is not fast enough. you'll need a faster one.
6. this mood will make your battery drains faster. please be cautious.
credits:
1. myss ROM developer. my installation script is based on it.
2. irfanbagus, for the dualboot kernel and his helpfull guide.
3. all XDA member who have share their knowledge for us.
I'm a chemist student. another mid-user here. no need to give thanks. give them to the dev instead.
UPDATE:
http://www.mediafire.com/download.php?hw9jgrui1ga4akg
this is another updater script which automatically delete your sdcard's /data partition.
savie have made another kernel with dualboot support. if you feel this kernel doesn't fit with your necessity, you can use savie's one you can get his kernel in dev section [url="http://forum.xda-developers.com/showthread.php?t=1761166]here[/url]
reserved for modification
wow 750 internal mem?!!!!
seems like i need to buy a new sd card
what will happen
if my android in dualboot rom and active usb storage mode?
you can use usb storage mode just like as you use your first rom.
It is true. How make more free space?
Sent from my GT-S5360 using Tapatalk
1st partition, fat32, is used for regular use (store photos, music, etc)
2nd partition is system partition
3rd partition is cache partition
4th partition is data partition
you can increase the size of 4th partition to have larger size of data partition.
Plz give me repencics 3 modded meta-inf.zip file.
Sent from my GT-S5360 using Tapatalk
ive seen this same thing on the galaxy mini,,,but no need for a lot opf thing ,just flash a custom kernel i think,,
can you guys take a look at this
here is the source
http://androidadvices.com/increase-internal-memory-samsung-galaxy-mini-s5570-1gb/2/
tandob said:
Plz give me repencics 3 modded meta-inf.zip file.
Sent from my GT-S5360 using Tapatalk
Click to expand...
Click to collapse
is my script didn't work?
zeusseuz said:
ive seen this same thing on the galaxy mini,,,but no need for a lot opf thing ,just flash a custom kernel i think,,
Click to expand...
Click to collapse
I though that its totally different. this mod is based on dualboot implementation.
zeusseuz said:
ive seen this same thing on the galaxy mini,,,but no need for a lot opf thing ,just flash a custom kernel i think,,
Click to expand...
Click to collapse
this mod need more complex step because of dual boot. you not only get bigger (or smaller, it is resizeable) internal storage, but you also got 2 different rom in one phone that you can select which one is active with easy way (no need re-flashing) and both working independent (no share data, apps, account). it's mix of data2sd, system2sd, and cache2sd.
in this case, kurotsugi want to make use data2sd capabilities.
kurotsugi said:
is my script didn't work?
No no it is working. But plz give me a solution, when i want to flash another rom by your process then what to do? Before flashing i have to do again flash the kernel and then format ext partition? I am using ddla1 firmware. When i install the dual boot kernel by odin or cwm method it getting boot loops.
Sent from my GT-S5360 using Tapatalk
Click to expand...
Click to collapse
I'm not sure, but I think the method which mentioned zeusseuz is called 'ungaze'.
tandob said:
No no it is working. But plz give me a solution, when i want to flash another rom by your process then what to do? Before flashing i have to do again flash the kernel and then format ext partition? I am using ddla1 firmware. When i install the dual boot kernel by odin or cwm method it getting boot loops.
Sent from my GT-S5360 using Tapatalk
Click to expand...
Click to collapse
before you install another 2nd rom you should reformat (or simply delete all files) in sdcard's data partition (the 4th partition). you don't need to install the kernel again.
kurotsugi said:
before you install another 2nd rom you should reformat (or simply delete all files) in sdcard's data partition (the 4th partition). you don't need to install the kernel again.
Click to expand...
Click to collapse
Where i FOUND the files? I have MODIFIED REPENCIS ROM AND FLASHED. IT DOES NOT BOOTED. ONLY THE SCREEN STAY "GALAXY Y YOUNG GT-S5360" PLZ GIVE ME THE META-INF. ZIP FOR REPENCICS
In this pic there have in meta-INF folder of REPENCICS have some files. Which files in have to replace?
Sent from my GT-S5360 using Tapatalk
You said that my script is working, so I assume that you have already installed a 2nd rom (I think its repencis v3) and its working. now, you want to install another 2nd rom (a modified repencis v3) in your sdcard. am I right?
if you want to install another 2nd rom, please follow this guide:
1. reformat your 4th partition.
2. extract your rom.
3. replace folder meta-inf with the one from me.
4. rezip your file, put in your sdcard.
5. make bootsdcard file in your sdcard's root.
6. enter recovery mode.
7. install your rom, reboot
in any case if this guide didn't work, the probem may comes from your modification. I don't know what you've done to modify it but I think your modification makes the rom didn't work.
kurotsugi said:
You said that my script is working, so I assume that you have already installed a 2nd rom (I think its repencis v3) and its working. now, you want to install another 2nd rom (a modified repencis v3) in your sdcard. am I right?
if you want to install another 2nd rom, please follow this guide:
1. reformat your 4th partition.
2. extract your rom.
3. replace folder meta-inf with the one from me.
4. rezip your file, put in your sdcard.
5. make bootsdcard file in your sdcard's root.
6. enter recovery mode.
7. install your rom, reboot
in any case if this guide didn't work, the probem may comes from your modification. I don't know what you've done to modify it but I think your modification makes the rom didn't work.
Click to expand...
Click to collapse
I have done with hybrid v2.1 it is not working with REPENCICS, cognitive digital rom etc.
Sent from my GT-S5360 using Tapatalk
this is the original meta-inf of repencics
http://db.tt/gxt31q56
Sent from my GT-S5360 using Tapatalk
i'm so sorry, i can't acces my computer at this moment till friday. you may ask irfanbagus if you can't wait.
Hi,
I just found THIS Thread. It explains me why my A2SD doesn't work. I have the boot.img in the zip root directory, but i never flashed it with odin(?). So all my roms - LeeDroid, Runnymede AIO, Cooldroid, RSK SuperSense bring me A2SD, but i never flashed a kernel with Odin. So i think there need to be a different way to get the A2SD modified Kernel running on desire. How did the others do it? Can someone help me with this.
Thank you so much
normal kernels we flash as complete zips from recovery like any other. but i gather you're trying to make your own custom rom? might be easier to stick with one thread rather than open several...
Odin is only for samsung phones as far as i'm aware, so won't work with desire. can you manually flash a boot.img without software? may take a bit more searching.
to make A2SD work, i think you a custom kernel which supports init.d scripts? your A2SD script simply goes into system/etc/init.d, and needs a correct partitioned sd card.
I have a sd-ext4 partition.
I added the A2SD by the kitchen. As far as i know it also modified the bootimage. The Updatescript has this line
write_raw_image PACKAGE:boot.img BOOT:
and i think this means it install the bootimage. So why didn't it work?
ROM info from kitchen says init.d support, app2sd enabled,.... so The only problem is that the apps are not installed.
==EDIT==
Ok just had a look at the script it selfe and found it makes an error log on data partition. I downloaded ES and looked for the log. Here the part i found and think it says a bit about the problem:
[!] Davlik Heap Change Program Not Found.
[] Mount returned code: 0
[x] Mounting failed
[!]Activating Boot Protection.
[x] Swap block device not found.
[x] Swap not active.
[x] No Apps2SD Start flag detected...
Apps2SD will not be started.
These are only a few lines. If you need more pls tell me
Hey everybody,
Have a strange problem. My phone keeps saying I'm low on space, despite the fact that I have a 1,5 gb sd-ext, and still ~880 mb free.
The sd is formatted with 4ext, and the partition is ext4. The SD card is class 10.
See the attached file for a visual of what I'm talking about.
Hope that someone can help
Cheers,
- H
EDIT:
Aaaaannd, now it's stuck on boot...
I had simmilar problems with various APP 2 SD scripts, including INT2EXT (+)
I had problems downloading form Play Store, because it told me that I don't have enough space, nor I could install from SD Card.
My suggestion is:
1.Wipe everything except SD Card and flash the rom again, you can't boot in it anyway, can you?
2. Find a rom to install, and flash it.
3. Search for better app2sd scripts, ( If using gingerbread you could use Link2SD - Used it alot in gingerbread, it doesn't work well in ICS & up )
My questions:
What rom are you using?
What APP2SD script are you using?
Click to expand...
Click to collapse
Silly me, noticed your signature.
If you are stuck in a bootloop, and don't know what to do, do following:
1. Turn off your phone.
2. Boot in recovery
3. Connect your phone to pc with USB
4. If you're using 4ext then it will be toggle usb storage, if clockworkmod ( classic ) then it will be under mounts
5. Copy a downloaded rom to your sd card.
6. Flash it!
Hey bro,
Thanks for the response..
No, it boots just fine.. it's just weird.. but I think I get it now.. It has something to do what the script actually moves to sd-ext, what HBOOT u use, i.e. how much space is allocated for system, data, etc.. ..
You see, before I got a Desire, I had a Samsung Galaxy Gio, running a custom CM 7 ROM, with Darktremor a2sd script. That worked PERFECTLY for me, coz I had set it up to move more or less everything to sd-ext. And although I had almost 1GB of apps, I didn't notice any lag or performance loss.
But now, I'm new to Desire, and I don't know a lot of these "new" a2sd scripts and how to configure them properly.. So it's gonna take a little time experimenting what works, and so on.
The first custom ROM for Desire I installed was a MildWild GB ROM - great ROM. Fast, stabile, just awesome..
But then I started experimenting with various ICS and JB ROMS, and then the problems began to show.. but basicly I think, and I sure dont wont to offend anybody, that the devs should make their ROMS without a a2sd script of their choosing, or at least give us an option to install it or not. Then we're (more) free to install whatever a2sd script we wish, without having to go through /init.d and removing existing script, and what not..
But yeah, it's all good.. Just got play around with it some more
Thanks anyway tho,
- H
EvilShadeZ said:
I had simmilar problems with various APP 2 SD scripts, including INT2EXT (+)
I had problems downloading form Play Store, because it told me that I don't have enough space, nor I could install from SD Card.
My suggestion is:
1.Wipe everything except SD Card and flash the rom again, you can't boot in it anyway, can you?
2. Find a rom to install, and flash it.
3. Search for better app2sd scripts, ( If using gingerbread you could use Link2SD - Used it alot in gingerbread, it doesn't work well in ICS & up )
Silly me, noticed your signature.
If you are stuck in a bootloop, and don't know what to do, do following:
1. Turn off your phone.
2. Boot in recovery
3. Connect your phone to pc with USB
4. If you're using 4ext then it will be toggle usb storage, if clockworkmod ( classic ) then it will be under mounts
5. Copy a downloaded rom to your sd card.
6. Flash it!
Click to expand...
Click to collapse
hhaznadar85 said:
Hey bro,
Thanks for the response..
No, it boots just fine.. it's just weird.. but I think I get it now.. It has something to do what the script actually moves to sd-ext, what HBOOT u use, i.e. how much space is allocated for system, data, etc.. ..
You see, before I got a Desire, I had a Samsung Galaxy Gio, running a custom CM 7 ROM, with Darktremor a2sd script. That worked PERFECTLY for me, coz I had set it up to move more or less everything to sd-ext. And although I had almost 1GB of apps, I didn't notice any lag or performance loss.
But now, I'm new to Desire, and I don't know a lot of these "new" a2sd scripts and how to configure them properly.. So it's gonna take a little time experimenting what works, and so on.
The first custom ROM for Desire I installed was a MildWild GB ROM - great ROM. Fast, stabile, just awesome..
But then I started experimenting with various ICS and JB ROMS, and then the problems began to show.. but basicly I think, and I sure dont wont to offend anybody, that the devs should make their ROMS without a a2sd script of their choosing, or at least give us an option to install it or not. Then we're (more) free to install whatever a2sd script we wish, without having to go through /init.d and removing existing script, and what not..
But yeah, it's all good.. Just got play around with it some more
Thanks anyway tho,
- H
Click to expand...
Click to collapse
How did you partition your sd-card? Using what?
Using 4ext - following ur guide actually... (tnx btw - awesome guide)
Sent from my HTC Desire using xda app-developers app
hhaznadar85 said:
Using 4ext - following ur guide actually... (tnx btw - awesome guide)
Sent from my HTC Desire using xda app-developers app
Click to expand...
Click to collapse
Try re-flashing the CM7 and try using INT2EXT+, sometimes APP2SD scripts doesn't work as they should, If you don't want to use scripts, you could use Link2SD - good choice aswell.
My setup:
Previously:
Stock Alpha Rev HBOOT
1.5 GB SD-EXT
4ext
cm7.2
Int2ext+
Now:
Everything the same except app2sd script and rom.
Evervolv Kitkat w/ built in App2SD
EvilShadeZ said:
Try re-flashing the CM7 and try using INT2EXT+, sometimes APP2SD scripts doesn't work as they should, If you don't want to use scripts, you could use Link2SD - good choice aswell.
My setup:
Previously:
Stock Alpha Rev HBOOT
1.5 GB SD-EXT
4ext
cm7.2
Int2ext+
Now:
Everything the same except app2sd script and rom.
Evervolv Kitkat w/ built in App2SD
Click to expand...
Click to collapse
Yeah, tell me about it.. altough, I've never had problems with the "old", original DarkTremmor a2sd script.. it's this "new" modified a2sd xdata thing that bugs me.. And I can't, for the life of me, figure out how to remove it completly, and replace it with the original DT a2sd script.. (it's built-in VJ's JB ROM, which I'm currently playing with.. )
But thanks anyway man,
- H
hhaznadar85 said:
Yeah, tell me about it.. altough, I've never had problems with the "old", original DarkTremmor a2sd script.. it's this "new" modified a2sd xdata thing that bugs me.. And I can't, for the life of me, figure out how to remove it completly, and replace it with the original DT a2sd script.. (it's built-in VJ's JB ROM, which I'm currently playing with.. )
But thanks anyway man,
- H
Click to expand...
Click to collapse
If there's app2sd in rom, but you need to activate it with terminal, then you might consider not to. Just give other APP2SD / Mount 2 SD scripts a try.
Link for INT2EXT:
CronMod Scripts ( INT2EXT )
I suggest you taking Int2Ext+
INT2EXT+
-Mounts /sd-ext to /data
-Leaves /data/data on internal for speed
-Works with EXT 2/3/4 filesystems
-ZipAligns /data/app on every boot
-No symlinks
Click to expand...
Click to collapse
Never really had problems with space running out on internal w/ it.
As ICS / JB roms go, I find them slow, and unresponsive, but kitkat is opposite
EvilShadeZ said:
If there's app2sd in rom, but you need to activate it with terminal, then you might consider not to. Just give other APP2SD / Mount 2 SD scripts a try.
Link for INT2EXT:
CronMod Scripts ( INT2EXT )
I suggest you taking Int2Ext+
Never really had problems with space running out on internal w/ it.
As ICS / JB roms go, I find them slow, and unresponsive, but kitkat is opposite
Click to expand...
Click to collapse
Wow, thanks a lot! These CronMod scripts look great. Gonna try it out tomorrow.
But this is just weird.. I tried pretty much everything; not activating it in terminal, then try to remove it; stuck on boot, tried replacing the script manually using root explorer --> stuck. Tried replacing the script in the ROM package (zip file) before flashing it --> stuck.. I'd just LOVE to see the decompiled framework, to see how the f**k it's embeded in this ROM, to make it so impossible to get rid of...?!?
Cheers,
- H
hhaznadar85 said:
Wow, thanks a lot! These CronMod scripts look great. Gonna try it out tomorrow.
But this is just weird.. I tried pretty much everything; not activating it in terminal, then try to remove it; stuck on boot, tried replacing the script manually using root explorer --> stuck. Tried replacing the script in the ROM package (zip file) before flashing it --> stuck.. I'd just LOVE to see the decompiled framework, to see how the f**k it's embeded in this ROM, to make it so impossible to get rid of...?!?
Cheers,
- H
Click to expand...
Click to collapse
If you want the same rom:
Open .zip package of the on pc.
Then Go in system/etc/init.d
delete something like: mountext and app2sd ( should look simmilar )
Then archive it (System, BOOT.img, META-INF ) Swith archiver program - Winrar perhaps? ( Using .ZIP ) extension.
Then put it in your sd card.
Then Wipe everything ( except sdcard )
Flash the rom.
Flash the Int2Ext script,
Wipe sd-ext again.
Boot.
If this doesn't work for you, you're doomed!
j/k. Just try another rom.
Highly suggest trying latest nightly for Evervolv Kitkat. (Evervolv / Bravo page.)
Since it's nightly you'll gonna find bugs, but from my experience it's better than all the ICS / JB roms. Might argue about GB roms.
If you decide to get KitKat, you can enable App2SD in it's terminal (not in the rom - fetch it at google play)l:
su
a2sd install
y
n
y
Click to expand...
Click to collapse
NO EVERVOLV NIGHTLY TALKS HERE!
Do we have init.d support? I can't find the folder so I assume not. I wanted to flash some scripts that will hopefully help with memory management/governor tweaks.
Hi,
Unfortunately, I don't think we have init.d support on Android 5.x yet. All the known methods that I am aware of to enable init.d support doesn't work in Lollipop. I think it has something to do with SELinux.
At the moment, I use Tasker to run scripts upon bootup. Works for me.
Cheers.
If I want to flash L speed mod, would i have to manual extract the scripts to run them at boot? It installs scripts to init.d, so would it make the folder?
wolfdude said:
I use Tasker to run scripts upon bootup. Works for me.
Cheers.
Click to expand...
Click to collapse
Can it also be done with Terminal Emulator?
Hi,
Don't think you can use Terminal Emulator. You need some ways to run the scripts upon bootup. Try check ing the playstore for any apps that can run scripts on bootup and has support for root.
Cheers.