[Calling All Developers] CyanogenMod 11 BringUp for HTC Desire 816 - Desire 816 General

Hello All,
I have been working CyanogenMod bring up for Desire 816 since a few weeks now. Currently, I have prepared the device tree and the vendor tree that I guess should be enough to get it booted(Or bootloop atleast ), except one thing -
> I'm having troubles implementing dt.img in the device tree to use with kernel/recovery and I did used the flag to use the dtb but, when I tested it with recovery, it got stuck on "Entering Recovery" screen for a few seconds and then rebooting and I'm pretty sure that it'd be a single silly mistake stopping from it to boot. And if recovery boots, theb most probably kernel boots(Using a prebuilt one) amd therefore increasing the chances for the ROM to boot!
EDIT - We are using prebuilts but we got recovery to boot. Here are the latest trees - https://github.com/desire816-dev

Great... Im no developer but..... Thanks for ur efforts.. And all the best for further development...
Sent from my HTC Desire 816 dual sim using XDA Free mobile app

Not sure, but I think you are using the wrong recovery fstab style. This is the cm 10.1 style, not cm 11
It needs to looks somewhat more like this
You don't have the kernel source, right?

dummie999 said:
Not sure, but I think you are using the wrong recovery fstab style. This is the cm 10.1 style, not cm 11
It needs to looks somewhat more like this
You don't have the kernel source, right?
Click to expand...
Click to collapse
This is the fstab that my boardconfig links to - https://github.com/v-superuser/android_device_htc_a5dwg/blob/cm-11.0/rootdir/etc/fstab.qcom
The other one's useless.
Sent from my HTC Desire 816 dual sim using Tapatalk

My mistake.
Try tearing apart your current recovery and check for differences.

Make sure you have the correct offsets for the ramdisk and devtree image
https://github.com/JackpotClavin/an...72f80986171c7e401528457942/BoardConfig.mk#L34

JackpotClavin said:
Make sure you have the correct offsets for the ramdisk and devtree image
https://github.com/JackpotClavin/an...72f80986171c7e401528457942/BoardConfig.mk#L34
Click to expand...
Click to collapse
Sorry for a late reply but, ramdisk offset and other stuff is right. Must be something else. Wondering why @kinghunki doesn't shares his trees.

View /proc/last_msg after it reboots
Sent from my LG-VS980 using XDA Free mobile app

JackpotClavin said:
View /proc/last_msg after it reboots
Sent from my LG-VS980 using XDA Free mobile app
Click to expand...
Click to collapse
Here is the last_kmsg - https://www.mediafire.com/?m2h8f54qbic6llz

That doesn't look like the last kmsg of the failed boot
Sent from my LG-VS980 using XDA Free mobile app

JackpotClavin said:
That doesn't look like the last kmsg of the failed boot
Sent from my LG-VS980 using XDA Free mobile app
Click to expand...
Click to collapse
IDK, I flashed recovery, it got stuck on Entering Recovery, rebooted, and I pulled the last_kmsg just after it rebooted to system.

Okay then it seems that the kernel never booted far enough to initialize the ram console. I'd double check your devtree offsets.
Sent from my LG-VS980 using XDA Free mobile app

i will pm Grarak he is great developer maybe he can help you

Is the kernel source already available? If yes please upload it to github
Can anyone send me stock boot.img?
Sent from my GT-I9205 using XDA Free mobile app

Grarak said:
Is the kernel source already available? If yes please upload it to github
Can anyone send me stock boot.img?
Sent from my GT-I9205 using XDA Free mobile app
Click to expand...
Click to collapse
There's no kernel source yet. Here's the stock boot.img http://www.androidfilehost.com/?fid=23501681358558515 !

you don't have any devtree offset, that's your problem
should be:
BOARD_MKBOOTIMG_ARGS := --ramdisk_offset 0x02008000 --dt device/htc/htc_a5dwg/prebuilt/dt.img --tags_offset 0x01e00000

JackpotClavin said:
you don't have any devtree offset, that's your problem
should be:
BOARD_MKBOOTIMG_ARGS := --ramdisk_offset 0x02008000 --dt device/htc/htc_a5dwg/prebuilt/dt.img --tags_offset 0x01e00000
Click to expand...
Click to collapse
Oh, well, I'll check and post. Thanks a lot.
Sent from my HTC Desire 816 dual sim using Tapatalk

I just forked your tree
https://github.com/Grarak/android_device_htc_a5dwg
You really need a clean up
Almost all files are useless and you should also use 8960-common tree
I will send you some pull request or you can just pick my commits if you want

Grarak said:
I just forked your tree
https://github.com/Grarak/android_device_htc_a5dwg
You really need a clean up
Almost all files are useless and you should also use 8960-common tree
I will send you some pull request or you can just pick my commits if you want
Click to expand...
Click to collapse
The device uses MSM8226 chipset!
Thanks for your efforts.

v_superuser said:
The device uses MSM8226 chipset!
Thanks for your efforts.
Click to expand...
Click to collapse
Yes I know
But I checked other htc snapdragon 400 (actually only found htc one mini msm8930) they use msm8960 common tree
But I guess you're right
I will try to put everything in one single tree
Sent from my GT-I9205 using XDA Free mobile app

Related

[NEW FLASH INFO]GalaxySENSE ROM by Kenia1234, Chiledog, and Dexter_nlb

1st. I didn't create this ROM, just asked Kenia1234 what to change and did it.
2nd. Kenia1234, Chiledog, Dexter_nlb, and myself WILL NOT BE HELD LIABLE FOR ANY DAMAGE TO YOUR PHONE!!!!!!!!
This still has the button mapping problem and the auto rotation problem, If you know where a kernel(reoriented for SENSE on this device) is or someone that will make it ask them to do so, and post a link!(PLEASE!!!!!!!!!)
I want to thank Kenia1234, Chiledog, and Dexter_nlb for making this beast ROM, hope to see more progress made!
If already on MIUI or CM7, just reboot into recovery and go to mounts and storages>wipe system, data, datadata, cache> flash GalaxySense.zip and enjoy!!!!!!
Download the following Files-
1.- http://www.oozeroo.com/galaxysense/captivatedownload.html OR http://www.multiupload.com/YH9BF88X9Y but show some love to the oOZerOo website )
2.- http://forum.xda-developers.com/showthread.php?t=978150&highlight=Cyanogenmod OR http://forum.xda-developers.com/showthread.php?t=1066885&highlight=MIUI
3. Flash back to stock, if you don't know how- http://www.mediafire.com/?0w2y31maz8mdom4
4. BACKUP EFS FOLDER ONTO SD CARD OR SOMEWHERE ELSE!
5. Flash MIUI/CM7 in recovery, reboot, let it boot ALL THE WAY UP.
6. Reboot into recovery, go to mounts and storages, format system and data and datadata and cache.
7. Flash GalaxySense.zip and enjoy!
Interested
Sent from my I897 using XDA Premium App
Download?
Download will be up in about 1 hour, sorry for the sucky upload speed!
Already is a kernel by escapist for this rom but if I remember correctly its outdated. I've run this rom and its a great start for sense.
task650 said:
Already is a kernel by escapist for this rom but if I remember correctly its outdated. I've run this rom and its a great start for sense.
Click to expand...
Click to collapse
I couldn't get it to boot with that kernel, I know which one you're talking about. Any help?
Instructions
The new instructions are in the OP
Pictures or it didn't. Happened
Sent from my I897 using XDA Premium App
Im on it right now! Just a sec
Sent from my GT-I9000 using XDA Premium App
Has anybody tried this out?
Sent from my GT-I9000 using XDA Premium App
Any screenshots ? and i think there is a kernel but outdated.
abteer said:
Has anybody tried this out?
Sent from my GT-I9000 using XDA Premium App
Click to expand...
Click to collapse
I'm running it right now!
Sent from my GT-I9000 using XDA Premium App
LOSTLOGIC89 said:
Any screenshots ? and i think there is a kernel but outdated.
Click to expand...
Click to collapse
I will get those up soon!
Sent from my GT-I9000 using XDA Premium App
b-eock: I just want to get some clarification on the installation process. I believe the installation process for getting to MIUI changed a while ago where you no longer need to flash the cm7-initial kernel, efs backup, etc. You just have to be on 2.1/2.2 bootloaders and have CWM installed then flash the MIUI zip (someone please correct me if I'm wrong).
Would this process not be the same for GalaxySense or am I missing something?
Escape311 said:
b-eock: I just want to get some clarification on the installation process. I believe the installation process for getting to MIUI changed a while ago where you no longer need to flash the cm7-initial kernel, efs backup, etc. You just have to be on 2.1/2.2 bootloaders and have CWM installed then flash the MIUI zip (someone please correct me if I'm wrong).
Would this process not be the same for GalaxySense or am I missing something?
Click to expand...
Click to collapse
Well you need the kernel, and you have to back up your EFS, YOU WILL LOOSE IT IF YOU DONT!
Sent from my GT-I9000 using XDA Premium App
Escape311 said:
b-eock: I just want to get some clarification on the installation process. I believe the installation process for getting to MIUI changed a while ago where you no longer need to flash the cm7-initial kernel, efs backup, etc. You just have to be on 2.1/2.2 bootloaders and have CWM installed then flash the MIUI zip (someone please correct me if I'm wrong).
Would this process not be the same for GalaxySense or am I missing something?
Click to expand...
Click to collapse
So just do it the way stated, or you could mess it up, and rememeber THE DEVS AND MYSELF ARE NOT RESPONSIBLE!!!
Sent from my GT-I9000 using XDA Premium App
Sent from my GT-I9000 using XDA Premium App
It wont let me upload high res pics from the mobile app....
Sent from my GT-I9000 using XDA Premium App
b-eock said:
Well you need the kernel, and you have to back up your EFS, YOU WILL LOOSE IT IF YOU DONT!
Sent from my GT-I9000 using XDA Premium App
Click to expand...
Click to collapse
Which kernel? When you flash MIUI, it includes it's own kernel correct? So would it be the MIUI stock kernel that you need?
And about backing up EFS, if MIUI no longer requires that step, as in it does this as part of the flash process now, why is it necessary to do it before flashing MIUI? Just trying to get clarification. Seems kind of strange to me.
This states using the new CM7/MIUI flashing procedures as well.
I will try this in the night!
chibixzero said:
Pictures or it didn't. Happened
Sent from my I897 using XDA Premium App
Click to expand...
Click to collapse
GalaxySense has existed since April for the Galaxy S i9000 (http://forum.xda-developers.com/showthread.php?t=1044637). This is simply a port to run it on the Captivate (which has also existed since April or May by following the Escapists instructions).
Projects like this is why an AOSP based kernel is so important. AOSP removes all of Samsung's proprietary issues and allows any other ROM that has been ported to AOSP to be ported to the Captivate. CyanogenMod, MIUI, and GalaxySense are all using the same sources to build from..

[Q] Multi boot option for gt540

Hi guys from few days i heard about multi boot option for x10 , is this possible with our handset also ...if yes please any tell me ....thanks in advance...
In theory, yes. For example, you can flash a boot.img file to the recovery partition (Recovery images are basically boot.imgs but with modified ramdisks) then it would boot, but you would need to re-partition the device, or use the SDCard as means of dual booting (Like some early Android ROMs were for the HD2)
effortless. said:
In theory, yes. For example, you can flash a boot.img file to the recovery partition (Recovery images are basically boot.imgs but with modified ramdisks) then it would boot, but you would need to re-partition the device, or use the SDCard as means of dual booting (Like some early Android ROMs were for the HD2)
Click to expand...
Click to collapse
Already on it for debian Lenny and Ubuntu jaunty
Sent from my GT540 using XDA App
Is there any demonstration how to.do this with our device.
Sent from my GT540 using XDA Premium App
rajatbajpai0072 said:
Is there any demonstration how to.do this with our device.
Sent from my GT540 using XDA Premium App
Click to expand...
Click to collapse
Not yet, also the lack of developers is a problem too, we really only have about 5-10 main devs here on XDA, probs more though on com.pl and 4pda.
I Hope developers work in this direction ...
rajatbajpai0072 said:
I Hope developers work in this direction ...
Click to expand...
Click to collapse
I'm not really desperate for it, but it would be a nice feature though.
Atm I'm running two systems android still runs fantastically Ubuntu like *#$% we do need devs on this coz it could be great
Sent from my GT540 using XDA App
Has anybody here tested Boot Manager 1.1? I read a thread about it here but no confimation yet if it works for our phones.
Sent from my GT540 using XDA App

How do I get the source for the Nexus 7?

I'm really only interested in the kernel source. I've downloaded the device/Asus/grouper and kernel/tegra repos, and honestly I can't make sense of either of them. I did see the hidden directory in /tegra -- I just couldn't figure out what to do with the contents. I'm looking to compare the stock kernel to a slightly modded one, I think for Android 4.1.x. I think the kernels are all 3.1.10, but I don't want to get distracted by any insignificant (for my purposes) changes.
Thanks,
Josh
Sent from my IdeaTabA2109A using XDA Premium HD app
$ git clone https://android.googlesource.com/kernel/tegra.git
$ git clone https://android.googlesource.com/platform/prebuilt
$ export PATH=$(pwd)/prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin:$PATH
Sent from my MB525 using xda app-developers app
Harry GT-S5830 said:
$ git clone https://android.googlesource.com/kernel/tegra.git
$ git clone https://android.googlesource.com/platform/prebuilt
$ export PATH=$(pwd)/prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin:$PATH
Sent from my MB525 using xda app-developers app
Click to expand...
Click to collapse
Thanks Harry, but I already downloaded the kernel/tegra repo. There is only one file that could contain the source -- /tegra/.git/objects/pack/pack-e87b183b176e2edfb220e041e98db2f565d5c725.pack. My system tells me it's a Pack200 Java archive, and that I don't have an application installed for it.
Since you said kernel/tegra was the correct repo, I guess I have the source. I'm sure the kernel is C, with some assembler thrown in, so it can't be a Java archive. So now my question is: how do I extract the source from this file?
Thanks,
Josh
Refer to http://forum.xda-developers.com/showthread.php?t=1748297. From what I gather (never build for N7) you use the prebuilt toolchain, the AOSP kernel and then the grouper patches
Sent from my MB525 using xda app-developers app
Harry GT-S5830 said:
Refer to http://forum.xda-developers.com/showthread.php?t=1748297. From what I gather (never build for N7) you use the prebuilt toolchain, the AOSP kernel and then the grouper patches
Sent from my MB525 using xda app-developers app
Click to expand...
Click to collapse
Will do. Thanks. By the way, do you know how I can extract that .pack file?
GTabJosh said:
Will do. Thanks. By the way, do you know how I can extract that .pack file?
Click to expand...
Click to collapse
Compilation process should do it automagically
Sent from my MB525 using xda app-developers app

[HELP][i9506]Need help to finish my PAC Man rom

Okay so im trying to build a ROM from source, im using ubuntu 14.04, and im having a problem using breakfast command, it doesnt find 9506 codename (that being said, im talking about typing ks01lte after breakfast command) on github, so im kinda stuck, can someone help me out?
Sorry about my english :F
Sent from my GT-I9506 using XDA Free mobile app
diegodu27 said:
Okay so im trying to build a ROM from source, im using ubuntu 14.04, and im having a problem using breakfast command, it doesnt find 9506 codename (that being said, im talking about typing ks01lte after breakfast command) on github, so im kinda stuck, can someone help me out?
Sorry about my english :F
Sent from my GT-I9506 using XDA Free mobile app
Click to expand...
Click to collapse
why do you use breakfast at all?
pac gets build with the build-pac.sh you dont need to run anything at all
sorry if i missed something :>
I dont know, i just started, im a noobie so i dont understand too much about it, I tough I would need to use breakfast a select my device codename to make it work, and about what you just answered, I'm completely lost lol
PAC rom imho is the easierst rom to build from source.
have a look at
https://github.com/PAC-man/pacman#getting-started
basically you have to
init a repo
sync the repo
run build-pac.sh
thats it.
make sure you have all needed programs installed for this but you should be able to find tutorials of which software you need to build android on ubuntu.
But what about the device codename? Don't need it at all?
Sent from my GT-I9506 using XDA Free mobile app
diegodu27 said:
But what about the device codename? Don't need it at all?
Sent from my GT-I9506 using XDA Free mobile app
Click to expand...
Click to collapse
have a look at the link i posted.
yes you need the device codename
if your device codename is ks01lte then you have to run:
build-pac.sh ks01lte
but please read the tutorial i posted, its <30 lines of text and explains ~99.9% of the build process
Thank you, if i still having trouble ill PM you
Sent from my GT-I9506 using XDA Free mobile app
diegodu27 said:
Thank you, if i still having trouble ill PM you
Sent from my GT-I9506 using XDA Free mobile app
Click to expand...
Click to collapse
you're welcome.
Sure do that
Just a little question, is there any chance that my device isnt supported? I'm afraid of getting an error as it did when I type breakfast command.
Sent from my GT-I9506 using XDA Free mobile app
diegodu27 said:
Just a little question, is there any chance that my device isnt supported? I'm afraid of getting an error as it did when I type breakfast command.
Sent from my GT-I9506 using XDA Free mobile app
Click to expand...
Click to collapse
I'm almost positive that is not supported by pac yet.
If it is supported by CM it shouldnt be a problem, iirc the script will get the needed files by cm.
If there is only an unofficial build of cm you can add the device like it is explained in the tutorial i posted.
so i think you are just hours / days away of your i9506 port of PAC.
if you've done everything correct you can be the maintainer of this rom, and then it will get official supported in nightlies ....
Souds good sounds good! Thanks once again
Sent from my GT-I9506 using XDA Free mobile app
diegodu27 said:
Souds good sounds good! Thanks once again
Sent from my GT-I9506 using XDA Free mobile app
Click to expand...
Click to collapse
i just did a test run:
http://jenkins.pac-rom.com/job/volletest/device=ks01lte,label=volletest/71/console
so its not working out of the box and there seems to be no official supprt by cm yet.
you will have to add the device manually, for this the tutorial will help you.
have a look at http://forum.xda-developers.com/showthread.php?t=2590142, thats an unofficial port of cm that might help you.
i haven't done this yet so i cant help you anymore sorry... but is is possible and you'll learn something by doing it. you can drop a message in the g+ community, maybe some out there can give you a hand...
Thanks, you already help me a lot dude
Sent from my GT-I9506 using XDA Free mobile app

[DEV] Custom kernel info

https://mega.co.nz/#!gUQR1YCa!40Jek-QVjYMWc5AEt5hPeh0S-48kMxv7lOVl1xXhBZw
here is a flashable kernel, nothing has been done to it except compile from stock sources. no i wont make any changes, i dont plan on doing a custom kernel for a phone i dont even know what it looks like. this is purely so that people who actually have teh phone can learn on how to make a kernel. if you decide to flash this make sure to do a backup first as it has different modules for wifi etc.
source can be found at https://mega.co.nz/#!URh0HJyT!41SiQTCPO_wkd13wVd4l-36bRJoT5yeUms70uduGGBM i used the ML4 tar.
Not booting fone vibrate once and stuck in bootloop .
Sent from my SM-G7102 using Tapatalk 2
alright ill try again tomorrow. i have a feeling its my dtb files. can someone post the stock boot.img?
shabbypenguin said:
alright ill try again tomorrow. i have a feeling its my dtb files. can someone post the stock boot.img?
Click to expand...
Click to collapse
Here is the stock boot.img
http://d-h.st/gZY
Sent from my SM-G7102 using Tapatalk 2
lets see how that works https://mega.co.nz/#!pcJwgJLK!bBtJu2wUoHTER3XHdorUsgVX3WdgwoYMgjC1TC7r3uc
shabbypenguin said:
lets see how that works https://mega.co.nz/#!pcJwgJLK!bBtJu2wUoHTER3XHdorUsgVX3WdgwoYMgjC1TC7r3uc
Click to expand...
Click to collapse
link not working
Sent from my SM-G7102 using Tapatalk 2
balliboxer said:
link not working
Sent from my SM-G7102 using Tapatalk 2
Click to expand...
Click to collapse
Link is working fine for me.
mukulsoni said:
Link is working fine for me.
Click to expand...
Click to collapse
Then pls upload it to some other site .
Sent from my SM-G7102 using Tapatalk 2
balliboxer said:
Then pls upload it to some other site .
Sent from my SM-G7102 using Tapatalk 2
Click to expand...
Click to collapse
here you go http://www.mediafire.com/download/d30sc2e98e37eb3/Shabby-Beta-g7102.zip
Edit :
Just flashed the it successfully and booted but no wifi
Yup wifi is not working as said by balliboxer.....
Sent from my SM-G7102 using XDA Free mobile app
shabbypenguin said:
lets see how that works https://mega.co.nz/#!pcJwgJLK!bBtJu2wUoHTER3XHdorUsgVX3WdgwoYMgjC1TC7r3uc
Click to expand...
Click to collapse
Tested no kernel version shown no wifi .Also SE for Android status is disabled .
Sent from my SM-G7102 using Tapatalk 2
@shabbypenguin, you made my work easier?
Sent from my GT-I9082 using Tapatalk
someone who has the stock kernel
adb shell
su
cat /proc/config.gz > /sdcard/config.gz
and
ls -l /system/lib/modules
upload that please, seems the wifi module isnt being built and the defconfig doesnt have any info on it surprisingly.
shabbypenguin said:
someone who has the stock kernel
adb shell
su
cat /proc/config.gz > /sdcard/config.gz
and
ls -l /system/lib/modules
upload that please, seems the wifi module isnt being built and the defconfig doesnt have any info on it surprisingly.
Click to expand...
Click to collapse
no such file found in /proc/ folder
Sent from my SM-G7102 using Tapatalk 2
balliboxer said:
no such file found in /proc/ folder
Sent from my SM-G7102 using Tapatalk 2
Click to expand...
Click to collapse
sorry, no .gz in teh first one
cat /proc/config > /sdcard/config.gz
shabbypenguin said:
sorry, no .gz in teh first one
cat /proc/config > /sdcard/config.gz
Click to expand...
Click to collapse
still same result .
Check ss .
Sent from my SM-G7102 using Tapatalk 2
Im getting like this.....
Sent from my SM-G7102 using XDA Free mobile app
ok so you guys have a prima wifi chip that had its source excluded from the kernel source, as well as a few other things. trying to merge in some of the stuff and see if i can get the modules to compile.
shabbypenguin said:
ok so you guys have a prima wifi chip that had its source excluded from the kernel source, as well as a few other things. trying to merge in some of the stuff and see if i can get the modules to compile.
Click to expand...
Click to collapse
and also , how can i put dtb files inside the boot.img??
##W4TCH0UT## said:
and also , how can i put dtb files inside the boot.img??
Click to expand...
Click to collapse
as part of your mkbootimg command, if you run mkbootimg it will tell ya.

Categories

Resources