[DEV]Porting clockworkmod recovery to Gen 9 - Gen8 General

Hi,
I have a archos 80 G9.
i have a few roms (ICS AOSP) for some devices.
i just thought : wouldn't it be nice to "port" clockworkmod to our device?
It would be possible.
i can't do it by myself
So DEVS: Can you help???
Nick

cwmod works quite fine on gen8 and gen9, I built one from sources, only minimum changes are required.
but the main problem is that it's not that useful alone: clockwork mod is interesting if you have real partitions, else the only thing it does is nandroid backup of /data.
to have the full cwmod experience, we need a real system partition, and to keep our memory clean, we need to have recovery on another partition. It can be done on gen8 by re-partitioning storage, it's safe and easy.
Gen9 is more complicated, see there.
I made some progress on this, will talk about it tomorrow, bed time!

i thinK: if we have cwm we can make custom roms easly.
maybe you can asdk DooMLoRD (he is a very good kernel/cwm developer)

nickholtus said:
i thinK: if we have cwm we can make custom roms easly.
maybe you can asdk DooMLoRD (he is a very good kernel/cwm developer)
Click to expand...
Click to collapse
Well, thanks, but I'm afraid he can't help if he doesn't have an Archos, again, the problem is not having a working cwmod:
{
"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"
}
Let me try to explain:
1) We don't have a nice bootloader that let us flash a custom recovery. Flashing a custom one is possible but is very dangerous with Archos bootloaders: you mess up there, your tablet is dead. There is no fastboot, no way to flash another recovery if your custom one is trashed, and tablet won't boot anymore.
2) Only using sde as a way to dual-boot your custom recovery and android is possible, but not very convenient if a custom kernel is required for the android build. For instance, my cmw is working nicely with 2.6.35 kernel, but is giving me troubles with 3.0 and so I can't keep my cwm on 2.6.35 while running ics on 3.0.
3) These are mostly "comfort" issues, but the real main problem is that we need a re-partitioned device to have the benefit of cwm. System partition is only 200M by default, no way to fit system on this size. I refined my way to do it to be able to script it, I'll cover it on the dev thread, but I'm far from an easy one-click solution and out of free time to do this quickly.

This might be a good frame of reference for anyone looking to build CWM for the HOX.
http://www.koushikdutta.com/2010/10...293868800000&toggleopen=MONTHLY-1285916400000
It was written by Koush back in 2010, so it's a bit dated..
Just go to http://github.com/CyanogenMod/ instead of git pulling the old gingerbread repo and try and find the corresponding ICS branch. I'm pretty sure I found it at
https://github.com/CyanogenMod/android_bootable_recovery
but honestly I don't see the aforementioned files there. Can't find the makefile and I don't have the compiler configured.
I hope this can be a step in the right direction for anyone willing to try.

You for your Info, you are in the Gen8 Forum.
http://forum.xda-developers.com/forumdisplay.php?f=1511
http://forum.xda-developers.com/forumdisplay.php?f=1417
Would be better for you.

Whoops, sorry I posted in the wrong section. The information is still relevant though. It can be used to assist in porting CWM for any device.

Related

[Q] Can an image of the phone be made

It struck me that since we can access the bootloader to place a ROM image onto the phone could we not access the bootloader, (or a modified bootloader), that would "suck" the entire image of the phone, (and SD Card too would be nice though that could be imaged independently), off onto a PC.
It would be a nice backup and would be brilliant for "fiddlers" like me that want to make changes but want a quick and accurate method to go back if I don't like it.
Is there any reason why this couldn't be done? It would be a most powerful backup system.
The question is too difficult, eh?
Hmm, thats not possible. Haven't seen anyone did it.
Airborne Aircrew said:
The question is too difficult, eh?
Click to expand...
Click to collapse
Sprite backup (others are available) is probably as close as you'll get to a quick revert app.
I have sprite backup... I don't think that it is a ROM image though... It would be nice to image the current system bit for bit and the Radio too would be nice.
Happy to be corrected on the "I don't think that it is a ROM image though" thing...
did an extensive search on that topic in xda and general google: no outcome !
There seems to be no method to extract the entire rom/radio directly from a wm device although this would make flashing cooked roms for trial and revert to stock or previous rom a "blink of the eye".
wonder why nobody developed sashimi further to do this job .........
I looked at Sashimi and, unless I missed something, it's really a batch script that automates the reinstallation of applications etc. after you change ROMs fro example...
I was just hoping there was a way, while you are in bootloader, (and therefore have complete contol of the phone but without opening any files in the ROM or Radio), you could not remotely image the phone.
Oh well, if there's anyone out there that has a better understanding of these things it would be a great piece of work...
All I can suggest is that CHTS and XUA etc. can make it less than a 10-min job between flashes now, but I agree a complete back-up would be very ueful.
Airborne Aircrew said:
I have sprite backup... I don't think that it is a ROM image though... It would be nice to image the current system bit for bit and the Radio too would be nice.
Happy to be corrected on the "I don't think that it is a ROM image though" thing...
Click to expand...
Click to collapse
"is probably as close as you'll get" Is as straightforward and accurate an answer as you are likely to get.
If it was as straight forward you make it sound, don't you think a man like Cotula who knows our devices inside out would have already released such a tool?
don't you think a man like Cotula
Click to expand...
Click to collapse
Shhh... I'm hunting wabbits....
{
"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"
}
Airborne Aircrew said:
Shhh... I'm hunting wabbits....
Click to expand...
Click to collapse
Hmmmm, rabbit

[Q] btrfs

I was a winblows mobile user that always wanted to go to android and finally did recently.
From what little I could find about the subject, it looks like android kernels should support btrfs both on root/internal devices and sdcard. Is this correct?
Are there any ROMs (for Epic?) that are on btrfs?
If yes, is there a good repo / index of android ROMs for Galaxy S devices?
If not, can somebody please offer some guidance for a "kitchen" equivalent to roll your own. I've used desktop linux distros for 5 years but I'm an android newb.
I read the thread about lagfix but I'm not sure of any useful implications as far as this question...
Thanks!
anystupidname said:
From what little I could find about the subject, it looks like android kernels should support btrfs both on root/internal devices and sdcard. Is this correct?
Click to expand...
Click to collapse
Eclair runs 2.6.29, which is the first mainline Linux release to include btrfs. But btrfs isn't enabled in the stock Epic kernel config, not sure if it's enabled in others. That said, 2.6.29 is quite old in terms of supporting an experimental file system.
anystupidname said:
Are there any ROMs (for Epic?) that are on btrfs?
Click to expand...
Click to collapse
I don't think so, but what would be the advantage of it? btrfs primarilly targets scalable storage--"large" storage clusters with tens of spindles, at least. The limit of 1 GBish (I forget) internal storage and 32 GB SDHC storage wouldn't benefit much from it, except for transparent compresion and COW, maybe. But even then, ROMs are basically read-only.
I guess you could use btrfs on an SD card if you really wanted, but it would only be mountable by btrfs-capable hosts.
Thanks for the reply. I was thinking for both internal and external storage. See http://lwn.net/Articles/387196/ for why.
btrfs is optimized for flash storage, it provides data security, performance and compress ability. I think it is suitable for android. but it is not stabilize enough for business use. maybe next generation of android will support it
BTRFS - optimized - true, but ...
btrfs is still a beta filesystem, it's not recommended for the usage in productive enviroments. I tested it on my debian server and it's a very performant filesystem, but some stuff is still missing like fsck.btrfs.
although it's possible to compile your own kernel with btrfs support ; ) take a look at the cyanogemod wiki / compile your own kernel.
{
"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"
}

CM7 for Samsung Admire (also known as Vitality or SCH-R720)

What the is this?
It's requisite0's build(s) of Cyanogenmod 7.2 Release Candidate 1, ClockWorkMod Recovery 5.0.2.8, and custom Kernel.
How do I use it?
1. First make sure you do a nandroid backup.
2. Flash the CWM Recovery and Kernel package, then go to Advanced->Reboot recovery. Here: http://d-h.st/tU6
3. Install the latest version of Cyanogenmod 7.2 ROM. Here: http://d-h.st/PmW
4. [The files were deleted for the step about the configuration for Cricket Wireless and nTelos]
5. Install the latest gapps (no longer necessary to mount system beforehand) zip. Here: http://d-h.st/pT4
6. (OPTIONAL) Install the overclocked kernel. Here: https://www.dropbox.com/s/2765gmtxnotqp0k/CM72RC1-OCKernel900MHz-requisite0.zip
7. Select Reboot system now and wait at least 10 minutes for the market updates to take effect (connect to wifi first if data connection isn't working)(first boot might take a minute).
What works?
Wifi
Bluetooth
Data
Texting
Cell Service
USB
Camera (video)
Data/MMS (in 90% of cases)
What doesn't work?
Camera (still pictures)
Data/MMS (in 10% of cases)
Do you provide source code?
Yes. You can check requisite0's GitHub here: https://github.com/requisite0
This is not my work, this was done by requisite0 at androidforums. I am just informing those with the Samsung Admire. Here is the original thread: http://androidforums.com/admire-all-things-root/587358-rom-cwm-kernel-cm7-2-rc1-requisite0-beta2.html
Now we just need someone to pick this rom up and complete it.For Cm7 beta2 it works well.Just a few bugs to work out.
Req did a great job with it so far.Anyone up for finishing it?
Check this forum: http://androidforums.com/admire-all-things-root/
Over at Android Forums there is support for our phone, we have devs like Boraichee, RetroDelete working on getting bugs fixed in CM7. requisite0 is banned which means if there is an update to his CM7.2 ROM/Kernel he won't be able to post it. But I noticed that your probably already know that since you are also at Android Forums.
how the hell do we do any thing if people keep uploading to mediafire!? that website is dead, its not a good website anymore.
Still waiting for the release version of cm7 Hope Req0 gets it done soon.
And thanks to Pg and others for all their work in this project.
Doug
Hi, how to fix roaming icon?
{
"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"
}
I fixed mine by deleting efi_0 from EFS using QPST
undeground88 said:
Hi, how to fix roaming icon?
Click to expand...
Click to collapse
What rom version was that? Looked newer than cm7.2
does anyone have a link to the kernel?

Any ROM's coming?

Hardware seem solid, EMUI sucks ass, would be nice to get a stock launcher on there backed into an optimized ROM
Yep, all the above, true, but because of the unique chipset, it's very hard to build ROMs...
Also, theres a Q&A thread, this topic should be over there, right mods?
There is already work in progress for cm12.1 by me, at moment i make a custom bootable boot.img, seems working on stock firmware but stuck after boot when say "android is upgrading"...
haky 86 said:
There is already work in progress for cm12.1 by me, at moment i make a custom bootable boot.img, seems working on stock firmware but stuck after boot when say "android is upgrading"...
Click to expand...
Click to collapse
Wish you best of luck
Soularis sun said:
Wish you best of luck
Click to expand...
Click to collapse
at last i want to build my own twrp, the actual one has a lot of trouble, starting from "unable mount /cache" that make me angry while backup to test a build of cm12.1................
Hello,
any news? What with CM? Are you making it for KIRIN variant?
haky 86 said:
There is already work in progress for cm12.1 by me, at moment i make a custom bootable boot.img, seems working on stock firmware but stuck after boot when say "android is upgrading"...
Click to expand...
Click to collapse
I'm here if you need help
:good:
I and another dev make a bootable boot.img and it's work on stock firmware, it's just a question of time before see the first rom ever, we did big progress in term of device tree, so once have worked cyanogen mod and aosp i can proceed to port everything kind of rom like did on s2 plus (as ex developer), keep in touch
haky 86 said:
I and another dev make a bootable boot.img and it's work on stock firmware, it's just a question of time before see the first rom ever, we did big progress in term of device tree, so once have worked cyanogen mod and aosp i can proceed to port everything kind of rom like did on s2 plus (as ex developer), keep in touch
Click to expand...
Click to collapse
you mean you will re-model an S2 ROM for a p8 lite with working boot.img?
konopla4 said:
you mean you will re-model an S2 ROM for a p8 lite with working boot.img?
Click to expand...
Click to collapse
From what I understand he is saying that once they get a working boot.img he will be able to port any rom to our device, just like when he was developing for S2.
lovesickformina said:
From what I understand he is saying that once they get a working boot.img he will be able to port any rom to our device, just like when he was developing for S2.
Click to expand...
Click to collapse
ahh, now I get it! thanks
Hopefully your cm 12.1 works and we finally will have atleast one custom rom to play with.. ?
Vika__ said:
Hopefully your cm 12.1 works and we finally will have atleast one custom rom to play with.. ��
Click to expand...
Click to collapse
Clockwork Mod ported successfully, here ported CWM .
Follow the progress here
https://github.com/hak86/android_device_huawei_hi6210sft/issues/1
{
"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"
}
haky 86 said:
Clockwork Mod ported successfully, here ported CWM .
Follow the progress here
https://github.com/hak86/android_device_huawei_hi6210sft/issues/1
Click to expand...
Click to collapse
Amazing job!! Keep it going! We are all super excited!

[ROM] YotaPhone 2 RU1.1.47 Android 6.0.1

Slightly Tweaked YotaPhone 2 RU1.1.47 ROM Based On Android 6.0.1 Marshmallow
Good morning and good afternoon everyone, I'm surprised that there isn't any ROM for the YotaPhone 2 based on Android 6.0.1 available for download. So I decided to tweak for my own. This ROM is based on Russian Official YotaPhone 2 Android 6.0.1 ROM Version RU1.1.47, and I recompiled it into a ZIP which you can just flash in TWRP Recovery. I also tweaked SuperSU and Xposed Frameworks. I also compiled a much more stable version of TWRP which an work with this ROM. Happy Flashing!
DISCLAIMER: I’M NOT RESPONSIBLE FOR BRICKED DEVICES, BROKEN DEVICES OR ANY KIND OF DAMAGE ON YOUR DEVICE. FLASH AT YOUR OWN RISK!
What's Working?
Basically Everything! It's based on Official Android 6.0.1!
Any Issues?
TWRP displays "No ROM Installed" after installation, don't bother with that, just reboot and enjoy.
First boot takes almost forever.
Hope you enjoy my ROM!
Downloads:
https://drive.google.com/open?id=1Wa-bxN5z3gUF5HzMwkxg49hMgmnM5bXP
Screenshots
{
"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"
}
thnx! can you add the gps fix from here https://forum.xda-developers.com/yotaphone-one/help/yotaphone-2-gps-issues-t3084112/page2
dimos23 said:
thnx! can you add the gps fix from here https://forum.xda-developers.com/yotaphone-one/help/yotaphone-2-gps-issues-t3084112/page2
Click to expand...
Click to collapse
The GPS is fine, no need to fix, and it's Marshmallow instead of Lollipop.
Ocean'Depth said:
The GPS is fine, no need to fix, and it's Marshmallow instead of Lollipop.
Click to expand...
Click to collapse
Marshmallow has the same gps config . Have you tried it? it is 10 times faster because the stock config doesn't use glonass...
Today I got randomly struck by the endless "optimizing apps" bootloop glitch of death, forcing me to do a factory reset.
I'm now free to install this ROM, but I would want to wait if you can add the gps fix.
Could you also add some minor instructions about how to install everything right? Thank you!
Can you list the modifications you made, maintain a changelog for instance? Thanks
Installed it but very slow and keeps freezing the phone, tried resetting it but it doesn't do much help, I like the features though, it has a lot of nice features maximizing the use of dual display.
Thanks
Hello I am just flashing now...
Does anyone have this working without problems yet?
after install this rom
i cannot access recovery mode
how to resolve it ?
My device has become unbootable. Bootloader and recovery mode are working. I installed TWRP and TWRP is running. But I need this file and this link is broken. How can I access?
Stark-Industries said:
My device has become unbootable. Bootloader and recovery mode are working. I installed TWRP and TWRP is running. But I need this file and this link is broken. How can I access?
Click to expand...
Click to collapse
I'm sorry for responding so late - but could be of some use to someone.
It's accessible at:
(For YotaPhone flasher, or fastboot) - https://disk.yandex.ru/d/TsmhH0BjEHgNyw
(For TWRP) - https://disk.yandex.ru/d/UuqytGu9_6Va9A
Just click on:
(Russian for "Download")
If anyone wants or needs TWRP or anything for this phone:
https://cloud.mail.ru/public/5CTe/2geTVqSAD - TWRP
https://cloud.mail.ru/public/5qkL/33ygXxrfr - Same 6.0.1 rom as above
Thinks all of You ,I am a rockie ,through this way ,I find my youth ,because I find my ID witch one I registered long long ago

Categories

Resources